@if ($activeTab === 'orders')
@forelse ($commandes as $key => $commande) @empty @endforelse
# Référence Date de dépôt Date de retrait Montant Statut Action
{{ $key + 1 }} {{ $commande->reference }} {{ \Carbon\Carbon::parse($commande->start_date)->format('d/m/Y')}} {{ \Carbon\Carbon::parse($commande->end_date)->format('d/m/Y')}} {{ number_format($commande->amount, 0, '.', ' ') }} GNF @if ($commande->statut == 0) Non livrée @else Livrée @endif
Aucune commande disponible.
{{ $commandes->links() }}
@endif @if ($activeTab === 'delivered')
@forelse ($delivered as $key => $commande) @empty @endforelse
# Référence Date de dépôt Date de retrait Montant Statut Action
{{ $key + 1 }} {{ $commande->reference }} {{ \Carbon\Carbon::parse($commande->start_date)->format('d/m/Y')}} {{ \Carbon\Carbon::parse($commande->end_date)->format('d/m/Y')}} {{ number_format($commande->amount, 0, '.', ' ') }} GNF @if ($commande->statut == 0) Non livrée @else Livrée @endif
Aucune commande disponible.
{{ $delivered->links() }}
@endif @if ($activeTab === 'undelivered')
@forelse ($undelivered as $key => $commande) @empty @endforelse
# Référence Date de dépôt Date de retrait Montant Statut Action
{{ $key + 1 }} {{ $commande->reference }} {{ \Carbon\Carbon::parse($commande->start_date)->format('d/m/Y')}} {{ \Carbon\Carbon::parse($commande->end_date)->format('d/m/Y')}} {{ number_format($commande->amount, 0, '.', ' ') }} GNF @if ($commande->statut == 0) Non livrée @else Livrée @endif
Aucune commande disponible.
{{ $undelivered->links() }}
@endif