{{ __('user.Current Plan Overview') }}

@if($invests && count($invests) > 0) @foreach($invests as $index => $item)

{{ __('user.Plan Name') }}: {{ $item->plan->title ?? __('user.N/A') }}

{{ __('user.Activation Date') }}: {{ format_date($item->created_at) }}

@php $investment = $item->amount; $roi = $item->plan->roi ?? 0; $totalProfit = ($investment * $roi) / 100; // Calculate profit based on schedule $scheduleId = $item->plan->manage_schedule_id ?? 3; // Default to weekly $scheduleHour = $item->plan->schedule_hour ?? 1; // Calculate time-based profits $dailyProfit = $totalProfit / 7; // Assuming weekly ROI, divide by 7 for daily $weeklyProfit = $totalProfit; $monthlyProfit = $totalProfit * 4; // Approximately 4 weeks in a month @endphp

{{ __('user.Return on investment') }}: {{ showPrice($totalProfit) }} ({{ $roi }}%)

{{ __('user.Benefits Summary') }}:

  • {{ __('user.Invest Amount') }}: {{ showPrice($investment) }}
  • {{ __('user.Daily Profit') }}: {{ showPrice($dailyProfit) }}
  • {{ __('user.Weekly Profit') }}: {{ showPrice($weeklyProfit) }}
  • {{ __('user.Monthly Profit') }}: {{ showPrice($monthlyProfit) }}
  • {{ __('user.Total Return') }}: {{ showPrice($investment + $totalProfit) }}

{{ __('user.Status') }}: @if($item->status == 2) {{ __('user.Completed') }} @elseif($item->status == 1) {{ __('user.Running') }} @else {{ __('user.Pending') }} @endif

@endforeach @else
{{ __('user.No active investments message') }}
@endif

{{ __('user.Available Plans') }}

@foreach($plans as $index => $item)
{{ $item->title }} @if($item->is_populer) {{ __('user.Most Popular') }} @endif @if($item->invest_type == 'range')

{{ showPrice($item->min_amount) }} - {{ showPrice($item->max_amount) }}

@else

{{ showPrice($item->fixed_amount) }}

@endif
{{ $item->roi }}% {{ __('user.Return') }}

    @if($item->invest_type == 'range')
  • {{ __('user.Investment Range') }}: {{ showPrice($item->min_amount) }} - {{ showPrice($item->max_amount) }}
  • @else
  • {{ __('user.Fixed Investment') }}: {{ showPrice($item->fixed_amount) }}
  • @endif
  • {{ __('user.Capital Return') }}: {{ $item->capital_back ? __('user.Yes') : __('user.No') }}
  • {{ __('user.Profit Schedule') }}: {{ ucfirst($item->profit_type) }}
  • @if($item->lifetime_return)
  • {{ __('user.Lifetime Returns') }}: {{ __('user.Yes') }}
  • @else
  • {{ __('user.Profit Repeat') }}: {{ $item->profit_repeat }} {{ __('user.times') }}
  • @endif @if($item->sub_title)
  • {{ $item->sub_title }}
  • @endif
{{ __('user.Invest Now') }}
@endforeach
@include('user.invest.modal')
@push('scripts') @endpush