ClubLedger/static
Claude 8616ff1d49
Add business branding, transaction references, and redesigned receipts
- CONFIG: add business address/contact, logo URL+alignment, venue names,
  transaction ref prefix, transfer types list, and 14 localizable receipt
  labels plus per-receipt-type footer fields
- DB: add transfer_type and transfer_ref columns to ledger_entries
  (init_db + migrate_db); fix duplicate return in pos_user
- Pydantic: extend AppSettingsUpdate with all new settings;
  add transfer_type/transfer_ref to TopupRequest and WithdrawalRequest
- /topup and /withdrawal: persist transfer_type and transfer_ref
- /config: return transfer_types as parsed array for frontend dropdowns
- New helpers: _txn_ref(), _logo_html(), _biz_header_html()
- New RECEIPT_CSS with 2-column grid layout; receipt() fully redesigned
  with business header, auto-generated TXN reference, separate charge vs
  top-up/withdrawal layouts; statement() adds Reference column and
  transfer-detail sub-rows
- index.html: Transfer Type + Transfer Reference fields on cashier/
  withdrawal panels; admin settings expanded into organized sections
  (General, Business Address, Branding, Transactions, Receipt Labels,
  Receipt Footers)
- app.js: populateTransferTypes() called on startup and after settings
  save; doTopup/doWithdrawal send transfer fields; clearCashierSelection
  clears new fields; loadAdminSettings/saveSettings handle all new fields

https://claude.ai/code/session_01JuRTR5Xjx8emQsyerBgGU7
2026-05-30 15:44:27 +00:00
..
app.js Add business branding, transaction references, and redesigned receipts 2026-05-30 15:44:27 +00:00
bar.html Remove product search from bar tab 2026-05-30 08:52:18 +00:00
bar.js Remove product search from bar tab 2026-05-30 08:52:18 +00:00
cashier.html Fix 1-4: staff dropdown, split pages, print size toggle, receipts 2026-05-30 06:28:54 +00:00
cashier.js Fix 1-4: staff dropdown, split pages, print size toggle, receipts 2026-05-30 06:28:54 +00:00
common.js Fix 1-4: staff dropdown, split pages, print size toggle, receipts 2026-05-30 06:28:54 +00:00
index.html Add business branding, transaction references, and redesigned receipts 2026-05-30 15:44:27 +00:00
style.css Add withdrawal feature to cashier tab 2026-05-30 14:31:16 +00:00