This commit is contained in:
seb
2026-10-21 06:13:31 +02:00
parent ee0eb2820e
commit ada4d93f65
9 changed files with 286 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ import { posAuthMiddleware } from './middleware/posAuth.js';
import { handleClient } from './routes/client.js';
import { handleInit } from './routes/init.js';
import { handleCategory } from './routes/category.js';
import { handleCustomerGroup } from './routes/customergroup.js';
import { handleCustomer } from './routes/customer.js';
import { handleProduct } from './routes/product.js';
import { handlePimage } from './routes/pimage.js';
@@ -16,6 +18,8 @@ router.get('/init', posAuthMiddleware, handleInit);
// POS master data synchronization
router.get('/category', posAuthMiddleware, handleCategory);
router.get('/customergroup', posAuthMiddleware, handleCustomerGroup);
router.get('/customer', posAuthMiddleware, handleCustomer);
router.get('/product', posAuthMiddleware, handleProduct);
// POS image delivery