salix/client/claim/routes.json

85 lines
2.2 KiB
JSON

{
"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",
"description": "Listado",
"acl": ["salesAssistant"]
},
{
"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"
}
},
{
"url": "/basic-data",
"state": "claim.card.basicData",
"component": "vn-claim-basic-data",
"description": "Basic data",
"params": {
"claim": "$ctrl.claim"
},
"menu": {
"icon": "settings"
}
},
{
"url": "/detail",
"state": "claim.card.detail",
"component": "vn-claim-detail",
"description": "Detail",
"params": {
"claim": "$ctrl.claim"
},
"menu": {
"icon": "icon-details"
}
},
{
"url": "/development",
"state": "claim.card.development",
"component": "vn-claim-development",
"description": "Development",
"params": {
"claim": "$ctrl.claim"
},
"menu": {
"icon": "icon-traceability"
}
},
{
"url": "/action",
"state": "claim.card.action",
"component": "vn-claim-action",
"description": "Action",
"params": {
"claim": "$ctrl.claim"
},
"menu": {
"icon": "icon-actions"
}
}
]
}