@php use Carbon\Carbon; use App\General\InvoiceClass; @endphp @if ($orders->isNotEmpty()) @foreach ($orders as $order) @endforeach @else @endif
Order Date Customer Channel Total Payment Status Fulfillment Status Item Delivery Action
{{ $order->invoice_number }} @php $carbonDate = Carbon::parse($order->created_at); @endphp {{ InvoiceClass::convertDateToDDMMYYYY($carbonDate->toDateString()) }} {{ $order->f_name . ' ' . $order->l_name ?? '' }} {{ $order->channel }} ${{ $order->grand_total }} {{ ucwords($order->payment_status) ?? '' }} {{ count($order->orderMeta) }} item ${{$order->delivery_charges ?? 0}}
No orders found.
{!! $orders->links('pagination::bootstrap-4') !!}