@extends('backEnd.layouts.master') @section('title','Refund Management') @section('css') @endsection @section('content')
Manage and track all refund requests
| # | Refund Info | Customer | Amount | Method | Status | Date | Action |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
#{{ $refund->refund_id }}
INV-{{ $refund->order->invoice_id }}
|
{{ $refund->customer->name ?? 'Guest' }}
{{ $refund->customer->phone ?? 'N/A' }}
|
৳{{ number_format($refund->amount + $refund->shipping_charge, 2) }}
@if($refund->shipping_charge > 0)
(Incl. Shipping)
@endif
|
@php
$icons = [
'bkash' => 'fe-smartphone',
'nagad' => 'fe-smartphone',
'bank' => 'fe-briefcase',
'manual' => 'fe-dollar-sign',
'original_payment' => 'fe-credit-card'
];
$icon = $icons[$refund->refund_method] ?? 'fe-help-circle';
@endphp
{{ str_replace('_', ' ', $refund->refund_method) }}
|
@if($refund->status == 'pending') Pending @elseif($refund->status == 'approved') Approved @elseif($refund->status == 'rejected') Rejected @elseif($refund->status == 'processed') Processed @endif | {{ $refund->created_at->format('d M, Y') }} |
|
No refund requests found! |
|||||||