@vite(['resources/css/app.css', 'resources/js/app.js'])
@endif
Business:
{{ $businessId ? \App\Models\Business::find($businessId)->name : 'All' }}
Branch:
{{ $branchId ? \App\Models\Branch::find($branchId)->name : 'All' }}
Category:
{{ $categoryId ? \App\Models\Category::find($categoryId)->name : 'All' }}
Method:
{{ $method ? ucfirst($method) : 'All' }}
Generated:
{{ now()->format('Y-m-d H:i:s') }}
User:
{{ Auth::user()->name }}
Agent:
{{ \App\Models\Agent::find($agentId)->name ?? 'All' }}
SubCategory:
{{ \App\Models\Category::find($subcategoryId)->name ?? 'All' }}
| Date | Credit (Receivings) | Debit (Payments) | Net | Action |
|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($date)->format('d/m/Y') }} | SAR {{ number_format($summary['credit'], 2) }} | SAR {{ number_format($summary['debit'], 2) }} | SAR {{ number_format($summary['net'], 2) }} | View |
| No transactions in selected date range. | ||||
| Period Totals: | SAR {{ number_format($totalCredit, 2) }} | SAR {{ number_format($totalDebit, 2) }} | SAR {{ number_format($totalCredit - $totalDebit, 2) }} | |
There are no transactions for the selected period and filters.
Date-wise Business Report - {{ \Carbon\Carbon::parse($fromDate)->format('d/m/Y') }} to {{ \Carbon\Carbon::parse($toDate)->format('d/m/Y') }} | Generated on {{ now()->format('Y-m-d H:i:s') }} | User: {{ Auth::user()->name }}