@extends('layouts.app') @section('title', 'Deposit History - ' . config('app.name')) @section('content')

Deposit History

View all your deposit transactions

Total Deposits

{{ $deposits->total() }}

Total Amount

${{ number_format($deposits->sum('amount'), 2) }}

Successful

{{ $deposits->where('deposit_status', 1)->count() }}

All Deposits

@if($deposits->count() > 0)
@foreach($deposits as $deposit) @endforeach
Date Amount Method Status Transaction ID
{{ $deposit->created_at->format('M d, Y H:i') }} ${{ number_format($deposit->amount, 2) }} @if($deposit->withdraw_method_id == 1) PayPal @elseif($deposit->withdraw_method_id == 2) Stripe @else Other @endif @if($deposit->deposit_status == 1) Completed @elseif($deposit->deposit_status == 0) Pending @else Failed @endif {{ Str::limit($deposit->transaction_id, 20) }}
@if($deposits->hasPages())
{{ $deposits->links('pagination::bootstrap-5') }}
@endif @else

No deposits found

Your deposit history will appear here

Make a Deposit
@endif
@endsection