@extends('layouts.app') @section('title', 'Billing & Folios') @section('nav_folio', 'bg-teal-50 text-teal-700 font-semibold') @section('page_title', 'Billing & Folios') @section('page_subtitle', 'Folio overview for active and recently checked-out reservations') @section('content') @if (session('success'))
{{ session('success') }}
Outstanding Balance
₱{{ number_format($stats['outstanding_amount'], 0) }}
{{ $stats['outstanding_count'] }} account{{ $stats['outstanding_count'] !== 1 ? 's' : '' }} with balance due @if($hasFilters) · filtered @endif
Settled Accounts
{{ $stats['settled_count'] }}
Fully paid — no balance @if($hasFilters) · filtered @endif
Showing
{{ $reservations->count() }}
{{ $hasFilters ? 'matching records' : 'confirmed, in-house & checked-out' }}
| Guest | Room | Check-out | Status | Charges | Paid | Balance | |
|---|---|---|---|---|---|---|---|
|
{{ $res->guest_name }} {{ $res->booking_no }} |
{{ $res->room_no }} {{ $res->room_type }} |
{{ $res->check_out->format('M j, Y') }} {{ $res->nights }} night{{ $res->nights > 1 ? 's' : '' }} |
{{ $statusLabel[$res->status] ?? $res->status }} |
₱{{ number_format($resTotalCharge, 2) }} @if($res->folioCharges->isNotEmpty())incl. {{ $res->folioCharges->count() }} extra{{ $res->folioCharges->count() > 1 ? 's' : '' }} @endif |
₱{{ number_format($resTotalPaid, 2) }} |
@if($isSettled)
Settled
@else
₱{{ number_format($resBalance, 2) }} @endif |
View Folio → |
|
No billing records found. @if($hasFilters) Clear filters to see all records @endif |
|||||||