@extends('layouts.dashly') @section('title', $title) @section('content')

Welcome, {{ Auth::user()->name }}!

@if (!empty($settings->welcome_message) and Auth::user()->created_at->diffInDays() <= 3)
@endif @if ($settings->enable_annoc == 'on' and !empty($settings->newupdate))
@endif
Account Balance

{{ $settings->currency }}{{ number_format(Auth::user()->account_bal, 2, '.', ',') }}

Deposit - @if ($moresettings->use_transfer) Transfer @endif
@if ($mod['investment'])
Total Profit

{{ $settings->currency }}{{ number_format(Auth::user()->roi, 2, '.', ',') }}

@endif
Total Bonus

{{ $settings->currency }}{{ number_format(Auth::user()->bonus, 2, '.', ',') }}

Referral Bonus

{{ $settings->currency }}{{ number_format(Auth::user()->ref_bonus, 2, '.', ',') }}

Total Deposited

{{ $settings->currency }}{{ number_format($deposited, 2, '.', ',') }}

Total Withdrawal

{{ $settings->currency }}{{ number_format($total_withdrawal, 2, '.', ',') }}

Referrals

{{ $referrals }}

@if ($mod['subscription'])
Managed Accounts

{{ $trading_accounts }}

@endif
@if ($mod['investment']) {{-- Active Investment plans section --}}
Active Plan(s) ({{ $plans ? count($plans) : '0' }})
@forelse ($plans as $plan)
{{ $plan->dplan->name }}

{{ $settings->currency }}{{ number_format($plan->amount) }}

{{ $plan->created_at->toDayDateTimeString() }}
Start Date
{{ \Carbon\Carbon::parse($plan->expire_date)->toDayDateTimeString() }}
End Date
@if ($plan->active == 'yes') Active @elseif($plan->active == 'expired') Expired @else Inactive @endif
Status
@empty

You do not have an active investment at the moment.

Invest Now
@endforelse
{{-- end of active investmet and purchase of investment plan --}} @endif {{-- 10 Recent transaction begin --}}
Recent transactions
@forelse ($t_history as $item) @empty @endforelse
Date Type Amount
{{ $item->created_at->toDayDateTimeString() }} {{ $item->type }} {{ $settings->currency }}{{ number_format($item->amount) }}
No record yet

Real time market data

{{-- end of recent transactions --}} @endsection