@extends('layouts.admin') @section('title', 'Charges') @section('content') @php $currency = \App\Models\Hotel::query()->value('currency') ?? 'USD'; @endphp @if($folio->status !== 'closed')
@csrf
@endif
Transactions
@foreach($folio->transactions as $t)@endforeach
DateDescriptionTypeAmount
{{ $t->created_at?->format('M j') }}{{ $t->description }}{{ $t->type }} {{ $t->is_credit ? '-' : '' }}{{ number_format($t->amount, 2) }} @if(!$t->reversed_at && $folio->status !== 'closed')
@csrf
@endif

Balance: {{ $currency }} {{ number_format($folio->balance, 2) }}

Status:

@if($folio->status !== 'closed')
Post Charge
@csrf
Post Payment
@csrf
@endif
@endsection