@foreach ($plans as $plan)
-
@lang('Investment')
@if ($plan->fixed_amount == 0)
{{ __($general->cur_sym) }}{{ showAmount($plan->minimum) }} -
{{ __($general->cur_sym) }}{{ showAmount($plan->maximum) }}
@else
{{ __($general->cur_sym) }}{{ showAmount($plan->fixed_amount) }}
@endif
-
@lang('Max. Earn')
@php
if ($plan->fixed_amount == 0) {
$investAmo = $plan->maximum;
} else {
$investAmo = $plan->fixed_amount;
}
if ($plan->lifetime == 0) {
if ($plan->interest_type == 1) {
$interestAmo = (($investAmo * $plan->interest) / 100) * $plan->repeat_time;
} else {
$interestAmo = $plan->interest * $plan->repeat_time;
}
} else {
$interestAmo = 'Unlimited';
}
@endphp
{{ $interestAmo }} @if ($plan->lifetime == 0)
{{ $general->cur_text }}
@endif
-
@lang('Total Return')
@if ($plan->lifetime == 0)
@if ($plan->capital_back == 1)
@lang('capital') +
@endif
{{ __($plan->interest * $plan->repeat_time) }}{{ $plan->interest_type == 1 ? '%' : ' ' . __($general->cur_text) }}
@else
@lang('Unlimited')
@endif
@endforeach
@push('script')
@endpush