My Statistics
@if($pendingInvoicePayments && count($pendingInvoicePayments['cycles']) > 0)
Invoice Required
Invoice Amount: KES {{ number_format($pendingInvoicePayments['totals']->total_net_payable + $pendingInvoicePayments['totals']->total_tax, 2) }}
Tax: KES {{ number_format($pendingInvoicePayments['totals']->total_tax, 2) }} |
Advance: KES {{ number_format($pendingInvoicePayments['totals']->total_advance, 2) }}
@foreach($pendingInvoicePayments['cycles'] as $cycle)
@endforeach
{{ $cycle->cycle_description }}
Net: KES {{ number_format($cycle->total_net_payable, 2) }}
Tax: KES {{ number_format($cycle->total_tax, 2) }} |
Advance: KES {{ number_format($cycle->total_advance, 2) }}
@if($cycle->has_rejected)
@foreach($cycle->payments as $payment)
@if($payment->status === 'Rejected' && $payment->rejection_reason)
Rejection Reason: {{ $payment->rejection_reason }}
@endif
@endforeach
@endif
Total Amount
Total Net Payable:
KES {{ number_format($allTimeStats->total_all_time_earnings, 2) }}
Advance:
KES {{ number_format($allTimeStats->total_all_time_advance, 2) }}
From {{ $allTimeStats->participated_cycles }} Payment Cycles
Payment Status
Net Paid:
KES {{ number_format($allTimeStats->total_all_time_paid, 2) }}
Pending Payments:
KES {{ number_format($allTimeStats->total_pending_amount, 2) }}
({{ $allTimeStats->pending_payment_count }} payments)
@php
$paidPercentage = $allTimeStats->total_all_time_earnings > 0
? ($allTimeStats->total_all_time_paid / $allTimeStats->total_all_time_earnings) * 100
: 0;
@endphp
Tax & Deductions
{{ number_format($allTimeStats->total_all_time_tax, 2) }}
Current Tax:
{{ number_format($stats->total_tax, 2) }}
Current Advance:
{{ number_format($stats->total_advance, 2) }}
Overall Productivity
{{ number_format($allTimeStats->overall_avg_productivity, 1) }}
Average Productivity RatePayment Range
Highest
{{ number_format($allTimeStats->highest_payment, 2) }}
Lowest