@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
How Your Transfer Splits
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) --}}