@extends('layouts.layout') @section('content')
| Order Id | Amount | Order Status | Options | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->order_id }} | {{ optional($item->user)->email }} | ${{ formatPrice($item->final_amount) }}/- | @php $color = match ($item->dynamicStatus->name) { 'In Progress' => 'secondary', 'Delivered' => 'success', 'Failed', 'Refunded' => 'primary', 'Full refunded', 'Partial refunded' => 'orange', 'Shipping' => 'warning', default => 'secondary', }; @endphp {{ $item->dynamicStatus->name }} |
@if ($item->order_status == 2 || $item->order_status == 7 || $item->order_status == 6)
|
||||||||
Coupons for Order #{{ $item->order_id }}
|
||||||||||||
{{ $list->links() }}