@extends('layouts.user') @section('title') ICTP Withdrawal @endsection @section('content') @php $ictpBalance = auth()->user()->ictp_balance ?? 0; $lockedAmount = 50; // principal always locked $withdrawable = max(0, $ictpBalance - $lockedAmount); // profit above $50 $canWithdraw = $withdrawable >= 50; $userShare = round($withdrawable * 0.60, 2); $companyShare = round($withdrawable * 0.40, 2); $progressPct = min(100, ($ictpBalance / ($lockedAmount * 2)) * 100); // reaches 100% at $100 @endphp
Back to My Account {{-- ── Balance strip ── --}}
ICTP Total
${{ number_format($ictpBalance, 2) }}
Inhouse Capital
Locked Principal
${{ number_format(auth()->user()->ictp_balance > 0 ? $lockedAmount : 0, 2) }}
Always retained
Withdrawable
${{ number_format($withdrawable, 2) }}
Above principal
Main Wallet
${{ number_format(auth()->user()->balance, 2) }}
Receives 60%
@if($canWithdraw) {{-- ── Withdrawal form card ── --}}
ICTP → Main Wallet Transfer
Transfer your ICTP profits to your main wallet.
{{-- Locked principal notice --}}
Your $50.00 principal is permanently locked in the ICTP program and cannot be withdrawn. Only profits above $50.00 are transferable. Of the amount you withdraw, 60% goes to your Main Wallet and 40% is a program fee.
{{-- 60/40 split overview --}}

How Your Transfer Splits

You receive (60%)
${{ number_format($userShare, 2) }}
Program fee (40%)
${{ number_format($companyShare, 2) }}
{{-- Amount form --}}
@csrf
USDT
{{-- Validation hint --}}
Max withdrawable: ${{ number_format($withdrawable, 2) }}
{{-- Live preview ── --}}
@else {{-- ── Ineligible state ── --}}

No Profits Available Yet

Your ICTP balance is ${{ number_format($ictpBalance, 2) }}. The $50.00 principal is permanently locked. You need an ICTP balance above $99.99 to make a withdrawal.

{{-- Progress bar toward $100 (first withdrawal threshold) --}}
Progress to withdrawal ${{ number_format($ictpBalance, 2) }} / $100.00
$50 locked $100 target
Back to Account Go to Bid Market
@endif
@endsection