Manage Master 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 @foreach($getroute as $this_getroute) @php $n ++; @endphp @if(Request::get('route_id') == $this_getroute->id) @endif @endforeach
ID. Route Name State WB / EB Active
{{ $n }} @if(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-masterroute', '', [$this_getroute->id], ['class' => 'btn btn-danger btn-xs', 'onclick' => 'return checkInActive()', 'title' => 'Delete'])) !!}