@extends('adminlte::page') @section('title', 'Pocket Money Receipt') @section('content')
Pocket Money Transaction Receipt
{{ config('school.address', '123 Main St, City') }} | {{ config('school.phone', '+255 000 000 000') }}| Name | {{ $transaction->student->first_name ?? '-' }} {{ $transaction->student->last_name ?? '' }} |
|---|---|
| Admission No | {{ $transaction->student->admission_no ?? 'N/A' }} |
| Class | {{ $transaction->student->schoolClass->name ?? 'N/A' }} |
| Type | {{ ucfirst($transaction->type) }} |
|---|---|
| Amount | TZS {{ number_format($transaction->amount, 2) }} |
| Balance After | TZS {{ number_format($transaction->balance_after, 2) }} |
| Performed By | {{ $transaction->performedBy->name ?? 'System' }} |
| Note | {{ $transaction->note ?? '-' }} |