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,
|
2018-03-12 13:02:29 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
2018-03-14 10:41:19 +00:00
|
|
|
"url": "/ticket",
|
|
|
|
"state": "ticket",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "ui-view"
|
|
|
|
},
|
|
|
|
{
|
2018-05-25 08:03:45 +00:00
|
|
|
"url": "/index?q",
|
|
|
|
"state": "ticket.index",
|
|
|
|
"component": "vn-ticket-index"
|
2018-03-14 10:41:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/create",
|
|
|
|
"state": "ticket.create",
|
|
|
|
"component": "vn-ticket-create"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/:id",
|
|
|
|
"state": "ticket.card",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-ticket-card"
|
|
|
|
},
|
2018-03-14 11:12:06 +00:00
|
|
|
{
|
|
|
|
"url": "/summary",
|
|
|
|
"state": "ticket.card.summary",
|
|
|
|
"component": "vn-ticket-summary",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
|
|
|
},
|
2018-03-14 10:41:19 +00:00
|
|
|
{
|
|
|
|
"url" : "/data",
|
|
|
|
"state": "ticket.card.data",
|
2018-04-10 05:48:04 +00:00
|
|
|
"component": "vn-ticket-data",
|
|
|
|
"abstract": true,
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
2018-04-04 11:56:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url" : "/step-one",
|
|
|
|
"state": "ticket.card.data.stepOne",
|
|
|
|
"component": "vn-ticket-data-step-one",
|
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
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Basic data",
|
|
|
|
"icon": "settings"
|
|
|
|
}
|
2018-03-15 13:36:09 +00:00
|
|
|
},
|
2018-04-04 11:56:16 +00:00
|
|
|
{
|
|
|
|
"url" : "/step-two",
|
|
|
|
"state": "ticket.card.data.stepTwo",
|
2018-04-10 05:48:04 +00:00
|
|
|
"component": "vn-ticket-data-step-two",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.data"
|
|
|
|
}
|
2018-04-04 11:56:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url" : "/step-three",
|
|
|
|
"state": "ticket.card.data.stepThree",
|
2018-04-10 05:48:04 +00:00
|
|
|
"component": "vn-ticket-data-step-three",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.data"
|
|
|
|
}
|
2018-04-04 11:56:16 +00:00
|
|
|
},
|
2018-05-16 06:13:39 +00:00
|
|
|
{
|
|
|
|
"url" : "/sale",
|
|
|
|
"state": "ticket.card.sale",
|
|
|
|
"component": "vn-ticket-sale",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Sale",
|
|
|
|
"icon": "icon-lines"
|
|
|
|
}
|
|
|
|
},
|
2018-03-16 14:06:42 +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-03-16 14:06:42 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Notes",
|
|
|
|
"icon": "insert_drive_file"
|
|
|
|
}
|
|
|
|
},
|
2018-03-21 14:51:09 +00:00
|
|
|
{
|
|
|
|
"url": "/volume",
|
|
|
|
"state": "ticket.card.volume",
|
|
|
|
"component": "vn-ticket-volume",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Volume",
|
|
|
|
"icon": "icon-volume"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
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",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Expedition",
|
|
|
|
"icon": "icon-volum"
|
|
|
|
}
|
|
|
|
},
|
2018-03-15 13:36:09 +00:00
|
|
|
{
|
|
|
|
"url" : "/package",
|
2018-03-27 13:06:22 +00:00
|
|
|
"abstract": true,
|
2018-03-15 13:36:09 +00:00
|
|
|
"state": "ticket.card.package",
|
2018-03-27 13:06:22 +00:00
|
|
|
"component": "ui-view"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url" : "/index",
|
|
|
|
"state": "ticket.card.package.index",
|
|
|
|
"component": "vn-ticket-package-index",
|
2018-03-15 13:36:09 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Packages",
|
|
|
|
"icon": "icon-bucket"
|
|
|
|
}
|
2018-03-20 12:20:17 +00:00
|
|
|
},
|
2018-03-16 07:56:40 +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"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url" : "/index",
|
|
|
|
"state": "ticket.card.tracking.index",
|
2018-05-25 08:03:45 +00:00
|
|
|
"component": "vn-ticket-tracking-index",
|
2018-03-16 07:56:40 +00:00
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
2018-03-21 11:56:18 +00:00
|
|
|
"description": "Tracking",
|
2018-03-16 07:56:40 +00:00
|
|
|
"icon": "remove_red_eye"
|
2018-05-16 10:56:46 +00:00
|
|
|
},
|
|
|
|
"acl": ["production"]
|
2018-03-20 12:53:01 +00:00
|
|
|
},
|
2018-03-27 12:24:47 +00:00
|
|
|
{
|
|
|
|
"url": "/edit",
|
|
|
|
"state": "ticket.card.tracking.edit",
|
|
|
|
"component": "vn-ticket-tracking-edit",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
}
|
|
|
|
},
|
2018-03-21 11:56:18 +00:00
|
|
|
{
|
|
|
|
"url": "/create",
|
|
|
|
"state": "ticket.card.tracking.create",
|
|
|
|
"component": "vn-ticket-tracking-create",
|
|
|
|
"params": {
|
|
|
|
"client": "$ctrl.client"
|
|
|
|
}
|
|
|
|
},
|
2018-03-26 13:10:51 +00:00
|
|
|
{
|
|
|
|
"url" : "/sale-checked",
|
|
|
|
"state": "ticket.card.saleChecked",
|
|
|
|
"component": "vn-ticket-sale-checked",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
2018-04-04 13:03:13 +00:00
|
|
|
"description": "Sale checked",
|
2018-03-26 13:10:51 +00:00
|
|
|
"icon": "assignment"
|
|
|
|
}
|
2018-04-13 14:03:43 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url" : "/components",
|
|
|
|
"state": "ticket.card.components",
|
|
|
|
"component": "vn-ticket-components",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Components",
|
|
|
|
"icon": "icon-components"
|
|
|
|
}
|
2018-07-03 13:00:33 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"url" : "/sale-tracking",
|
|
|
|
"state": "ticket.card.saleTracking",
|
|
|
|
"component": "vn-ticket-sale-tracking",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Sale tracking",
|
|
|
|
"icon": "assignment"
|
|
|
|
}
|
2018-03-12 13:02:29 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|