• 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
..
Console/Commands Loading commit data...
Domain Loading commit data...
Helpers Loading commit data...
Http Loading commit data...
Livewire Loading commit data...
Models Loading commit data...
Providers Loading commit data...