VL GOLD mobile web app package

Files:
- index.php
- install.php
- schema.sql
- config.sample.php
- uploads/

Setup:
1. Upload to public_html
2. Rename config.sample.php to config.php
3. Fill DB values
4. Open install.php
5. Login admin/admin123
6. Rename/delete install.php after setup

Notes:
- OCR uses browser-side Tesseract via CDN
- WhatsApp uses wa.me links, not paid API
- QR uses browser-side library
- GPS exact address uses browser geolocation + OpenStreetMap reverse lookup

Admin cash book added.

Added customer history profile/timeline and photo previews in customers/transactions.

Added Admin Finance module: cash, bank, loans given/returned, search, edit, delete.

Added employee separate customer search tab with safe access to employee-linked customers.

Employee customer search now shows full master customer list in view-only mode.

Added employee expenses tab and instant existing customer suggestions in Buy Gold.

Corrected employee search visibility, employee expenses tab, and instant customer suggestion/select in Buy Gold.

Admin + Employee Customer Search tabs ensured. Existing customer file previews added in Buy Gold select flow.

Fixed admin Customer Search tab visibility and existing customer files preview container in Buy Gold.

Mobile upload updated: removed forced camera capture so camera or gallery/file picker both can be used.

Fixed admin Customer Search tab and Buy Gold existing file previews.

Added transaction snapshot feature: bank name, loan amount, loan paper, notes, GPS, signature saved transaction-wise and shown in customer history.

Added transaction-wise bank receipt preview, old vs new loan comparison, and customer history date filter.

Hard-fixed transaction snapshot logic with dedicated transaction_snapshots table so old transactions do not show latest loan values.

Fixed: auto-create transaction_snapshots table, tx_snapshot no-fatal fallback, and bankReceiptPhoto variable definition.

Fixed admin customer search and employee full data history via Customer Search > View Full History.

Fixed old transaction details: transaction-wise loan papers and item photos now show in admin/employee history and transactions. Employee customer click no longer opens blank.

Added quotation tab for admin and employee with purity minus 3 auto-calc, copy, WhatsApp, and follow-up list.

Buy Gold now auto-applies purity minus 3% in frontend calculation and backend save.

Quotation updated with 3 auto options: 91.6, 80, 75.

Quotation updated to show separate single-bill cards for 91.6/80/75 and optional entered purity; copy/WhatsApp sends all bills together.

Quotation format changed to compact single-summary block while keeping same -3% formula.

Quotation saved details now show clearly; VALID ONLY THIS TIME caution added; phone saves without +91 while WhatsApp sends with +91.

Fixed quotation preview live calculation/update and entered purity auto display.

Quotation Follow-up List now shows full saved preview summary block.
