@extends('admin.layouts.main') @php $page_name = 'Orders'; @endphp @section('content')
| # | Order ID | Customer | Mobile | Payment Type | Amount | Is Paid | Created At | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration + ($orders->currentPage() - 1) * $orders->perPage() }} | {{ $order->checkout_id }} | {{ $order->user->name }} | {{ $order->user->mobile }} | {{ $order->payment_type }} | {{ AmountFormat($order->total_amount) }} | @if ($order->paid == 'Y') Paid @elseif($order->paid == 'N') Unpaid @elseif($order->paid == 'MR') Refunded @endif | {{ $order->created_at }} | checkout_id"]) }}" class="btn btn-sm btn-primary mx-2">Products @if ($order->invoice_id != '') Invoice @endif @if ($order->paid == 'Y') @if ($order->payment_type == 'Online') @else @endif @endif |
| No orders found. | ||||||||