• Mahmoud Aglan's avatar
    Add platform service fee (3%) on all transactions · d35573dd
    Mahmoud Aglan authored
    Revenue model: 3% fee on every POS transaction, shown as "مصاريف خدمة"
    on receipts and invoices. The percentage is controlled ONLY via the
    PLATFORM_SERVICE_FEE_PERCENT env var — not editable by any admin.
    
    - PlatformFeeService: calculates fee from env var (default 3%)
    - POSService: includes service_fee_amount in transaction + invoice total
    - POS terminal UI: shows fee line before grand total
    - Receipt print: displays "مصاريف خدمة" row
    - Invoice show: displays service fee row
    - System settings: read-only banner showing the current fee percentage
    - Migration: adds service_fee_amount column to pos_transactions + invoices
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    d35573dd
Name
Last commit
Last update
..
activities Loading commit data...
admin Loading commit data...
assignments Loading commit data...
attendance Loading commit data...
audit Loading commit data...
auth Loading commit data...
branches Loading commit data...
cash-sessions Loading commit data...
enrollments Loading commit data...
evaluations Loading commit data...
facilities Loading commit data...
financial Loading commit data...
groups Loading commit data...
inventory Loading commit data...
invoices Loading commit data...
notifications Loading commit data...
participants Loading commit data...
people Loading commit data...
pos Loading commit data...
pricing Loading commit data...
programs Loading commit data...
receptionist Loading commit data...
reports Loading commit data...
roles Loading commit data...
settings Loading commit data...
users Loading commit data...
wallets Loading commit data...
wizards Loading commit data...
dashboard.blade.php Loading commit data...