wip
This commit is contained in:
@@ -47,12 +47,9 @@ class BrandRepository
|
||||
*/
|
||||
public static function values(): array|Collection
|
||||
{
|
||||
return CacheRepository::make(
|
||||
name: 'cs-nova-models-brands',
|
||||
value: fn () => Brand::where('is_visible', true)
|
||||
->pluck('name', 'id')
|
||||
->prepend(sprintf('------- %s -------', __('No')), '')
|
||||
);
|
||||
return Brand::where('is_visible', true)
|
||||
->pluck('name', 'id')
|
||||
->prepend(sprintf('------- %s -------', __('No')), '');
|
||||
}
|
||||
|
||||
public function filterBy($resource)
|
||||
|
||||
Reference in New Issue
Block a user