{{-- Status Pengajuan Refund --}} @if (session('success'))
{{ session('success') }}
@endif
{{-- Status Card --}} @php $refund = $booking->refund; $statusConfig = [ 'pending' => ['bg'=>'#FFF3E0','border'=>'#F59E0B','icon'=>'fa-hourglass-half','color'=>'#92400E','title'=>'Menunggu Review Admin'], 'approved' => ['bg'=>'#D1FAE5','border'=>'#22C55E','icon'=>'fa-circle-check', 'color'=>'#065F46','title'=>'Refund Disetujui!'], 'rejected' => ['bg'=>'#FEE2E2','border'=>'#EF4444','icon'=>'fa-circle-xmark', 'color'=>'#991B1B','title'=>'Pengajuan Ditolak'], ]; $sc = $statusConfig[$refund->status] ?? $statusConfig['pending']; @endphp
{{ $sc['title'] }}
@php $rb = $refund->status_badge; @endphp {{ $rb['label'] }}
{{ $refund->formatted_amount }}
Jumlah refund (70% dari {{ $booking->formatted_price }})
@if ($refund->processed_at)
Diproses: {{ $refund->processed_at->locale('id')->isoFormat('D MMM Y, HH:mm') }} WIB
@endif
{{-- Detail Rekening --}}
Data Rekening Tujuan
Bank
{{ $refund->bank_name }}
No. Rekening
{{ $refund->account_number }}
Pemilik
{{ $refund->account_name }}
{{-- Catatan Admin jika ada --}} @if ($refund->admin_notes)
Catatan Admin

{{ $refund->admin_notes }}

@endif