Manage Categories
{{ Form::open( array('url' => action('CategoryController@searchCategory'), 'method'=>'post', 'id' => 'searchForm') ) }}
{{ Form::close() }}
{{-- START ALERT BLOCK --}}
@if(Session::has('successMessage'))
{{ Form::submit('Search', ['id' => 'searchBtn', 'class' => 'btn btn-primary']) }}
Reset
+
{!! html_entity_decode(session('successMessage')) !!}
@endif
@if(Session::has('dangerMessage') || count($errors))
{!! html_entity_decode(session('dangerMessage')) !!}
{{ $errors->first() }}
@endif
{{-- END ALERT BLOCK --}}
# | Category | Sub Category | Action |
---|---|---|---|
{{ ++$num }} | {{$category->category_name }} | {{ count($category->subCategories ) }} | {!! html_entity_decode(link_to_route('admin-del-category', '', [$category->id], ['class' => 'btn btn-danger btn-xs', 'onclick' => 'return checkDelete()', 'title' => 'Delete'])) !!} @if($category->status == 1) {!! html_entity_decode(link_to_route('admin-inactive-category', '', [$category->id], ['class' => 'btn btn-danger btn-xs', 'onclick' => 'return checkInActive()', 'title' => 'Deactivate'])) !!} @elseif($category->status == 0) {!! html_entity_decode(link_to_route('admin-active-category', '', [$category->id], ['class' => 'btn btn-success btn-xs', 'onclick' => 'return checkActive()', 'title' => 'Activate'])) !!} @endif | {{-- START EDIT MODAL --}}
No Record Found. |