@foreach($investments as $key => $investment)
@if($investment->is_recommend)
{{ __('Recommend') }}
@endif

{{ $investment->name }}

@if($investment->interest_return_type == \App\Enums\Investment\ReturnType::REPEAT->value)
{{ (int)$investment->duration }} {{ $investment->timeTable->name ?? '' }}
@else
{{ __('Lifetime') }}
@endif

{{ __('Interest Rate') }}: {{ shortAmount($investment->interest_rate) }}{{ \App\Enums\Investment\InterestType::getSymbol($investment->interest_type) }}

{{ __('Investment amount limit') }} : @if($investment->type == \App\Enums\Investment\InvestmentRage::RANGE->value) {{ getCurrencySymbol() }}{{shortAmount($investment->minimum)}} - {{ getCurrencySymbol() }}{{shortAmount($investment->maximum)}} @else {{ getCurrencySymbol() }}{{shortAmount($investment->amount)}} @endif
    @if(!empty($investment->meta)) @foreach($investment->meta as $value)
  • {{ $value }}
  • @endforeach @endif
{{ __('Total Return') }} : @if ($investment->interest_return_type == \App\Enums\Investment\ReturnType::REPEAT->value) {{ totalInvestmentInterest($investment) }} @else @lang('Unlimited') @endif @if($investment->recapture_type == \App\Enums\Investment\Recapture::HOLD->value) @endif
@endforeach