@extends('layouts.admin') @section('title', 'Payments') @section('content') @php $currency = \App\Models\Hotel::query()->value('currency') ?? 'USD'; @endphp
@foreach($payments as $p)@endforeach
DateGuestMethodAmountStatus
{{ $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
{{ $payments->links() }}
@endsection