@extends('layouts.user') @section('title') Withdraw from AI Bot @endsection @section('content') @php $walletSource = $investment->wallet_source ?? 'main'; $isGrant = $walletSource === 'grant'; $walletLabel = $isGrant ? 'Grant Funds' : 'Main Wallet'; $accentColor = $isGrant ? '#10b981' : '#f97316'; $accentDim = $isGrant ? 'rgba(16,185,129,0.09)' : 'rgba(249,115,22,0.09)'; $accentBorder = $isGrant ? 'rgba(16,185,129,0.22)' : 'rgba(249,115,22,0.22)'; @endphp
Back to AI Dashboard {{-- Bot balance tile --}}
{{ $investment->plan?->name }} Balance
${{ number_format($investment->balance, 2) }} USDT
{{ $investment->plan?->name }} Funded via {{ $walletLabel }}
{{-- Destination notice --}}
@if($isGrant) @else @endif This bot was funded with your {{ $walletLabel }}. Withdrawn funds will be credited back to your {{ $walletLabel }}. @if($isGrant) Note: only grant profit (above your approved capital) can be moved from Grant Funds to Main Wallet separately. @endif
{{-- Withdraw form --}}
Withdraw to {{ $walletLabel }}
Maximum available: ${{ number_format($investment->balance, 2) }}
@csrf
USDT
Max: ${{ number_format($investment->balance, 2) }}
@endsection