{{-- --}} @canany(['edit_categories', 'delete_categories']) @endcanany @if (isset($services) && !empty($services)) @foreach ($services as $key => $item) {{-- --}} {{-- @if ($item->id != 1) --}} @canany(['edit_services', 'delete_services']) @endcanany {{-- @endif --}} @endforeach @endif
S.no Service NameCategory NameIcon Order statusActions
{{($services->perPage() * ($services->currentPage() - 1)) + $key + 1}}Demand and Services{{$item->name}}
active == 1 ? 'checked' : ''}} onchange="change_status('{{$item->id}}', 'services', '#customSwitchGlow{{$item->id}}', 'active');" id="customSwitchGlow{{$item->id}}">
@can('edit_services') @endcan @can('delete_slots')
@csrf @method('DELETE')
@endcan
{{ $services->links() }}