@extends('admin.layouts.main') @php $page_name = 'Orders'; @endphp @section('content')
| # | Product | Customer | Mobile | Order ID | Amount | Status | Is Paid | Created At | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration + ($orders->currentPage() - 1) * $orders->perPage() }} | {{ $order->product->name }} | {{ $order->user->name }} | {{ $order->user->mobile }} | {{ $order->checkout->checkout_id ?? '' }} | {{ AmountFormat($order->amount) }} | {{ ucfirst($order->status) }} | @if ($order->is_paid == 'Y') Paid @elseif($order->is_paid == 'R') Refunded @else Unpaid @endif | {{ $order->created_at }} | @if ( isset($order->checkout->invoice_id) && $order->checkout->invoice_id != '') Invoice @endif @if ($order->is_paid == 'Y' && $order->status != 'COMPLETE') @if (str_contains($order->pay_id, 'wallet')) @else @endif @else -- @endif |
| No orders found. | |||||||||