salix/modules/invoiceOut/front/routes.json

43 lines
1.1 KiB
JSON

{
"module": "invoiceOut",
"name": "Invoices out",
"icon": "icon-invoices",
"validations" : true,
"dependencies": ["worker", "client", "ticket"],
"menus": {
"main": [
{"state": "invoiceOut.index", "icon": "icon-invoices"}
]
},
"routes": [
{
"url": "/invoice-out",
"state": "invoiceOut",
"abstract": true,
"component": "vn-invoice-out",
"description": "InvoiceOut",
"acl": ["employee"]
},
{
"url": "/index?q",
"state": "invoiceOut.index",
"component": "vn-invoice-out-index",
"description": "InvoiceOut"
},
{
"url": "/summary",
"state": "invoiceOut.card.summary",
"component": "vn-invoice-out-summary",
"description": "Summary",
"params": {
"invoice-out": "$ctrl.invoiceOut"
}
},
{
"url": "/:id",
"state": "invoiceOut.card",
"abstract": true,
"component": "vn-invoice-out-card"
}
]
}