Man Power Duty Logs & Field Reports

Man power personnel log in to their panel to start/end duties with live photo verification. Admins can review every shift and export reports here.

Total Duties
{{ $duties->total() }}

Filtered Logged Duties

Total Hours Logged
{{ round($totalSeconds / 3600, 1) }} Hrs

Accumulated Duty Duration

Completed Duties
{{ \App\Models\TechnicianDuty::where('status', 'completed')->count() }}

● Verified with Photo Proof

Duties In Progress
{{ \App\Models\TechnicianDuty::where('status', 'in_progress')->count() }}

● Live Field Shifts

to
@forelse($duties as $d) @empty @endforelse
Duty Code Man Power Start Time End Time Duration Photos Status Actions
{{ $d->duty_code }} {{ $d->duty_date?->format('d M Y') }}
{{ $d->technician->name ?? 'Man Power' }}
{{ $d->technician->technician_code ?? 'N/A' }}
{{ $d->start_time ? $d->start_time->format('d M Y') : '—' }}
{{ $d->start_time ? $d->start_time->format('h:i A') : '' }}
@if($d->end_time)
{{ $d->end_time->format('d M Y') }}
{{ $d->end_time->format('h:i A') }}
@else In Progress @endif
{{ $d->formatted_duration }} {{ $d->photos()->count() }} @if($d->status === 'completed') Completed @else In Progress @endif
@if($d->status === 'completed')
@endif

No man power duty records found for selected filters.

@if($duties->hasPages())
{{ $duties->links() }}
@endif
@if($selectedDuty)
{{ $selectedDuty->duty_code }} {{ $selectedDuty->technician->name ?? 'Man Power' }} @if($selectedDuty->status === 'completed') Completed @else In Progress @endif
Man Power Code: {{ $selectedDuty->technician->technician_code ?? 'N/A' }}
Duration: {{ $selectedDuty->formatted_duration }}
@if($selectedDuty->status === 'completed') Download Certificate @endif
Start Time {{ $selectedDuty->start_time ? $selectedDuty->start_time->format('h:i:s A') : '—' }}
End Time {{ $selectedDuty->end_time ? $selectedDuty->end_time->format('h:i:s A') : 'In Progress' }}
Start Location {{ $selectedDuty->start_location_name ?: ($selectedDuty->start_latitude ? number_format($selectedDuty->start_latitude, 4).', '.number_format($selectedDuty->start_longitude, 4) : '—') }}
End Location {{ $selectedDuty->end_location_name ?: ($selectedDuty->end_latitude ? number_format($selectedDuty->end_latitude, 4).', '.number_format($selectedDuty->end_longitude, 4) : '—') }}
@if($selectedDuty->notes)
Work Summary & Notes: {{ $selectedDuty->notes }}
@endif
Field Verification Photos ({{ $selectedDuty->photos->count() }}) @if($selectedDuty->photos->isNotEmpty())
@foreach($selectedDuty->photos as $photo)
{{ $photo->caption }}
{{ str_replace('_', ' ', $photo->stage) }} @if($photo->caption) {{ $photo->caption }} @endif {{ $photo->taken_at ? $photo->taken_at->format('d M, h:i A') : '' }}
@endforeach
@else
No field verification photos attached to this duty.
@endif
@endif