@extends('admin.layout.app') @section('title', 'Laborer Ledger (Summary)') @section('body')
| # | Laborer | Hourly Rate | Days | Hours | OT Hours | Total Work | Payments | Expenses | Balance |
|---|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $r->name }} | {{ number_format((float) $rate, 2) }} | {{ (int) $r->days_count }} | {{ number_format((float) $r->total_hours, 2) }} | {{ number_format((float) $r->total_ot_hours, 2) }} | {{ number_format((float) $r->total_work, 2) }} | {{ number_format((float) $r->payment, 2) }} | {{ number_format((float) $r->expense, 2) }} | {{ number_format($bal, 2) }} |
| No records found. | |||||||||
| TOTAL | — | {{ (int) ($totals['days'] ?? 0) }} | {{ number_format((float) ($totals['hours'] ?? 0), 2) }} | {{ number_format((float) ($totals['ot_hours'] ?? 0), 2) }} | {{ number_format((float) ($totals['work'] ?? 0), 2) }} | {{ number_format((float) ($totals['payment'] ?? 0), 2) }} | {{ number_format((float) ($totals['expense'] ?? 0), 2) }} | {{ number_format($tbal, 2) }} | |