@section('content')

Orders Details

Edit @if(\Illuminate\Support\Facades\Auth::user()->Role=='superadmin')
@csrf Supprimer
@endif
@csrf


{!! config('global.'.$orders->Status) !!}

@if($orders->PaymentType=='1' || $orders->PaymentType=='2')
Cheque
{{$orders->CheckDetails}}

@endif {!! $generator->getBarcode(\App\Helpers\AppHelper::id_Barcode($orders->id), $generator::TYPE_CODE_128,2,60) !!}

{{\App\Helpers\AppHelper::id_Barcode($orders->id)}}

( {{$orders->Attempt }} Attempts )

Prix : {{number_format($orders->Price,3)}} TND

Hub Actuel : {{$Hubs->firstWhere('id', $orders->HUB_current)->Name ?? ''}}

Expediteur

  • {{$orders->SName}}
  • {{$orders->SNumber}}
  • {{$orders->SEmail}}
  • {{$orders->SAddress}}

Destinataire

  • {{$orders->RName}}
  • {{$orders->RNumber1}} - {{$orders->RNumber2}}
  • {{$orders->RAddress}}
  • {{$orders->Governorate}} - {{$orders->Delegation}} - {{$orders->Locality}}
Description :

{{$orders->Description}}

Détails :

Service : {{strtoupper($orders->Service)}}

Weight : {{$orders->Weight}}KG

Size : {{$orders->Size}}

Packages : {{$orders->NbrPackages}}

@if($orders->isPaid!=1)

{!! config('global.isnotpaid') !!}

@else

{!! config('global.ispaid') !!} Ordre de paiement Ref°: {{$orders->OP}}

@endif

Tracking

@foreach($Trackings as $Tracking) @endforeach
Status Date
{{$Tracking->Status ?? ''}} {{$Tracking->created_at->toDateString() ?? ''}}

Tickets

@foreach($Tickets as $Ticket) @endforeach
Subject Status Date
{{$Ticket->Status ?? ''}} @if($Ticket->Status=='0') En Attente @elseif($Ticket->Status=='1') Résolu @elseif($Ticket->Status=='2') Refusé @endif {{$Ticket->created_at->toDateString() ?? ''}}
@stop @include('admin.header') @include('admin.topbar') @include('admin.sidebar') @include('admin.footer') @yield('header') {{--_____________________________________--}} {{--_____________________________________--}} {{--_____________________________________--}} {{--_____________________________________--}} {{--_____________________________________--}} {{--_____________________________________--}} @yield('topbar') @yield('sidebar') @yield('content') @yield('footer') {{--_____________________________________--}} {{--_____________________________________--}} {{--_____________________________________--}} {{--ticket--}} {{--ticket--}} {{--_____________________________________--}} {{--_____________________________________--}} {{--_____________________________________--}} @include('admin.end')