2019-03-25 15:25:59 +00:00
|
|
|
{
|
|
|
|
"module": "invoiceOut",
|
|
|
|
"name": "Invoices out",
|
2019-04-10 09:49:39 +00:00
|
|
|
"icon": "icon-invoices",
|
2019-03-25 15:25:59 +00:00
|
|
|
"validations" : true,
|
2019-04-02 09:04:53 +00:00
|
|
|
"dependencies": ["worker", "client", "ticket"],
|
2019-11-10 10:08:44 +00:00
|
|
|
"menus": {
|
|
|
|
"main": [
|
|
|
|
{"state": "invoiceOut.index", "icon": "icon-invoices"}
|
|
|
|
]
|
|
|
|
},
|
2019-03-25 15:25:59 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
2019-03-28 10:55:23 +00:00
|
|
|
"url": "/invoice-out",
|
2019-03-25 15:25:59 +00:00
|
|
|
"state": "invoiceOut",
|
|
|
|
"abstract": true,
|
2019-11-10 10:08:44 +00:00
|
|
|
"component": "vn-invoice-out",
|
2019-03-25 15:25:59 +00:00
|
|
|
"description": "InvoiceOut",
|
|
|
|
"acl": ["employee"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/index?q",
|
|
|
|
"state": "invoiceOut.index",
|
|
|
|
"component": "vn-invoice-out-index",
|
2019-03-28 10:55:23 +00:00
|
|
|
"description": "Invoice out"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/summary",
|
|
|
|
"state": "invoiceOut.card.summary",
|
|
|
|
"component": "vn-invoice-out-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"invoice-out": "$ctrl.invoiceOut"
|
|
|
|
}
|
2019-03-26 13:27:08 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/:id",
|
|
|
|
"state": "invoiceOut.card",
|
2019-03-28 10:55:23 +00:00
|
|
|
"abstract": true,
|
2019-03-26 13:27:08 +00:00
|
|
|
"component": "vn-invoice-out-card"
|
2019-03-25 15:25:59 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|