47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"module": "supplier",
|
|
"name": "Suppliers",
|
|
"icon" : "icon-supplier",
|
|
"dependencies": ["client", "item"],
|
|
"validations" : true,
|
|
"menus": {
|
|
"main": [
|
|
{"state": "supplier.index", "icon": "icon-supplier"}
|
|
],
|
|
"card": [
|
|
{"state": "supplier.card.log", "icon": "history"}
|
|
]
|
|
},
|
|
"routes": [
|
|
{
|
|
"url": "/supplier",
|
|
"state": "supplier",
|
|
"abstract": true,
|
|
"component": "vn-supplier",
|
|
"description": "Suppliers"
|
|
}, {
|
|
"url": "/index?q",
|
|
"state": "supplier.index",
|
|
"component": "vn-supplier-index",
|
|
"description": "Suppliers"
|
|
}, {
|
|
"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"
|
|
}
|
|
}, {
|
|
"url" : "/log",
|
|
"state": "supplier.card.log",
|
|
"component": "vn-supplier-log",
|
|
"description": "Log"
|
|
}
|
|
]
|
|
} |