@extends('admin.layouts.master') @section('title', 'List of Refund Requests') @section('content')
| # | Order No | Product | User | Status | Actions |
|---|---|---|---|---|---|
| {{ ++$id }} | {{ $refundrequest->order->order_number }} | {{ $refundrequest->order_id }} | {{ $refundrequest->user->first_name . ' ' . $refundrequest->user->last_name }} | @php $status = $refundrequest->status; if ($status == 'pending') { $color = 'primary'; } elseif ($status == 'approved') { $color = 'success'; } else { $color = 'danger'; } @endphp {{ $status }} |