@extends('layouts.app') @section('title', isset($checkpoint) ? 'Edit Checkpoint' : 'Create Checkpoints') @section('no-page-header') @section('content')
Back

@if(isset($checkpoint)) Edit Checkpoint @else Create Checkpoints @endif

@if(isset($checkpoint)) Modify checkpoint details and configuration @else Add and configure multiple patrol checkpoints efficiently @endif

@if(!isset($checkpoint))

0 checkpoints

Ready to create

0
@endif
@if(session('success'))

{{ session('success') }}

@endif @if(session('error'))

{{ session('error') }}

@endif @if($errors->any())

{{ $errors->first() }}

@endif
@csrf @if(isset($checkpoint)) @method('PUT') @endif
@if(isset($checkpoint))

Checkpoint Configuration

Update the details and settings for this checkpoint

Basic Information

@error('checkpoint_name')

{{ $message }}

@enderror
@error('service_id')

{{ $message }}

@enderror
@error('latitude')

{{ $message }}

@enderror
@error('longitude')

{{ $message }}

@enderror

Additional Information

@error('instructions')

{{ $message }}

@enderror
@else

Multi-Checkpoint Creation

Create multiple patrol checkpoints efficiently. Add checkpoints manually or use your current location.

Checkpoints Queue

Manage your checkpoints before creation

0 checkpoints

In queue

No Checkpoints Yet

Click the buttons above to add checkpoints manually or use your current location

Manual Entry Current Location
@endif
Cancel @if(!isset($checkpoint))
All checkpoints will be created at once
@endif
@push('styles') @endpush @endsection