• Mahmoud Aglan's avatar
    Fix POS payment collection + retroactive wizard reliability · 86da35b4
    Mahmoud Aglan authored
    Payment Collection (CollectPaymentWizard):
    - Remove branch filter from participant search (POS sells cross-branch)
    - Include Draft status in outstanding invoice query
    - Add invoice search mode (search by invoice number/contact name)
    - Allow walk-in invoices to be found and paid directly
    - Accept inactive/frozen/registered participants (not just active)
    
    Retroactive Enrollment Wizard:
    - Fix "paid outside system" to use PaymentService (creates proper Payment
      + Transaction records for financial reports)
    - Add server-side validation in confirm() before DB transaction
    - Add national_id duplicate check to prevent duplicate participants
    - Add price=0 guard (show error if no base price and no override)
    - Fix rounding loss: remainder goes to last month's invoice
    - Pass skip_auto_invoice to prevent double invoice creation
    
    POS Partial Payment:
    - Enable allows_partial_payment on all existing products (migration)
      so the deposit/partial payment UI appears at checkout
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    86da35b4
Name
Last commit
Last update
..
Attendance Loading commit data...
Audit/Models Loading commit data...
Document Loading commit data...
Event Loading commit data...
Facility Loading commit data...
Financial Loading commit data...
HR 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...
Website Loading commit data...
WhatsApp Loading commit data...