@use('\Illuminate\Support\Number', 'Number') @use('\Illuminate\Support\Str', 'Str')
@forelse ($this->deposits as $deposit) @empty @endforelse
Amount Payment mode Status Date created
{{ Number::currency($deposit->amount, $settings->s_currency) }} {{ $deposit->payment_mode }} @if ($deposit->status == 'Processed') {{ $deposit->status }} @else {{ $deposit->status }} @endif {{ $deposit->created_at->toDayDateTimeString() }}
No record yet
{{ $this->deposits->links() }}
{{-- --}} @forelse ($this->withdrawals as $withdrawal) {{-- --}} @empty @endforelse
Amount requestedAmount + chargesRecieving mode Status Date created
{{ Number::currency($withdrawal->amount, $settings->s_currency) }} {{ Number::currency($withdrawal->to_deduct, $settings->s_currency) }} {{ $withdrawal->payment_mode }} $withdrawal->status == 'pending', 'badge-success' => $withdrawal->status == 'processed', 'badge-danger' => $withdrawal->status == 'cancelled', ])> {{ Str::ucfirst($withdrawal->status) }} {{ $withdrawal->created_at->toDayDateTimeString() }}
No record yet
{{ $this->withdrawals->links() }}
@forelse ($this->transactions as $history) @empty @endforelse
Amount Type Narration Date
{{ Number::currency($history->amount, $settings->s_currency) }} $history->type == 'Credit', 'badge-danger' => $history->type == 'Debit', ])> {{ $history->type }} {{ $history->narration }} {{ $history->created_at->toDayDateTimeString() }}
No record yet
{{ $this->transactions->links() }}