@foreach($schemes as $ivp)
@if (is_null(data_get($ivp, 'type')))
{{ data_get($ivp, 'name') }}
@if(sys_settings('iv_plan_desc_show') == 'yes')
{{ data_get($ivp, 'desc') }}
@endif
{{ data_get($ivp, 'rate_text') }}
{{ __(':period Interest', ['period' => ucfirst(__(data_get($ivp, 'calc_period')))]) }}
{{ data_get($ivp, 'term') }}
{{ __('Term :type', ['type' => __(ucfirst(data_get($ivp, 'term_type')))]) }}
{{-- @dd($ivp) --}}
@if(data_get($ivp, 'is_fixed'))
- {{ __('Deposit Amount') }} - {{ money(data_get($ivp, 'amount'), base_currency()) }}
- {{ __('Deposit Type') }} - {{ __("Fixed") }}
@else
- {{ __('Min Deposit') }} - {{ money(data_get($ivp, 'amount'), base_currency()) }}
- {{ __('Max Deposit') }} - {{ data_get($ivp, 'maximum') ? money(data_get($ivp, 'maximum'), base_currency()) : __("Unlimited") }}
@endif
@if(sys_settings('iv_plan_terms_show') == 'yes')
- {{ __('Term Duration') }} - {{ data_get($ivp, 'term_text_alter') }}
@endif
@if(sys_settings('iv_plan_payout_show') == 'yes')
- {{ __('Payout Term') }} - {{ data_get($ivp, 'payout') == 'after_matured' ? __("After matured") : __("Term basis") }}
@endif
@if(sys_settings('iv_plan_capital_show') == 'yes')
- {{ __('Capital Return') }} - @if(data_get($ivp, 'capital')) {{ __('End of Term') }} @else {{ __('Each Term') }} @endif
@endif
@if(sys_settings('iv_plan_total_percent') == 'yes')
- {{ __('Total Return') }} - {{ data_get($ivp,'total_return') }}%
@endif
@if(!auth()->check())
@endif
@else
@if (view()->exists('ExtInvest::frontend.plan-card'))
@include('ExtInvest::frontend.plan-card')
@endif
@endif
@endforeach