71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
{
|
|
"module": "agency",
|
|
"name": "Agencies",
|
|
"icon" : "local_shipping",
|
|
"validations" : true,
|
|
"routes": [
|
|
{
|
|
"url": "/zone",
|
|
"state": "zone",
|
|
"abstract": true,
|
|
"component": "ui-view",
|
|
"description": "Zones"
|
|
},
|
|
{
|
|
"url": "/index?q",
|
|
"state": "zone.index",
|
|
"component": "vn-zone-index",
|
|
"description": "List",
|
|
"acl": ["developer"]
|
|
},
|
|
{
|
|
"url": "/create",
|
|
"state": "zone.create",
|
|
"component": "vn-zone-create",
|
|
"description": "New zone"
|
|
},
|
|
{
|
|
"url": "/:id",
|
|
"state": "zone.card",
|
|
"abstract": true,
|
|
"component": "vn-zone-card"
|
|
},
|
|
{
|
|
"url" : "/summary",
|
|
"state": "zone.card.summary",
|
|
"component": "vn-zone-summary",
|
|
"description": "Summary",
|
|
"params": {
|
|
"zone": "$ctrl.zone"
|
|
}
|
|
},
|
|
{
|
|
"url": "/basic-data",
|
|
"state": "zone.card.basicData",
|
|
"component": "vn-zone-basic-data",
|
|
"description": "Basic data",
|
|
"params": {
|
|
"zone": "$ctrl.zone"
|
|
},
|
|
"menu": {
|
|
"icon": "settings"
|
|
}
|
|
},
|
|
{
|
|
"url": "/delivery-day",
|
|
"state": "zone.card.deliveryDay",
|
|
"component": "vn-zone-delivery-day",
|
|
"description": "Delivery days",
|
|
"params": {
|
|
"zone": "$ctrl.zone"
|
|
},
|
|
"menu": {
|
|
"icon": "today"
|
|
}
|
|
}
|
|
],
|
|
"menu": [
|
|
{"state": "zone.card.basicData", "icon": "settings"},
|
|
{"state": "zone.card.deliveryDay", "icon": "today"}
|
|
]
|
|
} |