@extends('admin.layout.interface') @section('content')

Business Expense Report

Report Filter

@if (!empty($hasRange)) @endif
@if (!empty($hasRange))
Total Expenses

{{ number_format($totalExpenses, 2) }}

{{ $rangeLabel }}
Cash Payments

{{ number_format($totalPayments, 2) }}

Outflow
Cash Receive

{{ number_format($totalReceives, 2) }}

Inflow
Net Cash

{{ number_format($netCash, 2) }}

Receive - Payment

Business Expenses ({{ $expenses->count() }})

@forelse ($expenses as $key => $item) @empty @endforelse
Sr# Expense Date Description Amount
{{ $key + 1 }} {{ $item->title }} {{ optional($item->expense_date)->format('Y-m-d') }} {{ $item->description ?: '-' }} {{ number_format($item->amount, 2) }}
No expenses found.
Total Expenses {{ number_format($totalExpenses, 2) }}

Cash Entries ({{ $cashes->count() }})

@forelse ($cashes as $key => $item) @empty @endforelse
Sr# Type Date Description Amount
{{ $key + 1 }} {{ $item->type_label }} {{ optional($item->cash_date)->format('Y-m-d') }} {{ $item->description ?: '-' }} {{ number_format($item->amount, 2) }}
No cash entries found.
Cash Payments {{ number_format($totalPayments, 2) }}
Cash Receive {{ number_format($totalReceives, 2) }}
@endif
@endsection