@push('css') @endpush @if (!userPermission('fees.fees-invoice-store')) @push('css') @endpush @endif
@if (isset($role) && $role == 'admin') @if (userPermission('fees.fees-invoice-store')) @endif @endif
@if ((isset($role) && $role == 'admin') || $role == 'lms')
@lang('common.sl') @lang('common.student') @lang('admin.admission_no') @lang('accounts.amount') @lang('fees::feesModule.waiver') @lang('fees.fine') @lang('fees.paid') @lang('accounts.balance') @lang('common.status') @lang('common.date') @lang('common.action')
@else
@foreach ($records as $key => $record)
@foreach ($record->feesInvoice as $key => $studentInvoice) @php $amount = $studentInvoice->Tamount; $weaver = $studentInvoice->Tweaver; $fine = $studentInvoice->Tfine; $paid_amount = $studentInvoice->Tpaidamount; $sub_total = $studentInvoice->Tsubtotal; $balance = $amount + $fine - ($paid_amount + $weaver); @endphp @endforeach
@lang('common.sl') @lang('common.student') @lang('student.class_section') @lang('accounts.amount') @lang('fees::feesModule.waiver') @lang('fees.fine') @lang('fees.paid') @lang('accounts.balance') @lang('common.status') @lang('common.date') @lang('common.action')
{{ $key + 1 }} {{ @$studentInvoice->studentInfo->full_name }} {{ @$studentInvoice->recordDetail->class->class_name }} ({{ @$studentInvoice->recordDetail->section->section_name }}) {{ $amount }} {{ $weaver }} {{ $fine }} {{ $paid_amount }} {{ $balance }} @if ($balance == 0) @else @if ($paid_amount > 0) @else @endif @endif {{ dateConvert($studentInvoice->create_date) }} @lang('common.view') @if ($balance != 0) @lang('inventory.add_payment') @endif
@endforeach
@endif
{{-- Delete Modal Start --}} {{-- Delete Modal End --}} {{-- View Fees Modal Start --}} {{-- View Fees Modal End --}} @include('backEnd.partials.data_table_js') @include('backEnd.partials.server_side_datatable')