78 lines
2.0 KiB
JSON
78 lines
2.0 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"
|
|
},
|
|
{
|
|
"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": "/catalog?category&type",
|
|
"state": "order.card.catalog",
|
|
"component": "vn-order-catalog",
|
|
"description": "Catalog",
|
|
"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": "/line",
|
|
"state": "order.card.line",
|
|
"component": "vn-order-line",
|
|
"description": "Lines",
|
|
"params": {
|
|
"order": "$ctrl.order"
|
|
},
|
|
"menu": {
|
|
"icon": "icon-lines"
|
|
}
|
|
},
|
|
{
|
|
"url": "/create",
|
|
"state": "order.create",
|
|
"component": "vn-order-create",
|
|
"description": "New order"
|
|
}
|
|
]
|
|
} |