2020-01-10 10:52:35 +00:00
|
|
|
{
|
|
|
|
"module": "entry",
|
|
|
|
"name": "Entries",
|
|
|
|
"icon": "icon-entry",
|
2020-02-18 09:33:17 +00:00
|
|
|
"dependencies": ["travel"],
|
2020-01-10 10:52:35 +00:00
|
|
|
"validations": true,
|
|
|
|
"menus": {
|
|
|
|
"main": [
|
|
|
|
{"state": "entry.index", "icon": "icon-entry"}
|
|
|
|
],
|
|
|
|
"card": [
|
2020-03-06 09:21:42 +00:00
|
|
|
{"state": "entry.card.buy", "icon": "icon-lines"},
|
|
|
|
{"state": "entry.card.log", "icon": "history"}
|
2020-01-10 10:52:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/entry",
|
|
|
|
"state": "entry",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-entry",
|
|
|
|
"description": "Entries"
|
|
|
|
}, {
|
|
|
|
"url": "/index?q",
|
|
|
|
"state": "entry.index",
|
|
|
|
"component": "vn-entry-index",
|
|
|
|
"description": "Entries"
|
|
|
|
}, {
|
|
|
|
"url": "/:id",
|
|
|
|
"state": "entry.card",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-entry-card"
|
2020-02-04 08:34:31 +00:00
|
|
|
}, {
|
|
|
|
"url": "/summary",
|
|
|
|
"state": "entry.card.summary",
|
|
|
|
"component": "vn-entry-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"entry": "$ctrl.entry"
|
|
|
|
}
|
2020-03-02 08:28:08 +00:00
|
|
|
}, {
|
|
|
|
"url" : "/log",
|
|
|
|
"state": "entry.card.log",
|
|
|
|
"component": "vn-entry-log",
|
|
|
|
"description": "Log"
|
2020-03-06 08:57:05 +00:00
|
|
|
}, {
|
|
|
|
"url" : "/buy",
|
|
|
|
"state": "entry.card.buy",
|
|
|
|
"component": "vn-entry-buy",
|
|
|
|
"description": "Buy",
|
|
|
|
"params": {
|
|
|
|
"entry": "$ctrl.entry"
|
|
|
|
}
|
2020-01-10 10:52:35 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|