@extends('layouts.app') @section('title', 'Affiliate commissions') @section('content')
| Affiliate | Deal | Volume | Rate | Amount (USD) | Status |
|---|---|---|---|---|---|
| {{ $c->affiliate->name }} {{ $c->affiliate->affiliate_code }} |
{{ $c->dealRoom->reference }} | {{ number_format($c->volume_mt, 2) }} MT | {{ number_format($c->rate_usd_per_mt, 2) }}/MT | {{ number_format($c->amount_usd, 2) }} |
@if ($c->status === 'payable')
@else
{{ $c->status }}
@if ($c->paid_at) {{ $c->paid_at->format('d M Y') }} ยท {{ $c->payout_reference }}@endif @endif |
| No commissions accrued yet. | |||||