@extends('admin.layouts.main') @php $page_name = 'Return Orders'; @endphp @section('content')
| ID | Product | Qty | Reason | Description | Status | Requested At | Action |
|---|---|---|---|---|---|---|---|
| {{ $order->id }} |
{{ $order->product_name }}
|
{{ $order->quantity }} | {{ ucfirst($order->reason) }} | {{ $order->description }} | {{ ucfirst($order->status) }} | {{ \Carbon\Carbon::parse($order->created_at)->format('d M Y, h:i A') }} | Order Invoice @if ($order->status == 'pending') @elseif ($order->status == 'rejected') {{ $order->comments }} @elseif ($order->status == 'accepted') {{-- UPDATED BUTTONS TO TRIGGER MODALS --}} @elseif($order->status == 'returned') @elseif($order->status == 'refunded' || $order->status == 'replace') Compleate @endif |
| No return orders found. | |||||||