Add customergroup sort with bulk order and locked implicit names.
Reorder via customergroup.order (exact id list → sort 0…n-1); block renaming POS/Lieferanten while still allowing create/update of other groups by name.
This commit is contained in:
@@ -42,6 +42,7 @@ import brandDelete from './store/brand/delete.js';
|
||||
import customergroupList from './store/customergroup/list.js';
|
||||
import customergroupCreate from './store/customergroup/create.js';
|
||||
import customergroupUpdate from './store/customergroup/update.js';
|
||||
import customergroupOrder from './store/customergroup/order.js';
|
||||
import customergroupDelete from './store/customergroup/delete.js';
|
||||
import entityList from './store/entity/list.js';
|
||||
import entityGetById from './store/entity/getById.js';
|
||||
@@ -181,6 +182,7 @@ export default class LibDashStore {
|
||||
list: customergroupList(pool),
|
||||
create: customergroupCreate(pool),
|
||||
update: customergroupUpdate(pool),
|
||||
order: customergroupOrder(pool),
|
||||
delete: customergroupDelete(pool),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user