salix/modules/entry/front/routes.json

64 lines
1.8 KiB
JSON
Raw Normal View History

2020-01-10 10:52:35 +00:00
{
"module": "entry",
"name": "Entries",
"icon": "icon-entry",
2020-08-26 14:33:47 +00:00
"dependencies": ["travel", "item"],
2020-01-10 10:52:35 +00:00
"validations": true,
"menus": {
"main": [
2020-07-20 09:31:47 +00:00
{"state": "entry.index", "icon": "icon-entry"},
{"state": "entry.latestBuys", "icon": "icon-latestBuys"}
2020-01-10 10:52:35 +00:00
],
"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",
2020-08-26 14:33:47 +00:00
"description": "Entries",
"acl": ["buyer"]
2020-07-20 09:31:47 +00:00
}, {
"url": "/latest-buys?q",
"state": "entry.latestBuys",
"component": "vn-entry-latest-buys",
2020-08-26 14:33:47 +00:00
"description": "Latest buys",
"acl": ["buyer"]
2020-01-10 10:52:35 +00:00
}, {
"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
}
]
}