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-01-28 15:24:45 +00:00
|
|
|
"menu": [
|
|
|
|
{"state": "claim.card.basicData", "icon": "settings"},
|
|
|
|
{"state": "claim.card.detail", "icon": "icon-details"},
|
|
|
|
{"state": "claim.card.development", "icon": "icon-traceability"},
|
|
|
|
{"state": "claim.card.action", "icon": "icon-actions"}
|
|
|
|
],
|
|
|
|
"keybindings": [
|
|
|
|
{"key": "r", "state": "claim.index"}
|
|
|
|
],
|
2018-08-07 09:57:11 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/claim",
|
|
|
|
"state": "claim",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "ui-view",
|
|
|
|
"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"]
|
2018-08-07 09:57:11 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|