Pharmacy Financial Dashboard
{{ $fromDateLabel }} - {{ $toDateLabel }}
{{ $currency }} {{ number_format($totalSales, 2) }}
Generated across {{ $totalTransactions }} transactions
Average Transaction Value
{{ $currency }} {{ number_format($totalTransactions > 0 ? $totalSales / $totalTransactions : 0, 2) }}
Gross Profit
{{ $grossMargin }}% Margin
{{ $currency }} {{ number_format($grossProfit, 2) }}
Cost of Goods Sold
{{ $currency }} {{ number_format($costOfGoodsSold, 0) }}
6-Month Revenue vs COGS Trend
Revenue by Payment Method
Stock Health Intelligence
@php
$stockRisk = ($totalSales > 0 && $closingStockCost > ($totalSales * 3));
@endphp
{{ $stockRisk ? 'High Overstock Risk Detected' : 'Healthy Inventory Levels' }}
Closing stock is {{ number_format($totalSales > 0 ? $closingStockRetail / $totalSales : 0, 1) }}x your period revenue. @if($stockRisk) This locks up cash flow significantly. @endif
Closing Stock (Retail)
{{ $currency }} {{ number_format($closingStockRetail, 0) }}
Inventory Turnover Ratio
(COGS / Avg Inv)
{{ number_format($inventoryTurnover, 2) }}
Top Margins by Category
| {{ $cat }} Rev: {{ $currency }} {{ number_format($data['revenue'], 0) }} | {{ $data['margin'] }}% |
| No category data available | |
Slow Moving Items
0 Sales in 30 Days| Product | Qty Stuck |
|---|---|
| {{ $item->name }} | {{ $item->current_stock }} |
| No slow moving items found. | |
Detailed Profit & Loss Statement
Granular breakdown of inventory valuations and transaction metrics.
| {{ $item['label'] }} @if(isset($item['sub'])) {{ $item['sub'] }} @endif | {{ $currency }} {{ number_format($item['value'], 2) }} |
| {{ $item['label'] }} @if(isset($item['sub'])) {{ $item['sub'] }} @endif | {{ $currency }} {{ number_format($item['value'], 2) }} |