@extends('layouts.admin') @section('title', 'Orders') @section('page_title', 'Orders') @section('content')
{{ $orders->total() }}
Total Orders
@if($search)
Clear Filter Found {{ $orders->total() }} result(s)
@endif
@forelse($orders as $order) @empty @endforelse
Order # Customer Amount Items Status Date Actions
{{ $order->order_number }} {{ $order->user->name }} {{ \App\Support\Currency::symbol() }}{{ number_format($order->total, 2) }} {{ $order->items->count() }} {{ ucfirst($order->status) }} {{ $order->created_at->format('M d, Y') }}
@if($search) No orders found matching "{{ $search }}" @else No orders found @endif
@if($orders->count())
@endif @endsection