@forelse($invests as $invest) @php $nextTime = \Carbon\Carbon::parse($invest->next_time); @endphp @if ($nextTime > now()) @endif @empty @endforelse
@lang('Plan') @lang('Return') @lang('Received') @lang('Next payment') @lang('Action')
{{ __($invest->plan->name) }}
{{ showAmount($invest->amount) }}
{{ showAmount($invest->interest) }} @lang('every') {{ $invest->time_name }}
@lang('for') @if ($invest->period == '-1') @lang('Lifetime') @else {{ $invest->period }} {{ $invest->time_name }} @endif @if ($invest->capital_status == '1') + @lang('Capital') @endif
@if ($invest->compound_times) {{ $invest->return_rec_time }} @lang('times') | {{ showAmount($invest->paid) }} @else {{ $invest->return_rec_time }}x{{ showAmount($invest->interest) }} = {{ showAmount($invest->paid) }} @endif @if ($invest->status == 1)

@php if ($invest->last_time) { $start = $invest->last_time; } else { $start = $invest->created_at; } @endphp
@elseif($invest->status == 2) @lang('Canceled') @else @lang('Completed') @endif
@if ($invest->eligibleCapitalBack()) @endif
{{ __($emptyMessage) }}
@push('script') @endpush