@extends('template.coin.layouts.base') @section('title', __('My Investments')) @section('css') @endsection @section('content')
Investment

Invested Plans

At a glance summary of your investment.

Total Investment
{{__format_number($total_invested->count)}} {{$user->user_curr()}}
Total Invested
{{__format_number($total_roi->count)}} {{$user->user_curr()}}
Total Profit
Active Investment
{{__format_number($active_invested->count)}} {{$user->user_curr()}}
Currently Invested
{{__format_number($active_roi->count)}} {{$user->user_curr()}}
Approx Profit
@if($active_plans->isNotEmpty())
Active Plans ({{$active_plans->count()}})
@foreach($active_plans as $active_plan)
{{$active_plan->get_meta_value('name')}} Plan
Invested: {{__format_number($active_plan->amount)}} {{$user->user_curr()}}
Start Date {{__date_parse($active_plan->activated_at)}}
End Date @if(!empty($active_plan->end_date)) {{__date_parse($active_plan->end_date)}} @else Unlimited @endif
Profit {{__format_number($active_plan->roi)}} {{$user->user_curr()}}
@endforeach
@else @endif @if($paused_plans->isNotEmpty())
Paused Plans ({{$paused_plans->count()}})
@foreach($paused_plans as $paused_plan)
{{$paused_plan->get_meta_value('name')}} Plan
Invested: {{__format_number($paused_plan->amount)}} {{$user->user_curr()}}
Start Date {{__date_parse($paused_plan->activated_at)}}
End Date @if(!empty($paused_plan->end_date)) {{__date_parse($paused_plan->end_date)}} @else Unlimited @endif
Profit {{__format_number($paused_plan->roi)}} {{$user->user_curr()}}
@endforeach
@endif @if($inactive_plans->isNotEmpty())
Inactive Plans ({{$inactive_plans->count()}})
@foreach($inactive_plans as $inactive_plan)
{{$inactive_plan->get_meta_value('name')}} Plan
Invested: {{__format_number($inactive_plan->amount)}} {{$user->user_curr()}}
Start Date {{__date_parse($inactive_plan->activated_at)}}
End Date {{__date_parse($inactive_plan->end_date)}}
Profit {{__format_number($inactive_plan->roi)}} {{$user->user_curr()}}
@endforeach
@endif @if($ended_plans->isNotEmpty())
Ended Plans ({{$ended_plans->count()}})
@foreach($ended_plans as $inactive_plan)
{{$inactive_plan->get_meta_value('name')}} Plan
Invested: {{__format_number($inactive_plan->amount)}} {{$user->user_curr()}}
Start Date {{__date_parse($inactive_plan->activated_at)}}
End Date {{__date_parse($inactive_plan->end_date)}}
Profit {{__format_number($inactive_plan->roi)}} {{$user->user_curr()}}
@endforeach
@endif
@endsection