u
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user