2018-03-12 13:02:29 +00:00
|
|
|
{
|
|
|
|
"module": "ticket",
|
|
|
|
"name": "Tickets",
|
2018-03-14 10:15:14 +00:00
|
|
|
"icon": "icon-ticket",
|
2018-03-21 10:08:59 +00:00
|
|
|
"validations": true,
|
2020-07-30 10:51:19 +00:00
|
|
|
"dependencies": ["worker", "item", "client", "route", "invoiceOut", "zone"],
|
2019-11-10 10:08:44 +00:00
|
|
|
"menus": {
|
|
|
|
"main": [
|
|
|
|
{"state": "ticket.index", "icon": "icon-ticket"},
|
2022-11-07 14:55:17 +00:00
|
|
|
{"state": "ticket.weekly.index", "icon": "schedule"},
|
2022-11-14 13:30:35 +00:00
|
|
|
{"state": "ticket.future", "icon": "keyboard_double_arrow_right"},
|
2022-11-14 13:29:40 +00:00
|
|
|
{"state": "ticket.advance", "icon": "keyboard_double_arrow_left"}
|
2019-11-10 10:08:44 +00:00
|
|
|
],
|
|
|
|
"card": [
|
|
|
|
{"state": "ticket.card.basicData.stepOne", "icon": "settings"},
|
|
|
|
{"state": "ticket.card.sale", "icon": "icon-lines"},
|
2021-11-26 12:04:07 +00:00
|
|
|
{"state": "ticket.card.request.index", "icon": "icon-buyrequest"},
|
2020-04-23 15:59:46 +00:00
|
|
|
{"state": "ticket.card.tracking.index", "icon": "remove_red_eye"},
|
|
|
|
{"state": "ticket.card.log", "icon": "history"},
|
2019-11-10 10:08:44 +00:00
|
|
|
{"state": "ticket.card.observation", "icon": "insert_drive_file"},
|
2020-04-23 15:59:46 +00:00
|
|
|
{"state": "ticket.card.picture", "icon": "image"},
|
2019-11-10 10:08:44 +00:00
|
|
|
{"state": "ticket.card.volume", "icon": "icon-volume"},
|
|
|
|
{"state": "ticket.card.expedition", "icon": "icon-package"},
|
|
|
|
{"state": "ticket.card.service", "icon": "icon-services"},
|
|
|
|
{"state": "ticket.card.package", "icon": "icon-bucket"},
|
|
|
|
{"state": "ticket.card.components", "icon": "icon-components"},
|
|
|
|
{"state": "ticket.card.saleTracking", "icon": "assignment"},
|
2022-08-01 05:59:04 +00:00
|
|
|
{"state": "ticket.card.dms.index", "icon": "cloud_download"},
|
2023-05-05 10:00:37 +00:00
|
|
|
{"state": "ticket.card.boxing", "icon": "science"}
|
2019-11-10 10:08:44 +00:00
|
|
|
]
|
|
|
|
},
|
2019-01-28 15:24:45 +00:00
|
|
|
"keybindings": [
|
|
|
|
{"key": "t", "state": "ticket.index"}
|
|
|
|
],
|
2018-03-12 13:02:29 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
2018-03-14 10:41:19 +00:00
|
|
|
"url": "/ticket",
|
|
|
|
"state": "ticket",
|
|
|
|
"abstract": true,
|
2019-11-10 10:08:44 +00:00
|
|
|
"component": "vn-ticket",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Tickets"
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-05-25 08:03:45 +00:00
|
|
|
"url": "/index?q",
|
|
|
|
"state": "ticket.index",
|
2018-07-25 13:14:03 +00:00
|
|
|
"component": "vn-ticket-index",
|
2019-01-27 23:26:01 +00:00
|
|
|
"description": "Tickets"
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2019-11-21 12:02:46 +00:00
|
|
|
"url": "/:id?sendSMS&phone&message",
|
2018-03-14 10:41:19 +00:00
|
|
|
"state": "ticket.card",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-ticket-card"
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-03-14 11:12:06 +00:00
|
|
|
"url": "/summary",
|
|
|
|
"state": "ticket.card.summary",
|
|
|
|
"component": "vn-ticket-summary",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Summary",
|
2018-03-14 11:12:06 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2019-04-16 13:00:21 +00:00
|
|
|
"url" : "/basic-data",
|
|
|
|
"state": "ticket.card.basicData",
|
|
|
|
"component": "vn-ticket-basic-data",
|
2018-04-10 05:48:04 +00:00
|
|
|
"abstract": true,
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
2022-08-01 05:59:04 +00:00
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-04-04 11:56:16 +00:00
|
|
|
"url" : "/step-one",
|
2019-04-16 13:00:21 +00:00
|
|
|
"state": "ticket.card.basicData.stepOne",
|
|
|
|
"component": "vn-ticket-basic-data-step-one",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Basic data",
|
2018-03-14 10:41:19 +00:00
|
|
|
"params": {
|
2018-04-10 05:48:04 +00:00
|
|
|
"ticket": "$ctrl.data"
|
2018-03-14 10:41:19 +00:00
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-04-04 11:56:16 +00:00
|
|
|
"url" : "/step-two",
|
2019-04-16 13:00:21 +00:00
|
|
|
"state": "ticket.card.basicData.stepTwo",
|
|
|
|
"component": "vn-ticket-basic-data-step-two",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Price difference",
|
2018-04-10 05:48:04 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.data"
|
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-05-16 06:13:39 +00:00
|
|
|
"url" : "/sale",
|
|
|
|
"state": "ticket.card.sale",
|
|
|
|
"component": "vn-ticket-sale",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Sale",
|
2018-05-16 06:13:39 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-03-21 14:51:09 +00:00
|
|
|
"url": "/observation",
|
2018-03-22 09:57:55 +00:00
|
|
|
"state": "ticket.card.observation",
|
|
|
|
"component": "vn-ticket-observation",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Notes",
|
2018-03-16 14:06:42 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-03-21 14:51:09 +00:00
|
|
|
"url": "/volume",
|
|
|
|
"state": "ticket.card.volume",
|
|
|
|
"component": "vn-ticket-volume",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Volume",
|
2018-03-21 14:51:09 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-03-23 11:21:26 +00:00
|
|
|
"url": "/expedition",
|
2018-03-21 14:51:09 +00:00
|
|
|
"state": "ticket.card.expedition",
|
|
|
|
"component": "vn-ticket-expedition",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Expedition",
|
2018-03-21 14:51:09 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-03-15 13:36:09 +00:00
|
|
|
"url" : "/package",
|
|
|
|
"state": "ticket.card.package",
|
2019-05-01 16:49:39 +00:00
|
|
|
"component": "vn-ticket-package",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Packages",
|
2018-03-15 13:36:09 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-03-27 12:24:47 +00:00
|
|
|
"url": "/tracking",
|
2018-03-21 11:56:18 +00:00
|
|
|
"state": "ticket.card.tracking",
|
2018-03-27 12:24:47 +00:00
|
|
|
"abstract": true,
|
|
|
|
"component": "ui-view"
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-03-27 12:24:47 +00:00
|
|
|
"url" : "/index",
|
|
|
|
"state": "ticket.card.tracking.index",
|
2018-05-25 08:03:45 +00:00
|
|
|
"component": "vn-ticket-tracking-index",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Tracking",
|
2018-03-16 07:56:40 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
2018-07-10 12:30:52 +00:00
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-03-27 12:24:47 +00:00
|
|
|
"url": "/edit",
|
|
|
|
"state": "ticket.card.tracking.edit",
|
|
|
|
"component": "vn-ticket-tracking-edit",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "New state",
|
2018-03-27 12:24:47 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
2018-07-10 12:30:52 +00:00
|
|
|
},
|
2019-01-22 09:04:42 +00:00
|
|
|
"acl": ["production", "administrative", "salesPerson"]
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-04-13 14:03:43 +00:00
|
|
|
"url" : "/components",
|
|
|
|
"state": "ticket.card.components",
|
|
|
|
"component": "vn-ticket-components",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Components",
|
2018-04-13 14:03:43 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-07-03 13:00:33 +00:00
|
|
|
"url" : "/sale-tracking",
|
|
|
|
"state": "ticket.card.saleTracking",
|
|
|
|
"component": "vn-ticket-sale-tracking",
|
2018-07-25 13:14:03 +00:00
|
|
|
"description": "Sale tracking",
|
2018-07-03 13:00:33 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-08-03 05:52:37 +00:00
|
|
|
"url" : "/picture",
|
|
|
|
"state": "ticket.card.picture",
|
|
|
|
"component": "vn-ticket-picture",
|
|
|
|
"description": "Pictures",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-10-30 13:57:22 +00:00
|
|
|
"url" : "/log",
|
|
|
|
"state": "ticket.card.log",
|
|
|
|
"component": "vn-ticket-log",
|
2018-11-05 14:06:13 +00:00
|
|
|
"description": "Log"
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-29 11:12:36 +00:00
|
|
|
"url": "/weekly",
|
2018-10-30 13:57:22 +00:00
|
|
|
"state": "ticket.weekly",
|
2019-07-29 11:12:36 +00:00
|
|
|
"abstract": true,
|
|
|
|
"component": "ui-view",
|
2018-11-05 14:06:13 +00:00
|
|
|
"description": "Weekly"
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-29 11:12:36 +00:00
|
|
|
"url": "/index?q",
|
|
|
|
"state": "ticket.weekly.index",
|
|
|
|
"component": "vn-ticket-weekly-index",
|
|
|
|
"description": "Weekly tickets"
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-11-30 06:57:41 +00:00
|
|
|
"url": "/service",
|
|
|
|
"state": "ticket.card.service",
|
|
|
|
"component": "vn-ticket-service",
|
|
|
|
"description": "Service"
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2020-07-07 13:12:36 +00:00
|
|
|
"url": "/request",
|
|
|
|
"state": "ticket.card.request",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "ui-view"
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-11-21 07:58:34 +00:00
|
|
|
"url" : "/index",
|
|
|
|
"state": "ticket.card.request.index",
|
|
|
|
"component": "vn-ticket-request-index",
|
2021-05-24 08:31:51 +00:00
|
|
|
"description": "Purchase request",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-11-21 07:58:34 +00:00
|
|
|
"url" : "/create",
|
|
|
|
"state": "ticket.card.request.create",
|
|
|
|
"component": "vn-ticket-request-create",
|
2020-07-07 13:12:36 +00:00
|
|
|
"description": "New purchase request"
|
2021-05-24 08:31:51 +00:00
|
|
|
},
|
|
|
|
{
|
2018-11-26 10:41:11 +00:00
|
|
|
"url": "/create?clientFk",
|
|
|
|
"state": "ticket.create",
|
|
|
|
"component": "vn-ticket-create",
|
|
|
|
"description": "New ticket"
|
2019-05-01 16:49:39 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/dms",
|
|
|
|
"state": "ticket.card.dms",
|
2019-06-06 11:59:11 +00:00
|
|
|
"abstract": true,
|
|
|
|
"component": "ui-view"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/index",
|
|
|
|
"state": "ticket.card.dms.index",
|
|
|
|
"component": "vn-ticket-dms-index",
|
2019-05-01 16:49:39 +00:00
|
|
|
"description": "File management"
|
2019-06-06 11:59:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/create",
|
|
|
|
"state": "ticket.card.dms.create",
|
|
|
|
"component": "vn-ticket-dms-create",
|
|
|
|
"description": "Upload file",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2019-07-15 09:40:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/:dmsId/edit",
|
|
|
|
"state": "ticket.card.dms.edit",
|
|
|
|
"component": "vn-ticket-dms-edit",
|
|
|
|
"description": "Edit file",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2022-08-01 05:59:04 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/boxing",
|
|
|
|
"state": "ticket.card.boxing",
|
|
|
|
"component": "vn-ticket-boxing",
|
|
|
|
"description": "Boxing",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2022-11-07 14:55:17 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/future",
|
|
|
|
"state": "ticket.future",
|
|
|
|
"component": "vn-ticket-future",
|
|
|
|
"description": "Future tickets"
|
2022-11-14 13:29:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/advance",
|
|
|
|
"state": "ticket.advance",
|
|
|
|
"component": "vn-ticket-advance",
|
|
|
|
"description": "Advance tickets"
|
2018-11-27 12:28:15 +00:00
|
|
|
}
|
2018-03-12 13:02:29 +00:00
|
|
|
]
|
2022-08-01 05:59:04 +00:00
|
|
|
}
|