diff --git a/client/locator/src/index/index.html b/client/locator/src/index/index.html index 4194c9db8..8a27afa7d 100644 --- a/client/locator/src/index/index.html +++ b/client/locator/src/index/index.html @@ -21,7 +21,7 @@ show-field="name" value-field="id" field="$ctrl.filter.warehouseFk" - url="/production/api/Warehouses/production" + url="/production/api/Warehouses" on-change = "$ctrl.onChangeWareHouse(item)" label="Store"> diff --git a/client/production/src/index/index.html b/client/production/src/index/index.html index be21fd321..4e995dc54 100644 --- a/client/production/src/index/index.html +++ b/client/production/src/index/index.html @@ -21,7 +21,7 @@ show-field="name" value-field="id" field="$ctrl.filter.warehouseFk" - url="/production/api/Warehouses/production" + url="/production/api/Warehouses" on-change = "$ctrl.onChangeWareHouse(item)" label="Store"> diff --git a/services/item/common/models/warehouse.json b/services/item/common/models/warehouse.json deleted file mode 100644 index d52991ed6..000000000 --- a/services/item/common/models/warehouse.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "Warehouse", - "base": "VnModel", - "options": { - "mysql": { - "table": "warehouse", - "database": "vn" - } - }, - "properties": { - "id": { - "type": "Number", - "id": true, - "description": "Identifier" - }, - "name": { - "type": "String", - "required": true - } - }, - "acls": [ - { - "accessType": "READ", - "principalType": "ROLE", - "principalId": "$everyone", - "permission": "ALLOW" - } - ] - }