Account: {{ $userName }}
{{ $storeName }}
Generated on {{ now()->format('F d, Y \a\t h:i A') }}
| Period | Date Range | Total Sales (K) | Transactions | Trans. Avg (K) | Daily Avg (K) | Items Sold | Total Exclusive (K) | Total Tax (K) | Total Inclusive (K) | Change |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $monthData['month_range']['month_name'] }} | {{ $monthData['month_range']['start_formatted'] }} - {{ $monthData['month_range']['end_formatted'] }} | K{{ number_format($monthData['kpis']['total_sales'], 2) }} | {{ number_format($monthData['kpis']['total_transactions'], 0) }} | K{{ number_format($monthData['kpis']['average_sales'], 2) }} | K{{ number_format($monthData['kpis']['daily_average'], 2) }} | {{ number_format($monthData['kpis']['items_sold'], 0) }} | K{{ number_format($monthData['kpis']['total_exclusive'], 2) }} | K{{ number_format($monthData['kpis']['total_tax'], 2) }} | K{{ number_format($monthData['kpis']['total_inclusive'], 2) }} | @if($index < count($monthsData) - 1) @php $nextMonth = $monthsData[$index + 1]; $change = $nextMonth['kpis']['total_sales'] > 0 ? (($monthData['kpis']['total_sales'] - $nextMonth['kpis']['total_sales']) / $nextMonth['kpis']['total_sales']) * 100 : 0; @endphp {{ $change >= 0 ? '+' : '' }}{{ number_format($change, 1) }}% @else Baseline @endif |