@extends($activeTemplate . 'layouts.master') @section('content')
@if (count($invests) > 0)
@forelse($invests as $invest) @empty @endforelse
@lang('Property') @lang('Invested Amount') @lang('Due Amount') @lang('Status') @lang('Action')
{{ strLimit($invest->property->title, 25) }} {{ showAmount($invest->total_invest_amount) }} {{ showAmount($invest->due_amount) }} @php echo $invest->investStatusBadge @endphp
@php if ($invest->profit_status == Status::COMPLETED) { $invest->badge_text = '' . trans('Completed') . ''; } elseif ($invest->profit_status == Status::RUNNING) { $invest->badge_text = showDateTime( $invest->next_profit_date, 'Y-m-d', ); } else { $invest->badge_text = '' . trans('Investment Running') . ''; } @endphp @if (count($invest->installments) > 0) @endif
{{ __($emptyMessage) }}
@if ($invests->hasPages()) {{ $invests->links() }} @endif @else
@include($activeTemplate . 'partials.empty', ['message' => 'No investment found!'])
@endif
@endsection @push('script') @endpush