@extends('layouts.app') @section('title', 'My Wallet') @section('content')
{{-- Page Header --}}

My Wallet

Manage your wallet balance, deposits, and transaction history

@if($walletFeatures['deposits_enabled'] && $walletFeatures['has_payment_gateway']) @endif Back to Account
{{-- Wallet Disabled Alert --}} @if(!$walletFeatures['enabled'])
Wallet Unavailable: The wallet service is currently disabled.
@endif {{-- Stats Grid --}} @include('account.wallet.partials.stats-grid', [ 'stats' => $stats, 'walletFeatures' => $walletFeatures, 'currency' => $currency, ]) {{-- Balance Card --}}
Available Balance

{{ $currency }} {{ number_format($stats['balance'], 2) }}

Wallet funds can be used to pay for orders and services.
@if($walletFeatures['deposits_enabled'] && $walletFeatures['has_payment_gateway']) @elseif($walletFeatures['deposits_enabled'])
No payment gateways available.
@endif
{{-- Tab Navigation --}}
{{-- Ledger Tab --}}
@include('account.wallet.partials.ledger-table', [ 'ledger' => $ledger, 'entryType' => $entryType, 'sourceType' => $sourceType, 'sort' => $sort, 'perPage' => $perPage, 'sourceOptions' => $sourceOptions, ])
{{-- Deposits Tab --}}
@include('account.wallet.partials.deposits-table', ['deposits' => $deposits])
{{-- Expenses Tab --}}
@include('account.wallet.partials.expenses-table', ['expenses' => $expenses])
{{-- Deposit Modal --}} @if($walletFeatures['deposits_enabled'] && $walletFeatures['has_payment_gateway']) @include('account.wallet.partials.deposit-form', [ 'walletFeatures' => $walletFeatures, 'availableGateways' => $availableGateways, 'currency' => $currency, ]) @endif @endsection @push('styles') @endpush