salix/modules/invoiceIn/front/routes.json

85 lines
2.3 KiB
JSON

{
"module": "invoiceIn",
"name": "Invoices in",
"icon": "icon-invoiceIn",
"validations" : true,
"dependencies": ["worker", "supplier"],
"menus": {
"main": [
{"state": "invoiceIn.index", "icon": "icon-invoiceIn"}
],
"card": [
{
"state": "invoiceIn.card.basicData",
"icon": "settings"
},
{
"state": "invoiceIn.card.tax",
"icon": "icon-lines"
},
{
"state": "invoiceIn.card.log",
"icon": "history"
}
]
},
"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"
},
"acl": ["administrative"]
},
{
"url": "/basic-data",
"state": "invoiceIn.card.basicData",
"component": "vn-invoice-in-basic-data",
"description": "Basic data",
"params": {
"invoice-in": "$ctrl.invoiceIn"
},
"acl": ["administrative"]
},
{
"url": "/tax",
"state": "invoiceIn.card.tax",
"component": "vn-invoice-in-tax",
"description": "Tax",
"params": {
"invoice-in": "$ctrl.invoiceIn"
},
"acl": ["administrative"]
},
{
"url": "/log",
"state": "invoiceIn.card.log",
"component": "vn-invoice-in-log",
"description": "Log",
"acl": ["administrative"]
}
]
}