salix/client/order/routes.json

67 lines
1.7 KiB
JSON

{
"module": "order",
"name": "Orders",
"icon": "shopping_cart",
"validations": true,
"routes": [
{
"url": "/order",
"state": "order",
"abstract": true,
"component": "ui-view",
"description": "Orders"
},
{
"url": "/index?q",
"state": "order.index",
"component": "vn-order-index",
"description": "List",
"acl": ["developer"]
},
{
"url": "/:id",
"state": "order.card",
"abstract": true,
"component": "vn-order-card"
},
{
"url": "/summary",
"state": "order.card.summary",
"component": "vn-order-summary",
"description": "Summary",
"params": {
"order": "$ctrl.order"
}
},
{
"url": "/catalogue",
"state": "order.card.catalogue",
"component": "vn-order-catalogue",
"description": "Catalogue",
"params": {
"order": "$ctrl.order"
},
"menu": {
"icon": "shopping_cart"
}
},
{
"url": "/volume",
"state": "order.card.volume",
"component": "vn-order-volume",
"description": "Volume",
"params": {
"order": "$ctrl.order"
},
"menu": {
"icon": "icon-volume"
}
},
{
"url": "/create",
"state": "order.create",
"component": "vn-order-create",
"description": "New order"
}
]
}