@extends('admin.layouts.app') @section('panel')
@forelse($invests as $invest) @empty @endforelse
@lang('Plan') @lang('Invested') @lang('Will Recieve Interest') @lang('Total') @lang('Get Return After')
{{ __($invest->plan->name) }}
@{{ $invest->user->username }}
{{ showAmount($invest->amount) }}
@lang('For a') {{ $invest->time_name }}
{{ showAmount($invest->interest) }} {{ showAmount($invest->interest + $invest->amount) }} @if ($invest->status == Status::INVEST_RUNNING && Carbon\Carbon::parse($invest->next_time) < now()) @lang('Payment Processing') @elseif($invest->status == Status::INVEST_RUNNING)

@php if ($invest->last_time) { $start = $invest->last_time; } else { $start = $invest->created_at; } $nextTime = Carbon\Carbon::parse($invest->next_time); $now = Carbon\Carbon::now(); $diffInSeconds = $now->diffInSeconds($nextTime); @endphp
@else @lang('Completed') @endif
{{ __($emptyMessage) }}
@if ($invests->hasPages()) @endif
@endsection @push('breadcrumb-plugins') @endpush @push('script') @endpush