@extends('layouts.print') @section('title', 'Revenue Report — ' . \Carbon\Carbon::parse($from)->format('M j') . '–' . \Carbon\Carbon::parse($to)->format('M j, Y')) @section('content') @php $periodLabel = \Carbon\Carbon::parse($from)->format('M j') . ' – ' . \Carbon\Carbon::parse($to)->format('M j, Y'); $propName = \App\Models\Setting::get('property_name', config('app.name', 'Parkview Hotel')); $pmTotal = (float) $byPaymentMethod->sum('total'); @endphp
{{ $label }}
{{ $value }}
{{ $sub }}
No data for this period.
@else| Room Type | Bookings | Avg Nights | ADR | Revenue | Share |
|---|---|---|---|---|---|
| {{ $type }} | {{ $row['count'] }} | {{ $row['avg_nights'] }} | ₱{{ number_format($row['adr'], 2) }} | ₱{{ number_format($row['revenue'], 2) }} | {{ $row['share'] }}% |
| Total | {{ $byRoomType->sum('count') }} | ₱{{ number_format($totalRevenue, 2) }} | 100% |
No data for this period.
@else| Source | Bookings | Avg Stay | Revenue | Share |
|---|---|---|---|---|
| {{ $source }} | {{ $row['count'] }} | {{ $row['avg_nights'] }}n | ₱{{ number_format($row['revenue'], 2) }} | {{ $row['share'] }}% |
No data for this period.
@else| Code | Rate Plan | Bookings | Revenue | Share |
|---|---|---|---|---|
| {{ $row['code'] }} | {{ $row['name'] }} | {{ $row['count'] }} | ₱{{ number_format($row['revenue'], 2) }} | {{ $row['share'] }}% |
No payment records for this period.
@else| Method | Transactions | Amount | Share |
|---|---|---|---|
| {{ $pm->method }} | {{ $pm->cnt }} | ₱{{ number_format($pm->total, 2) }} | {{ $pmTotal > 0 ? round($pm->total / $pmTotal * 100, 1) : 0 }}% |
| Total | {{ $byPaymentMethod->sum('cnt') }} | ₱{{ number_format($pmTotal, 2) }} | 100% |