salix/modules/invoiceIn/front/routes.json

94 lines
2.4 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.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": "/create?supplierFk",
"state": "invoiceIn.create",
"component": "vn-invoice-in-create",
"description": "New InvoiceIn",
"acl": [
"administrative"
]
},
{
"url": "/log",
"state": "invoiceIn.card.log",
"component": "vn-invoice-in-log",
"description": "Log",
"acl": [
"administrative"
]
}
]
}