• Mahmoud Aglan's avatar
    Fix: attendance marking suspending players + partial payment receipt display · 5fff9330
    Mahmoud Aglan authored
    Bug 1: Attendance threshold was counting 'expected' records in the
    denominator, causing any player with future sessions to have a low
    attendance rate and get auto-suspended. Fixed by excluding 'expected'
    status from rate calculation and requiring minimum 5 evaluated records
    before triggering threshold enforcement.
    
    Bug 2: Registration wizard and POS receipt always showed full amount
    as "paid" even for partial/deposit payments. Fixed to show actual
    paid_amount and due_amount from the invoice, with distinct badge for
    partial payment state.
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    5fff9330
POSTerminal.php 14.9 KB