@php $client = auth('client')->user(); $accounts = $client?->tradingAccounts()->primaryFirst()->get() ?? collect(); @endphp
Account Overview
Profile security and every MT4 trading login linked to your client record.
Open MT4 dashboard
Full Name
{{ $client->full_name ?? '—' }}
Email
{{ $client->email ?? '—' }}
Two-factor authentication
{{ ($client->two_factor_enabled ?? false) ? 'Enabled' : 'Disabled' }}
Client status
{{ ucfirst($client->status ?? 'active') }}
MT4 Trading Accounts
{{ $accounts->count() }} linked {{ Str::plural('login', $accounts->count()) }}. The primary account is used only as the default selection.
@forelse($accounts as $account)
{{ $account->account_label ?: 'MT4 '.$account->mt5_login }}
Login #{{ $account->mt5_login }}
@if($account->is_primary)Primary@endif {{ !$account->enabled ? 'Disabled' : ($account->read_only ? 'Read only' : 'Active') }}
Group{{ $account->mt5_group ?: '—' }}
Currency{{ strtoupper($account->currency ?: '—') }}
Leverage1:{{ $account->leverage ?: 100 }}
Last sync{{ optional($account->last_synced_at)?->format('d-m-Y H:i:s') ?? 'Not synced' }}
@empty
No MT4 account is linked yet. Open the MT4 dashboard to create the first account.
@endforelse