@extends('layouts.customer') @section('customer-content')

My Refunds

@forelse($refunds as $refund)
{{ $refund->order->order_number }}

{{ $refund->reason }}

${{ number_format($refund->amount, 2) }}

{{ ucfirst($refund->status) }}

Requested on {{ $refund->created_at->format('M d, Y') }}

@if($refund->status === 'approved')

Refund will be credited within 5-10 business days

@endif @if($refund->status === 'rejected')

{{ Str::limit($refund->notes, 100) }}

@endif
@empty

No refunds yet

Refund requests will appear here

@endforelse @if($refunds->hasPages())
{{ $refunds->links() }}
@endif
@endsection