@extends('layouts.app') @section('title', 'Billing & Payouts') @section('content')
Track your earnings and payouts
Total Sales
R {{ number_format($stats['total_sales'], 2) }}
Commission Paid
R {{ number_format($stats['total_commission'], 2) }}
Net Earnings
R {{ number_format($stats['net_earnings'], 2) }}
Pending Payout
R {{ number_format($stats['pending_payout'], 2) }}
| Date | Type | Amount | Commission | Net | Status |
|---|---|---|---|---|---|
| {{ $transaction->created_at->format('d M Y') }} | {{ $transaction->type }} | R {{ number_format($transaction->amount, 2) }} | -R {{ number_format($transaction->commission_amount, 2) }} | R {{ number_format($transaction->net_amount, 2) }} | @php $statusColors = [ 'pending' => 'bg-yellow-100 text-yellow-800', 'processed' => 'bg-blue-100 text-blue-800', 'paid' => 'bg-green-100 text-green-800', ]; @endphp {{ ucfirst($transaction->status) }} |
No transactions yet
Commission is automatically deducted from each sale. Payouts are processed weekly.
{{ $payout->payout_number }}
{{ $payout->created_at->format('d M Y') }}
R {{ number_format($payout->net_amount, 2) }}
{{ ucfirst($payout->status) }}No payouts yet
@endif