salix/modules/invoiceIn/front/routes.json

71 lines
1.9 KiB
JSON
Raw Normal View History

2021-02-10 14:03:11 +00:00
{
"module": "invoiceIn",
"name": "Invoices in",
2021-03-08 06:53:00 +00:00
"icon": "icon-invoiceIn",
2021-02-10 14:03:11 +00:00
"validations" : true,
"dependencies": ["worker", "supplier"],
"menus": {
"main": [
2021-03-08 06:53:00 +00:00
{"state": "invoiceIn.index", "icon": "icon-invoiceIn"}
],
"card": [
{
"state": "invoiceIn.card.basicData",
"icon": "settings"
2021-06-03 14:14:52 +00:00
},
{
"state": "invoiceIn.card.log",
"icon": "history"
}
2021-02-10 14:03:11 +00:00
]
},
"routes": [
{
"url": "/invoice-in",
"state": "invoiceIn",
"abstract": true,
"component": "vn-invoice-in",
"description": "InvoiceIn"
},
{
"url": "/index?q",
"state": "invoiceIn.index",
"component": "vn-invoice-in-index",
"description": "InvoiceIn",
"acl": ["administrative"]
},
{
"url": "/:id",
"state": "invoiceIn.card",
"abstract": true,
"component": "vn-invoice-in-card"
},
{
"url": "/summary",
"state": "invoiceIn.card.summary",
"component": "vn-invoice-in-summary",
"description": "Summary",
"params": {
"invoice-in": "$ctrl.invoiceIn"
2021-02-10 14:03:11 +00:00
},
"acl": ["administrative"]
},
{
"url": "/basic-data",
"state": "invoiceIn.card.basicData",
"component": "vn-invoice-in-basic-data",
"description": "Basic data",
"params": {
"invoice-in": "$ctrl.invoiceIn"
2021-06-03 14:14:52 +00:00
},
"acl": ["administrative"]
},
{
"url": "/log",
"state": "invoiceIn.card.log",
"component": "vn-invoice-in-log",
"description": "Log",
"acl": ["administrative"]
2021-02-10 14:03:11 +00:00
}
]
}