Total Earnings
${{ number_format($summary['total_earnings'], 2) }}
Available
${{ number_format($summary['available_balance'], 2) }}
Pending
${{ number_format($summary['pending_balance'], 2) }}
Withdrawn
${{ number_format($summary['withdrawn_amount'], 2) }}
All your earnings and withdrawals with complete details
| Date | Type / Client | Booking Price | Platform Fee | Net Amount | Status |
|---|---|---|---|---|---|
| {{ $item['formatted_date'] }} |
@if($item['type'] === 'booking')
{{ $item['client_name'] }}
Booking #{{ $item['id'] }}
Withdrawal
{{ ucfirst($item['payment_method'] ?? 'Bank Transfer') }}
|
@if($item['type'] === 'booking') ${{ number_format($item['booking_price'], 2) }} @else - @endif | @if($item['type'] === 'booking') -${{ number_format($item['platform_fee'], 2) }} @else @if($item['platform_fee_deducted'] > 0) -${{ number_format($item['platform_fee_deducted'], 2) }} @else $0.00 @endif @endif | @if($item['type'] === 'booking') +${{ number_format($item['net_amount'], 2) }} @else -${{ number_format($item['net_amount'], 2) }} @endif | @php $statusColors = [ 'pending' => 'bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400', 'available' => 'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400', 'withdrawn' => 'bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300', ]; $colorClass = $statusColors[$item['status']] ?? 'bg-gray-100 text-gray-800'; @endphp {{ $item['status_label'] }} |
|
No earnings yet Your earnings will appear here once you complete bookings |
|||||