{{-- stats card --}}
{{-- end stats card --}}
{{-- table --}}
@include("components.footer")
{{-- @include("components.models.orders-report")
@include("components.models.orders-export") --}}
All Orders
{{number_format($allCount)}}
{{-- --}}Active Orders
{{number_format($activeCount)}}
{{-- --}}Orders In-Proccess
{{number_format($processingCount)}}
Completed Orders
{{number_format($completedCount)}}
| S/N | Order Code | Customer | Agent | Payment Plan | Quantity | Amount | Payment Status | Status | Date | Action |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $count }} | {{ $order->order_code }} | {{ $order->customer->type == "individual" ? ($order->customer->first_name ." " . $order->customer->last_name) : $order->customer->corporate_name }} | {{ $order->agent->first_name ?? "" }} | {{ $order->payment_plan }} | {{ $order->quantity }} | {{ formatPrice($order->amount) }} | {{ $order->payment_status }} | {{ $order->status }} | {{ substr($order->created_at,0,10) }} |