@php $exePath = public_path('exesync-wordmark-black.png'); $exe64 = file_exists($exePath) ? 'data:image/png;base64,' . base64_encode(file_get_contents($exePath)) : null; @endphp {{-- Full-bleed status strip at the very top --}} @if(($status ?? null) === 'paid')
Payment Status
✓  Paid in Full
@elseif(($status ?? null) === 'pending')
Payment Status
Payment Pending
@endif
{{-- Header --}}
@if($logoBase64) IronCore @endif
Platform for Modern Gyms
info@ironcore.com
{{ ($status ?? null) === 'paid' ? 'Invoice' : 'Receipt' }}
No. {{ $receiptNo }}
Date: {{ $date }}
{{-- Parties --}}
From
@if ($exe64) ExeSync @else ExeSync @endif
IronCore · Software as a Service
info@ironcore.com
Billed To
{{ $academy->name }}
@if($academy->owner_name){{ $academy->owner_name }}
@endif @if($academy->phone){{ $academy->phone }}
@endif @if($academy->email){{ $academy->email }}@endif
{{-- Services table --}}
Description Period Qty Amount
Student Management Plan
Monthly plan — up to {{ number_format($students) }} members
{{ $period }} {{ number_format($students) }} seats @if($studentPrice !== null) {{ $currency }} {{ number_format($studentPrice, 0) }} @else — @endif
WhatsApp Messaging
Fee, attendance & event alerts
{{ $period }} {{ number_format($messages) }} msgs @if($messagePrice !== null) {{ $currency }} {{ number_format($messagePrice, 0) }} @else — @endif
{{-- Total — color matches status --}} @php $grandClass = ($status ?? null) === 'paid' ? 'grand-paid' : (($status ?? null) === 'pending' ? 'grand-pending' : 'grand-default'); @endphp
Total Amount {{ $currency }} {{ number_format($amount, 0) }}
{{-- Notes (pending only) --}} @if($notes && ($status ?? null) !== 'paid')
Notes
{{ $notes }}
@endif {{-- Footer --}}