@extends('model') @section('commande', "open") @section('content') @isset($statut) {{ $statut }} @endisset
Retour
{{-- @dd($commande_ligne) --}} @foreach ($commande_ligne as $item) @endforeach
Produit Prix unitaire Qté cmandée Qté servie Total Action
{{ $item->libelleProduit }}      @if($item->libelleStatutCommande) {{ $item->libelleStatutCommande }} @endif     @if ($item->avecCouverts == 1) @endif
{{ $item->libelleAccompagnement}}
Client : {{ $item->nomPrenom }}
{{ formatNumerique($item->prixUnitaire) }}
@if (!in_array(intval($item->statut), [4, 5, 6, 7]) && !in_array( intval($commande->statutCommande), [2, 5, 4, 6, 7])) @endif
{{ formatNumerique($item->totalTtc) }}
{{-- @if (!in_array(, [1,6])) @endif --}} @if ( !in_array( intval($commande->statutCommande), [1, 5, 4, 6, 7]))
@csrf @if ( !in_array(intval($item->statut), [4, 6, 7])) @endif
@endif
Détail de la commande
Numéro commande
{{ $commande->numeroCommande }}
Date commande
{{ date_format(date_create($commande->dateCommande), "d/m/Y H:i:s") }}
Statut
@php $statutCommande = \Illuminate\Support\Facades\DB::table('statut_commandes') ->where('idstatut_commande', $commande->statutCommande) ->first(); @endphp {{ $commande->libelleStatutCommande }}
Localisation
{{ $commande->adresse }}
{{ $commande->precision }}
Total :
{{ formatNumerique($commande->totalTtc) }}
@if ( !in_array( intval($commande->statutCommande), [5, 6, 4]))
@csrf
@if (intval($commande->statutCommande) == 1) @elseif (intval($commande->statutCommande) != 6) Retourner au listing @endif
@endif
{{-- - Section des modals - --}} @endsection @section('script') @if(session('status') === 'success') @endif @endsection