@extends('backend.master') @section('content')
Approve, reject and view deposit details
| User | Loan | Method | Amount | Transaction ID | Status | Date | Actions |
|---|---|---|---|---|---|---|---|
|
{{ $user?->name ?? 'N/A' }}
{{ $user?->phone ?? $user?->email ?? 'No contact' }}
@if($user?->balance !== null)
Balance: ৳{{ number_format((float) $user->balance, 0) }}
@endif
|
Loan #{{ $oldLoan?->id ?? 'N/A' }}
Amount:
৳{{ number_format((float) ($oldLoan?->amount ?? 0), 0) }}
Status:
{{ $oldLoan?->status ? strtoupper(str_replace('_', ' ', $oldLoan->status)) : 'N/A' }}
|
{{ strtoupper($deposit->method) }} | ৳{{ number_format((float) $deposit->amount, 0) }} | {{ $deposit->transaction_id }} | {{ ucfirst($deposit->status) }} | {{ $deposit->created_at?->format('d M Y, h:i A') }} |
Details
@if($deposit->status !== 'approved')
@endif
@if($deposit->status !== 'rejected')
@endif
|
| No deposit requests found. | |||||||