@forelse ($members as $item) @empty @endforelse
@lang('modules.staff.name') @lang('modules.customer.phone') @lang('modules.order.totalOrder') @lang('app.status') @lang('app.action')
{{ $item->name }} {{ $item->phone ?? '--' }} {{ $item->orders_count }} @lang('menu.orders') ($item->status == 'on_delivery'), 'bg-green-100 text-green-800 dark:bg-gray-700 dark:text-green-400 border border-green-400' => ($item->status == 'available'), 'bg-red-100 text-red-800 dark:bg-red-700 dark:text-red-400 border border-red-400' => ($item->status == 'inactive'), ])> @lang('modules.staff.' . $item->status) @if(user_can('Update Delivery Executive')) @lang('app.update') @endif @if(user_can('Delete Delivery Executive')) @endif
@lang('messages.noMemberFound')
{{ $members->links() }}
{{ __("modules.staff.editExecutive") }} @if ($customer) @livewire('forms.editExecutive', ['member' => $customer], key(str()->random(50))) @endif {{ __('Close') }} {{ __("menu.orders") }} @if ($customer) @livewire('deliveryExecutive.showOrders', ['customer' => $customer], key(str()->random(50))) @endif {{ __('Close') }} @lang('modules.staff.deleteMember')? @lang('modules.staff.deleteMemberMessage') {{ __('Cancel') }} @if ($customer) {{ __('Delete') }} @endif