@extends('layouts.app') @section('title', 'Transaction #' . $tx->id) @section('nav_pos', 'bg-teal-50 text-teal-700 font-semibold') @section('page_title', 'Transaction #' . $tx->id) @section('page_subtitle', $tx->transaction_date->format('F j, Y')) @section('content')
Transaction #
#{{ $tx->id }}
Date
{{ $tx->transaction_date->format('M j, Y') }}
Cashier
{{ $tx->cashier }}
| Item | Qty | Unit Price | Amount |
|---|---|---|---|
| {{ $item->description }} @php $catLabel = ['food_beverage'=>'Food & Bev','laundry'=>'Laundry','telephone'=>'Telephone','minibar'=>'Minibar','damage'=>'Damage','other'=>'Misc']; @endphp {{ $catLabel[$item->category] ?? '' }} | {{ $item->quantity }} | ₱{{ number_format($item->unit_price, 0) }} | ₱{{ number_format($item->lineTotal(), 0) }} |
| Total | ₱{{ number_format($tx->total, 0) }} | ||
Notes
{{ $tx->notes }}
Charged to Room {{ $tx->reservation->room_no }} — {{ $tx->reservation->guest_name }}