@extends('template.coin.layouts.base') @section('title', __('My Plans')) @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
Total Profit
{{__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->dplan()->name}}
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->dplan()->name}}
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->dplan()->name}}
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