{{ $totalOrders }} commandes au total
| Reference | Client | Boutique | Total | Statut | Date | Actions |
|---|---|---|---|---|---|---|
| {{ $order['reference'] ?? '#' . $order['id'] }} |
{{ $order['client_name'] ?? 'Client' }} |
{{ $order['shop_name'] ?? '-' }} |
{{ number_format($order['total'] ?? 0, 0, ',', ' ') }} F |
@php $statusClass = match($order['status'] ?? 'pending') { 'pending' => 'badge-warning', 'confirmed' => 'badge-info', 'shipped' => 'badge-info', 'delivered' => 'badge-success', 'cancelled' => 'badge-danger', default => 'badge-gray', }; @endphp {{ $this->getStatusLabel($order['status'] ?? 'pending') }} | {{ \Carbon\Carbon::parse($order['created_at'] ?? now())->format('d/m/Y H:i') }} | |
|
Aucune commande trouvee Modifiez vos filtres pour voir les commandes |
||||||
Page {{ $currentPage }} sur {{ $totalPages }}