@php
use App\Enums\InvestmentStatus;
$currency = base_currency();
$is_running = ($plan->status==InvestmentStatus::ACTIVE) ? true : false;
$is_pending = ($plan->status==InvestmentStatus::PENDING) ? true : false;
@endphp
{{ data_get($plan, 'summary_title') }}
{{ __('Invested:') }} {{ money(data_get($plan, 'amount'), $currency) }}
{{ __('Start Date') }}
{{ show_date(data_get($plan, 'term_start'), true) }}
{{ __('End Date') }}
{{ show_date(data_get($plan, 'term_end'), true) }}
{{ ($plan->status==InvestmentStatus::COMPLETED) ? __('Total Received') : __('Total Return') }}
{{ ($plan->status==InvestmentStatus::COMPLETED) ? money(data_get($plan, 'received'), $currency) : money(data_get($plan, 'total'), $currency) }}
{{ __('Net Profit') }}
{{ money(data_get($plan, 'profit'), $currency) }}
@if($plan->status==InvestmentStatus::ACTIVE)
@endif