Manage Highway

{{ Form::open( array('url' => action('HighwayController@getHighway'), 'method'=>'post', 'id' => 'searchForm') ) }}
{{ Form::submit('Search', ['id' => 'searchBtn', 'class' => 'btn btn-primary']) }}
+
{{ Form::close() }}
{{-- START ALERT BLOCK --}} @if(Session::has('successMessage')) @endif @if(Session::has('dangerMessage') || count($errors)) @endif {{-- END ALERT BLOCK --}}
@php $n = "0"; @endphp @forelse($highWay as $hw) {{-- START EDIT MODAL --}} {{-- END EDIT MODAL --}} @empty @endforelse
Uid. Highway Name Exit WB Exit EB Highway Image Exit WB Image Exit EB Image Active
{{ ++$n }} {{ $hw->highway_name }} {{ $hw->exit_wb }} {{ $hw->exit_eb }} @if($hw->highway_image != '') @else @endif @if($hw->exit_wb_image != '') @else @endif @if($hw->exit_eb_image != '') @else @endif {!! html_entity_decode(link_to_route('admin-del-highway', '', [$hw->id], ['onclick' => 'return checkDelete()', 'title' => 'Delete'])) !!} @if($hw->status == 1) {!! html_entity_decode(link_to_route('admin-active-highway', '', [$hw->id], [ 'onclick' => 'return checkInActive()', 'title' => 'Activate'])) !!} @elseif($hw->status == 0) {!! html_entity_decode(link_to_route('admin-inactive-highway', '', [$hw->id], [ 'onclick' => 'return checkActive()', 'title' => 'Deactivate'])) !!} @endif
No Records Found.