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