2020-10-15 06:15:04 +00:00
|
|
|
{
|
|
|
|
"module": "supplier",
|
|
|
|
"name": "Suppliers",
|
|
|
|
"icon" : "icon-supplier",
|
2020-10-20 07:44:44 +00:00
|
|
|
"dependencies": ["client", "item"],
|
2020-10-15 06:15:04 +00:00
|
|
|
"validations" : true,
|
|
|
|
"menus": {
|
|
|
|
"main": [
|
|
|
|
{"state": "supplier.index", "icon": "icon-supplier"}
|
|
|
|
],
|
|
|
|
"card": [
|
2020-10-30 07:27:02 +00:00
|
|
|
{"state": "supplier.card.log", "icon": "history"}
|
2020-10-15 06:15:04 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/supplier",
|
|
|
|
"state": "supplier",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-supplier",
|
|
|
|
"description": "Suppliers"
|
|
|
|
}, {
|
|
|
|
"url": "/index?q",
|
|
|
|
"state": "supplier.index",
|
|
|
|
"component": "vn-supplier-index",
|
|
|
|
"description": "Suppliers"
|
2020-10-28 08:08:27 +00:00
|
|
|
}, {
|
2020-10-20 07:44:44 +00:00
|
|
|
"url": "/:id",
|
|
|
|
"state": "supplier.card",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-supplier-card"
|
|
|
|
}, {
|
|
|
|
"url": "/summary",
|
|
|
|
"state": "supplier.card.summary",
|
|
|
|
"component": "vn-supplier-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"supplier": "$ctrl.supplier"
|
|
|
|
}
|
2020-10-30 07:27:02 +00:00
|
|
|
}, {
|
|
|
|
"url" : "/log",
|
|
|
|
"state": "supplier.card.log",
|
|
|
|
"component": "vn-supplier-log",
|
|
|
|
"description": "Log"
|
2020-10-15 06:15:04 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|