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

@include('print.student-fee.includes.studentinfo')
@php($i=1) @foreach($data['feemaster'] as $feeMaster) @if(isset($feeMaster->due) && $feeMaster->due >0) @endif @php($i++) @endforeach {{--@else @endif--}}
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 {{ $data['feemaster']->sum('fee_amount') }} {{ $data['feemaster']->sum('discount') }} {{ $data['feemaster']->sum('fine') }} {{ $data['feemaster']->sum('paid_amount') }} {{ $data['student']->balance?$data['student']->balance:'-' }}
Total Balance :{{$data['student']->balance}}/-
Balance In Word: {{ ViewHelper::convertNumberToWord($data['student']->balance) }}only.
@include('print.student-fee.includes.print-footer')