@extends('admin.master') @section('content')

Product Returns

Manage all return requests

@if(session('success'))
{{ session('success') }}
@endif
@if($returns->count() > 0)
@foreach($returns as $item) @endforeach
# Order Product Shop Customer Type Qty Refund Status Requested At Action
{{ $item->id }} {{ $item->order?->order_number ?? 'N/A' }} {{ $item->product?->name ?? 'N/A' }} {{ $item->shop?->shop_name ?? 'N/A' }} {{ $item->user?->name ?? 'N/A' }} @if($item->user?->phone)
{{ $item->user?->phone }} @endif
{{ $item->type }} {{ $item->return_qty }} ৳{{ number_format($item->refund_amount, 2) }} {{ str_replace('_', ' ', $item->status) }} {{ optional($item->requested_at)->format('d M Y h:i A') }}
View
{{ $returns->links() }}
@else
↩️

No return requests found

When customers request returns, they will appear here.

@endif
@endsection