@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); $solDepositsEnabled = false; // ← flip to true when SOL deposits are back @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 ──────────────────────────────────────────────────────────────────── --}}
@if($solDepositsEnabled) @else
Unavailable USDT · SOL Solana network
@endif
{{-- ETH — disabled / unavailable ─────────────── --}}
Unavailable USDT · ERC20 Ethereum network
{{-- Unavailable-chain inline toast ───────────────── --}}
This network is currently unavailable.

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' || $deposit->type === 'remvo_fiat') Auto-credited @else View @endif
No deposits yet.
@endsection