@extends("layouts.admin.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")}}--}} {{--
--}} {{--
--}}
{{__("Name")}}: {{$order->user->full_name}}
{{__("Phone Number")}}: {{$order->user->phone_number}}
{{__("Total Price")}}: {{$order->total_price}}
{{__("Order Id")}}: {{$order->id}}
@foreach($products as $product) @endforeach
#{{__("ID")}} {{__("Product name")}} {{__("Delivery Price")}} {{__("Delivery Category")}} {{__("product photo")}} {{__("product Price")}} {{__("Quantity")}} {{__("Driver Name")}} {{__("Driver Phone Number")}} {{__("selected location Form")}} {{__("selected location To")}} {{__("Control")}}
{{$product->id}} {{$product->products->name}} {{$product->products->deliveryPrice->price }} {{$product->products->deliveryPrice->load_weight_from . " - " . $product->products->deliveryPrice->load_weight_to}} {{$order->user->type == "gar" ? $product->products->price_for_garage : $product->products->price_for_client}} {{$product->quantity}} {{$product->driver_name}} {{$product->driver_phone_number}}
order_status == 1 || $product->order_status == 2) disabled checked @elseif(!$product->driver_phone_number) disabled @endif data-url="{{route("ajax.delivery_company.change")}}" class="checked" id="from{{$product->id}}" type="checkbox">
order_status == 0) disabled @elseif($product->order_status == 2) checked disabled @endif data-url="{{route("ajax.delivery_company.change")}}" class="checked2" data-id="{{$product->id}}" id="to{{$product->id}}">
@if($product->order_status == 0) @endif
@endsection @section("scripts") @endsection