SHYNAZ V6 - EASY BOOKING & RECEPTION
Owner: Jitesh | Nakodar and Dasuya

INSTALL THIS UPDATE
1. Back up live files and export your live database.
2. Upload the contents of this ZIP to the existing domain folder. Overwrite
   matching files; do not delete the old website first.
3. Keep your existing config.php, uploads and storage/documents. The package
   excludes production configuration, session files and private uploaded records.
4. Sign in as Supreme Admin and click APPLY V6 UPDATE on the dashboard.
   This adds the catalogue, courses, sample profiles and tables. No manual
   phpMyAdmin import or replacement of the live database is needed.
5. Refresh with Ctrl+F5 and reopen any installed app.

QUICK TEST: CLIENT > RECEPTION > PAID INVOICE
- Select Nakodar or Dasuya. Open Book an appointment.
- Tick Head Wash (INR 200) and Basic Manicure (INR 500). Estimate: INR 700,
  plus any configured tax. No artist is needed at booking.
- Enter name, phone and requested date/time. Email/account/referral are optional.
- Submit. A client ID and pending invoice are saved. Download the document.
- Admin > Start here > New requests or Invoices & estimates: open the record.
- Check client name, phone, client ID, selected services, amount and timing.
- Confirm the request. Record an advance if needed.
- In Performing team, tick the artist(s) who performed EACH service and save.
- Record the final balance. Download, share or print the professional PDF.
- Use the appointment diary to mark arrival, in service and completion.

SAMPLE PROFILES (created once in the first salon)
Student 1: student1@demo.shynaz.invalid
Staff 1: staff1@demo.shynaz.invalid
Artist 1: artist1@demo.shynaz.invalid
Open 'Sample profiles created' in the Supreme Admin dashboard to see the random
initial passwords. Save these before signing out. Supreme Admin can set a new
password in Staff & accounts if necessary. These are reserved demonstration
email addresses and cannot receive email. Replace contacts and passwords or
deactivate the samples after testing.
Student 1 has a student portal with no admission yet: choose a course to test.
Staff 1 has reception, clients, approval, payments and attendance for the assigned
salon. Artist 1 has a linked staff account with tasks/attendance, no finance access.

STAFF AND ARTISTS
Team & attendance > Staff & accounts > Add or Edit. Use login role Staff and
Employee works as: artist for a worker who performs services. One account then
serves attendance, salary and artist identity. Artist profiles hold biography,
photo and skills. You can assign multiple artists to one invoice service.
Optional service-to-artist defaults never block booking. Any active artist in
the invoice's salon can be assigned. Conflicting artist times are rejected.
Advance/part payments may precede assignment. The final balance and completed
visit require performing artists; fully paid invoices retain those assignments.
Permission 'Approve bookings and cancellations' lets assigned reception staff
approve requests. Grant 'Bookings, payments & invoices' for their workspace.
Financial edits remain Supreme Admin or explicitly permitted incharge only.

CLIENTS AND INVOICES
Phone-only and email-only contacts work. Creating an account is optional for
service bookings. Guests still have a client ID and private invoice link.
Returning contacts retain their client ID. Repeated submission of the same form
does not duplicate the invoice. Deliberately separate bookings remain separate.
The requested time is subject to reception confirmation. Unassigned requests
are not a promise of available artist capacity. Choose up to 12 services.
Reception can use Walk-in mode, including when the salon opens late.
Record every walk-in before taking payment: software cannot detect unentered
cash. Unconfirmed/cancelled requests remain history and are excluded from sales.
Invoice list has direct PDF downloads. Open the invoice to print, share a PDF,
prepare a WhatsApp message, email the PDF or record payments/proof.

CATALOGUE AND PUBLISHING
171 service entries are loaded for each salon using the supplied PDF prices.
Hair lengths/brands, laser per-session and six-session prices and bridal packages
are separate entries. Existing service IDs are preserved; matching names are
reused where punctuation/case differs. Catalogue matches use the PDF prices.
Existing unpriced services start at INR 100; actual PDF threading rates below
INR 100 remain. Other already-priced legacy services are preserved.
Review database/service-catalogue-review.csv. Duration is an initial estimate:
the PDF supplies prices, not appointment durations. Review duration/suitability.
Six-session packages schedule the first visit; arrange later visits at reception.
Bridal packages may span several sittings. Package 4 uses the displayed INR 19,999.
When adding/editing a service, article or course, tick 'Publish a copy to other
salons', or Select all salons, then save. A matching target title is reused,
and repeated publication does not duplicate an existing copy. Copies are
independent: later edits do not automatically overwrite the other salon.
Course copies include lessons, quiz questions and file references, not students,
payments or certificates. New salons get the priced catalogue and nail course.

NAIL POLISHING ESSENTIALS - INR 200 IN BOTH SALONS
Six lessons: consultation/hygiene, nail preparation, base/colour application,
finishing/simple art, aftercare/service records and supervised practical review.
Eight quiz questions are included. Edit in Academy > Courses > Manage learning.
Student 1 can choose the course and submit admission. Admin approves admission;
then the student can read lessons and take the quiz. Fees/invoices/progress stay
in the student portal. The academy records practical completion. Full fees and
recorded completion are required to issue the numbered, verifiable certificate.
A quiz score alone does not certify practical competence.
Long articles above 20,000 words remain supported with LONGTEXT storage.

REGISTER ATTENDANCE NETWORKS FIRST
Supreme Admin > Team & attendance > Attendance > Register salon Wi-Fi / network.
Connect your admin device to the salon Wi-Fi and register its public IP shown
in the form. Add a Wi-Fi label and repeat at the other salon. Register both
IPv4/IPv6 if used; update the registration when the provider changes the IP.
Staff/student IN, break, return and OUT require that registered network.
Until configured, attendance is blocked for them. Server IP and IST time are
recorded. Supreme Admin can make audited corrections. Offline attendance is
blocked to prevent backdated drafts bypassing the network rule; offline booking
and expense drafts remain available and are rechecked on sync.
Browsers cannot reliably read the Wi-Fi SSID. The name is a label; public-IP
checking is not GPS proof or a guarantee against every misuse. Register the
actual salon connection, not a shared reverse-proxy IP. Ask hosting support
if the server does not expose actual client IP addresses.

AUTOMATIC WHATSAPP PDF DELIVERY
Manual sending works from an invoice: Share PDF file / Prepare WhatsApp message,
or download the PDF and attach it to WhatsApp. A person completes that send.
For automatic delivery, Supreme Admin > Website & messages > WhatsApp delivery.
Add your Meta sender phone-number ID, current Graph API version, access token,
approved utility template name and language. The token is encrypted.
Template requirements: DOCUMENT header, three positional body variables:
1 client name, 2 invoice number, 3 invoice total.
Example: Hello {{1}}, your SHYNAZ document {{2}} for {{3}} is attached.
Enable only after your sender/template is approved and tested in Meta.
The site's HTTPS PDF URL must be reachable by Meta. Attempts occur after booking
notification selection, confirmation and payment. API accepted/manual required/
failed statuses are recorded; accepted does not prove phone delivery. No delivery
webhook is included. Retry from the invoice after resolving failures; review
provider status before retrying a timeout to avoid a repeated message.
Meta setup is external and cannot be activated from a WhatsApp phone number alone.
Official reference:
https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/overview
https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/components/

DASHBOARD AND REPORTS
Use menu search and expandable sections instead of a long list of tabs.
Staff see only assigned modules and remain restricted to their salon.
Sales & costs: confirmed billing and expenses. Staff reports: date/person filters
and artist work. Shared service value is divided equally between the assigned
artists before invoice discounts/tax; this is not salary or commission.
Salary records, salary proof and expenses remain available in the team/finance
sections. Attendance history includes breaks and leave requests.

VALIDATION
452 V6 runtime checks and the earlier 117 regression checks passed using PHP 8.3
and a disposable SQLite copy of the supplied data. PHP/JavaScript syntax and a
rendered invoice PDF were checked. Tests cover prices, preserved records,
bookings, artists, payments, admission/quiz, network rules and content copies.
Actual hosting MySQL migration, SMTP/Meta sending, physical printing and browser/
device layouts still need testing on your hosting and devices. This ZIP does
not deploy itself or replace your live database.
