@extends('layouts.print') @section('title', 'Senior/PWD Discount Register — ' . \Carbon\Carbon::parse($from)->format('M j') . '–' . \Carbon\Carbon::parse($to)->format('M j, Y')) @section('content') @php $propName = \App\Models\Setting::get('property_name', config('app.name', 'Parkview Hotel')); $periodLabel = \Carbon\Carbon::parse($from)->format('M j') . ' – ' . \Carbon\Carbon::parse($to)->format('M j, Y'); @endphp
{{ $label }}
{{ $value }}
{{ $sub }}
No Senior/PWD discounts granted in this period.
@else| Guest | Booking # | Arrival | Type | ID No. | Gross | Discount | Net |
|---|---|---|---|---|---|---|---|
| {{ $row['guest_name'] }} | {{ $row['booking_no'] }} | {{ $row['check_in']->format('M j, Y') }} | {{ $row['type'] === 'senior' ? 'Senior' : 'PWD' }} | {{ $row['id_number'] ?: '—' }} | ₱{{ number_format($row['gross'], 2) }} | ₱{{ number_format($row['discount'], 2) }} | ₱{{ number_format($row['net'], 2) }} |
| Total | ₱{{ number_format($totalGross, 2) }} | ₱{{ number_format($totalDiscount, 2) }} | ₱{{ number_format($totalGross - $totalDiscount, 2) }} | ||||