2018-05-07 07:08:46 +00:00
|
|
|
{
|
|
|
|
"module": "order",
|
|
|
|
"name": "Orders",
|
2019-02-21 09:17:13 +00:00
|
|
|
"icon": "icon-basket",
|
2018-05-07 07:08:46 +00:00
|
|
|
"validations": true,
|
2019-02-15 11:39:21 +00:00
|
|
|
"dependencies": ["worker", "item", "ticket"],
|
2019-11-10 10:08:44 +00:00
|
|
|
"menus": {
|
|
|
|
"main": [
|
|
|
|
{"state": "order.index", "icon": "icon-basket"}
|
|
|
|
],
|
|
|
|
"card": [
|
|
|
|
{"state": "order.card.basicData", "icon": "settings"},
|
|
|
|
{"state": "order.card.catalog", "icon": "icon-basket"},
|
|
|
|
{"state": "order.card.volume", "icon": "icon-volume"},
|
|
|
|
{"state": "order.card.line", "icon": "icon-lines"}
|
|
|
|
]
|
|
|
|
},
|
2018-05-07 07:08:46 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/order",
|
|
|
|
"state": "order",
|
|
|
|
"abstract": true,
|
2019-11-10 10:08:44 +00:00
|
|
|
"component": "vn-order",
|
2018-08-07 11:41:57 +00:00
|
|
|
"description": "Orders"
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-07-18 12:38:43 +00:00
|
|
|
"url": "/index?q",
|
|
|
|
"state": "order.index",
|
2018-07-25 13:14:03 +00:00
|
|
|
"component": "vn-order-index",
|
2019-01-27 23:26:01 +00:00
|
|
|
"description": "Orders"
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-07-18 12:21:58 +00:00
|
|
|
"url": "/:id",
|
|
|
|
"state": "order.card",
|
2018-07-18 12:38:43 +00:00
|
|
|
"abstract": true,
|
2018-07-18 12:21:58 +00:00
|
|
|
"component": "vn-order-card"
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-07-18 12:38:43 +00:00
|
|
|
"url": "/summary",
|
|
|
|
"state": "order.card.summary",
|
|
|
|
"component": "vn-order-summary",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Summary",
|
2018-07-18 12:38:43 +00:00
|
|
|
"params": {
|
|
|
|
"order": "$ctrl.order"
|
|
|
|
}
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-09-14 07:10:30 +00:00
|
|
|
"url": "/catalog?category&type",
|
2018-08-21 11:38:16 +00:00
|
|
|
"state": "order.card.catalog",
|
|
|
|
"component": "vn-order-catalog",
|
|
|
|
"description": "Catalog",
|
2018-07-24 07:35:23 +00:00
|
|
|
"params": {
|
|
|
|
"order": "$ctrl.order"
|
|
|
|
}
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-07-24 10:55:10 +00:00
|
|
|
"url": "/volume",
|
|
|
|
"state": "order.card.volume",
|
|
|
|
"component": "vn-order-volume",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Volume",
|
2018-07-24 10:55:10 +00:00
|
|
|
"params": {
|
|
|
|
"order": "$ctrl.order"
|
|
|
|
}
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-08-07 14:08:42 +00:00
|
|
|
"url": "/line",
|
|
|
|
"state": "order.card.line",
|
|
|
|
"component": "vn-order-line",
|
|
|
|
"description": "Lines",
|
|
|
|
"params": {
|
|
|
|
"order": "$ctrl.order"
|
|
|
|
}
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-11-23 06:59:51 +00:00
|
|
|
"url": "/create?clientFk",
|
2018-05-07 07:08:46 +00:00
|
|
|
"state": "order.create",
|
2018-07-25 13:14:03 +00:00
|
|
|
"component": "vn-order-create",
|
|
|
|
"description": "New order"
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-11-30 10:45:17 +00:00
|
|
|
"url": "/basic-data",
|
|
|
|
"state": "order.card.basicData",
|
|
|
|
"component": "vn-order-basic-data",
|
|
|
|
"description": "Basic data",
|
|
|
|
"params": {
|
|
|
|
"order": "$ctrl.order"
|
|
|
|
}
|
2018-05-07 07:08:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|