Add auto-add option for pick lists and sync new products
This commit is contained in:
1 parent
c29c779fd8
commit
3fa9e6df5f
8 files changed
+189
-13
No files matched your search
@@ -84,7 +84,13 @@ vi.mock('../hooks/dataHooks', () => ({
|
||||
updated_at: 0,
|
||||
},
|
||||
],
|
||||
usePickList: () => ({ id: 'list-1', area_id: 'area-1', created_at: 0 }),
|
||||
usePickList: () => ({
|
||||
id: 'list-1',
|
||||
area_id: 'area-1',
|
||||
created_at: 0,
|
||||
categories: [],
|
||||
auto_add_new_products: false,
|
||||
}),
|
||||
useAreas: () => [{ id: 'area-1', name: 'Front Counter', created_at: 0, updated_at: 0 }],
|
||||
}));
|
||||
|
||||
|
||||
Reference in new issue
Block a user