Unify receipt/invoice settings: 3-tab template system + fix seeder
- EnrollmentSettingsSeeder: fix Organization → Academy class name
- ReceiptTemplate: add defaultInvoiceFields/Settings + defaultPaymentFields/Settings
- ReceiptSettings: rewritten with pos/invoice/payment tabs; each tab loads
its own ReceiptTemplate (type='invoice'|'payment') and saves independently
- receipt-settings.blade.php: 3-tab UI with field toggles + appearance settings
per document type; link to branding page for logo/colors
- print/invoice.blade.php: all 15 fields now gated by invoice template flags
(logo, academy name, branch, tax number, client details, items table,
subtotal, discount, tax, service fee, paid amount, payments history,
signature, terms & conditions, footer text)
- print/payment-receipt.blade.php: all 11 fields gated by payment template;
footer text pulled from template settings instead of hardcoded string
Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment