@extends('layouts.restaurant') @section('content')
Business Accountability | {{ $branch->name }}

Operating Expenses

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
Total Station Expenses
TZS {{ number_format($totalExpenses, 2) }}

Direct operating overhead

Petty Cash (Cash Drawer)
TZS {{ number_format($cashExpenses, 2) }}

Deducted from cashier floats

Mobile / Bank
TZS {{ number_format($digitalExpenses, 2) }}

Direct transfers

Reset
@forelse($expenses as $expense) @empty @endforelse
Date Category Paid To / Vendor Method Shift Ref Recorded By Amount Action
{{ $expense->expense_date->format('d M Y') }} {{ $expense->category }}
{{ $expense->paid_to ?? '-' }}
@if($expense->description)
{{ $expense->description }}
@endif @if($expense->receipt_number)
REF: {{ $expense->receipt_number }}
@endif
{{ str_replace('_', ' ', $expense->payment_method) }} @if($expense->shift_id) SHIFT #{{ $expense->shift_id }} @else GENERAL @endif {{ $expense->user->name ?? 'Staff' }} TZS {{ number_format($expense->amount, 2) }}
@csrf @method('DELETE')
No expense records found for this period.
@if($expenses->hasPages())
{{ $expenses->links() }}
@endif
@endsection