@extends('layouts.app') @section('title', 'Accounting Overview') @include('inventory.accounting.partials.styles') @section('content')
Financial snapshot for {{ $tenant->business_name ?? 'your business' }} — {{ \Carbon\Carbon::parse($from)->format('M j') }} to {{ \Carbon\Carbon::parse($to)->format('M j, Y') }}.
| Source | Inflow | Outflow | Net |
|---|---|---|---|
| {{ str_replace('_', ' ', $s['source']) }} | {{ number_format($s['inflow'], 2) }} | {{ number_format($s['outflow'], 2) }} | {{ number_format($s['net'], 2) }} |
| Total | {{ number_format($cashFlow['inflow'], 2) }} | {{ number_format($cashFlow['outflow'], 2) }} | {{ number_format($cashFlow['net_cash'], 2) }} |
| Entry # | Date | Source | Description | Amount | |
|---|---|---|---|---|---|
| {{ $entry->entry_number }} | {{ optional($entry->entry_date)->format('M j, Y') }} | {{ $entry->source }} | {{ \Illuminate\Support\Str::limit($entry->description, 80) }} | {{ number_format($entry->total_debit, 2) }} | View |