{{-- resources/views/refunds/show.blade.php --}} @extends('layouts.app') @section('content')
Processed: {{ $refund->created_at->format('d M Y, h:i A') }}
Amount
৳{{ number_format($refund->amount, 2) }}
Refund Type
{{ str_replace('_', ' ', ucfirst($refund->refund_type)) }}
Processed By
{{ $refund->refundedBy->name ?? 'System' }}
Invoice Number
Subscriber
{{ $refund->invoice->subscriber->name }}
Invoice Total
৳{{ number_format($refund->invoice->total_payable, 2) }}
{{ $refund->note }}
Total Payable
৳{{ number_format($refund->invoice->total_payable, 2) }}
Total Paid
৳{{ number_format($refund->invoice->total_paid, 2) }}
Total Refunded
৳{{ number_format($refund->invoice->total_refunded, 2) }}
Net Paid
৳{{ number_format($refund->invoice->total_paid - $refund->invoice->total_refunded, 2) }}
Current Status
{{ str_replace('_', ' ', ucfirst($refund->invoice->payment_status)) }}