salix/modules/client/front/routes.json

449 lines
14 KiB
JSON
Raw Permalink Normal View History

{
"module": "client",
"name": "Clients",
2020-05-06 12:38:09 +00:00
"icon": "person",
"validations" : true,
2019-04-05 11:20:34 +00:00
"dependencies": ["worker", "invoiceOut"],
2019-11-10 10:08:44 +00:00
"menus": {
"main": [
{"state": "client.index", "icon": "person"},
2022-05-31 11:36:27 +00:00
{"state": "client.extendedList", "icon": "person"},
{"state": "client.notification", "icon": "campaign"},
{"state": "client.defaulter", "icon": "icon-defaulter"}
2019-11-10 10:08:44 +00:00
],
"card": [
{"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": "icon-delivery"},
{"state": "client.card.note.index", "icon": "insert_drive_file"},
{"state": "client.card.credit.index", "icon": "credit_card"},
{"state": "client.card.greuge.index", "icon": "work"},
2021-11-26 13:48:55 +00:00
{"state": "client.card.balance.index", "icon": "icon-invoice"},
{"state": "client.card.recovery.index", "icon": "icon-recovery"},
2020-06-12 07:18:19 +00:00
{"state": "client.card.webAccess", "icon": "cloud"},
2019-11-10 10:08:44 +00:00
{"state": "client.card.log", "icon": "history"},
2023-04-14 11:05:57 +00:00
{
"description": "Credit management",
"icon": "monetization_on",
"childs": [
{"state": "client.card.creditInsurance.index", "icon": "icon-solunion"},
{"state": "client.card.creditManagement", "icon": "contact_support"}
]
},
2019-11-10 10:08:44 +00:00
{
"description": "Others",
"icon": "more",
"childs": [
2020-06-12 07:18:19 +00:00
{"state": "client.card.sample.index", "icon": "mail"},
{"state": "client.card.consumption", "icon": "show_chart"},
2019-11-10 10:08:44 +00:00
{"state": "client.card.mandate", "icon": "pan_tool"},
{"state": "client.card.contact", "icon": "contact_phone"},
{"state": "client.card.webPayment", "icon": "icon-onlinepayment"},
2022-04-07 09:41:35 +00:00
{"state": "client.card.dms.index", "icon": "cloud_upload"},
2023-04-14 11:05:57 +00:00
{"state": "client.card.unpaid", "icon": "icon-defaulter"}
2019-11-10 10:08:44 +00:00
]
}
]
2019-11-10 10:08:44 +00:00
},
2019-01-28 15:24:45 +00:00
"keybindings": [
{"key": "c", "state": "client.index"}
],
"routes": [
{
2018-05-23 12:26:51 +00:00
"url": "/client",
"state": "client",
"abstract": true,
2019-11-10 10:08:44 +00:00
"component": "vn-client",
2018-07-25 13:14:03 +00:00
"description": "Clients",
2017-11-09 10:39:41 +00:00
"acl": ["employee"]
},
{
2018-05-23 12:26:51 +00:00
"url": "/index?q",
"state": "client.index",
2018-07-25 13:14:03 +00:00
"component": "vn-client-index",
2019-01-27 23:26:01 +00:00
"description": "Clients"
},
{
2017-06-03 11:01:47 +00:00
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.create",
2018-07-25 13:14:03 +00:00
"component": "vn-client-create",
"description": "New client"
},
{
2019-11-21 13:00:27 +00:00
"url": "/:id?sendSMS&phone&message",
2018-05-23 12:26:51 +00:00
"state": "client.card",
"abstract": true,
"component": "vn-client-card"
},
{
2018-05-23 12:26:51 +00:00
"url": "/summary",
"state": "client.card.summary",
"component": "vn-client-summary",
2018-07-25 13:14:03 +00:00
"description": "Summary",
2018-05-23 12:26:51 +00:00
"params": {
"client": "$ctrl.client"
}
},
{
"url": "/basic-data",
2018-05-23 12:26:51 +00:00
"state": "client.card.basicData",
"component": "vn-client-basic-data",
2018-07-25 13:14:03 +00:00
"description": "Basic data",
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
}
},
{
"url": "/fiscal-data",
2018-05-23 12:26:51 +00:00
"state": "client.card.fiscalData",
"component": "vn-client-fiscal-data",
2018-07-25 13:14:03 +00:00
"description": "Fiscal data",
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
}
},
{
2017-05-23 08:58:17 +00:00
"url": "/billing-data",
2018-05-23 12:26:51 +00:00
"state": "client.card.billingData",
2017-05-23 08:58:17 +00:00
"component": "vn-client-billing-data",
"description": "Billing data",
2017-05-23 08:58:17 +00:00
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
}
},
{
2018-05-23 12:26:51 +00:00
"url": "/address",
"state": "client.card.address",
"component": "ui-view",
"abstract": true
},
{
2020-10-06 06:17:12 +00:00
"url": "/index?q",
2018-05-23 12:26:51 +00:00
"state": "client.card.address.index",
"component": "vn-client-address-index",
"description": "Consignees",
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
2018-11-05 14:06:13 +00:00
}
},
{
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.card.address.create",
2018-07-25 13:14:03 +00:00
"component": "vn-client-address-create",
"description": "New address",
"params": {
"client": "$ctrl.client"
}
},
{
"url": "/:addressId/edit",
2018-05-23 12:26:51 +00:00
"state": "client.card.address.edit",
2018-07-25 13:14:03 +00:00
"component": "vn-client-address-edit",
"description": "Edit address"
},
{
"url": "/web-access",
2018-05-23 12:26:51 +00:00
"state": "client.card.webAccess",
"component": "vn-client-web-access",
2018-07-25 13:14:03 +00:00
"description": "Web access",
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
2018-11-05 14:06:13 +00:00
}
},
{
2018-05-23 12:26:51 +00:00
"url": "/note",
"state": "client.card.note",
"component": "ui-view",
"abstract": true
},
{
2018-05-23 12:26:51 +00:00
"url": "/index",
"state": "client.card.note.index",
"component": "vn-client-note",
2018-07-25 13:14:03 +00:00
"description": "Notes",
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
}
},
{
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.card.note.create",
2018-07-25 13:14:03 +00:00
"component": "vn-note-create",
"description": "New note"
},
{
2017-12-04 07:17:29 +00:00
"url": "/credit",
"abstract": true,
2018-05-23 12:26:51 +00:00
"state": "client.card.credit",
2017-12-04 07:17:29 +00:00
"component": "ui-view"
},
{
2018-05-23 12:26:51 +00:00
"url": "/index",
"state": "client.card.credit.index",
"component": "vn-client-credit-index",
2018-07-25 13:14:03 +00:00
"description": "Credits",
2017-12-04 07:17:29 +00:00
"params": {
"client": "$ctrl.client"
}
},
{
2017-12-04 07:17:29 +00:00
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.card.credit.create",
2017-12-04 07:17:29 +00:00
"component": "vn-client-credit-create",
2018-07-25 13:14:03 +00:00
"description": "New credit",
"acl": ["teamBoss"],
2017-12-04 07:17:29 +00:00
"params": {
"client": "$ctrl.client"
}
},
{
2017-12-04 07:17:29 +00:00
"url": "/greuge",
"abstract": true,
2018-05-23 12:26:51 +00:00
"state": "client.card.greuge",
2017-12-04 07:17:29 +00:00
"component": "ui-view"
},
{
2018-05-23 12:26:51 +00:00
"url": "/index",
"state": "client.card.greuge.index",
"component": "vn-client-greuge-index",
2018-07-25 13:14:03 +00:00
"description": "Greuges",
2017-12-04 07:17:29 +00:00
"params": {
"client": "$ctrl.client"
}
},
{
2017-12-04 07:17:29 +00:00
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.card.greuge.create",
2017-12-04 07:17:29 +00:00
"component": "vn-client-greuge-create",
2018-07-25 13:14:03 +00:00
"description": "New greuge",
"acl": ["salesAssistant", "claimManager"],
2017-12-04 07:17:29 +00:00
"params": {
"client": "$ctrl.client"
}
},
{
2017-12-13 07:04:53 +00:00
"url": "/mandate",
2018-05-23 12:26:51 +00:00
"state": "client.card.mandate",
2017-12-13 07:04:53 +00:00
"component": "vn-client-mandate",
2018-11-05 14:06:13 +00:00
"description": "Mandates"
},
{
"url": "/balance",
2018-10-19 06:40:32 +00:00
"abstract": true,
"state": "client.card.balance",
2018-10-19 06:40:32 +00:00
"component": "ui-view"
},
{
2018-10-19 06:40:32 +00:00
"url": "/index",
"state": "client.card.balance.index",
"component": "vn-client-balance-index",
"description": "Balance",
2018-10-19 06:40:32 +00:00
"params": {
"client": "$ctrl.client"
2018-03-01 13:01:45 +00:00
}
},
{
2018-10-24 12:10:48 +00:00
"url": "/create?payed&companyFk&bankFk&payedAmount",
"state": "client.card.balance.create",
"component": "vn-client-balance-create",
2018-10-24 12:10:48 +00:00
"description": "New payment",
"params": {
"client": "$ctrl.client"
}
},
{
"url": "/recovery",
"abstract": true,
2018-05-23 12:26:51 +00:00
"state": "client.card.recovery",
"component": "ui-view"
},
{
2018-05-23 12:26:51 +00:00
"url": "/index",
"state": "client.card.recovery.index",
"component": "vn-client-recovery-index",
2018-07-25 13:14:03 +00:00
"description": "Recoveries",
"params": {
"client": "$ctrl.client"
}
},
{
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.card.recovery.create",
"component": "vn-client-recovery-create",
2018-07-25 13:14:03 +00:00
"description": "New recovery",
"params": {
"client": "$ctrl.client"
}
},
{
2018-05-23 12:26:51 +00:00
"url": "/credit-insurance",
"abstract": true,
2018-05-23 12:26:51 +00:00
"state": "client.card.creditInsurance",
2021-06-15 12:16:12 +00:00
"component": "ui-view"
},
{
2018-05-23 12:26:51 +00:00
"url": "/index",
"state": "client.card.creditInsurance.index",
"component": "vn-client-credit-insurance-index",
2018-07-25 13:14:03 +00:00
"description": "Credit contracts",
"params": {
"client": "$ctrl.client"
2018-11-05 14:06:13 +00:00
}
},
{
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.card.creditInsurance.create",
"component": "vn-client-credit-insurance-create",
2018-07-25 13:14:03 +00:00
"description": "New insurance",
2021-06-15 12:16:12 +00:00
"acl": ["insurance"],
"params": {
"client": "$ctrl.client"
}
},
{
2018-05-23 12:26:51 +00:00
"url": "/insurance",
"abstract": true,
2018-05-23 12:26:51 +00:00
"state": "client.card.creditInsurance.insurance",
"component": "ui-view",
2019-02-01 16:11:14 +00:00
"acl": ["insurance"]
},
{
2018-05-23 12:26:51 +00:00
"url": "/:classificationId/index",
"state": "client.card.creditInsurance.insurance.index",
"component": "vn-client-credit-insurance-insurance-index",
2018-07-25 13:14:03 +00:00
"description": "Requested credits",
2019-02-01 16:11:14 +00:00
"acl": ["insurance"],
"params": {
"client": "$ctrl.client"
}
},
{
"url": "/:classificationId/create",
2018-05-23 12:26:51 +00:00
"state": "client.card.creditInsurance.insurance.create",
"component": "vn-client-credit-insurance-insurance-create",
2018-07-25 13:14:03 +00:00
"description": "New credit",
2021-06-15 12:16:12 +00:00
"acl": ["insurance"],
"params": {
"client": "$ctrl.client"
}
},
{
"url": "/contact",
"state": "client.card.contact",
2018-07-31 09:08:22 +00:00
"component": "vn-client-contact",
"description": "Contacts",
"params": {
"client": "$ctrl.client"
}
},
{
2018-07-31 09:08:22 +00:00
"url": "/sample",
"abstract": true,
"state": "client.card.sample",
"component": "ui-view"
},
{
"url": "/index",
2018-07-31 09:08:22 +00:00
"state": "client.card.sample.index",
"component": "vn-client-sample-index",
"description": "Samples",
"params": {
"client": "$ctrl.client"
2018-07-31 09:08:22 +00:00
}
},
{
2018-07-31 09:08:22 +00:00
"url": "/create",
"state": "client.card.sample.create",
"component": "vn-client-sample-create",
"description": "Send sample",
"params": {
"client": "$ctrl.client"
}
},
{
2018-09-28 13:00:12 +00:00
"url": "/web-payment",
"state": "client.card.webPayment",
"component": "vn-client-web-payment",
2018-11-05 14:06:13 +00:00
"description": "Web Payment"
},
{
"url" : "/log",
"state": "client.card.log",
"component": "vn-client-log",
2018-11-05 14:06:13 +00:00
"description": "Log"
},
{
"url": "/dms",
"state": "client.card.dms",
"abstract": true,
"component": "ui-view"
},
{
"url": "/index",
"state": "client.card.dms.index",
"component": "vn-client-dms-index",
"description": "File management"
},
{
"url": "/create",
"state": "client.card.dms.create",
"component": "vn-client-dms-create",
"description": "Upload file",
"params": {
"client": "$ctrl.client"
}
2019-07-15 09:40:11 +00:00
},
{
"url": "/:dmsId/edit",
"state": "client.card.dms.edit",
"component": "vn-client-dms-edit",
"description": "Edit file",
"params": {
"client": "$ctrl.client"
}
2020-06-10 11:35:41 +00:00
},
{
2020-10-06 06:17:12 +00:00
"url": "/consumption?q",
2020-06-10 11:35:41 +00:00
"state": "client.card.consumption",
"component": "vn-client-consumption",
"description": "Consumption",
"params": {
"client": "$ctrl.client"
}
},
{
"url": "/defaulter?q",
"state": "client.defaulter",
2022-02-25 09:34:17 +00:00
"component": "vn-client-defaulter",
"description": "Defaulter"
},
{
"url" : "/notification?q",
"state": "client.notification",
"component": "vn-client-notification",
"description": "Notifications"
},
{
2022-04-07 09:41:35 +00:00
"url": "/unpaid",
"state": "client.card.unpaid",
"component": "vn-client-unpaid",
"acl": ["administrative"],
"description": "Unpaid"
},
{
"url": "/extended-list?q",
2022-05-31 11:36:27 +00:00
"state": "client.extendedList",
"component": "vn-client-extended-list",
"description": "Extended list"
},
{
"url": "/credit-management",
"state": "client.card.creditManagement",
"component": "vn-client-credit-management",
"acl": ["financial"],
2023-04-14 11:05:57 +00:00
"description": "Credit opinion"
2018-11-05 14:06:13 +00:00
}
]
}