@php $W = \App\Support\Words::class; $money = $money ?? true; $bd = fn ($x) => date('D, d M Y', strtotime($x)); @endphp
{{ $bd($from) }} → {{ $bd($to) }} ({{ $days }} days) · {{ $grand['bookings'] }} bookings · {{ $grand['pax'] }} guests@if ($money) · Total {{ $W::money($grand['amount']) }} · Paid {{ $W::money($grand['paid']) }} · Due {{ $W::money($grand['due']) }}@endif{{ $only === 'confirmed' ? ' · confirmed only' : '' }}
| Location / package | @foreach ($dates as $d){{ date('D d M', strtotime($d)) }} | @endforeachTotal |
|---|---|---|
| {{ $p['title_en'] }} {{ $p['location'] }} |
@foreach ($dates as $d)
@php $c = $matrix[$p['id']][$d] ?? ['n' => 0, 'pax' => 0]; $sum += $c['pax']; $n += $c['n']; @endphp
@if ($c['n']){{ $c['pax'] }} জন {{ $c['n'] }} বুকিং@else – @endif | @endforeach
{{ $sum }} জন {{ $n }} বুকিং |
| Day total | @foreach ($sections as $sec){{ $sec['t']['pax'] }} জন | @endforeach{{ $grand['pax'] }} জন |
| # | Booking | Guest name | Mobile | Email / address | Adult | Child | Pax | Rooms | @if ($money)Total ৳ | Paid ৳ | Due ৳ | @endifStatus | Notes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $r['code'] }} {{ $r['rate'] }} | {{ $r['name'] }}@if ($r['company']) {{ $r['company'] }}@endif | {{ $r['mobile'] }} | {{ $r['email'] }}@if($r['address']) 📍 {{ $r['address'] }}@endif |
{{ $r['adults'] }} | {{ $r['children'] }} | {{ $r['pax'] }} | {{ $r['rooms'] ?: '' }} | @if ($money){{ $W::plain($r['total']) }} | {{ $W::plain($r['paid']) }} | {{ $W::plain($r['due']) }} | @endif{{ $STATUS[$r['status']]['en'] ?? $r['status'] }} | {{ $r['notes'] }} |
| Subtotal – {{ $b['t']['bookings'] }} bookings ({{ $b['t']['confirmed'] }} confirmed) | {{ $b['t']['adults'] }} | {{ $b['t']['children'] }} | {{ $b['t']['pax'] }} | {{ $b['t']['rooms'] }} | @if ($money){{ $W::plain($b['t']['amount']) }} | {{ $W::plain($b['t']['paid']) }} | {{ $W::plain($b['t']['due']) }} | @endif||||||