2017-12-19 10:24:24 +00:00
|
|
|
{
|
|
|
|
"module": "item",
|
|
|
|
"name": "Items",
|
2018-03-12 11:31:50 +00:00
|
|
|
"icon": "inbox",
|
2018-01-09 13:54:18 +00:00
|
|
|
"validations" : true,
|
2017-12-19 10:24:24 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/item",
|
|
|
|
"state": "item",
|
|
|
|
"abstract": true,
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Items",
|
2017-12-19 10:24:24 +00:00
|
|
|
"component": "ui-view"
|
2018-07-25 13:14:03 +00:00
|
|
|
},
|
|
|
|
{
|
2018-05-25 08:03:45 +00:00
|
|
|
"url": "/index?q",
|
2017-12-19 10:24:24 +00:00
|
|
|
"state": "item.index",
|
2018-07-25 13:14:03 +00:00
|
|
|
"component": "vn-item-index",
|
|
|
|
"description": "List"
|
|
|
|
},
|
|
|
|
{
|
2017-12-19 10:24:24 +00:00
|
|
|
"url": "/create",
|
|
|
|
"state": "item.create",
|
2018-07-25 13:14:03 +00:00
|
|
|
"component": "vn-item-create",
|
|
|
|
"description": "New item"
|
|
|
|
},
|
|
|
|
{
|
2017-12-20 13:36:12 +00:00
|
|
|
"url": "/:id",
|
|
|
|
"state": "item.card",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-item-card"
|
2018-07-25 13:14:03 +00:00
|
|
|
},
|
|
|
|
{
|
2017-12-20 13:36:12 +00:00
|
|
|
"url" : "/data",
|
|
|
|
"state": "item.card.data",
|
|
|
|
"component": "vn-item-data",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Basic data",
|
2017-12-21 13:09:55 +00:00
|
|
|
"params": {
|
|
|
|
"item": "$ctrl.item"
|
|
|
|
},
|
2017-12-20 13:36:12 +00:00
|
|
|
"menu": {
|
2018-03-13 13:07:42 +00:00
|
|
|
"icon": "settings"
|
2018-02-21 08:28:17 +00:00
|
|
|
},
|
2018-02-21 08:43:13 +00:00
|
|
|
"acl": ["buyer"]
|
2018-07-25 13:14:03 +00:00
|
|
|
},
|
|
|
|
{
|
2018-01-17 13:28:06 +00:00
|
|
|
"url" : "/tags",
|
|
|
|
"state": "item.card.tags",
|
|
|
|
"component": "vn-item-tags",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Tags",
|
2018-01-17 13:28:06 +00:00
|
|
|
"params": {
|
2018-03-02 09:51:01 +00:00
|
|
|
"item-tags": "$ctrl.itemTags"
|
2018-01-17 13:28:06 +00:00
|
|
|
},
|
|
|
|
"menu": {
|
2018-03-13 13:07:42 +00:00
|
|
|
"icon": "icon-tags"
|
2018-02-21 08:43:13 +00:00
|
|
|
},
|
|
|
|
"acl": ["buyer"]
|
2018-07-25 13:14:03 +00:00
|
|
|
},
|
|
|
|
{
|
2018-02-23 12:04:44 +00:00
|
|
|
"url" : "/tax",
|
|
|
|
"state": "item.card.tax",
|
|
|
|
"component": "vn-item-tax",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Tax",
|
2018-02-23 12:04:44 +00:00
|
|
|
"menu": {
|
2018-03-14 10:15:14 +00:00
|
|
|
"icon": "icon-tax"
|
2018-04-11 12:29:02 +00:00
|
|
|
},
|
2018-05-16 11:28:54 +00:00
|
|
|
"acl": ["administrative","buyer"]
|
2018-07-25 13:14:03 +00:00
|
|
|
},
|
|
|
|
{
|
2018-01-18 07:38:04 +00:00
|
|
|
"url" : "/history",
|
|
|
|
"state": "item.card.history",
|
|
|
|
"component": "vn-item-history",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "History",
|
2018-01-17 13:28:06 +00:00
|
|
|
"params": {
|
|
|
|
"item": "$ctrl.item"
|
|
|
|
},
|
|
|
|
"menu": {
|
2018-03-13 13:07:42 +00:00
|
|
|
"icon": "history"
|
2018-01-17 13:28:06 +00:00
|
|
|
}
|
2018-07-25 13:14:03 +00:00
|
|
|
},
|
|
|
|
{
|
2018-01-17 13:28:06 +00:00
|
|
|
"url" : "/niche",
|
|
|
|
"state": "item.card.niche",
|
|
|
|
"component": "vn-item-niche",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Niches",
|
2018-01-17 13:28:06 +00:00
|
|
|
"params": {
|
|
|
|
"item": "$ctrl.item"
|
|
|
|
},
|
|
|
|
"menu": {
|
2018-03-14 10:15:14 +00:00
|
|
|
"icon": "place"
|
2018-02-21 08:43:13 +00:00
|
|
|
},
|
|
|
|
"acl": ["buyer","replenisher"]
|
2018-07-25 13:14:03 +00:00
|
|
|
},
|
|
|
|
{
|
2018-01-17 13:28:06 +00:00
|
|
|
"url" : "/botanical",
|
|
|
|
"state": "item.card.botanical",
|
|
|
|
"component": "vn-item-botanical",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Botanical",
|
2018-01-17 13:28:06 +00:00
|
|
|
"params": {
|
|
|
|
"item": "$ctrl.item"
|
|
|
|
},
|
|
|
|
"menu": {
|
2018-03-14 10:15:14 +00:00
|
|
|
"icon": "local_florist"
|
2018-02-21 08:43:13 +00:00
|
|
|
},
|
|
|
|
"acl": ["buyer"]
|
2018-07-25 13:14:03 +00:00
|
|
|
},
|
|
|
|
{
|
2018-01-17 13:28:06 +00:00
|
|
|
"url" : "/barcode",
|
2018-02-14 13:24:14 +00:00
|
|
|
"state": "item.card.itemBarcode",
|
2018-01-17 13:28:06 +00:00
|
|
|
"component": "vn-item-barcode",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Barcodes",
|
2017-12-21 13:09:55 +00:00
|
|
|
"params": {
|
|
|
|
"item": "$ctrl.item"
|
|
|
|
},
|
|
|
|
"menu": {
|
2018-03-13 13:07:42 +00:00
|
|
|
"icon": "icon-barcode"
|
2018-02-21 08:43:13 +00:00
|
|
|
},
|
|
|
|
"acl": ["buyer","replenisher"]
|
2018-07-25 13:14:03 +00:00
|
|
|
},
|
|
|
|
{
|
2018-02-20 10:10:54 +00:00
|
|
|
"url" : "/summary",
|
|
|
|
"state": "item.card.summary",
|
|
|
|
"component": "vn-item-summary",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Summary",
|
2018-02-20 10:10:54 +00:00
|
|
|
"params": {
|
|
|
|
"item": "$ctrl.item"
|
|
|
|
}
|
2018-09-25 07:28:55 +00:00
|
|
|
},
|
|
|
|
{
|
2018-10-05 12:03:59 +00:00
|
|
|
"url" : "/diary?warehouseFk&ticketFk",
|
2018-06-04 07:48:32 +00:00
|
|
|
"state": "item.card.diary",
|
|
|
|
"component": "vn-item-diary",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Diary",
|
2018-06-04 07:48:32 +00:00
|
|
|
"params": {
|
|
|
|
"item": "$ctrl.item"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"icon": "icon-transaction"
|
|
|
|
},
|
|
|
|
"acl": ["employee"]
|
2018-09-25 07:28:55 +00:00
|
|
|
},
|
|
|
|
{
|
2018-06-20 09:39:29 +00:00
|
|
|
"url" : "/last-entries",
|
|
|
|
"state": "item.card.last-entries",
|
|
|
|
"component": "vn-item-last-entries",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Last entries",
|
2018-06-20 09:39:29 +00:00
|
|
|
"params": {
|
|
|
|
"item": "$ctrl.item"
|
|
|
|
},
|
|
|
|
"menu": {
|
2018-07-19 10:31:53 +00:00
|
|
|
"icon": "icon-regentry"
|
2018-06-20 09:39:29 +00:00
|
|
|
},
|
|
|
|
"acl": ["employee"]
|
2017-12-19 10:24:24 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|