Emergency Lost Phone Admin

Manage PE code wipe requests and GPS location records.

@csrf
@if (session('message'))
{{ session('message') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif

Create Lost Phone PE Code

@csrf

Lost Phone PE Codes

Reset
@forelse($lostPhones as $phone) @empty @endforelse
PE Code Status Reported Resolved GPS Count Note Updated Actions
{{ $phone->pe_code }} @if ($phone->status === $resolvedStatus) resolved @else active @endif {{ optional($phone->reported_at)->format('Y-m-d H:i') ?: '-' }} {{ optional($phone->resolved_at)->format('Y-m-d H:i') ?: '-' }} {{ $phone->gps_locations_count }} {{ $phone->note ? \Illuminate\Support\Str::limit($phone->note, 80) : '-' }} {{ optional($phone->updated_at)->format('Y-m-d H:i') ?: '-' }} Edit
@csrf
No lost phone PE codes found.
@if ($lostPhones->hasPages()) @endif
@if ($editingLostPhone)

Edit PE Code: {{ $editingLostPhone->pe_code }}

Cancel
@csrf
@endif

Add GPS Location Record

@csrf

GPS Location Records

Reset
@forelse($gpsLocations as $gps) @empty @endforelse
PE Code Device Latitude Longitude Accuracy Source Captured At IP Action
{{ $gps->pe_code }} {{ $gps->device_id ?: '-' }} {{ $gps->latitude }} {{ $gps->longitude }} {{ $gps->accuracy_m !== null ? $gps->accuracy_m . ' m' : '-' }} {{ $gps->source }} {{ optional($gps->captured_at)->format('Y-m-d H:i:s') ?: '-' }} {{ $gps->captured_ip ?: '-' }}
@csrf
No GPS locations found.
@if ($gpsLocations->hasPages()) @endif