@php $W = \App\Support\Words::class; $money = $money ?? true; $bd = fn ($x) => date('D, d M Y', strtotime($x)); @endphp Daily bookings {{ $from }} – {{ $to }}
📊 Excel📝 WordClose
@if ($logo)@endif
{{ $s['site_name'] ?? '' }}
{{ $s['address'] ?? '' }}
Hotline: {{ $s['phone'] ?? '' }}

DAILY BOOKINGS – ALL LOCATIONS / দৈনিক বুকিং – সব লোকেশন

{{ $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' : '' }}

@foreach ($dates as $d)@endforeach@foreach ($pkgs as $p) @php $sum = 0; $n = 0; @endphp @foreach ($dates as $d) @php $c = $matrix[$p['id']][$d] ?? ['n' => 0, 'pax' => 0]; $sum += $c['pax']; $n += $c['n']; @endphp @endforeach @endforeach@foreach ($sections as $sec)@endforeach
Location / package{{ date('D d M', strtotime($d)) }}Total
{{ $p['title_en'] }}
{{ $p['location'] }}
@if ($c['n']){{ $c['pax'] }} জন
{{ $c['n'] }} বুকিং@else – @endif
{{ $sum }} জন
{{ $n }} বুকিং
Day total{{ $sec['t']['pax'] }} জন{{ $grand['pax'] }} জন
@foreach ($sections as $sec)
{{ $bd($sec['date']) }}{{ $sec['t']['bookings'] }} bookings · {{ $sec['t']['pax'] }} guests @if ($money) · Due {{ $W::money($sec['t']['due']) }}@endif
@foreach ($sec['blocks'] as $b)
📍 {{ $b['pkg']['location'] ?: $b['pkg']['title_en'] }} – {{ $b['pkg']['title_en'] }} @if ($b['pin'])📌 Pinned{{ $b['pin']['note'] ? ': ' . $b['pin']['note'] : '' }}@endif
Operator: {{ $b['pkg']['operator_name'] ?: '—' }} {{ $b['pkg']['operator_phone'] }}@if ($b['team']) · Vehicle / tour supervisor {{ $b['team']['supervisor'] ?: '—' }} · Local guide {{ $b['team']['guide'] ?: '—' }}@if ($b['team']['meeting']) · Meet: {{ $b['team']['meeting'] }}@endif @endif
@if (!count($b['rows']))
No guests.
@else
@if ($money)@endif@foreach ($b['rows'] as $i => $r) @if ($money)@endif @endforeach@if ($money)@endif
#BookingGuest nameMobileEmail / addressAdultChildPaxRoomsTotal ৳Paid ৳Due ৳StatusNotes
{{ $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'] ?: '' }}{{ $W::plain($r['total']) }}{{ $W::plain($r['paid']) }}{{ $W::plain($r['due']) }}{{ $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'] }}{{ $W::plain($b['t']['amount']) }}{{ $W::plain($b['t']['paid']) }}{{ $W::plain($b['t']['due']) }}
@endif
@endforeach
@endforeach
Printed {{ $printed }} (BD time) · {{ $s['site_name'] ?? '' }}Signature ____________________
@if ($auto)@endif