{ "module": "claim", "name": "Claims", "icon": "icon-claims", "validations": true, "dependencies": ["worker", "item", "client"], "menus": { "main": [ {"state": "claim.index", "icon": "icon-claims"} ], "card": [ {"state": "claim.card.basicData", "icon": "settings"}, {"state": "claim.card.detail", "icon": "icon-details"}, {"state": "claim.card.photos", "icon": "image"}, {"state": "claim.card.note.index", "icon": "insert_drive_file"}, {"state": "claim.card.development", "icon": "icon-traceability"}, {"state": "claim.card.action", "icon": "icon-actions"}, {"state": "claim.card.log", "icon": "history"} ] }, "keybindings": [ {"key": "r", "state": "claim.index"} ], "routes": [ { "url": "/claim", "state": "claim", "abstract": true, "component": "vn-claim", "description": "Claims" }, { "url": "/index?q", "state": "claim.index", "component": "vn-claim-index", "description": "Claims" }, { "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" }, "acl": ["salesPerson"] }, { "url": "/detail", "state": "claim.card.detail", "component": "vn-claim-detail", "description": "Detail", "params": { "claim": "$ctrl.claim" }, "acl": ["salesPerson"] }, { "url": "/note", "state": "claim.card.note", "component": "ui-view", "abstract": true, "acl": ["salesPerson"] }, { "url": "/index", "state": "claim.card.note.index", "component": "vn-claim-note", "description": "Notes", "params": { "claim": "$ctrl.claim" }, "acl": ["salesPerson"] }, { "url": "/create", "state": "claim.card.note.create", "component": "vn-claim-note-create", "description": "New note", "acl": ["salesPerson"] }, { "url": "/development", "state": "claim.card.development", "component": "vn-claim-development", "description": "Development", "params": { "claim": "$ctrl.claim" }, "acl": ["claimManager"] }, { "url": "/action?q", "state": "claim.card.action", "component": "vn-claim-action", "description": "Action", "params": { "claim": "$ctrl.claim" }, "acl": ["claimManager"] }, { "url": "/photos", "state": "claim.card.photos", "component": "vn-claim-photos", "description": "Photos", "params": { "claim": "$ctrl.claim" } }, { "url" : "/log", "state": "claim.card.log", "component": "vn-claim-log", "description": "Log", "acl": ["claimManager"] } ] }