salix/modules/entry/front/routes.json

91 lines
2.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-09-07 06:15:43 +00:00
{"state": "entry.card.basicData", "icon": "settings"},
2020-03-06 09:21:42 +00:00
{"state": "entry.card.buy", "icon": "icon-lines"},
{"state": "entry.card.observation", "icon": "insert_drive_file"},
2020-03-06 09:21:42 +00:00
{"state": "entry.card.log", "icon": "history"}
2020-01-10 10:52:35 +00:00
]
},
2021-01-29 08:46:57 +00:00
"keybindings": [
{"key": "e", "state": "entry.index"}
],
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", "administrative"]
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", "administrative"]
2020-09-02 12:08:56 +00:00
}, {
"url": "/create?supplierFk&travelFk&companyFk",
"state": "entry.create",
"component": "vn-entry-create",
"description": "New entry",
"acl": ["buyer", "administrative"]
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-09-07 06:15:43 +00:00
}, {
"url": "/basic-data",
"state": "entry.card.basicData",
"component": "vn-entry-basic-data",
"description": "Basic data",
"params": {
"entry": "$ctrl.entry"
}
},{
"url": "/observation",
"state": "entry.card.observation",
"component": "vn-entry-observation",
"description": "Notes",
"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
}
]
}