2018-09-25 06:53:57 +00:00
|
|
|
{
|
|
|
|
"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",
|
2018-12-04 13:38:56 +00:00
|
|
|
"component": "vn-zone-card",
|
|
|
|
"abstract": true,
|
|
|
|
"description": "Detail"
|
2018-09-25 06:53:57 +00:00
|
|
|
},
|
|
|
|
{
|
2019-01-21 10:45:53 +00:00
|
|
|
"url": "/location?q",
|
2018-12-04 13:38:56 +00:00
|
|
|
"state": "zone.card.location",
|
|
|
|
"component": "vn-zone-location",
|
2019-01-21 10:45:53 +00:00
|
|
|
"description": "Locations",
|
2018-09-25 06:53:57 +00:00
|
|
|
"params": {
|
|
|
|
"zone": "$ctrl.zone"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2019-01-21 10:45:53 +00:00
|
|
|
"url": "/basic-data",
|
|
|
|
"state": "zone.card.basicData",
|
|
|
|
"component": "vn-zone-basic-data",
|
|
|
|
"description": "Basic data",
|
2018-09-25 06:53:57 +00:00
|
|
|
"params": {
|
|
|
|
"zone": "$ctrl.zone"
|
|
|
|
}
|
|
|
|
}
|
2018-11-12 10:31:58 +00:00
|
|
|
],
|
2019-01-21 10:45:53 +00:00
|
|
|
"menu": [
|
|
|
|
{"state": "zone.card.basicData", "icon": "settings"},
|
|
|
|
{"state": "zone.card.location", "icon": "my_location"}
|
|
|
|
]
|
2018-09-25 06:53:57 +00:00
|
|
|
}
|