| {{$receipts[0]->student_school_id }} | {{ date('d-M-Y', strtotime($receipts[0]->created_at)) }} |
| {{ ucwords($receipts[0]->first_name) }} {{ ucwords($receipts[0]->last_name) }} | |
| {{ $semester->name }} | |
|
@if ($receipts[0]->fee_type == 'other_fee')
@foreach ($receipts as $item)
{{ucwords($item->head_name)}} @endforeach @else Tuition Fee @endif |
@if ($receipts[0]->fee_type == 'other_fee')
@php $totalAmount = 0; @endphp @foreach ($receipts as $item) Php {{$item->amount}} @php $totalAmount += $item->amount @endphp @endforeach @else Php {{number_format($receipts[0]->amount, 2)}} @endif |
|
@if ($receipts[0]->fee_type == 'other_fee')
Php {{number_format($totalAmount, 2)}}
@else
Php {{number_format($receipts[0]->amount, 2)}}
@endif
Less: Withholding Tax |
|
|
@if ($receipts[0]->payment_mode == 'cash') Yes @endif @if ($receipts[0]->payment_mode != 'cash') {{$receipts[0]->bank_name}} {{$receipts[0]->transaction_no}} {{date('d-M-Y', strtotime($receipts[0]->transaction_date))}} @else @endif |
{{ $receipts[0]->user_name }} #{{$receipts[0]->serial_no}} |