{ "module": "agency", "name": "Agencies", "icon" : "icon-delivery", "validations" : true, "dependencies": ["worker"], "menu": [ {"state": "zone.card.basicData", "icon": "settings"}, {"state": "zone.card.location", "icon": "my_location"}, {"state": "zone.card.warehouses", "icon": "home"}, {"state": "zone.card.events", "icon": "today"}, {"state": "zone.card.exclusions", "icon": "block"} ], "routes": [ { "url": "/zone", "state": "zone", "abstract": true, "component": "vn-zone", "description": "Zones" }, { "url": "/index?q", "state": "zone.index", "component": "vn-zone-index", "description": "Zones" }, { "url": "/delivery-days", "state": "zone.deliveryDays", "component": "vn-zone-delivery-days", "description": "Delivery days" }, { "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": "/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" } }, { "url": "/warehouses", "state": "zone.card.warehouses", "component": "vn-zone-warehouses", "description": "Warehouses" }, { "url": "/events", "state": "zone.card.events", "component": "vn-zone-events", "description": "Calendar" }, { "url": "/exclusions", "state": "zone.card.exclusions", "component": "vn-zone-exclusions", "description": "Exclusions" }, { "url": "/location?q", "state": "zone.card.location", "component": "vn-zone-location", "description": "Locations", "params": { "zone": "$ctrl.zone" } } ] }