diff --git a/modules/claim/front/routes.json b/modules/claim/front/routes.json index 5f08255be..e7e2e6395 100644 --- a/modules/claim/front/routes.json +++ b/modules/claim/front/routes.json @@ -27,17 +27,20 @@ "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", @@ -45,7 +48,8 @@ "params": { "claim": "$ctrl.claim" } - }, { + }, + { "url": "/basic-data", "state": "claim.card.basicData", "component": "vn-claim-basic-data", @@ -54,7 +58,8 @@ "claim": "$ctrl.claim" }, "acl": ["salesPerson"] - }, { + }, + { "url": "/detail", "state": "claim.card.detail", "component": "vn-claim-detail", @@ -63,7 +68,8 @@ "claim": "$ctrl.claim" }, "acl": ["salesPerson"] - }, { + }, + { "url": "/development", "state": "claim.card.development", "component": "vn-claim-development", @@ -72,7 +78,8 @@ "claim": "$ctrl.claim" }, "acl": ["claimManager"] - }, { + }, + { "url": "/action", "state": "claim.card.action", "component": "vn-claim-action", @@ -81,7 +88,8 @@ "claim": "$ctrl.claim" }, "acl": ["claimManager"] - }, { + }, + { "url": "/photos", "state": "claim.card.photos", "component": "vn-claim-photos", @@ -89,7 +97,8 @@ "params": { "claim": "$ctrl.claim" } - }, { + }, + { "url" : "/log", "state": "claim.card.log", "component": "vn-claim-log", diff --git a/modules/client/front/routes.json b/modules/client/front/routes.json index 6616443bb..b395b102a 100644 --- a/modules/client/front/routes.json +++ b/modules/client/front/routes.json @@ -50,22 +50,26 @@ "component": "vn-client", "description": "Clients", "acl": ["employee"] - }, { + }, + { "url": "/index?q", "state": "client.index", "component": "vn-client-index", "description": "Clients" - }, { + }, + { "url": "/create", "state": "client.create", "component": "vn-client-create", "description": "New client" - }, { + }, + { "url": "/:id?sendSMS&phone&message", "state": "client.card", "abstract": true, "component": "vn-client-card" - }, { + }, + { "url": "/summary", "state": "client.card.summary", "component": "vn-client-summary", @@ -73,7 +77,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/basic-data", "state": "client.card.basicData", "component": "vn-client-basic-data", @@ -81,7 +86,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/fiscal-data", "state": "client.card.fiscalData", "component": "vn-client-fiscal-data", @@ -89,7 +95,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/billing-data", "state": "client.card.billingData", "component": "vn-client-billing-data", @@ -97,12 +104,14 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/address", "state": "client.card.address", "component": "ui-view", "abstract": true - }, { + }, + { "url": "/index?q", "state": "client.card.address.index", "component": "vn-client-address-index", @@ -110,7 +119,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/create", "state": "client.card.address.create", "component": "vn-client-address-create", @@ -118,12 +128,14 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "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", @@ -131,12 +143,14 @@ "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", @@ -144,17 +158,20 @@ "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", @@ -162,7 +179,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/create", "state": "client.card.credit.create", "component": "vn-client-credit-create", @@ -171,12 +189,14 @@ "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", @@ -184,7 +204,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/create", "state": "client.card.greuge.create", "component": "vn-client-greuge-create", @@ -193,17 +214,20 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/mandate", "state": "client.card.mandate", "component": "vn-client-mandate", "description": "Mandates" - }, { + }, + { "url": "/balance", "abstract": true, "state": "client.card.balance", "component": "ui-view" - }, { + }, + { "url": "/index", "state": "client.card.balance.index", "component": "vn-client-balance-index", @@ -211,7 +235,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/create?payed&companyFk&bankFk&payedAmount", "state": "client.card.balance.create", "component": "vn-client-balance-create", @@ -219,12 +244,14 @@ "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", @@ -232,7 +259,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/create", "state": "client.card.recovery.create", "component": "vn-client-recovery-create", @@ -240,12 +268,14 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/credit-insurance", "abstract": true, "state": "client.card.creditInsurance", "component": "ui-view" - }, { + }, + { "url": "/index", "state": "client.card.creditInsurance.index", "component": "vn-client-credit-insurance-index", @@ -253,7 +283,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/create", "state": "client.card.creditInsurance.create", "component": "vn-client-credit-insurance-create", @@ -262,13 +293,15 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/insurance", "abstract": true, "state": "client.card.creditInsurance.insurance", "component": "ui-view", "acl": ["insurance"] - }, { + }, + { "url": "/:classificationId/index", "state": "client.card.creditInsurance.insurance.index", "component": "vn-client-credit-insurance-insurance-index", @@ -277,7 +310,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/:classificationId/create", "state": "client.card.creditInsurance.insurance.create", "component": "vn-client-credit-insurance-insurance-create", @@ -286,7 +320,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/contact", "state": "client.card.contact", "component": "vn-client-contact", @@ -294,12 +329,14 @@ "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", @@ -307,7 +344,8 @@ "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/create", "state": "client.card.sample.create", "component": "vn-client-sample-create", @@ -315,12 +353,14 @@ "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",