{{__('admin.shipments_count')}} {{__('admin.shipments-prices')}} {{__('admin.app-prices')}} {{__('admin.driver-prices')}} {{__('admin.tax-prices')}} {{__('admin.number_of_trucks')}}
{{$shipmentCount}} {{__('admin.shipment')}} {{$shipmentPrices}} {{__('admin.app-currency')}} {{$appPrices}} {{__('admin.app-currency')}} {{$driverPrices}} {{__('admin.app-currency')}} {{$taxPrices}} {{__('admin.app-currency')}} {{$numberOfTrucks}} {{__('admin.truck')}}
{{-- --}} {{-- --}} @foreach($shipments as $shipment) {{-- --}} {{-- --}} {{-- @if($shipment->shipment_invoice_picture)--}} {{-- --}} {{-- @else--}} {{-- --}} {{-- @endif--}} {{-- @if($shipment->shipment_invoice_picture)--}} {{-- --}} {{-- @else--}} {{-- --}} {{-- @endif--}} @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.distance')}} {{__('admin.kilo_price')}} {{__('admin.tax')}} {{__('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?__($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->distance}} {{__('admin.kilo')}} {{$shipment->kilo_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')}}