@include('print.student-fee.includes.print-header')
@include('print.student-fee.includes.institution-detail')
DUE DETAIL - SLIP

Name : {{ $student->first_name.' '.$student->middle_name.' '.$student->last_name }} Reg No. : {{ $student->reg_no }}

Faculty/Class : {{ ViewHelper::getFacultyTitle($student->faculty) }} Sem./Sec. : {{ ViewHelper::getSemesterTitle($student->semester) }}
@php($i=1) @foreach($student->master as $feeMaster) @if(isset($feeMaster->due) && $feeMaster->due >0) @endif @php($i++) @endforeach
Head Due Date Amount Di Fi Paid Due
{{ $i }} {{ ViewHelper::getSemesterById($feeMaster->semester) }} {{ ViewHelper::getFeeHeadById($feeMaster->fee_head) }} {{ \Carbon\Carbon::parse($feeMaster->fee_due_date)->format('Y-m-d') }} {{ $feeMaster->fee_amount?$feeMaster->fee_amount:'-' }} {{ $feeMaster->discount?$feeMaster->discount:'-' }} {{ $feeMaster->fine?$feeMaster->fine:'-' }} {{ $feeMaster->paid_amount?$feeMaster->paid_amount:'-' }} {{ $feeMaster->due?$feeMaster->due:'-' }}
Total Balance :{{$student->balance}}/-
Balance In Word: {{ ViewHelper::convertNumberToWord($student->balance) }}only.
@include('print.student-fee.includes.print-footer')