@include('Admin.Includes.header') @php use Illuminate\Support\Facades\Auth; use App\General\InvoiceClass; use Carbon\Carbon; $logged_in_user = Auth::user(); @endphp
# | Order | Date | Customer | Channel | Total | Payment Method | Status | Fulfillment Status | Item | Delivery |
---|---|---|---|---|---|---|---|---|---|---|
{{ $key + 1 }} | @php $carbonDate = Carbon::parse($order->created_at); @endphp {{ InvoiceClass::convertDateToDDMMYYYY($carbonDate->toDateString()) }} | {{ $order->f_name . ' ' . $order->l_name ?? '' }} | {{ $order->channel }} | @if ($order->grand_total < 0) $0 @else ${{ $order->grand_total }} @endif | {{ $order->payment_method }} | {{ ucwords($order->payment_status) ?? '' }} | {{ ucwords($order->status) }} | {{ count($order->orderMeta) }} item | ${{ $order->delivery_charges ?? 0 }} | |
# | Order | Date | Customer | Channel | Total | Payment Method | Status | Fulfillment Status | Item | Delivery |