salix/client/client/routes.json

304 lines
8.5 KiB
JSON
Raw Normal View History

{
"module": "client",
"name": "Clients",
"icon": "person",
"validations" : true,
"routes": [
{
2018-05-23 12:26:51 +00:00
"url": "/client",
"state": "client",
"abstract": true,
"component": "ui-view",
2017-11-09 10:39:41 +00:00
"acl": ["employee"]
},
2018-05-23 12:26:51 +00:00
{
"url": "/index?q",
"state": "client.index",
"component": "vn-client-index"
},
{
2017-06-03 11:01:47 +00:00
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.create",
2017-06-03 11:01:47 +00:00
"component": "vn-client-create"
},
{
2018-05-23 12:26:51 +00:00
"url": "/:id",
"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",
"params": {
"client": "$ctrl.client"
}
},
{
"url": "/basic-data",
2018-05-23 12:26:51 +00:00
"state": "client.card.basicData",
"component": "vn-client-basic-data",
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
},
"menu": {
2017-12-04 07:17:29 +00:00
"description": "Basic data",
2018-03-13 13:07:42 +00:00
"icon": "settings"
}
},
{
"url": "/fiscal-data",
2018-05-23 12:26:51 +00:00
"state": "client.card.fiscalData",
"component": "vn-client-fiscal-data",
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
},
"menu": {
2017-12-04 07:17:29 +00:00
"description": "Fiscal data",
"icon": "account_balance"
}
},
{
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",
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
},
"menu": {
2017-11-15 08:38:39 +00:00
"description": "Pay method",
2018-03-13 13:07:42 +00:00
"icon": "icon-payment"
}
},
{
2018-05-23 12:26:51 +00:00
"url": "/address",
"state": "client.card.address",
"component": "ui-view",
"abstract": true
},
{
2018-05-23 12:26:51 +00:00
"url": "/index",
"state": "client.card.address.index",
"component": "vn-client-address-index",
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
},
"menu": {
2017-12-04 07:17:29 +00:00
"description": "Addresses",
"icon": "local_shipping"
}
},
{
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.card.address.create",
"component": "vn-client-address-create"
},
{
"url": "/:addressId/edit",
2018-05-23 12:26:51 +00:00
"state": "client.card.address.edit",
"component": "vn-client-address-edit"
},
{
"url": "/web-access",
2018-05-23 12:26:51 +00:00
"state": "client.card.webAccess",
"component": "vn-client-web-access",
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
},
"menu": {
2017-12-04 07:17:29 +00:00
"description": "Web access",
2018-03-13 13:07:42 +00:00
"icon": "cloud"
}
},
{
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",
"params": {
2017-10-05 07:20:40 +00:00
"client": "$ctrl.client"
},
"menu": {
2017-12-04 07:17:29 +00:00
"description": "Notes",
"icon": "insert_drive_file"
}
},
{
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.card.note.create",
2017-06-03 11:01:47 +00:00
"component": "vn-note-create"
},
{
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",
2017-12-04 07:17:29 +00:00
"params": {
"client": "$ctrl.client"
},
"menu": {
"description": "Credit",
"icon": "credit_card"
}
2018-05-23 12:26:51 +00:00
},
{
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",
"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",
2017-12-04 07:17:29 +00:00
"params": {
"client": "$ctrl.client"
},
"menu": {
"description": "Greuge",
"icon": "work"
}
},
{
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",
"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",
"menu": {
"description": "Mandate",
"icon": "pan_tool"
}
2018-03-01 13:01:45 +00:00
},
{
2018-05-23 12:26:51 +00:00
"url": "/invoice",
"state": "client.card.invoice",
"component": "vn-client-invoice",
2018-03-01 13:01:45 +00:00
"menu": {
"description": "Invoices",
2018-03-13 13:07:42 +00:00
"icon": "icon-invoices"
2018-03-01 13:01:45 +00:00
}
2018-03-01 13:04:33 +00:00
},
{
"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",
"params": {
"client": "$ctrl.client"
},
"menu": {
"description": "Recovery",
2018-03-13 13:07:42 +00:00
"icon": "icon-recovery"
}
2018-05-23 12:26:51 +00:00
},
{
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.card.recovery.create",
"component": "vn-client-recovery-create",
"params": {
"client": "$ctrl.client"
}
2018-05-23 12:26:51 +00:00
},
{
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",
"component": "ui-view",
"acl": ["creditInsurance"]
},
{
2018-05-23 12:26:51 +00:00
"url": "/index",
"state": "client.card.creditInsurance.index",
"component": "vn-client-credit-insurance-index",
"params": {
"client": "$ctrl.client"
},
"menu": {
"description": "Credit contracts",
2018-04-27 08:01:29 +00:00
"icon": "icon-solunion"
},
"acl": ["creditInsurance"]
},
{
"url": "/create",
2018-05-23 12:26:51 +00:00
"state": "client.card.creditInsurance.create",
"component": "vn-client-credit-insurance-create",
"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",
"acl": ["creditInsurance"]
},
{
2018-05-23 12:26:51 +00:00
"url": "/:classificationId/index",
"state": "client.card.creditInsurance.insurance.index",
"component": "vn-client-credit-insurance-insurance-index",
"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",
"params": {
"client": "$ctrl.client"
}
},
{
"url": "/contact",
"abstract": true,
"state": "client.card.contact",
"component": "ui-view"
},
{
"url": "/index",
"state": "client.card.contact.index",
"component": "vn-client-contact-index",
"params": {
"client": "$ctrl.client"
},
"menu": {
"description": "Contacts",
"icon": "contact_phone"
}
}
]
}