Total Cost:
MYR {{ number_format($totalCost, 2) }}
@if($verifiedPaid > 0)
Paid (Verified):
- MYR {{ number_format($verifiedPaid, 2) }}
@endif
@if($pendingPaid > 0)
Processing:
- MYR {{ number_format($pendingPaid, 2) }}
@endif
Balance to Pay:
MYR {{ number_format($netBalance, 2) }}
@if($netBalance > 0.50) {{-- Using 0.50 buffer for float safety --}}
{{-- User still owes money --}}
Pay Balance
@elseif($pendingPaid > 0)
{{-- User has paid everything, just waiting for admin --}}
Waiting for Verification
@else
{{-- Paid in full --}}
Fully Paid
@endif