Month-on-Month Comparison

Account: {{ $userName }}

{{ $storeName }}

Generated on {{ now()->format('F d, Y \a\t h:i A') }}

@if($executiveSummary)

Executive Summary

Store
{{ $executiveSummary['store_name'] }}
Period
{{ $executiveSummary['period_start'] }} to {{ $executiveSummary['period_end'] }}
Sales Trend
{{ $executiveSummary['total_sales_change'] >= 0 ? '+' : '' }}{{ number_format($executiveSummary['total_sales_change'], 1) }}%
Transactions Trend
{{ $executiveSummary['total_transactions_change'] >= 0 ? '+' : '' }}{{ number_format($executiveSummary['total_transactions_change'], 1) }}%
@endif

Monthly Performance Metrics

@foreach($monthsData as $index => $monthData) @endforeach
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