@extends('layouts/layoutMaster') @section('title', $title ?? __('Store Dashboard')) @section('vendor-style') @vite([ 'resources/assets/vendor/libs/apex-charts/apex-charts.scss', 'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.scss' ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/apex-charts/apexcharts.js', 'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js' ]) @endsection @section('page-script') @endsection @section('content')
{{ __('Welcome back') }}, {{ $storeInfo['name'] }}! 👋

{{ __('Category') }}: {{ $storeInfo['category'] }}

{{ __('Delivery Team') }}: {{ $storeInfo['delivery_team'] }}

{{ __('Rating') }}: {{ number_format($storeInfo['rating'], 1) }}

{{ __('Prepare Duration') }}: {{ $storeInfo['prepare_duration'] }} {{ __('minutes') }}

{{ __('Create Shipment') }}
{{ __('Shipment Statistics') }}
{{ $shipmentCounts['pending'] ?? 0 }}
{{ __('Pending') }}
{{ $shipmentCounts['process'] ?? 0 }}
{{ __('In Process') }}
{{ $shipmentCounts['complete'] ?? 0 }}
{{ __('Completed') }}
{{ $shipmentCounts['cancelled'] ?? 0 }}
{{ __('Cancelled') }}
{{ __('Shipments Over Time') }}
{{ __('Last 7 days') }}
{{ __('Status Distribution') }}
{{ __('Wallet Balance') }}

{{ number_format($walletBalance, 2) }} {{ __('SAR') }}

{{ __('View Transactions') }}
{{ __('Recent Shipments') }}
{{ __('View All') }}
{!! $dataTable->table(['class' => 'table table-hover']) !!}
@endsection @push('scripts') {!! $dataTable->scripts() !!} @endpush