@extends('layouts.user') @section('title') Deposit Funds @endsection @section('content') @php // ── Minimum deposit amount ──────────────────────────────────────────────── // Set this in SiteDetail with title 'min_deposit_amount', or hard-code here. // The JS reads the rendered value — no extra DB call in JS needed. $minDeposit = (float) (\App\Models\SiteDetail::where('title', 'min_deposit_amount')->value('description') ?? 20); @endphp
{{-- Sidebar --}}
{{-- Main content --}}
{{-- Balance tile --}}
Main Balance
${{ number_format(auth()->user()->balance, 2) }} USDT
{{ auth()->user()->balance > 0 ? 'Active' : 'Inactive' }} · {{ now()->format('d F Y') }}
{{-- Deposit card --}}
Deposit USDT
{{-- Setup panel --}}

Select network

{{-- SOL — active ──────────────────────────────── --}}
{{-- ETH — disabled / unavailable ─────────────── --}}
Unavailable USDT · ERC20 Ethereum network
{{-- ETH unavailable inline toast ─────────────── --}}
ERC20 gateway is currently unavailable. Please use USDT · SOL to deposit.

Amount

$ USDT
{{-- Min deposit hint — updates live ──────────────── --}}
Minimum deposit: ${{ number_format($minDeposit, 2) }} USDT
{{-- 4-step flow panel --}}
{{-- Deposit history --}}
Deposit History
@forelse($deposits as $deposit) @empty @endforelse
Amount Net Status Date Action
+ {{ number_format($deposit->amount, 2) }} USDT {{ strtoupper($deposit->network ?? '—') }} @if($deposit->status == 1) ✓ Done @elseif($deposit->status == 2) ✕ Failed @else ⏳ Pending @endif {{ $deposit->created_at->format('d M Y') }} @if($deposit->type === 'remvo_naira') Auto-credited @else View @endif
No deposits yet.
@endsection