@include('layouts.includes.template_setting')
@include('print.student-fee.includes.print-header') @include('print.student-fee.includes.institution-detail')
DETAIL-RECEIPT
@include('print.student-fee.includes.studentinfo')
@if($data['fee_collection'] && $data['fee_collection']->count() > 0) @php($i=1) @foreach($data['fee_collection'] as $feeCollection) @php($i++) @endforeach @php($paid = $data['fee_collection']->sum('paid_amount')) @endif
Head Due Date Amount Date Paid
{{ $i }} {{ ViewHelper::getSemesterById($feeCollection->feeMasters->semester) }} {{ ViewHelper::getFeeHeadById($feeCollection->feeMasters->fee_head) }} {{ \Carbon\Carbon::parse($feeCollection->feeMasters->fee_due_date)->format('Y-m-d') }} {{ $feeCollection->feeMasters->fee_amount }} {{ \Carbon\Carbon::parse($feeCollection->date)->format('Y-m-d') }} {{ $feeCollection->paid_amount }}
{{$feeCollection->note}}
Total :{{isset($paid)?$paid:0}}/-
In Word: {{ ViewHelper::convertNumberToWord(isset($paid)?$paid:0) }}.

@if($data['total_due'] > 0)
Total Balance :{{$data['total_due']}}/-
Balance In Word: {{ ViewHelper::convertNumberToWord($data['total_due']) }}.
@endif
@include('print.student-fee.includes.print-footer')