Agent Dashboard

@if($showProfileCompletionModal) @endif @if($agent->status === 'pending')

Your agent account is pending approval. You'll be notified once it's approved.

@elseif($agent->status === 'rejected')

Your agent application has been rejected. Please contact support for more information.

@endif

Agent Training Video

Recommended: Watch this training video to learn how to use the agent portal effectively.

This video provides a comprehensive overview of the agent portal and how to maximize your success.

Open in new window
@if($agent->status === 'approved')

Quick Actions

Enroll Patient Enroll Business Manage Businesses View Enrollments
@endif

Agent Information

Edit Profile
@if($agent->user->image) {{ $agent->user->name }} @else
@endif

Name: {{ $agent->user->name }}

Email: {{ $agent->user->email }}

Tier: {{ $agent->tier }}

Commission Rate: {{ $agent->commission_rate }}%

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

Earnings Summary

Direct Commissions: ${{ number_format($totalEarnings, 2) }}

Upline Commissions: ${{ number_format($totalUplineEarnings, 2) }}

Total Earnings: ${{ number_format($totalEarnings + $totalUplineEarnings, 2) }}

View All Commissions →

Referral Stats

Agent Referrals: {{ $referrals->count() }}

Direct Patient Referrals: {{ $directPatientCount }}

Direct Business Referrals: {{ $directBusinessCount }}

Agent Referrals → Direct Referrals →
@if($agent->canManageLOAs())

LOA Management

Managed LOA Users: {{ $agent->managedLOAs()->count() }}

Active LOA Users: {{ $agent->managedLOAs()->where('status', 'active')->count() }}

Manage LOA Users → Create New LOA →
@endif

Your Referral Links

@if($agent->status === 'approved')

Share these links with potential agents. You can control which tier they'll be assigned by using the tier-specific links below.

General Referral Link:

This link allows the referred agent to choose from any available tier.

Referral Code: {{ $agent->referral_code }}

Tier-Specific Referral Links:

Use these links to control which tier your referred agents will be assigned to.

@foreach($referralResult['tier_specific_urls'] as $tier => $tierData)
{{ $tier }} Tier ({{ $tierData['rate'] }}%)
{{ $tierData['rate'] }}% Commission

This link will automatically assign the {{ $tier }} tier to your referred agent.

@endforeach
@else

Your referral links will be available once your account is approved.

@endif

Recent Referrals

@if($referrals->count() > 0)
@foreach($referrals->take(5) as $referral) @endforeach
Name Tier Status Date
{{ $referral->user->name }}
{{ $referral->user->email }}
{{ $referral->tier }}
{{ $referral->commission_rate }}%
{{ ucfirst($referral->status) }} {{ $referral->created_at->format('M d, Y') }}
@else

You haven't referred any agents yet.

@endif

Recent Commissions

@if($commissions->count() > 0)
@foreach($commissions->take(5) as $commission) @endforeach
Transaction Amount Commission Status Date
{{ $commission->transaction->transaction_id ?? 'N/A' }}
${{ number_format($commission->total_amount, 2) }}
${{ number_format($commission->commission_amount, 2) }}
{{ $commission->agent_rate }}%
{{ ucfirst($commission->status) }} {{ $commission->created_at->format('M d, Y') }}
@else

You haven't earned any commissions yet.

@endif

Recent Patient Enrollments

@if(isset($recentPatientEnrollments) && $recentPatientEnrollments->count() > 0)
@foreach($recentPatientEnrollments as $enrollment) @endforeach
Patient Email Status Enrolled Action
{{ $enrollment->user->name }}
{{ $enrollment->user->email }} {{ ucfirst($enrollment->status) }} {{ $enrollment->created_at->format('M d, Y') }} View Patient
@else

You haven't enrolled any patients yet.

@endif

Recent Patient Questionnaires

@if(isset($recentQuestionnaires) && $recentQuestionnaires->count() > 0)
@foreach($recentQuestionnaires as $questionnaire) @endforeach
Patient Type Status Submitted Action
{{ $questionnaire->user->name }}
{{ $questionnaire->treatment ? $questionnaire->treatment->name : 'General' }} {{ ucfirst($questionnaire->status) }} {{ $questionnaire->created_at->format('M d, Y') }} View Details
@else

No recent patient questionnaires found.

@endif

Recent Patient Medical Conditions

@if(isset($recentMedicalConditions) && $recentMedicalConditions->count() > 0)
@foreach($recentMedicalConditions as $condition) @endforeach
Patient Condition Status Reported Action
{{ $condition->patient->name }}
{{ $condition->condition_name }} {{ ucfirst($condition->status) }} {{ $condition->created_at->format('M d, Y') }} View Patient
@else

No recent patient medical conditions found.

@endif

Recent Patient Medication Orders

@if(isset($recentMedicationOrders) && $recentMedicationOrders->count() > 0)
@foreach($recentMedicationOrders as $order) @endforeach
Patient Medication Status Ordered Action
{{ $order->patient->name }}
{{ $order->medication->name ?? 'N/A' }} {{ ucfirst($order->status) }} {{ $order->created_at->format('M d, Y') }} View Patient
@else

No recent patient medication orders found.

@endif
@if($agent->tier !== 'LOA')

Agent Contract

Important: Please review and sign your agent contract below. This is required to fully activate your account.

Your contract is specific to your agent tier ({{ $agent->tier }}). Please review all terms carefully before signing.

@switch($agent->tier) @case('SFMO')

GO MD USA Field Agent Contract SFMO

@break @case('FMO')

GO MD USA Field Agent Contract 50% Commission Level

@break @case('SVG')

GOMDUSAAGENTCONTRACT.SVG.LEVEL

@break @case('MGA')

GOMDUSAAGENTCONTRACT.MGA.LEVEL

@break @default

GOMDUSAAGENTCONTRACT.AGENT.LEVEL

@endswitch

If you have any questions about your contract, please contact Agents@gomdusa.com

@endif @if($agent->tier === 'LOA')

LOA Agent Contract

Important: As an LOA tier agent, please review and sign your specific contract below.

This contract is specific to your LOA agent tier. Please review all terms carefully before signing.

GOMDUSAAGENTCONTRACT.AGENT.LEVEL

If you have any questions about your LOA contract, please contact Agents@gomdusa.com

@endif