• Mahmoud Aglan's avatar
    Fix subscription payment status: only check program fee, not all invoices · 435aeddb
    Mahmoud Aglan authored
    The group view was marking players as "unpaid" if they had ANY unpaid
    invoice (products, etc.), even if their program subscription was fully paid.
    
    Now the logic only checks:
    1. Enrollment payment_status (paid/waived = done)
    2. Enrollment's linked invoice status
    3. Recent subscription invoice with matching program name
    
    Also fixed ActivateEnrollmentOnPayment listener to properly set
    payment_status='paid' on enrollments when subscription invoice is paid
    (was only activating status, not updating payment_status).
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    435aeddb
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...