@extends('layouts.app') @section('mobile-title', $report->reference_number) @section('mobile-subtitle', $report->project->name) @section('mobile-back', route('reports.index')) @if ($report->status === \App\Models\Report::STATUS_DRAFT || $report->status === \App\Models\Report::STATUS_REJECTED) @can('update', $report) @section('mobile-action-url', route('reports.edit', $report)) @section('mobile-action-icon', 'edit') @section('mobile-action-label', 'Edit report') @endcan @endif @section('content') @php $canReview = (auth()->user()->isSupervisor() || auth()->user()->isAdmin()) && $report->status === \App\Models\Report::STATUS_SUBMITTED; $resourceTotal = max(0, (int) $report->manpower_count); @endphp
{{ $report->project->name }} · {{ $report->work_date->format('M j, Y') }} · {{ $report->technician->name }}
{{ $report->work_completed ?: 'Not recorded' }}
@if ($report->issues){{ $report->issues }}
@endif @if ($report->safety_notes){{ $report->safety_notes }}
@endifSafety Checklist Results
| Trade / Role | Headcount | Total hours |
|---|---|---|
| Site Team | {{ $resourceTotal }} | {{ $resourceTotal * 8 }} |
| Total Daily Resource | {{ $resourceTotal }} | {{ $resourceTotal * 8 }} |
{{ $value }}