Order Management

@if (session()->has('message'))

{{ session('message') }}

@endif
@forelse ($commandes as $commande) @empty @endforelse
Number @if ($sortColumn === 'id') @else @endif
Order Number @if ($sortColumn === 'numero') @else @endif
Customer
Institution @if ($sortColumn === 'institution') @else @endif
Date @if ($sortColumn === 'date_commande') @else @endif
Total Amount @if ($sortColumn === 'montant_total') @else @endif
Status @if ($sortColumn === 'statut') @else @endif
Excel File Actions
{{ $commande->id }} #{{ $commande->numero }} @if($commande->user)

{{ $commande->user->name }}

{{ $commande->user->email }}

@else Unknown User @endif
{{ $commande->institution ?: 'N/A' }} {{ \Carbon\Carbon::parse($commande->date_commande)->format('d/m/Y') }}
{{ \Carbon\Carbon::parse($commande->date_commande)->format('H:i') }}
{{ number_format($commande->montant_total, 2) }} FCFA
@if($commande->excel_file) @else No File @endif

No orders found.

@if ($showDeleteModal)

Confirm Deletion

Are you sure you want to delete this order? This action cannot be undone.

@endif @if ($showStatusModal)

Update Status

Choose a new status for this order.

@endif