Revenue
Gross Sales
TZS {{ number_format($reportData['grossSales'], 2) }}
Less: Sales Returns
(TZS {{ number_format($reportData['salesReturns'], 2) }})
Add: Other Income
TZS {{ number_format($reportData['otherIncomes'], 2) }}
Net Sales
TZS {{ number_format($reportData['netSales'], 2) }}
Cost of Goods Sold (COGS) Calculation
Opening Inventory
TZS {{ number_format($reportData['openingInventory'], 2) }}
Add: Total Purchases Value
TZS {{ number_format($reportData['totalPurchasesValue'], 2) }}
Less: Purchase Returns Cost
(TZS {{ number_format($reportData['purchaseReturnsCost'], 2) }})
Add: Carriage Inwards
TZS {{ number_format($reportData['carriageInwards'], 2) }}
Less: Closing Inventory
(TZS {{ number_format($reportData['closingInventory'], 2) }})
Cost of Goods Sold (COGS)
(TZS {{ number_format($reportData['cogs'], 2) }})
Gross Profit
TZS {{ number_format($reportData['grossProfit'], 2) }}
Operating Expenses
{{-- Loop through the grouped operating expenses --}}
@if($reportData['operatingExpenses']->isNotEmpty())
@foreach ($reportData['operatingExpenses'] as $category => $amount)
{{ $category }}
(TZS {{ number_format($amount, 2) }})
@endforeach
@else
No general operating expenses recorded.
TZS 0.00
@endif
Salaries
(TZS {{ number_format($reportData['salaries'], 2) }})
Total Operating Expenses
(TZS {{ number_format($reportData['totalOperatingExpenses'], 2) }})
Net Profit (or Loss)
TZS {{ number_format($reportData['netProfit'], 2) }}
{{ $reportData['netProfit'] >= 0 ? 'Profit' : 'Loss' }} for the period