@extends('layouts.app') @section('title', 'Senior/PWD Discount Register') @section('nav_reports', 'bg-teal-50 text-teal-700 font-semibold') @section('page_title', 'Reports') @section('page_subtitle', 'Senior/PWD Discount Register') @section('content') @include('reports._filter', [ 'active' => 'reports.discounts', 'mode' => 'range', 'from' => $from, 'to' => $to, 'title' => 'Senior Citizen / PWD Discount Register', 'subtitle' => 'RA 9994 / RA 10754 · arrivals ' . \Carbon\Carbon::parse($from)->format('M j') . ' – ' . \Carbon\Carbon::parse($to)->format('M j, Y'), ]) {{-- Summary tiles --}}

Total Discount

₱{{ number_format($totalDiscount, 2) }}

claimable BIR deduction

Senior Citizen

{{ $seniorCount }}

discounted stays

PWD

{{ $pwdCount }}

discounted stays

Discount Rate

{{ number_format($discountPct, 1) }}%

of ₱{{ number_format($totalGross, 0) }} gross

{{-- Register --}}

Discount Register

20% + VAT-exempt on one guest's share · present with OSCA/PWD IDs for the BIR deduction claim

@if($rows->isEmpty())

No Senior/PWD discounts granted in this period.

@else
@foreach($rows as $row) @endforeach
Guest / Booking Room Arrival Type ID No. Gross Discount Net

{{ $row['guest_name'] }}

{{ $row['booking_no'] }}

{{ $row['room_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) }}
@endif
@if($byType->isNotEmpty())
@foreach($byType as $t) {{ $t['label'] }}: {{ $t['count'] }} stay{{ $t['count'] !== 1 ? 's' : '' }} · ₱{{ number_format($t['discount'], 2) }} @endforeach
@endif

Discount = one qualified guest's share (room total ÷ pax), net of 12% VAT, less 20%. Confirm the interpretation with your accountant before filing.

@endsection