@extends('layouts.admin') @section('title', 'Expense ' . $expense->expense_number) @section('page-title', 'Expense Details') @section('breadcrumbs') Expenses chevron_right {{ $expense->expense_number }} @endsection @section('content')
Created on {{ $expense->created_at->format('M d, Y') }}
Account
{{ $expense->account ? $expense->account->code . ' - ' . $expense->account->name : '-' }}
Category
{{ $expense->category ?? '-' }}
Vendor
{{ $expense->vendor->name }}
Expense Date
{{ $expense->expense_date ? $expense->expense_date->format('M d, Y') : '-' }}
Payment Method
{{ ucfirst(str_replace('_', ' ', $expense->payment_method ?? '-')) }}
Amount
{{ \App\Models\Currency::formatAmount($expense->amount ?? 0, $expense->currency) }}
@if($expense->tax_amount > 0)Tax: {{ \App\Models\Currency::formatAmount($expense->tax_amount, $expense->currency) }}
@endifTotal: {{ \App\Models\Currency::formatAmount($expense->total, $expense->currency) }}
Description
{{ $expense->description }}
Receipt
Manage this expense