• 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
..
Attendance Loading commit data...
Audit/Models Loading commit data...
Facility Loading commit data...
Financial Loading commit data...
Identity Loading commit data...
Inventory Loading commit data...
Notification Loading commit data...
POS Loading commit data...
Participant Loading commit data...
Pricing Loading commit data...
Scheduling Loading commit data...
Shared Loading commit data...
Training Loading commit data...