{ "module": "invoiceOut", "name": "Invoices out", "icon": "icon-invoice-out", "validations" : true, "dependencies": ["worker", "client", "ticket"], "menus": { "main": [ {"state": "invoiceOut.index", "icon": "icon-invoice-out"}, {"state": "invoiceOut.global-invoicing", "icon": "contact_support"}, { "state": "invoiceOut.negative-bases", "icon": "icon-ticket"} ] }, "routes": [ { "url": "/invoice-out", "state": "invoiceOut", "abstract": true, "component": "vn-invoice-out", "description": "InvoiceOut", "acl": ["employee"] }, { "url": "/index?q", "state": "invoiceOut.index", "component": "vn-invoice-out-index", "description": "InvoiceOut" }, { "url": "/global-invoicing?q", "state": "invoiceOut.global-invoicing", "component": "vn-invoice-out-global-invoicing", "description": "Global invoicing" }, { "url": "/summary", "state": "invoiceOut.card.summary", "component": "vn-invoice-out-summary", "description": "Summary", "params": { "invoice-out": "$ctrl.invoiceOut" } }, { "url": "/:id", "state": "invoiceOut.card", "abstract": true, "component": "vn-invoice-out-card" }, { "url": "/negative-bases", "state": "invoiceOut.negative-bases", "component": "vn-negative-bases", "description": "Negative bases", "acl": [ "administrative" ] } ] }