{{ __('Dashboard') }}

{{ __('Total Sales Today') }}
${{ number_format($stats['total_sales'] ?? 0, 2) }}
{{ __('Total Products') }}
{{ $stats['total_products'] ?? 0 }}
{{ __('Total Categories') }}
{{ $stats['total_categories'] ?? 0 }}
{{ __('Low Stock Alerts') }}
{{ $stats['low_stock_alerts'] ?? 0 }}

{{ __('Sales Trend (Last 7 Days)') }}

{{ __('Stock by Category') }}

{{ __('Recent Transactions') }}

@foreach($recentSales as $sale) @endforeach
{{ __('Invoice') }} {{ __('Amount') }} {{ __('Date') }}
{{ $sale->invoice_number }} ${{ number_format($sale->total, 2) }} {{ $sale->created_at->diffForHumans() }}

{{ __('Critical Stock Alerts') }}

@foreach($lowStockProducts as $product) @endforeach
{{ __('Product') }} {{ __('On Hand') }} {{ __('Alert') }}
{{ App::getLocale() == 'ar' ? ($product->name_ar ?: $product->name_en) : $product->name_en }} {{ $product->quantity }} {{ $product->stock_alert_quantity }}