144 lines
3.9 KiB
JSON
144 lines
3.9 KiB
JSON
{
|
|
"module": "invoiceIn",
|
|
"name": "Invoices in",
|
|
"icon": "icon-invoice-in",
|
|
"validations": true,
|
|
"dependencies": [
|
|
"worker",
|
|
"supplier"
|
|
],
|
|
"menus": {
|
|
"main": [
|
|
{ "state": "invoiceIn.index", "icon": "icon-invoice-in"},
|
|
{ "state": "invoiceIn.unbilled-clients", "icon": "person"}
|
|
],
|
|
"card": [
|
|
{
|
|
"state": "invoiceIn.card.basicData",
|
|
"icon": "settings"
|
|
},
|
|
{
|
|
"state": "invoiceIn.card.tax",
|
|
"icon": "icon-tax"
|
|
},
|
|
{
|
|
"state": "invoiceIn.card.dueDay",
|
|
"icon": "icon-calendar"
|
|
},
|
|
{
|
|
"state": "invoiceIn.card.intrastat",
|
|
"icon": "icon-lines"
|
|
},
|
|
{
|
|
"state": "invoiceIn.card.log",
|
|
"icon": "history"
|
|
}
|
|
]
|
|
},
|
|
"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": "/unbilled-clients",
|
|
"state": "invoiceIn.unbilled-clients",
|
|
"component": "vn-unbilled-clients",
|
|
"description": "Unbilled clients",
|
|
"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": {
|
|
"invoice-in": "$ctrl.invoiceIn"
|
|
},
|
|
"acl": [
|
|
"administrative"
|
|
]
|
|
},
|
|
{
|
|
"url": "/basic-data",
|
|
"state": "invoiceIn.card.basicData",
|
|
"component": "vn-invoice-in-basic-data",
|
|
"description": "Basic data",
|
|
"params": {
|
|
"invoice-in": "$ctrl.invoiceIn"
|
|
},
|
|
"acl": [
|
|
"administrative"
|
|
]
|
|
},
|
|
{
|
|
"url": "/create?supplierFk",
|
|
"state": "invoiceIn.create",
|
|
"component": "vn-invoice-in-create",
|
|
"description": "New InvoiceIn",
|
|
"acl": [
|
|
"administrative"
|
|
]
|
|
},
|
|
{
|
|
"url": "/tax",
|
|
"state": "invoiceIn.card.tax",
|
|
"component": "vn-invoice-in-tax",
|
|
"description": "Tax",
|
|
"params": {
|
|
"invoice-in": "$ctrl.invoiceIn"
|
|
},
|
|
"acl": ["administrative"]
|
|
},
|
|
{
|
|
"url": "/dueDay",
|
|
"state": "invoiceIn.card.dueDay",
|
|
"component": "vn-invoice-in-due-day",
|
|
"description": "Due day",
|
|
"params": {
|
|
"invoice-in": "$ctrl.invoiceIn"
|
|
},
|
|
"acl": ["administrative"]
|
|
},
|
|
{
|
|
"url": "/intrastat",
|
|
"state": "invoiceIn.card.intrastat",
|
|
"component": "vn-invoice-in-intrastat",
|
|
"description": "Intrastat",
|
|
"params": {
|
|
"invoice-in": "$ctrl.invoiceIn"
|
|
},
|
|
"acl": ["administrative"]
|
|
},
|
|
{
|
|
"url": "/log",
|
|
"state": "invoiceIn.card.log",
|
|
"component": "vn-invoice-in-log",
|
|
"description": "Log",
|
|
"acl": [
|
|
"administrative"
|
|
]
|
|
}
|
|
]
|
|
}
|