@extends('layouts.admin') @section('title', $expense->title) @section('content') @php $currency = \App\Models\Hotel::query()->value('currency') ?? 'USD'; @endphp Edit @if($expense->status !== 'approved')
@csrf
@endif
Category
{{ $expense->category }}
Amount
{{ $currency }} {{ number_format($expense->amount, 2) }}
Status
Date
{{ $expense->expense_date?->format('M j, Y') }}
Department
{{ $expense->department?->name ?? '—' }}
Supplier
{{ $expense->supplier?->name ?? '—' }}
Requested By
{{ $expense->requestedBy?->name ?? '—' }}
Approved By
{{ $expense->approvedBy?->name ?? '—' }}
Payment Method
{{ $expense->payment_method ?? '—' }}
@if($expense->description)
Description
{{ $expense->description }}
@endif
@endsection