• Mahmoud Aglan's avatar
    Add payment refund flow with automatic enrollment cancellation · 6472b1f0
    Mahmoud Aglan authored
    Super admin and financial admin can select up to 2 confirmed payments from
    a participant's profile and refund them in a single atomic transaction.
    If a refunded payment is linked to a program enrollment, the enrollment is
    automatically cancelled and the group seat is freed.
    
    Changes:
    - RefundService: creates outbound refund record, marks original as refunded,
      reverses invoice paid_amount — all within the caller's DB::transaction
    - ParticipantShow: checkbox selection on confirmed inbound payments, preview
      modal showing impact (including enrollment cancellation warning), reason
      field, atomic commit via DB::transaction wrapping both domains
    Co-Authored-By: 's avatarClaude Sonnet 4.6 <noreply@anthropic.com>
    6472b1f0
Name
Last commit
Last update
..
Attendance Loading commit data...
Audit/Models Loading commit data...
Document 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...