Time entries
' . e(number_format($totalHours, 2)) . ' hours';
foreach ($timeEntries as $entry) echo '
' . e($entry['technician_name']) . ' · ' . e($entry['work_date']) . ' · ' . e(number_format((float)$entry['hours'], 2)) . 'h
' . e((string)($entry['notes'] ?? '')) . '
' . (can('time_entries.record') ? '
Correct or void' : '') . '
';
- if (can('time_entries.record')) { echo '
'; }
+ if (can('time_entries.record')) { echo '
'; }
echo '