Total Agreed
৳{{ number_format((float) $contractor->total_agreed, 2) }}
Total Paid
৳{{ number_format((float) $contractor->total_paid, 2) }}
Total Due
৳{{ number_format((float) $contractor->total_due, 2) }}
Active Work Orders
{{ $contractor->workOrders->where('status', 'active')->count() }}
Payment Breakdown
Advance: ৳{{ number_format($summary['advance'], 2) }}
Milestone: ৳{{ number_format($summary['milestone'], 2) }}
Bill: ৳{{ number_format($summary['bill'], 2) }}
Final: ৳{{ number_format($summary['final'], 2) }}