2018-08-07 09:57:11 +00:00
|
|
|
{
|
|
|
|
"module": "claim",
|
|
|
|
"name": "Claims",
|
|
|
|
"icon": "icon-claims",
|
|
|
|
"validations": true,
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/claim",
|
|
|
|
"state": "claim",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "ui-view",
|
|
|
|
"description": "Claims"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/index?q",
|
|
|
|
"state": "claim.index",
|
|
|
|
"component": "vn-claim-index",
|
2018-09-19 05:41:07 +00:00
|
|
|
"description": "List"
|
2018-08-07 09:57:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/:id",
|
|
|
|
"state": "claim.card",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-claim-card"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/summary",
|
|
|
|
"state": "claim.card.summary",
|
|
|
|
"component": "vn-claim-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
}
|
2018-08-27 09:41:25 +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"]
|
2018-08-29 07:45:37 +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"]
|
2018-08-31 12:49:16 +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"]
|
2018-09-04 10:33:15 +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
|
|
|
}
|
2018-11-05 14:06:13 +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"}
|
2019-01-23 16:49:28 +00:00
|
|
|
],
|
|
|
|
"keybindings": [
|
|
|
|
{"key": "r", "sref": "claim.index"}
|
2018-08-07 09:57:11 +00:00
|
|
|
]
|
|
|
|
}
|