{{__('Loading...')}}
@if($records && $records->isNotEmpty()) @if(($this->selectedAcademicYearId && $this->selectedGroupId) || ($this->selectedAcademicYearId && $this->start_date && $this->end_date )) @endif
@foreach($records as $record) @endforeach
{{ __('Billing Month') }} {{ __('Payment Date') }} {{ __('Student Name') }} {{ __('Status') }} {{ __('Amount') }} {{ __('Discounted') }} {{ __('Paid') }} {{ __('Remain') }}
{{ __($record->billing_month_name) }} {{ $record->payment_date->format('Y-m-d') }} {{ $record->student->name }} {{ $record->payment_status->name }} {{ number_format($record->amount, 2) }} {{ number_format($record->discounted, 2) }} {{ number_format($record->paid, 2) }} {{ number_format($record->remain, 2) }}
{{__('Total')}} {{number_format($records->sum('amount'), 2)}} {{number_format($records->sum('discounted'), 2)}} {{number_format($records->sum('paid'), 2)}} {{number_format($records->sum('remain'), 2)}}
{{ $records->links() }}
@else
{{__('No records to show.')}}
@endif
@push('js') @endpush