Deposit Details
View deposit information and change status
@if(session('success'))
{{ session('success') }}
@endif
@if(session('error'))
{{ session('error') }}
@endif
@if(session('info'))
{{ session('info') }}
@endif
@if($errors->any())
@foreach($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
{{-- Header --}}
Deposit #{{ $deposit->id }}
Submitted at {{ $deposit->created_at?->format('d M Y, h:i A') }}
Deposit: {{ ucfirst($deposit->status) }}
Loan:
{{ $oldLoan?->status ? ucfirst(str_replace('_', ' ', $oldLoan->status)) : 'N/A' }}
{{-- Details --}}
{{-- Deposit Info --}}
Deposit Information
Deposit ID
#{{ $deposit->id }}
Status
{{ ucfirst($deposit->status) }}
Method
{{ strtoupper($deposit->method) }}
Amount
৳{{ number_format((float) $deposit->amount, 0) }}
Transaction ID
{{ $deposit->transaction_id }}
Created At
{{ $deposit->created_at?->format('d M Y, h:i A') }}
Updated At
{{ $deposit->updated_at?->format('d M Y, h:i A') }}
{{-- User Loan Info --}}
User & Loan Information
User Name
{{ $user?->name ?? 'N/A' }}
Phone
{{ $user?->phone ?? 'N/A' }}
Email
{{ $user?->email ?? 'N/A' }}
User Balance
৳{{ number_format((float) ($user?->balance ?? 0), 0) }}
Loan ID
#{{ $oldLoan?->id ?? 'N/A' }}
Loan Amount
৳{{ number_format((float) ($oldLoan?->amount ?? 0), 0) }}
Loan Tenure
{{ $oldLoan?->tenure_months ?? 0 }} Months
Monthly Installment
৳{{ number_format((float) ($oldLoan?->monthly_installment ?? 0), 0) }}
Total Payable
৳{{ number_format((float) ($oldLoan?->total_payable ?? 0), 0) }}
Loan Created
{{ $oldLoan?->created_at?->format('d M Y, h:i A') ?? 'N/A' }}
{{-- Status Change --}}
Status Change Options
{{-- Approve --}}
{{-- Reject --}}
{{-- Manual Status --}}
@endsection