@include('print.student-fee.includes.print-header')
@include('print.includes.institution-detail')
@include('print.student-fee.includes.studentinfo')
@if(isset($generalSetting->print_footer))
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 | Fine | Dis. | 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->fine }} | {{ $feeCollection->discount }} | {{ $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.
{!! $generalSetting->print_footer !!}
@endif