@include('layouts.header') @include('layouts.sidebar')
@if(session()->has('success'))
{{ session()->get('success') }}
@endif @if(session()->has('error'))
{{ session()->get('error') }}
@endif
@if(hasPermission('category', 'update') || hasPermission('category', 'delete') || hasPermission('category', 'view')) @endif @if(hasPermission('category', 'status')) @endif @foreach($categories as $row) @if(hasPermission('category', 'update') || hasPermission('category', 'delete') || hasPermission('category', 'view')) @endif @if(hasPermission('category', 'status')) @endif @endforeach
ActionCategory ImageStatus
@if(hasPermission('category', 'update')) @endif @if(hasPermission('category', 'delete')) @endif
{{ $row->category_name}} @if($row->status==1)Active@else Inactive @endif
@include('layouts.footer')