salix/modules/invoiceIn/front/routes.json

44 lines
1.2 KiB
JSON

{
"module": "invoiceIn",
"name": "Invoices in",
"icon": "contact_support",
"validations" : true,
"dependencies": ["worker", "supplier"],
"menus": {
"main": [
{"state": "invoiceIn.index", "icon": "contact_support"}
]
},
"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": ["developer"]
}
]
}