Manage Highway
{{ Form::open( array('url' => action('HighwayController@getHighway'), 'method'=>'post', 'id' => 'searchForm') ) }}
{{ Form::close() }}
{{-- START ALERT BLOCK --}}
@if(Session::has('successMessage'))
{{ Form::submit('Search', ['id' => 'searchBtn', 'class' => 'btn btn-primary']) }}
+
{!! html_entity_decode(session('successMessage')) !!}
@endif
@if(Session::has('dangerMessage') || count($errors))
{!! html_entity_decode(session('dangerMessage')) !!}
{{ $errors->first() }}
@endif
{{-- END ALERT BLOCK --}}
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 != '')
![]() |
@if($hw->exit_wb_image != '')
![]() |
@if($hw->exit_eb_image != '')
![]() |
{!! 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. |