@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 }}
Total :{{isset($paid)?$paid:0}}/-
In Word: {{ ViewHelper::convertNumberToWord(isset($paid)?$paid:0) }}only.

Total Balance :{{$data['total_due']}}/-
Balance In Word: {{ ViewHelper::convertNumberToWord($data['total_due']) }}only.
@if(isset($generalSetting->print_footer))
{!! $generalSetting->print_footer !!}
@endif