@extends('layouts.app') @section('title', 'Ancillary Revenue') @section('nav_reports', 'bg-teal-50 text-teal-700 font-semibold') @section('page_title', 'Reports') @section('page_subtitle', 'Ancillary Revenue') @section('content') @include('reports._filter', [ 'active' => 'reports.ancillary', 'mode' => 'range', 'from' => $from, 'to' => $to, 'title' => 'Ancillary / Folio Revenue by Category', 'subtitle' => 'Folio charges dated ' . \Carbon\Carbon::parse($from)->format('M j') . ' – ' . \Carbon\Carbon::parse($to)->format('M j, Y'), ]) {{-- Summary tiles --}}

Ancillary Revenue

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

non-room folio charges

Share of Total

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

of room + ancillary

Room Revenue

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

check-ins in period

Posted from POS

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

rest posted manually

{{-- By category --}}

Revenue by Category

F&B, minibar, laundry, telephone, damage and other charges

@if($byCategory->isEmpty())

No folio charges for this period.

@else
@foreach($byCategory as $row) @endforeach
Category Charges POS / Manual Share Revenue
{{ $row['label'] }} {{ $row['count'] }} {{ $row['from_pos'] }} / {{ $row['manual'] }}
{{ $row['share'] }}%
₱{{ number_format($row['revenue'], 2) }}
Total Ancillary {{ $byCategory->sum('count') }} ₱{{ number_format($ancillaryTotal, 2) }}
@endif
@endsection