# | Date | Course Details | Fee | Currency | Transaction Type | Transaction ID | Transaction Purpose | For the Month | Source | Status | Send Confirmation | Note | Invoice |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{++$index}} | {{ $value->date }} |
@if($value->enrollment)
{{ $value->enrollment?->course?->name }} | {{ $value->enrollment?->track?->title }} (T {{ $value->enrollment?->track?->track_num }}) | {{ $value->enrollment?->level?->title }} (L {{ $value->enrollment?->level?->level_num }}) @else {{ 'N/A' }} @endif |
{{ $value->fees }} | {{ $value->currency }} | {{ $value->transaction_type }} | {{ $value->transaction_id }} | {{ ucfirst($value->transaction_purpose) }} | @php $showMonth = ''; if($value->for_month){ $for_months = json_decode($value->for_month, true); foreach ($for_months as $month){ $showMonth.= $month .', '; } echo rtrim($showMonth, ', ') . ', ' . $value->year; } @endphp | {{ $value->source }} | {{ $value->payment_status }} | {{ ($value->send_confirmation == 1) ? 'Yes' : 'No' }} | {{ (!empty($value->notes) ? $value->notes : '')}} | @if (Auth::guard('web')->user()->can('payment.list')) view @endif |