@if(auth()->user()->hasAnyRole(['admin', 'staff']))

{{__('dashboard.delivery_fee_overview')}}

${{ number_format($currentMonthTotal, 2) }}

{{__('dashboard.this_month')}}

@if ($trend === 'up') @elseif ($trend === 'down') @else @endif

{{ number_format(abs($percentageChange), 1) }}%

{{ $countCompleted }}

{{__('dashboard.Completed')}}

{{ $countInStock }}

{{__(('dashboard.in_stock'))}}

{{ $countDelivery}}

{{__('dashboard.assigned')}}

{{ $countCanceled}}

{{__('dashboard.canceled')}}

{{$countCustomer}}

{{__('dashboard.customers')}}

@endif @if(auth()->user()->hasAnyRole(['driver']))

${{ number_format($driverSummary['payment']['total_collected']['usd'] ?? 0, 2) }}

{{__('dashboard.COD')}} USD (UnPaid)

៛{{ number_format($driverSummary['payment']['total_collected']['khr'] ?? 0, 0) }}

{{__('dashboard.COD')}} KHR (UnPaid)

{{ $driverSummary['today']['total_package'] ?? 0 }}

{{__(('dashboard.total_package'))}}

{{ $driverSummary['today']['completed'] ?? 0 }}

{{__('dashboard.Completed')}}

{{ $driverSummary['today']['in_progress'] ?? 0 }}

{{__('dashboard.assigned')}}

{{ $driverSummary['today']['cancelled'] ?? 0 }}

{{__('dashboard.canceled')}}

{{ __('driver.greeting_hi') }}, {{ auth()->user()->display_name }}

@include('pages.delivery.mobile-payment-modal') @include('pages.delivery.mobile-cancel-modal') @endif