Manage Route

{{ Form::open( array('url' => action('PoiController@searchPoi'), 'method'=>'post', 'id' => 'searchForm') ) }} {{ Form::close() }}
{{-- START ALERT BLOCK --}} @if(Session::has('successMessage')) @endif @if(Session::has('dangerMessage') || count($errors)) @endif {{-- END ALERT BLOCK --}}
@php $n = "0"; @endphp @if(isset($getroute)) @foreach($getroute as $this_getroute) @php $n ++; @endphp {{-- START EDIT MODAL --}} @if(Request::get('route_id') == $this_getroute->id) @endif {{-- END EDIT MODAL --}} @endforeach @endif
ID. Route Internal Name State WB / EB Active
{{ $n }} @if(isset($this_getroute->route_internal_name) != '') {{ $this_getroute->route_internal_name }} @else(isset($this_getroute->route_name)) {{ $this_getroute->route_name }} @endif @if(isset($this_getroute->states_value->state_long)) {{ $this_getroute->states_value->state_long }}@endif @if(isset($this_getroute->wb_eb)) {{ $this_getroute->wb_eb }} @endif {!! html_entity_decode(link_to_route('admin-delete-route', '', [$this_getroute->id], ['class' => 'btn btn-danger btn-xs', 'onclick' => 'return checkInActive()', 'title' => 'Delete'])) !!}