@extends('app-new') @push('head-script') @endpush @push('content-header') @endpush @section('content') {!! Form::model($location, ['method' => isset($location) && $location->id ? 'put' : 'post', 'files' => 'true']) !!}
@if (isset($status))
@endif
{{trans('master/master.location_details')}}
{{trans('master/master.enter_location_details')}}
{!! $errors->first('parent_id', '')!!}
{!! Form::text('name', isset($location) && $location->name ? $location->name : old('name'), ['class' => 'form-control', 'id' => 'name', 'placeholder' => 'Enter Location Name', 'maxlength' => 100]) !!} {!! $errors->first('name', ' ')!!}
{!! Form::text('radius_in_meter', isset($location) && $location->radius_in_meter ? $location->radius_in_meter : old('radius_in_meter'), ['class' => 'form-control', 'id' => 'radius_in_meter', 'placeholder' => 'Enter Radius In Meter', 'maxlength' => 6, 'onChange' => 'geoCircle()']) !!} {!! $errors->first('radius_in_meter', ' ')!!}
{{trans('master/master.address_details')}}
{{trans('master/master.enter_address_details')}}
{!! Form::text('geo_address', isset($location) && $location->geo_address ? $location->geo_address : old('geo_address'), ['class' => 'form-control', 'id' => 'geo_address', 'placeholder' => 'Enter Address', 'onChange' => 'geolocate()']) !!} {!! $errors->first('geo_address', ' ')!!}
{!! Form::text('geo_latitude', isset($location) && $location->geo_latitude ? $location->geo_latitude : old('geo_latitude'), ['class' => 'form-control', 'id' => 'geo_latitude', 'placeholder' => 'Enter Latitude']) !!} {!! $errors->first('geo_latitude', ' ')!!}
{!! Form::text('geo_longitude', isset($location) && $location->geo_longitude ? $location->geo_longitude : old('geo_longitude'), ['class' => 'form-control', 'id' => 'geo_longitude', 'placeholder' => 'Enter Latitude']) !!} {!! $errors->first('geo_longitude', ' ')!!}

Click and drag the red dots to align and make a geo fencing polygon.
Please be cautious while using this feature.




{!! Form::close() !!} @endsection @push('footer-script') @endpush