salix/modules/invoiceOut/front/routes.json

38 lines
1.0 KiB
JSON

{
"module": "invoiceOut",
"name": "Invoices out",
"icon": "icon-invoices1",
"validations" : true,
"dependencies": ["client", "ticket"],
"routes": [
{
"url": "/invoice-out",
"state": "invoiceOut",
"abstract": true,
"component": "ui-view",
"description": "InvoiceOut",
"acl": ["employee"]
},
{
"url": "/index?q",
"state": "invoiceOut.index",
"component": "vn-invoice-out-index",
"description": "Invoice out"
},
{
"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"
}
]
}