@extends('shipper.layouts.app') @section('content')

{{__('admin.admin-dashboard')}}

{{__('admin.welcome-back')}}

{{__('admin.admin-dashboard')}}

{{auth()->guard('shipper')->user()->name}}
{{--

للتجارة الإلكترونية

--}}
{{$shipments}}

{{__('admin.shipments')}}

{{$totalCost}}

{{__('admin.profits')}}

{{--
--}} {{-- {{__('admin.my-profile')}}--}} {{--
--}}
{{--
--}} {{--
--}} {{--

{{__('admin.monthly-income')}}

--}} {{--
--}} {{--
--}} {{--

{{__('admin.this-month')}}

--}} {{--

--}} {{-- {{$monthlyProfits}}--}} {{-- {{$currency->value}}--}} {{--

--}} {{--

{{$monthlyPreviousProfitsPercentage}}% {{__('admin.previous-month')}}

--}} {{--
--}} {{-- {{__('admin.view-more')}} --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

--}} {{-- {{__('admin.view-more')}}--}} {{--

--}} {{--
--}} {{--
--}}

{{__('admin.total-shipments')}}

{{$shipments}}

{{__('admin.finished-shipments')}}

{{$deliveredShipments}}

{{__('admin.pending-shipments')}}

{{$pendingShipments}}

{{__('admin.packing-shipments')}}

{{$packingShipments}}

{{__('admin.packed-shipments')}}

{{$packedShipments}}

{{__('admin.delivering-shipments')}}

{{$deliveringShipments}}

{{__('admin.shipments-statistics')}}

{{__('admin.latest-shipments')}}

@foreach($latestShipments as $shipment) @endforeach
{{__('admin.id')}} {{__('admin.type')}} {{__('admin.weight')}} {{__('admin.insurance_type')}} {{__('admin.status')}} {{__('admin.description')}} {{__('admin.driver')}} {{__('admin.sender')}} {{__('admin.user_price')}} {{__('admin.driver_price')}} {{__('admin.final_price')}} {{__('admin.packing_date')}} {{__('admin.packing_time')}} {{__('admin.from_address')}} {{__('admin.from_address_detail')}} {{__('admin.to_address')}} {{__('admin.to_address_detail')}} {{__('admin.receiver')}} {{__('admin.truck')}} {{__('admin.number_of_trucks')}} {{__('admin.shipment_invoice_picture')}} {{__('admin.packing_list_picture')}} {{__('admin.created_at')}}
{{$shipment->id}} {{$shipment->type}} {{$shipment->weight}} {{$shipment->insurance_type?->type}} @if($shipment->status==0) {{__('admin.pending')}} @elseif($shipment->status==1) {{__('admin.packing')}} @elseif($shipment->status==2) {{__('admin.packed')}} @elseif($shipment->status==3) {{__('admin.delivering')}} @else {{__('admin.delivered')}} @endif {{$shipment->description}} {{$shipment->drivers()->where('shipment_drivers.status',1)->first()->name}} {{$shipment->sender->name}} {{$shipment->user_price}} {{$shipment->driver_price}} {{$shipment->final_price}} {{$shipment->packing_date}} {{$shipment->packing_time}} {{__('admin.location')}} {{$shipment->from_address_details?->address_name}} {{__('admin.location')}} {{$shipment->to_address_details?->address_name}} {{$shipment->receiver?->name}} {{$shipment->truck?$shipment->truck->type?->type_ar:'-'}} {{$shipment->number_of_trucks}} {{Carbon\Carbon::parse($shipment->created_at)->locale('ar')->translatedFormat('l dS F G:i - Y')}}

{{__('admin.latest-divers')}}

{{-- --}} @foreach($latestDrivers as $driver) {{-- --}} @endforeach
{{__('admin.id')}} {{__('admin.img')}} {{__('admin.name')}} {{__('admin.phone')}}{{__('admin.status')}}{{__('admin.created_at')}}
{{$driver->id}} Header Avatar {{$driver->name}} {{$driver->mobile}} --}} {{--
--}} {{-- verified==3)checked="" @endif>--}} {{--
--}} {{--
{{Carbon\Carbon::parse($driver->created_at)->locale('ar')->translatedFormat('l dS F G:i - Y')}}
@endsection @section('extra-js') @endsection