@extends('layouts.client') @php $page_title = 'Mon espace'; @endphp @section('meta-title', 'Mes commandes') @section('meta-keywords', '') @section('meta-description', '') @section('content')
| {!! lang('Commande') !!} | {!! lang('Date') !!} | {!! lang('Montant') !!} | {!! lang('Statut') !!} | {!! lang('Facture') !!} | Détail |
|---|---|---|---|---|---|
| {{-- {{ $cmd->paiement->achat->reference ?? $cmd->reference}} --}} {{ $cmd->reference }} | {{ \Carbon\Carbon::parse($cmd->updated_at)->format('d-m-Y H:i') }} | @if ( $cmd->status == 'Devis reçu' || $cmd->status == 'Commande validée' || $cmd->status == 'Expédiée' || $cmd->status == 'Payé') {{ $cmd->total ?? $cmd->total == 0 ? $cmd->total . ' €' : '--' }} @else -- @endif | {{ $cmd->expiree ? 'Devis expiré' : $cmd->status }} | @if ($cmd->paiement->achat->facture->id ?? 0) Facture {{ $cmd->paiement->achat->facture->numero }} @else - @endif |
{!! lang("Vous n'avez pas de commandes en cours.") !!}