@extends('layouts.print') @section('title', 'BIR Sales Book & VAT — ' . \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
@include('reports.print._letterhead', [ 'reportTitle' => 'BIR Sales Book & VAT', 'periodLabel' => $periodLabel, 'backUrl' => route('reports.bir-vat', ['from' => $from, 'to' => $to]), ])
{{-- VAT summary --}}

Sales & VAT Summary — accrual basis

Room revenue₱{{ number_format($roomRevenue, 2) }}
Folio charges₱{{ number_format($folioRevenue, 2) }}
Direct POS sales₱{{ number_format($posDirectRevenue, 2) }}
Gross Sales (VAT-incl.)₱{{ number_format($grossSales, 2) }}
Less: VAT-exempt sales (senior/PWD)(₱{{ number_format($exemptSales, 2) }})
VATable gross₱{{ number_format($vatableGross, 2) }}
VATable net sales₱{{ number_format($vatableNet, 2) }}
Output VAT ({{ $vatRatePct }}%)₱{{ number_format($outputVat, 2) }}

VAT-exempt senior/PWD sales excluded from the VATable base. Discount granted: ₱{{ number_format($seniorPwdDiscount, 2) }}. Confirm treatment with your accountant.

{{-- OR register --}}

Official Receipt Register ({{ $receipts->count() }}) — cash basis

@if($receipts->isEmpty())

No receipts issued in this period.

@else @foreach($receipts as $r) @endforeach
OR No. Date Guest Method Amount
{{ $r->or_number }} {{ $r->payment_date->format('M j, Y') }} {{ $r->guest_name ?? '—' }} {{ $r->method }} ₱{{ number_format($r->amount, 2) }}
Total Received ₱{{ number_format($receiptsTotal, 2) }}
@endif
{{ $propName }} · BIR Sales Book & VAT Printed {{ now()->format('M j, Y g:i A') }}
@endsection