salix/modules/travel/front/routes.json

86 lines
2.6 KiB
JSON
Raw Normal View History

2018-11-13 06:44:03 +00:00
{
"module": "travel",
"name": "Travels",
2019-11-10 10:08:44 +00:00
"icon": "local_airport",
2018-11-13 06:44:03 +00:00
"validations": true,
2019-04-02 09:04:53 +00:00
"dependencies": ["worker"],
2019-11-10 10:08:44 +00:00
"menus": {
"main": [
{"state": "travel.index", "icon": "local_airport"}
],
"card": [
{"state": "travel.card.basicData", "icon": "settings"},
2020-01-13 10:53:10 +00:00
{"state": "travel.card.log", "icon": "history"},
2020-01-17 07:43:10 +00:00
{"state": "travel.card.thermograph.index", "icon": "icon-thermometer"}
2019-11-10 10:08:44 +00:00
]
},
2018-11-13 06:44:03 +00:00
"routes": [
{
"url": "/travel",
"state": "travel",
"abstract": true,
2019-11-10 10:08:44 +00:00
"component": "vn-travel",
2018-11-13 06:44:03 +00:00
"description": "Travels"
2019-01-28 15:24:45 +00:00
}, {
2018-11-13 06:44:03 +00:00
"url": "/index?q",
"state": "travel.index",
"component": "vn-travel-index",
2019-12-17 11:18:17 +00:00
"description": "Travels"
2019-10-24 10:49:18 +00:00
}, {
"url": "/:id",
"state": "travel.card",
"abstract": true,
"component": "vn-travel-card"
}, {
"url": "/summary",
"state": "travel.card.summary",
"component": "vn-travel-summary",
"description": "Summary",
"params": {
"travel": "$ctrl.travel"
}
2019-10-25 11:26:38 +00:00
}, {
"url": "/basic-data",
"state": "travel.card.basicData",
"component": "vn-travel-basic-data",
"description": "Basic data",
"acl": ["buyer","logistic"],
"params": {
"travel": "$ctrl.travel"
}
}, {
"url" : "/log",
"state": "travel.card.log",
"component": "vn-travel-log",
"description": "Log"
2019-12-09 11:15:19 +00:00
}, {
"url": "/create",
"state": "travel.create",
"component": "vn-travel-create",
"description": "New travel"
2020-01-13 10:53:10 +00:00
}, {
2020-01-17 07:43:10 +00:00
"url": "/thermograph",
2020-01-13 10:53:10 +00:00
"state": "travel.card.thermograph",
2020-01-17 07:43:10 +00:00
"abstract": true,
"component": "ui-view"
}, {
"url" : "/index",
"state": "travel.card.thermograph.index",
"component": "vn-travel-thermograph-index",
2020-01-13 10:53:10 +00:00
"description": "Thermographs",
"params": {
"travel": "$ctrl.travel"
},
"acl": ["buyer"]
2020-01-17 07:43:10 +00:00
}, {
"url" : "/create",
"state": "travel.card.thermograph.create",
"component": "vn-travel-thermograph-create",
"description": "Add thermograph",
"params": {
"travel": "$ctrl.travel"
},
"acl": ["buyer"]
2018-11-13 06:44:03 +00:00
}
2019-01-24 15:04:38 +00:00
]
2018-11-13 06:44:03 +00:00
}