@extends('pdf._base') @section('title', 'Statement of account — '.$user->name) @section('body') @include('pdf._letterhead', ['title' => 'STATEMENT', 'number' => $user->student_code, 'subtitle' => 'Statement of account · '.now()->format('d M Y')])
|
Account holder
{{ $user->name }}
{{ $user->email }}@if($user->phone) · {{ $user->phone }}@endif @if($user->student_code)
Student ID {{ $user->student_code }}@endif |
|
| Date | Reference | Description | Charges | Payments | Balance |
|---|---|---|---|---|---|
| {{ $l['date']->format('d M Y') }} | {{ $l['ref'] }} | {{ $l['desc'] }} | {{ $l['debit'] ? money2($l['debit']) : '' }} | {{ $l['credit'] ? money2($l['credit']) : '' }} | {{ money2($bal) }} |
| No transactions yet. | |||||
| Installment | Due date | Outstanding | Status |
|---|---|---|---|
| {{ $x->label }} | {{ $x->due_date->format('d M Y') }} | {{ money2($x->outstanding()) }} | {{ $x->statusLabel() }} |