2021-02-10 14:03:11 +00:00
|
|
|
{
|
|
|
|
"module": "invoiceIn",
|
|
|
|
"name": "Invoices in",
|
2021-03-08 06:53:00 +00:00
|
|
|
"icon": "icon-invoiceIn",
|
2021-02-10 14:03:11 +00:00
|
|
|
"validations" : true,
|
|
|
|
"dependencies": ["worker", "supplier"],
|
|
|
|
"menus": {
|
|
|
|
"main": [
|
2021-03-08 06:53:00 +00:00
|
|
|
{"state": "invoiceIn.index", "icon": "icon-invoiceIn"}
|
2021-04-15 08:47:39 +00:00
|
|
|
],
|
|
|
|
"card": [
|
|
|
|
{
|
|
|
|
"state": "invoiceIn.card.basicData",
|
|
|
|
"icon": "settings"
|
2021-06-03 14:14:52 +00:00
|
|
|
},
|
2021-06-09 08:20:18 +00:00
|
|
|
{
|
|
|
|
"state": "invoiceIn.card.tax",
|
|
|
|
"icon": "contact_support"
|
|
|
|
},
|
2021-06-03 14:14:52 +00:00
|
|
|
{
|
|
|
|
"state": "invoiceIn.card.log",
|
|
|
|
"icon": "history"
|
2021-04-15 08:47:39 +00:00
|
|
|
}
|
2021-02-10 14:03:11 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"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": {
|
2021-04-15 08:47:39 +00:00
|
|
|
"invoice-in": "$ctrl.invoiceIn"
|
2021-02-10 14:03:11 +00:00
|
|
|
},
|
2021-04-15 08:47:39 +00:00
|
|
|
"acl": ["administrative"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/basic-data",
|
|
|
|
"state": "invoiceIn.card.basicData",
|
|
|
|
"component": "vn-invoice-in-basic-data",
|
|
|
|
"description": "Basic data",
|
|
|
|
"params": {
|
|
|
|
"invoice-in": "$ctrl.invoiceIn"
|
2021-06-03 14:14:52 +00:00
|
|
|
},
|
|
|
|
"acl": ["administrative"]
|
|
|
|
},
|
2021-06-09 08:20:18 +00:00
|
|
|
{
|
|
|
|
"url": "/tax",
|
|
|
|
"state": "invoiceIn.card.tax",
|
|
|
|
"component": "vn-invoice-in-tax",
|
|
|
|
"description": "Tax",
|
|
|
|
"params": {
|
|
|
|
"invoice-in": "$ctrl.invoiceIn"
|
|
|
|
},
|
|
|
|
"acl": ["administrative"]
|
|
|
|
},
|
2021-06-03 14:14:52 +00:00
|
|
|
{
|
|
|
|
"url": "/log",
|
|
|
|
"state": "invoiceIn.card.log",
|
|
|
|
"component": "vn-invoice-in-log",
|
|
|
|
"description": "Log",
|
|
|
|
"acl": ["administrative"]
|
2021-02-10 14:03:11 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|