@extends('layouts.admin')
@section('title', 'Payments')
@section('content')
@php $currency = \App\Models\Hotel::query()->value('currency') ?? 'USD'; @endphp
| Date | Guest | Method | Amount | Status | |
|---|---|---|---|---|---|
| {{ $p->transaction_date?->format('M j, Y') }} | {{ $p->guest?->first_name }} {{ $p->guest?->last_name }} | {{ ucfirst($p->method) }} | {{ $currency }} {{ number_format($p->amount, 2) }} | View |