@php $palette = \App\Support\ThemePalette::resolveShades('emerald'); $schoolName = $branding['school_name'] ?? $tenant?->school_name ?? $tenant?->name ?? 'School Management System'; $address = $branding['address'] ?? $tenant?->address ?? ''; $phone = $branding['phone'] ?? $tenant?->phone ?? ''; @endphp Account Transaction Receipt @include('reports.partials.font')
@if(!empty($schoolLogo))
{{ $schoolName }}
@endif
{{ $schoolName }}
@if($address || $phone)
{{ $address }}{{ $address && $phone ? ' | ' : '' }}{{ $phone }}
@endif
ACCOUNT TRANSACTION RECEIPT
Transaction number {{ $transaction->transaction_number }}
Date {{ $transaction->date?->format('d M Y') }}
Type {{ $transaction->type }}
Payment method {{ $transaction->payment_method }}
Reference {{ $transaction->reference_id ?: '—' }}
Description {{ $transaction->description ?: '—' }}
Recorded by {{ $transaction->creator?->name ?: '—' }}
Amount ৳{{ number_format((float) $transaction->amount, 2) }}