Nouvelle commande
@if ($commandes->count() > 0) @foreach ($commandes as $commande)
@can('modifier_un_rdv') @endcan @can('voir_un_rdv') @endcan @can('supprimer_un_rdv') @endcan @can('voir_un_paiement') @endcan
@if ($commande->mesure == 1) @else @endif
Référence : {{ $commande->reference }}
Date de dépôt : {{ \Carbon\Carbon::parse($commande->start_date)->format('d/m/Y')}}
Date de retrait : {{ \Carbon\Carbon::parse($commande->end_date)->format('d/m/Y')}}
Montant : {{ number_format($commande->amount, 0, '.', ' ') }} GNF
Paiements : {{ number_format(($commande->amount - $commande->reliquat), 0, '.', ' ') }} GNF
Reste : {{ number_format($commande->reliquat, 0, '.', ' ') }} GNF
@if ($commande->statut == 0) Statut : Non livré @else Statut : Livré @endif
Mesure : Mesure :
@endforeach @else

Aucune commande disponible.

@endif