@vite('resources/css/app.css')
@if ($invoice->isCancelled()){{ $slogan }}
{{ $invoice->invoice_no }}
{{ __('app.fees.print.bill_to') }}
{{ $invoice->student?->localizedName() }}
{{ $invoice->student?->student_uid }} · {{ __('app.fees.fields.roll') }}: {{ $invoice->student?->roll ?? '—' }}
{{ $invoice->academicYear?->name }} · {{ $invoice->division?->localizedName() }} · {{ $invoice->academicClass?->localizedName() }} @if ($invoice->section) · {{ $invoice->section->localizedName() }} @endif
{{ __('app.fees.print.details') }}
| # | {{ __('app.fees.fields.description') }} | {{ __('app.fees.fields.amount') }} | {{ __('app.fees.fields.discount') }} | {{ __('app.fees.fields.net') }} |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->localizedDescription() }} @if ($item->head) {{ $item->head->localizedName() }} @endif | {{ number_format((float) $item->amount, 2) }} | {{ number_format((float) $item->discount_amount, 2) }} | {{ number_format((float) $item->net_amount, 2) }} |
| {{ __('app.fees.fields.subtotal') }} | {{ number_format((float) $invoice->subtotal, 2) }} | |||
| {{ __('app.fees.fields.discount') }} | {{ number_format((float) $invoice->discount_total, 2) }} | |||
| {{ __('app.fees.fields.total') }} | {{ number_format((float) $invoice->total, 2) }} | |||
| {{ __('app.fees.fields.paid_total') }} | {{ number_format((float) $invoice->paid_total, 2) }} | |||
| {{ __('app.fees.fields.refunded') }} | {{ number_format((float) $invoice->refund_total, 2) }} | |||
| {{ __('app.fees.fields.balance') }} | {{ number_format((float) $invoice->balance, 2) }} | |||
{{ __('app.fees.fields.notes') }}
{{ $invoice->notes }}
{{ __('app.fees.print.cancelled') }}
{{ $invoice->cancelled_at?->translatedFormat('d M Y, H:i') }} @if ($invoice->cancel_reason) — {{ $invoice->cancel_reason }} @endif