@can('massDelete', \App\Models\Category::class) @unless ($category->products_count) @endunless @endcan