Add auto-add option for pick lists and sync new products

This commit is contained in:
beatz174-bit committed 2025-11-23 16:01:10 +10:00
1 parent c29c779fd8
commit 3fa9e6df5f
8 files changed
+189 -13

No files matched your search

+7 -1
View File
@@ -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 }],
}));