{{__('Loading...')}}
@if($records && $records->isNotEmpty()) @if($this->start_date && $this->end_date) @endif
@foreach($records as $record) @endforeach
{{ __('Payment Date') }} {{ __('Billing Month') }} {{ __('Teacher Name') }} {{ __('Payment Type') }} {{__('Group')}} / {{__('Subject')}} {{ __('Status') }} {{ __('Amount') }} {{ __('Discounted') }} {{ __('Bonus') }} {{ __('Paid') }} {{ __('Total') }}
{{ $record->payment_date->format('Y-m-d') }} {{ $record->transaction->billing_month }} {{ $record->teacher->name }} {{ __($record->payment_type) }} {{ $record->group->name??'' }} / {{ $record->subject->name??'' }} {{ $record->payment_status->name }} {{ number_format($record->amount, 2) }} {{ number_format($record->discounted, 2) }} {{ number_format($record->bonus, 2) }} {{ number_format($record->paid, 2) }} {{ number_format($record->total, 2) }}
{{__('Total')}} {{number_format($records->sum('amount'), 2)}} {{number_format($records->sum('discounted'), 2)}} {{number_format($records->sum('bonus'), 2)}} {{number_format($records->sum('paid'), 2)}} {{number_format($records->sum('total'), 2)}}
{{ $records->links() }}
@else
{{__('No records to show.')}}
@endif
@push('js') @endpush