@foreach ([ ['Sales', number_format($summary['today_sales'], 2), 'receipt-text'], ['Profit', number_format($summary['gross_profit'], 2), 'badge-dollar-sign'], ['Inventory Value', number_format($summary['inventory_value'], 2), 'warehouse'], ['Expired', $summary['expired_count'], 'circle-alert'], ] as [$label, $value, $icon])

{{ $label }}

{{ $value }}

@endforeach

Purchase Suggestions

@forelse ($suggestions as $item) @empty @endforelse
BrandStockSuggested
{{ $item->brand_name }}
{{ $item->generic_name }}
{{ $item->stock }} / {{ $item->reorder_level }} {{ $item->suggested_quantity }}
No purchase suggestions.

Expiry Risk

@forelse ($alerts['near_expiry'] as $batch)

{{ $batch->brand->brand_name }}

{{ $batch->batch_no }} - {{ $batch->branch->name }}

{{ $batch->exp_date->format('d M Y') }}
@empty

No near-expiry batches.

@endforelse