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 --}}
{{ $getroute->links() }} @php $n = "0"; @endphp @foreach($getroute as $this_getroute) @php $n ++; if (!isset ($_GET['page']) ) { $page = 1; } else { $page = $_GET['page']; } $results_per_page = 10; $page_first_result = ($page-1) * $results_per_page; @endphp @endforeach
SNo. Route Name State WB / EB Active
{{($page_first_result + $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'])) !!}