@extends('layouts.app') @section('title', 'Affiliate') @section('content')

Affiliate dashboard

✔ Verified Affiliate · ID {{ $user->affiliate_code }}

Your referral link

Commission: USD {{ number_format($rate, 2) }} per MT on completed deals, paid by Drixem under your verified name. It is never added to the mill price, and you cannot view or edit quotes.

Referred accounts

{{ $referrals->count() }}

Payable (USD)

{{ number_format($payable, 2) }}

Paid (USD)

{{ number_format($paid, 2) }}

Commissions

@forelse ($commissions as $c) @empty @endforelse
DealVolume (MT)RateAmount (USD)Status
{{ $c->dealRoom->reference }} {{ number_format($c->volume_mt, 2) }} {{ number_format($c->rate_usd_per_mt, 2) }}/MT {{ number_format($c->amount_usd, 2) }} {{ $c->status }} @if ($c->paid_at) · {{ $c->paid_at->format('d M Y') }} @endif
No commissions yet. They appear when a referred deal completes.

Referred accounts

@endsection