Hi {{ $firstName }},

Welcome to {{ $appName }}!

{{ $role }} {{ $initials }}
{{-- GENERAL --}}
@foreach ($datePresets as $key => $label) @endforeach
@foreach ($kpis as $key => $kpi) @endforeach
@if($selectedKpi === 'profit') @lang('modules.dashboard.netProfit') @elseif($selectedKpi === 'transactions') @lang('modules.dashboard.transactions') @elseif($selectedKpi === 'customers') @lang('modules.dashboard.totalCustomers') @elseif($selectedKpi === 'average_receipt') @lang('modules.dashboard.averageReceipt') @else @lang('modules.dashboard.totalRevenue') @endif
@if(in_array($selectedKpi, ['transactions', 'customers'])) {{ number_format($chartTotal) }} @else {{ currency_format($chartTotal, $currencyId) }} @endif
{{ $dateLabel }}
@lang('modules.dashboard.income') @lang('modules.dashboard.expense')

@lang('modules.dashboard.topCategories')

{{ $dateLabel }}
{{ $categories->count() }}
@if($categories->isEmpty())
@lang('modules.dashboard.noSalesData')
@endif
@php $catColors = ['#96CF6E','#CFB06E','#CF8B6E','#CF6E6E','#8B6ECF']; @endphp @foreach($categories as $i => $cat)
{{ $cat->name }}
@endforeach

@lang('modules.dashboard.orderTypes')

{{ $dateLabel }}
    @forelse($orderTypes as $ot) @php $pct = round(($ot->cnt / $orderTypeTotal) * 100); @endphp
  • {{ ucwords(str_replace('_', ' ', $ot->type_name)) }} {{ $pct }}% {{ number_format($ot->cnt) }}
  • @empty
  • @lang('modules.dashboard.noSalesData')
  • @endforelse

@lang('modules.dashboard.lowStock') (0)

@lang('modules.dashboard.itemName') @lang('modules.dashboard.currentStock') @lang('modules.dashboard.required')
@lang('modules.dashboard.noLowStock')

@lang('modules.dashboard.operationalComparison')

@lang('modules.dashboard.current') @lang('modules.dashboard.previous')
@foreach($opRows as $row) @php $max = max($row['current'], $row['previous'], 1); $curPct = min(100, ($row['current'] / $max) * 100); $prevPct = min(100, ($row['previous'] / $max) * 100); @endphp
{{ $row['label'] }}
{{ $row['money'] ? currency_format($row['current'], $currencyId) : number_format($row['current']) }}
{{ $row['money'] ? currency_format($row['previous'], $currencyId) : number_format($row['previous']) }}
@endforeach

@lang('modules.dashboard.topFoodItems')

@if(user_can('Show Menu Item')) @lang('modules.dashboard.seeMore') › @endif
@lang('modules.dashboard.itemName') @lang('modules.dashboard.orders') @lang('modules.dashboard.revenue')
@forelse($topFood as $item)
{{ $item->item_name }} {{ number_format($item->qty) }} {{ currency_format($item->revenue, $currencyId) }}
@empty
@lang('modules.dashboard.noTopFood')
@endforelse

@lang('modules.dashboard.topCustomers')

@lang('menu.customer') @lang('modules.dashboard.visits') @lang('modules.dashboard.totalSpent')
@forelse($topCustomers as $row) @php $name = $row->customer->name ?? __('modules.customer.walkin'); $ini = strtoupper(substr($name, 0, 1)); @endphp
{{ $ini }}
{{ $name }}
{{ $row->customer->phone ?? '' }}
{{ $row->visits }}
{{ currency_format($row->spent, $currencyId) }}
@empty
@lang('modules.dashboard.noTopCustomers')
@endforelse

@lang('modules.dashboard.supplierPayables')

@lang('modules.dashboard.noSupplierPayables')

@lang('modules.dashboard.customerReceivables')

@if(user_can('Show Payments')) @lang('modules.dashboard.seeMore') › @endif
@lang('menu.customer') @lang('modules.dashboard.status') @lang('modules.dashboard.totalDue')
@forelse($receivables as $order)
{{ $order->customer->name ?? __('modules.customer.walkin') }}
{{ $order->show_formatted_order_number }}
Due
{{ currency_format($order->total - ($order->amount_paid ?? 0), $currencyId) }}
@empty
@lang('modules.dashboard.noReceivables')
@endforelse

@lang('modules.dashboard.monthlySaleComparison') @lang('modules.dashboard.twelveMonths')

@lang('modules.dashboard.sales') @lang('modules.dashboard.target')
{{-- BRANCHES --}}
@lang('modules.dashboard.activeOrdersCount')
{{ number_format($activeOrders) }}
@lang('modules.dashboard.activeOrdersAmount')
{{ currency_format($activeAmount, $currencyId) }}
@lang('modules.dashboard.occupiedTables')
{{ number_format($occupiedTables) }}
@lang('modules.dashboard.offlineCashiers')
0

@lang('modules.dashboard.branchesStatistics')

@forelse($branches as $b) @empty @endforelse
Branch Name Address
{{ $b->id }} {{ $b->name }} {{ $b->address ?? '—' }}
No branches
{{-- INVENTORY --}}
@lang('modules.dashboard.noInventoryModule')
{{-- KITCHEN --}}

@lang('modules.dashboard.tabKitchen')

@if(user_can('Manage KOT')) @lang('modules.dashboard.manageKitchen') › @endif

@lang('menu.listKitchen')

View and manage kitchen order tickets (KOT).

@if(user_can('Manage KOT')) @lang('modules.dashboard.manageKitchen') @endif
@script @endscript