2018-08-07 09:57:11 +00:00
|
|
|
{
|
|
|
|
"module": "claim",
|
|
|
|
"name": "Claims",
|
|
|
|
"icon": "icon-claims",
|
|
|
|
"validations": true,
|
2019-02-15 11:39:21 +00:00
|
|
|
"dependencies": ["worker", "item", "client"],
|
2019-11-10 10:08:44 +00:00
|
|
|
"menus": {
|
|
|
|
"main": [
|
|
|
|
{"state": "claim.index", "icon": "icon-claims"}
|
|
|
|
],
|
|
|
|
"card": [
|
|
|
|
{"state": "claim.card.basicData", "icon": "settings"},
|
|
|
|
{"state": "claim.card.detail", "icon": "icon-details"},
|
2020-01-10 10:29:11 +00:00
|
|
|
{"state": "claim.card.photos", "icon": "image"},
|
2019-11-10 10:08:44 +00:00
|
|
|
{"state": "claim.card.development", "icon": "icon-traceability"},
|
|
|
|
{"state": "claim.card.action", "icon": "icon-actions"}
|
|
|
|
]
|
|
|
|
},
|
2019-01-28 15:24:45 +00:00
|
|
|
"keybindings": [
|
|
|
|
{"key": "r", "state": "claim.index"}
|
|
|
|
],
|
2018-08-07 09:57:11 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/claim",
|
|
|
|
"state": "claim",
|
|
|
|
"abstract": true,
|
2019-11-10 10:08:44 +00:00
|
|
|
"component": "vn-claim",
|
2018-08-07 09:57:11 +00:00
|
|
|
"description": "Claims"
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-08-07 09:57:11 +00:00
|
|
|
"url": "/index?q",
|
|
|
|
"state": "claim.index",
|
|
|
|
"component": "vn-claim-index",
|
2019-01-27 23:26:01 +00:00
|
|
|
"description": "Claims"
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-08-07 09:57:11 +00:00
|
|
|
"url": "/:id",
|
|
|
|
"state": "claim.card",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-claim-card"
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-08-07 09:57:11 +00:00
|
|
|
"url": "/summary",
|
|
|
|
"state": "claim.card.summary",
|
|
|
|
"component": "vn-claim-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
}
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-08-29 07:45:37 +00:00
|
|
|
"url": "/basic-data",
|
|
|
|
"state": "claim.card.basicData",
|
|
|
|
"component": "vn-claim-basic-data",
|
|
|
|
"description": "Basic data",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
},
|
2018-09-19 05:41:07 +00:00
|
|
|
"acl": ["salesPerson"]
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-08-27 09:41:25 +00:00
|
|
|
"url": "/detail",
|
|
|
|
"state": "claim.card.detail",
|
|
|
|
"component": "vn-claim-detail",
|
|
|
|
"description": "Detail",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
},
|
2018-09-19 05:41:07 +00:00
|
|
|
"acl": ["salesPerson"]
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-09-04 10:33:15 +00:00
|
|
|
"url": "/development",
|
|
|
|
"state": "claim.card.development",
|
|
|
|
"component": "vn-claim-development",
|
|
|
|
"description": "Development",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
},
|
2018-09-19 05:41:07 +00:00
|
|
|
"acl": ["salesAssistant"]
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-08-31 12:49:16 +00:00
|
|
|
"url": "/action",
|
|
|
|
"state": "claim.card.action",
|
|
|
|
"component": "vn-claim-action",
|
|
|
|
"description": "Action",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
},
|
2018-10-02 10:03:39 +00:00
|
|
|
"acl": ["salesAssistant"]
|
2019-07-30 06:51:38 +00:00
|
|
|
}, {
|
2020-01-10 10:29:11 +00:00
|
|
|
"url": "/photos",
|
|
|
|
"state": "claim.card.photos",
|
|
|
|
"component": "vn-claim-photos",
|
2019-09-26 09:41:56 +00:00
|
|
|
"description": "Photos",
|
2019-07-30 06:51:38 +00:00
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
}
|
2018-08-07 09:57:11 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|