Man Power & Maintenance Crew

MAN POWER ROSTER

Manage man power, telematics engineers & sweeper maintenance crew. Man power personnel log their own daily duties on-demand via mobile app.

@if(!$showForm) @else @endif
@if($showForm)

{{ $editingId ? 'Edit Man Power Profile & Credentials' : 'Enroll New Man Power' }}

Only Full Name & Phone Number are mandatory. All other fields are optional.

Mandatory Login Credentials

Man Power Mobile App Login

Work & Specialization (Optional)

Active (Can Login) Inactive (Disabled)

Contact & Location Details (Optional)

Profile Photo
@if($profile_pic) @elseif($existingPicPath) @endif
@error('profile_pic') {{ $message }} @enderror
@endif @if(!$showForm)
Total Man Power
{{ $totalCount }}

Enrolled Crew Members

Currently On Duty
{{ $onDutyCount }}

Live Active Shifts

Active Crew
{{ $activeCount }}

Eligible to Start Duty

Total Duties Logged
{{ $totalDutiesCount }}

Automated Shift Records

@if($technicians->isEmpty())

No Man Power Found

{{ !empty($search) ? 'No man power match your search query.' : 'Click "+ Add New Man Power" to enroll your first crew member.' }}

@else
@foreach($technicians as $tech) @endforeach
Man Power Phone (Login ID) Specialization Live Duty Status Total Shifts Total Hours Account Actions
@if($tech->profile_pic_url) {{ $tech->name }} @else
{{ $tech->initials() }}
@endif
{{ $tech->name }}
{{ $tech->technician_code }}
{{ $tech->phone }} {{ $tech->specialization ?: 'Fleet Maintenance' }} @if($tech->is_on_duty) ON DUTY @else OFF DUTY @endif {{ $tech->duties->count() }} {{ $tech->total_hours_formatted }}
{{ $technicians->links() }}
@endif
@endif @if($showDutyModal && $viewingTech)
{{ $viewingTech->initials() }}

{{ $viewingTech->name }} — Shift & Duty History

@if($viewingTech->is_on_duty) ON DUTY NOW @endif

{{ $viewingTech->technician_code }} • Phone: {{ $viewingTech->phone }} • Shifts Logged: {{ $viewingTech->duties->count() }} ({{ $viewingTech->total_hours_formatted }})

@if($viewingTech->duties->isEmpty())

No duty shifts recorded yet.

Duties are created automatically when the man power starts a daily shift in their mobile app.

@else @foreach($viewingTech->duties as $duty)
{{ $duty->duty_code }} {{ $duty->duty_date?->format('d M Y') }}
@if($duty->status === 'in_progress') LIVE IN PROGRESS @else COMPLETED @endif
Shift Start: {{ $duty->formatted_start_time ?: 'N/A' }}
Shift End: {{ $duty->formatted_end_time ?: 'Active Shift...' }}
Total Duration: {{ $duty->formatted_duration }}
@if($duty->notes)
Work Summary & Notes: {{ $duty->notes }}
@endif @if($duty->status === 'completed') @endif
@endforeach @endif
@endif