52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"module": "invoiceOut",
|
|
"name": "Invoices out",
|
|
"icon": "icon-invoice-out",
|
|
"validations" : true,
|
|
"dependencies": ["worker", "client", "ticket"],
|
|
"menus": {
|
|
"main": [
|
|
{"state": "invoiceOut.index", "icon": "icon-invoice-out"},
|
|
{"state": "invoiceOut.global-invoicing", "icon": "contact_support"}
|
|
|
|
]
|
|
},
|
|
"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": "/global-invoicing?q",
|
|
"state": "invoiceOut.global-invoicing",
|
|
"component": "vn-invoice-out-global-invoicing",
|
|
"description": "Global invoicing"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|