@extends('admin.layouts.app') @section('content')
{{__('admin.admin-dashboard')}}
للتجارة الإلكترونية
--}}{{__('admin.profits')}}
{{__('admin.this-month')}}
--}} {{--{{$monthlyPreviousProfitsPercentage}}% {{__('admin.previous-month')}}
--}} {{----}} {{-- {{__('admin.view-more')}}--}} {{--
--}} {{--| {{__('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.id')}} | {{__('admin.img')}} | {{__('admin.name')}} | {{__('admin.phone')}} | {{--{{__('admin.status')}} | --}}{{__('admin.created_at')}} |
|---|---|---|---|---|---|
| {{$user->id}} |
|
{{$user->name}} | {{$user->mobile}} | {{----}}
{{-- --}}
{{-- verified==3)checked="" @endif>--}}
{{-- --}}
{{-- | --}}
{{Carbon\Carbon::parse($user->created_at)->locale('ar')->translatedFormat('l dS F G:i - Y')}} |
| {{__('admin.id')}} | {{__('admin.img')}} | {{__('admin.name')}} | {{__('admin.phone')}} | {{--{{__('admin.status')}} | --}}{{__('admin.created_at')}} |
|---|---|---|---|---|---|
| {{$driver->id}} |
|
{{$driver->name}} | {{$driver->mobile}} | {{----}}
{{-- --}}
{{-- verified==3)checked="" @endif>--}}
{{-- --}}
{{-- | --}}
{{Carbon\Carbon::parse($driver->created_at)->locale('ar')->translatedFormat('l dS F G:i - Y')}} |