@extends('user.layouts.master') @section('title', __('Investment Overview')) @section('content')
{{ __('Investment') }}

{{ __('Invested Plans') }}

{{ __('At a glance summary of your investment.') }}

{{ __("Investment Account") }}
{{ account_balance(AccType('invest')) }} {{ base_currency() }}
{{ __('Available Funds') }}
{{ amount($amounts['locked'], base_currency(), ['zero' => true]) }}
{{ __('Locked') }}
{{ __('Amount in Invested') }}
{{ amount($amounts['invested'], base_currency(), ['zero' => true]) }} {{ base_currency() }}
{{ __('Currently Invested') }}
{{ amount($amounts['profit'], base_currency(), ['zero' => true]) }}
{{ __('Approx Profit') }}
@if(!blank($pendingPlans = data_get($investments, 'pending', [])))
{{ __('Pending Plan') }} ({{ count($pendingPlans) }})
@foreach($pendingPlans as $plan) @include('investment.user.plan-row') @endforeach
@endif @if(!blank($activePlans = data_get($investments, 'active', [])))
{{ __('Active Plan') }} ({{ count($activePlans) }})
@foreach($activePlans as $plan) @include('investment.user.plan-row', $plan) @endforeach
@endif @if(!blank($recents))
{{ __('Recently End') }} ({{ count($recents) }})
@foreach($recents as $plan) @include('investment.user.plan-row', $plan) @endforeach
@endif
@endsection @push('modal') @endpush @push('scripts') @endpush