@extends('vendor.layouts.app') @section('title', 'Refund Requests') @section('page-title', 'Refund Management') @push('styles') @endpush @section('content')
Manage customer refund requests efficiently.
| Refund ID | Order Invoice | Customer Info | Refund Amount | Status | Request Date | Action |
|---|---|---|---|---|---|---|
| #{{ $refund->refund_id }} | #{{ $refund->order->invoice_id }} |
{{ $refund->customer->name ?? 'Guest' }}{{ $refund->customer->phone ?? 'N/A' }} |
৳{{ number_format($refund->amount, 2) }}@if($refund->shipping_charge > 0) + Shipping: ৳{{ number_format($refund->shipping_charge, 2) }} @endif |
@php $status = $refund->status; $badgeClass = 'badge-soft-secondary'; $icon = 'fa-circle'; if($status == 'pending') { $badgeClass = 'badge-soft-warning'; $icon = 'fa-clock'; } elseif($status == 'approved') { $badgeClass = 'badge-soft-info'; $icon = 'fa-thumbs-up'; } elseif($status == 'rejected') { $badgeClass = 'badge-soft-danger'; $icon = 'fa-times-circle'; } elseif($status == 'processed') { $badgeClass = 'badge-soft-success'; $icon = 'fa-check-circle'; } @endphp {{ ucfirst($status) }} | {{ $refund->created_at->format('d M, Y') }} {{ $refund->created_at->format('h:i A') }} | |
No Refund RequestsYou don't have any refund requests at the moment. |
||||||