{ "module": "route", "name": "Routes", "icon": "icon-delivery", "validations" : true, "dependencies": ["client", "worker", "ticket", "supplier", "invoiceIn"], "menus": { "main": [ {"state": "route.index", "icon": "icon-delivery"}, {"state": "route.agencyTerm.index", "icon": "icon-agency-term"}, {"state": "route.roadmap", "icon": "icon-trailer"} ], "card": [ {"state": "route.card.basicData", "icon": "settings"}, {"state": "route.card.tickets", "icon": "icon-ticket"}, {"state": "route.card.log", "icon": "history"} ], "roadmap": [ {"state": "route.roadmap.card.basicData", "icon": "settings"}, {"state": "route.roadmap.card.stops", "icon": "icon-lines"} ] }, "routes": [ { "url": "/route", "state": "route", "abstract": true, "component": "vn-route", "description": "Routes", "acl": ["employee"] }, { "url": "/index?q", "state": "route.index", "component": "vn-route-index", "description": "Routes" }, { "url": "/create", "state": "route.create", "component": "vn-route-create", "description": "New route" }, { "url": "/:id", "state": "route.card", "abstract": true, "component": "vn-route-card" }, { "url": "/agency-term?q", "abstract": true, "state": "route.agencyTerm", "component": "ui-view" }, { "url": "/index", "state": "route.agencyTerm.index", "component": "vn-agency-term-index", "description": "Autonomous", "acl": ["administrative"] },{ "url": "/createInvoiceIn?q", "state": "route.agencyTerm.createInvoiceIn", "component": "vn-agency-term-create-invoice-in", "description": "File management", "params": { "route": "$ctrl.route" }, "acl": ["administrative"] }, { "url": "/summary", "state": "route.card.summary", "component": "vn-route-summary", "description": "Summary", "params": { "route": "$ctrl.route" } }, { "url": "/basic-data", "state": "route.card.basicData", "component": "vn-route-basic-data", "description": "Basic data", "params": { "route": "$ctrl.route" }, "acl": ["delivery"] }, { "url" : "/log", "state": "route.card.log", "component": "vn-route-log", "description": "Log", "acl": ["delivery"] }, { "url": "/tickets", "state": "route.card.tickets", "component": "vn-route-tickets", "description": "Tickets", "params": { "route": "$ctrl.route" }, "acl": ["delivery"] }, { "url": "/roadmap?q", "state": "route.roadmap", "component": "vn-roadmap", "description": "Roadmaps" }, { "url": "/create", "state": "route.roadmap.create", "component": "vn-roadmap-create", "description": "Create roadmap" },{ "url": "/:id", "state": "route.roadmap.card", "component": "vn-roadmap-card", "abstract": true, "description": "Detail" },{ "url": "/summary", "state": "route.roadmap.card.summary", "component": "vn-roadmap-summary", "description": "Summary", "params": { "roadmap": "$ctrl.roadmap" } },{ "url": "/basic-data", "state": "route.roadmap.card.basicData", "component": "vn-roadmap-basic-data", "description": "Basic data", "params": { "roadmap": "$ctrl.roadmap" } }, { "url": "/stops", "state": "route.roadmap.card.stops", "component": "vn-roadmap-stops", "description": "Stops", "params": { "route": "$ctrl.roadmap" } } ] }