@extends("layouts.delivery.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("Delivery Company")}}

{{__("All Delivery Company")}}

@endsection @section("css-links") getLocale() . "/pages/orders.css")}}"> @endsection @section("content") @include("includes.dialog")
{{-- @include("admin.order.parts.filter")--}}
{{--
--}} {{--
--}} {{-- @csrf--}} {{-- --}} {{-- {{__("Export As Excel")}}--}} {{--
--}} {{--
--}}
@foreach($userOrder as $order) @endforeach
#{{__("ID")}} {{__("Username")}} {{__("Phone Number")}} {{__("Number Of Pieces")}} {{__("Payment Way")}} {{__("Status")}} {{__("Created At")}} {{__("Control")}}
{{$order->id}} {{$order->user->full_name}} {{$order->user->phone_number}} {{count($order->userOrderDetail)}} {{$order->payment_way == 0 ? __("Cash") : __("Card")}} {{-- {{($order->getStatusText2())}}--}} @switch ($order->status) @case ("0") {{__("Waiting")}} @break; @case ("1") {{__("Delivery Process")}} @break; @case ("2") {{__("Completed")}} @break; @endswitch {{$order->updated_at->diffForHumans()}} {{__("Details")}}
@endsection @section("scripts") @endsection