salix/client/order/routes.json

67 lines
1.7 KiB
JSON
Raw Normal View History

{
"module": "order",
"name": "Orders",
2018-07-24 07:35:23 +00:00
"icon": "shopping_cart",
"validations": true,
"routes": [
{
"url": "/order",
"state": "order",
"abstract": true,
"component": "ui-view",
2018-08-07 11:41:57 +00:00
"description": "Orders"
},
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",
2018-08-07 11:41:57 +00:00
"description": "List",
"acl": ["developer"]
2018-07-18 12:38:43 +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"
},
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"
}
},
2018-07-24 07:35:23 +00:00
{
"url": "/catalogue",
"state": "order.card.catalogue",
"component": "vn-order-catalogue",
2018-07-25 13:14:03 +00:00
"description": "Catalogue",
2018-07-24 07:35:23 +00:00
"params": {
"order": "$ctrl.order"
},
"menu": {
"icon": "shopping_cart"
}
},
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"
},
"menu": {
"icon": "icon-volume"
}
},
{
"url": "/create",
"state": "order.create",
2018-07-25 13:14:03 +00:00
"component": "vn-order-create",
"description": "New order"
}
]
}