@extends('layouts.admin') @section('title', 'Refunds Report') @section('content')

Refunds Report

Refund Summary

₹{{ number_format($returns->sum('refund_amount'), 2) }}
Total Refunded
@forelse($returns as $return) @empty @endforelse
Refund Date
Order #
Customer
Order Amount
Deduction
Refund Amount
{{ $return->refunded_at->format('M d, Y') }} #{{ $return->order->order_number }} {{ $return->user->name }} ₹{{ number_format($return->order->total, 2) }} @if($return->deduction_amount > 0) -₹{{ number_format($return->deduction_amount, 2) }} ({{ $return->deduction_reason }}) @else - @endif ₹{{ number_format($return->refund_amount, 2) }}
No refunds found for the selected period.
Total ₹{{ number_format($returns->sum('refund_amount'), 2) }}
@endsection