mirror of
https://github.com/kbenestad/ClubLedger.git
synced 2026-06-18 09:44:33 +00:00
Store ledger for advanced/deferred payments. Member registry, cashier, point of sale module, and transaction history.
- 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 |
||
|---|---|---|
| docs | ||
| static | ||
| .gitignore | ||
| LICENSE | ||
| main.py | ||
| README.md | ||
| requirements.txt | ||
| run.bat | ||
| run.sh | ||
ClubLedger
Store ledger for advanced/deferred payments. Member registry, cashier, point of sale module, and transaction history.