{{-- Box Sum Cards --}}
@php $boxes = [ ['id' => 'day', 'period' => 1, 'label' => __('dashboard::dashboard.cards.day'), 'icon' => 'fe-calendar', 'color' => 'primary'], ['id' => 'week', 'period' => 2, 'label' => __('dashboard::dashboard.cards.week'), 'icon' => 'fe-trending-up', 'color' => 'success'], ['id' => 'month', 'period' => 3, 'label' => __('dashboard::dashboard.cards.month'), 'icon' => 'fe-activity', 'color' => 'warning'], ['id' => 'total', 'period' => 4, 'label' => __('dashboard::dashboard.cards.total'), 'icon' => 'fe-layers', 'color' => 'info'], ]; @endphp @foreach ($boxes as $box)

{{ $box['label'] }}

0 {{ __('dashboard::dashboard.orders') }}

@if ($box['id'] === 'total') @endif

0.00 {{ __('field.opt_discount_type.baht') }}

@if ($box['id'] === 'total') @endif
@endforeach