diff options
Diffstat (limited to 'src/services/products/index.ts')
-rw-r--r-- | src/services/products/index.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/services/products/index.ts b/src/services/products/index.ts index 2e9a714..73e6bbe 100644 --- a/src/services/products/index.ts +++ b/src/services/products/index.ts @@ -7,10 +7,13 @@ const service: ServiceParams<Product> = { name: 'Товары', nameSingular: 'Товар', tableFields: [ + { key: 'group', label: 'Категория' }, { key: 'name', label: 'Название' }, - { key: 'price', label: 'Цена' }, { key: 'quantity', label: 'На складе' }, ], + filters: [ + { key: 'group', label: 'Категория' }, + ], searchBy: ['name'], default: { name: '', |