@extends('business.layout') @section('title', 'Reports & Profit') @section('content')
| Product | Qty | Total (UGX) |
|---|---|---|
| {{ $r->product_name }} | {{ (float)$r->qty }} | {{ number_format((float)$r->total) }} |
| Employee | Sales | Total (UGX) |
|---|---|---|
| {{ $e->name }} | {{ $e->count }} | {{ number_format((float)$e->total) }} |
| Branch | Sales | Total (UGX) |
|---|---|---|
| {{ $b->name }} | {{ $b->count }} | {{ number_format((float)$b->total) }} |
VAT Collected: UGX {{ number_format($taxTotal) }}
Current Stock Valuation (Cost): UGX {{ number_format((float)$stockValuation) }}
Customer Debts: UGX {{ number_format($customerDebts->sum('balance')) }} ({{ $customerDebts->count() }} customers)
Supplier Balances: UGX {{ number_format($supplierBalances->sum('balance')) }} ({{ $supplierBalances->count() }} suppliers)