removed duplicated model

This commit is contained in:
gerard 2018-06-04 12:00:47 +02:00
parent 689a04e21e
commit 5e28d0485c
3 changed files with 2 additions and 31 deletions

View File

@ -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">
</vn-autocomplete>

View File

@ -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">
</vn-autocomplete>

View File

@ -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"
}
]
}