@php use App\Models\GeneralSetting; $siteName = GeneralSetting::where('key', 'site_name')->value('value'); $logoPath = GeneralSetting::where('key', 'logo')->value('value'); @endphp
Site Logo

{{ $siteName }} - School Fees Payment

@foreach($payments as $key => $payment)

Invoice #: {{ $payment->id }}

@foreach($payment->students as $student)

Student Name: {{ $student['student_name'] }}
Age: {{ $student['student_age'] }}
Gender: {{ $student['gender'] }}
Communication Address: {{ $student['communication_address'] }}
Contact Phone: {{ $student['contact_phone'] }}
Class: {{ $student['student_class'] }}
Standard: {{ $student['student_std'] }}


@endforeach
@if ($payment->extrapayment > 0) @endif
Item Description Amount
School Fees Fees for @if(is_array($payment->students)) {{ implode(', ', array_column($payment->students, 'student_name')) }} @elseif(is_string($payment->students)) {{ $payment->students }} @endif ₹{{ $payment->amount }}
Total ₹{{ $payment->amount }}
Total fees ₹{{ $payment->balance_amount }}
Balance Amount to pay ₹{{ $payment->balance }}
Extra Amount paid ₹{{ $payment->extrapayment }}
Download PDF

Terms

Thank you for sponsoring these students' education. Your continued support is invaluable. Please ensure any outstanding balances are settled before the due date.

@endforeach