• 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
..
components Loading commit data...
errors Loading commit data...
layouts Loading commit data...
livewire Loading commit data...
print Loading commit data...
public Loading commit data...
receipts Loading commit data...
reports Loading commit data...
website Loading commit data...
welcome.blade.php Loading commit data...