Donar: {{ $donarName ?? '' }}
@endifStudent: {{ $data->students->name ?? '--' }}
@if (!$donarName)Reg No: {{ $data->students->register_no ?? '--' }}
@endifClass: {{ $data->students->stuclass->name ?? '--' }}
Date: {{ \Carbon\Carbon::parse($data->date)->format('d-m-Y') }}
Month: {{ \Carbon\Carbon::parse($data->month)->format('F, Y') }}
Receipt No: {{ $data->receipt_no ?? '--' }}
| Type | Details | Amount |
|---|---|---|
| @if ($fundDetailType->fee_type == 'academic') একাডেমিক @elseif ($fundDetailType->fee_type == 'hostel') আবাসিক @elseif ($fundDetailType->fee_type == 'other') পরীক্ষা ফি @elseif ($fundDetailType->fee_type == 'onabashik') অনাবাসিক @elseif ($fundDetailType->fee_type == 'special') স্পেশাল ফি @endif |
@if ($fundDetailType->fundDetails->count())
@foreach ($fundDetailType->fundDetails as $detail)
{{ $detail->fee_name ?? '' }} - {{ $detail->amount ?? '' }} @endforeach @else @php $fundDetail = \App\Models\FundDetail::where('student_id', $data->student_id) ->where('month', $data->month) ->where('purpose','Student Monthly Payment') ->pluck('fee_id')->toArray(); $typeMap = [ 'academic' => 1, 'hostel' => 2, 'other' => 3, 'onabashik' => 4, 'special' => 5, ]; $typeId = $typeMap[$fundDetailType->fee_type] ?? null; @endphp @if ($fundDetail) @foreach ($fundDetail as $key => $detail_id) @php $detail = \App\Models\StudentFee::where('type', $typeId)->find($detail_id); @endphp @if ($detail) {{ $detail->name ?? '' }} -{{ $detail->amount ?? '' }} @endif @endforeach @endif @endif |
{{ $fundDetailType->receive ?? '' }} |
| Total: | {{ $data->total ?? '' }} | |
| Total Received: | {{ $data->amount ?? '' }} | |
| Current Received: | {{ $data->current_receive ?? '' }} | |
| Total Discount: | {{ $data->discount ?? '' }} | |
| Total Due: | {{ $data->due ?? '' }} | |
Total Amount:{{ $totalAmount ?? '' }}
Previous Received:{{ round($totalReceived - $data->amount) ?? '' }}
Current Received:{{ round($data->amount) ?? '' }}
Due:{{ $totalAmount - $totalReceived }}
________________________
Guardian's Signature
__________________________
Account's Signature