@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")}}--}} {{--
--}} {{--
--}}
{{__("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")}} #{{__("Shipment Number")}} {{__("Product name")}} {{__("product Price")}} {{__("Delivery Price")}} {{__("VAT")}} {{__("Delivery Category")}} {{__("product photo")}} {{__("Quantity")}} {{__("Driver Name")}} {{__("Driver Phone Number")}} {{__("selected location Form")}} {{__("Drop-off Driver Name")}} {{__("Drop-off Driver Phone Number")}} {{__("selected location To")}} {{__("Control")}}
{{$product->id}} {{$product->shipment_num}} {{$product->products->name}} {{$order->user->type == "gar" ? $product->products->price_for_garage : $product->products->price_for_client}} {{$product->products->deliveryPrice->price }} {{$tax }} {{ucwords($product->products->deliveryPrice->name)}}{{$product->products->deliveryPrice->load_weight_from . " - " . $product->products->deliveryPrice->load_weight_to}} {{$product->quantity}} {{$product->driver_name}} {{$product->driver_phone_number}} @php $providedSectionInfo = \App\Models\ProvidedSection::where('user_id',$product->products->users->id)->first(); @endphp
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">
{{$product->second_driver_name}} {{$product->second_driver_phone_number}}
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