Master Invoice -{{$data['fee_master']->id}}
User:
{{isset(auth()->user()->name)?auth()->user()->name:""}}
Date: {{ \Carbon\Carbon::parse(now())->format('Y-m-d')}}
Date: {{ \Carbon\Carbon::parse(now())->format('Y-m-d')}}
Reg No. : {{ $data['student']->reg_no }}
Name : {{ $data['student']->first_name.' '.$data['student']->middle_name.' '.$data['student']->last_name }} Level: {{ ViewHelper::getFacultyTitle($data['student']->faculty) }} {{ ViewHelper::getSemesterTitle($data['student']->semester) }} |
{!! isset($generalSetting->print_header)?$generalSetting->print_header:'-' !!} |
Head | Due Date | Amount | Date | Di | Fi | Paid | Balance | ||
---|---|---|---|---|---|---|---|---|---|
{{ $i }} | {{ ViewHelper::getSemesterById($data['fee_master']->semester) }} | {{ ViewHelper::getFeeHeadById($data['fee_master']->fee_head) }} | {{ \Carbon\Carbon::parse($data['fee_master']->fee_due_date)->format('Y-m-d') }} | {{ $amount = $data['fee_master']->fee_amount }} | {{ $paid = $data['fee_master']->feeCollect->sum('paid_amount') }} | @php($balance = $amount - $paid) {{ $balance > 0?$balance:'-' }} | |||
{{ \Carbon\Carbon::parse($feeCollection->date)->format('Y-m-d')}} | {{ $feeCollection->discount?$feeCollection->discount:'-' }} | {{ $feeCollection->fine?$feeCollection->fine:"-" }} | {{ $feeCollection->paid_amount?$feeCollection->paid_amount:'-' }} | ||||||
Total :{{$paid}}/-
In Word: {{ ViewHelper::convertNumberToWord($paid) }}only.
{!! $generalSetting->print_footer !!}
@endif