2018-09-25 06:53:57 +00:00
|
|
|
{
|
|
|
|
"module": "agency",
|
|
|
|
"name": "Agencies",
|
2019-02-21 09:17:13 +00:00
|
|
|
"icon" : "icon-delivery",
|
2018-09-25 06:53:57 +00:00
|
|
|
"validations" : true,
|
2019-04-02 09:04:53 +00:00
|
|
|
"dependencies": ["worker"],
|
2019-01-28 15:24:45 +00:00
|
|
|
"menu": [
|
|
|
|
{"state": "zone.card.basicData", "icon": "settings"},
|
2019-06-26 11:35:38 +00:00
|
|
|
{"state": "zone.card.location", "icon": "my_location"},
|
2019-09-25 18:06:42 +00:00
|
|
|
{"state": "zone.card.warehouses", "icon": "home"},
|
|
|
|
{"state": "zone.card.events", "icon": "today"},
|
|
|
|
{"state": "zone.card.exclusions", "icon": "block"}
|
2019-01-28 15:24:45 +00:00
|
|
|
],
|
2018-09-25 06:53:57 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/zone",
|
|
|
|
"state": "zone",
|
|
|
|
"abstract": true,
|
2019-09-25 18:06:42 +00:00
|
|
|
"component": "vn-zone",
|
2018-09-25 06:53:57 +00:00
|
|
|
"description": "Zones"
|
2019-09-25 18:06:42 +00:00
|
|
|
}, {
|
2018-09-25 06:53:57 +00:00
|
|
|
"url": "/index?q",
|
|
|
|
"state": "zone.index",
|
|
|
|
"component": "vn-zone-index",
|
2019-01-31 06:20:36 +00:00
|
|
|
"description": "Zones"
|
2019-09-25 18:06:42 +00:00
|
|
|
}, {
|
|
|
|
"url": "/delivery-days",
|
|
|
|
"state": "zone.deliveryDays",
|
|
|
|
"component": "vn-zone-delivery-days",
|
|
|
|
"description": "Delivery days"
|
|
|
|
}, {
|
2018-09-25 06:53:57 +00:00
|
|
|
"url": "/create",
|
|
|
|
"state": "zone.create",
|
|
|
|
"component": "vn-zone-create",
|
|
|
|
"description": "New zone"
|
2019-09-25 18:06:42 +00:00
|
|
|
}, {
|
2018-09-25 06:53:57 +00:00
|
|
|
"url": "/:id",
|
|
|
|
"state": "zone.card",
|
2018-12-04 13:38:56 +00:00
|
|
|
"component": "vn-zone-card",
|
|
|
|
"abstract": true,
|
|
|
|
"description": "Detail"
|
2019-09-25 18:06:42 +00:00
|
|
|
}, {
|
2019-06-26 11:35:38 +00:00
|
|
|
"url": "/summary",
|
|
|
|
"state": "zone.card.summary",
|
|
|
|
"component": "vn-zone-summary",
|
|
|
|
"description": "Summary",
|
2018-09-25 06:53:57 +00:00
|
|
|
"params": {
|
|
|
|
"zone": "$ctrl.zone"
|
|
|
|
}
|
2019-09-25 18:06:42 +00:00
|
|
|
}, {
|
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"
|
|
|
|
}
|
2019-09-25 18:06:42 +00:00
|
|
|
}, {
|
|
|
|
"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"
|
|
|
|
}, {
|
2019-06-26 11:35:38 +00:00
|
|
|
"url": "/location?q",
|
|
|
|
"state": "zone.card.location",
|
|
|
|
"component": "vn-zone-location",
|
|
|
|
"description": "Locations",
|
|
|
|
"params": {
|
|
|
|
"zone": "$ctrl.zone"
|
|
|
|
}
|
2018-09-25 06:53:57 +00:00
|
|
|
}
|
2019-01-21 10:45:53 +00:00
|
|
|
]
|
2018-09-25 06:53:57 +00:00
|
|
|
}
|