@foreach ($plans as $key=>$data)
@php
$schedule = \App\Models\ManageSchedule::where('time',$data->schedule_hour)->first();
@endphp
-
@lang('Profit')
{{ $data->lifetime_return == 1 ? 'Lifetime' : 'Every '.$schedule->name }}
-
@lang('Capital will back')
{{ $data->captial_return == 1 ? 'Yes' : 'No'}}
-
@lang('Repeatable')
@if ($data->profit_repeat == NULL)
@lang('NO')
@else
{{ $data->profit_repeat.' Times' }}
@endif
@if ($data->invest_type == 'range')
{{ showPrice($data->min_amount) }} - {{ showPrice($data->max_amount) }}
@else
{{ showPrice($data->fixed_amount) }}
@endif
@endforeach