@extends('layouts.user') @section('title', 'Consolidated Report') @section('content')
| Site/Route | Role | Duty Number | Start Duty Time | End Duty Time | Pay Type | Actual Hrs | Sin Rate | Other Rate | Gas | Allowance | Tickets Count | Total Amount |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row->site_route }} | {{ $row->role }} | {{ $row->duty_number }} | {{ $row->start_time ? $row->start_time->format('Y-m-d h:i A') : '-' }} | {{ $row->end_time ? $row->end_time->format('Y-m-d h:i A') : '-' }} | {{ $row->pay_type }} | {{ number_format($row->actual_hrs, 2) }} | ${{ number_format($row->sin_rate, 2) }} | ${{ number_format($row->other_rate, 2) }} | {{ $row->gas ? number_format($row->gas, 0) : '0' }} | {{ $row->allowance ? number_format($row->allowance, 0) : '0' }} | {{ $row->tickets_count }} | ${{ number_format($row->total_amount, 2) }} |
| Grand Total | {{ number_format($totalHrs, 2) }} | - | - | {{ number_format($totalGas, 0) }} | {{ number_format($totalAllowance, 0) }} | {{ $totalTickets }} | ${{ number_format($totalAmount, 2) }} | |||||