@extends('agent.layouts.app') @section('title', 'My Profile') @section('content')

My Profile

View and manage your profile information

{{ strtoupper(substr($agent->name, 0, 2)) }}

{{ $agent->name }}

{{ $agent->email }}

{{ $agent->commissionProgram->name ?? ($agent->performanceTier->name ?? "Basic") }}

Account Information

Matrix ID

{{ $agent->coupon_code }}

Commission Rate

{{ number_format($agent->getPersonalCommissionRate(), 0) }}%

Status

{{ ucfirst($agent->status) }}

Member Since

{{ $agent->created_at->format('d M Y') }}

Personal Information

Full Name
{{ $agent->name }}
IC Number
{{ $agent->ic_number ?: '-' }}
Email
{{ $agent->email }}
Phone
{{ $agent->phone ?: '-' }}
Address
{{ $agent->full_address ?: '-' }}
@if(!$agent->ic_number || !$agent->full_address)

Complete your profile

Please add your IC number and address for official payslip documents (required for loan applications, hire purchase, etc.)

@endif
@if($agent->upline)

Your Upline

{{ strtoupper(substr($agent->upline->name, 0, 2)) }}

{{ $agent->upline->name }}

{{ $agent->upline->commissionProgram->name ?? ($agent->upline->performanceTier->name ?? "Basic") }}

@endif

Bank Details

@if($agent->bank_name)
Bank Name
{{ $agent->bank_name }}
Account Number
{{ $agent->bank_account_number }}
Account Holder
{{ $agent->bank_account_name }}
@else

No bank details provided

Please add your bank details to receive payouts.

@endif
@endsection