Profit & Loss Report - Shipment Wise
| Sl | Date | Shipment | Supplier | Purchase | Sales | TDS/VDS | Profit/Loss |
|---|---|---|---|---|---|---|---|
| {{ $sl++ }} | {{ $row['purchase_date'] ? \Carbon\Carbon::parse($row['purchase_date'])->format('d-M-Y') : '-' }} | {{ $row['shipment_number'] }} | {{ $row['supplier_name'] }} | {{ number_format($row['purchase_amount'], 2) }} | {{ number_format($row['sales_amount'], 2) }} | {{ number_format($row['tds_vds_other'], 2) }} | {{ $rowProfit >= 0 ? number_format($rowProfit, 2) : '('.number_format(abs($rowProfit), 2).')' }} |
| Grand Total | {{ number_format($totalPurchase, 2) }} | {{ number_format($totalSales, 2) }} | {{ number_format($totalTdsVds, 2) }} | {{ $totalProfit >= 0 ? number_format($totalProfit, 2) : '('.number_format(abs($totalProfit), 2).')' }} | |||
| Category | Amount |
|---|---|
| {{ $exp['category'] ?: 'Other' }} | {{ number_format($exp['total'], 2) }} |
| Total Expenses | {{ number_format($totalExpenses, 2) }} |
| Net Profit Calculation | |
|---|---|
| Gross Profit (Total Profit/Loss) | {{ $totalProfit >= 0 ? number_format($totalProfit, 2) : '('.number_format(abs($totalProfit), 2).')' }} |
| Less: Total Expenses | (-) {{ number_format($totalExpenses, 2) }} |
| {{ $netProfit >= 0 ? 'Net Profit' : 'Net Loss' }} | {{ $netProfit >= 0 ? number_format($netProfit, 2) : '('.number_format(abs($netProfit), 2).')' }} |