52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"module": "agency",
|
|
"name": "Agencies",
|
|
"icon" : "local_shipping",
|
|
"validations" : true,
|
|
"menu": [
|
|
{"state": "zone.card.basicData", "icon": "settings"},
|
|
{"state": "zone.card.location", "icon": "my_location"}
|
|
],
|
|
"routes": [
|
|
{
|
|
"url": "/zone",
|
|
"state": "zone",
|
|
"abstract": true,
|
|
"component": "ui-view",
|
|
"description": "Zones"
|
|
}, {
|
|
"url": "/index?q",
|
|
"state": "zone.index",
|
|
"component": "vn-zone-index",
|
|
"description": "Zones",
|
|
"acl": ["developer"]
|
|
}, {
|
|
"url": "/create",
|
|
"state": "zone.create",
|
|
"component": "vn-zone-create",
|
|
"description": "New zone"
|
|
}, {
|
|
"url": "/:id",
|
|
"state": "zone.card",
|
|
"component": "vn-zone-card",
|
|
"abstract": true,
|
|
"description": "Detail"
|
|
}, {
|
|
"url": "/location?q",
|
|
"state": "zone.card.location",
|
|
"component": "vn-zone-location",
|
|
"description": "Locations",
|
|
"params": {
|
|
"zone": "$ctrl.zone"
|
|
}
|
|
}, {
|
|
"url": "/basic-data",
|
|
"state": "zone.card.basicData",
|
|
"component": "vn-zone-basic-data",
|
|
"description": "Basic data",
|
|
"params": {
|
|
"zone": "$ctrl.zone"
|
|
}
|
|
}
|
|
]
|
|
} |