{ "module": "client", "name": "Clients", "icon": "person", "validations" : true, "routes": [ { "url": "/client", "state": "client", "abstract": true, "component": "ui-view", "description": "Clients", "acl": ["employee"] }, { "url": "/index?q", "state": "client.index", "component": "vn-client-index", "description": "List" }, { "url": "/create", "state": "client.create", "component": "vn-client-create", "description": "New client" }, { "url": "/:id", "state": "client.card", "abstract": true, "component": "vn-client-card" }, { "url": "/summary", "state": "client.card.summary", "component": "vn-client-summary", "description": "Summary", "params": { "client": "$ctrl.client" } }, { "url": "/basic-data", "state": "client.card.basicData", "component": "vn-client-basic-data", "description": "Basic data", "params": { "client": "$ctrl.client" } }, { "url": "/fiscal-data", "state": "client.card.fiscalData", "component": "vn-client-fiscal-data", "description": "Fiscal data", "params": { "client": "$ctrl.client" } }, { "url": "/billing-data", "state": "client.card.billingData", "component": "vn-client-billing-data", "description": "Pay method", "params": { "client": "$ctrl.client" } }, { "url": "/address", "state": "client.card.address", "component": "ui-view", "abstract": true }, { "url": "/index", "state": "client.card.address.index", "component": "vn-client-address-index", "description": "Addresses", "params": { "client": "$ctrl.client" } }, { "url": "/create", "state": "client.card.address.create", "component": "vn-client-address-create", "description": "New address" }, { "url": "/:addressId/edit", "state": "client.card.address.edit", "component": "vn-client-address-edit", "description": "Edit address" }, { "url": "/web-access", "state": "client.card.webAccess", "component": "vn-client-web-access", "description": "Web access", "params": { "client": "$ctrl.client" } }, { "url": "/note", "state": "client.card.note", "component": "ui-view", "abstract": true }, { "url": "/index", "state": "client.card.note.index", "component": "vn-client-note", "description": "Notes", "params": { "client": "$ctrl.client" } }, { "url": "/create", "state": "client.card.note.create", "component": "vn-note-create", "description": "New note" }, { "url": "/credit", "abstract": true, "state": "client.card.credit", "component": "ui-view" }, { "url": "/index", "state": "client.card.credit.index", "component": "vn-client-credit-index", "description": "Credits", "params": { "client": "$ctrl.client" } }, { "url": "/create", "state": "client.card.credit.create", "component": "vn-client-credit-create", "description": "New credit", "acl": ["teamBoss"], "params": { "client": "$ctrl.client" } }, { "url": "/greuge", "abstract": true, "state": "client.card.greuge", "component": "ui-view" }, { "url": "/index", "state": "client.card.greuge.index", "component": "vn-client-greuge-index", "description": "Greuges", "params": { "client": "$ctrl.client" } }, { "url": "/create", "state": "client.card.greuge.create", "component": "vn-client-greuge-create", "description": "New greuge", "acl": ["salesAssistant"], "params": { "client": "$ctrl.client" } }, { "url": "/mandate", "state": "client.card.mandate", "component": "vn-client-mandate", "description": "Mandates" }, { "url": "/risk", "abstract": true, "state": "client.card.risk", "component": "ui-view" }, { "url": "/index", "state": "client.card.risk.index", "component": "vn-client-risk-index", "description": "Balance", "params": { "client": "$ctrl.client" } }, { "url": "/create?payed&companyFk&bankFk&payedAmount", "state": "client.card.risk.create", "component": "vn-client-risk-create", "description": "New payment", "params": { "client": "$ctrl.client" } }, { "url": "/recovery", "abstract": true, "state": "client.card.recovery", "component": "ui-view" }, { "url": "/index", "state": "client.card.recovery.index", "component": "vn-client-recovery-index", "description": "Recoveries", "params": { "client": "$ctrl.client" } }, { "url": "/create", "state": "client.card.recovery.create", "component": "vn-client-recovery-create", "description": "New recovery", "params": { "client": "$ctrl.client" } }, { "url": "/credit-insurance", "abstract": true, "state": "client.card.creditInsurance", "component": "ui-view", "acl": ["creditInsurance"] }, { "url": "/index", "state": "client.card.creditInsurance.index", "component": "vn-client-credit-insurance-index", "description": "Credit contracts", "params": { "client": "$ctrl.client" } }, { "url": "/create", "state": "client.card.creditInsurance.create", "component": "vn-client-credit-insurance-create", "description": "New insurance", "params": { "client": "$ctrl.client" } }, { "url": "/insurance", "abstract": true, "state": "client.card.creditInsurance.insurance", "component": "ui-view", "acl": ["creditInsurance"] }, { "url": "/:classificationId/index", "state": "client.card.creditInsurance.insurance.index", "component": "vn-client-credit-insurance-insurance-index", "description": "Requested credits", "acl": ["creditInsurance"], "params": { "client": "$ctrl.client" } }, { "url": "/:classificationId/create", "state": "client.card.creditInsurance.insurance.create", "component": "vn-client-credit-insurance-insurance-create", "description": "New credit", "params": { "client": "$ctrl.client" } }, { "url": "/contact", "state": "client.card.contact", "component": "vn-client-contact", "description": "Contacts", "params": { "client": "$ctrl.client" } }, { "url": "/sample", "abstract": true, "state": "client.card.sample", "component": "ui-view" }, { "url": "/index", "state": "client.card.sample.index", "component": "vn-client-sample-index", "description": "Samples", "params": { "client": "$ctrl.client" } }, { "url": "/create", "state": "client.card.sample.create", "component": "vn-client-sample-create", "description": "Send sample", "params": { "client": "$ctrl.client" } }, { "url": "/web-payment", "state": "client.card.webPayment", "component": "vn-client-web-payment", "description": "Web Payment" }, { "url" : "/log", "state": "client.card.log", "component": "vn-client-log", "description": "Log" } ], "menu": [ {"state": "client.card.basicData", "icon": "settings"}, {"state": "client.card.fiscalData", "icon": "account_balance"}, {"state": "client.card.billingData", "icon": "icon-payment"}, {"state": "client.card.address.index", "icon": "local_shipping"}, {"state": "client.card.note.index", "icon": "insert_drive_file"}, {"state": "client.card.credit.index", "icon": "credit_card"}, {"state": "client.card.greuge.index", "icon": "work"}, {"state": "client.card.risk.index", "icon": "icon-invoices"}, {"state": "client.card.recovery.index", "icon": "icon-recovery"}, {"state": "client.card.log", "icon": "history"}, { "description": "Others", "icon": "more", "childs": [ {"state": "client.card.webAccess", "icon": "cloud"}, {"state": "client.card.mandate", "icon": "pan_tool"}, {"state": "client.card.creditInsurance.index", "icon": "icon-solunion"}, {"state": "client.card.contact", "icon": "contact_phone"}, {"state": "client.card.sample.index", "icon": "mail"}, {"state": "client.card.webPayment", "icon": "icon-onlinepayment"} ] } ], "keybindings": [ {"key": "c", "state": "client.index"} ] }