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"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/list?q",
|
|
|
|
"state": "ticket.list",
|
|
|
|
"component": "vn-ticket-list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
|
|
|
"component": "vn-ticket-data",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Basic data",
|
|
|
|
"icon": "settings"
|
|
|
|
}
|
2018-03-15 13:36:09 +00:00
|
|
|
},
|
2018-03-16 14:06:42 +00:00
|
|
|
{
|
|
|
|
"url": "/observations",
|
|
|
|
"state": "ticket.card.observations",
|
|
|
|
"component": "vn-ticket-observations",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Notes",
|
|
|
|
"icon": "insert_drive_file"
|
|
|
|
}
|
|
|
|
},
|
2018-03-15 13:36:09 +00:00
|
|
|
{
|
|
|
|
"url" : "/package",
|
|
|
|
"abstract": true,
|
|
|
|
"state": "ticket.card.package",
|
|
|
|
"component": "ui-view"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/list",
|
|
|
|
"state": "ticket.card.package.list",
|
|
|
|
"component": "vn-ticket-package-list",
|
|
|
|
"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
|
|
|
{
|
|
|
|
"url" : "/review",
|
|
|
|
"state": "ticket.card.review",
|
|
|
|
"component": "vn-ticket-review",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Review",
|
|
|
|
"icon": "remove_red_eye"
|
|
|
|
}
|
2018-03-20 12:53:01 +00:00
|
|
|
},
|
2018-03-20 12:20:17 +00:00
|
|
|
{
|
|
|
|
"url" : "/sale",
|
|
|
|
"state": "ticket.card.sale",
|
|
|
|
"component": "vn-ticket-sale",
|
|
|
|
"params": {
|
|
|
|
"ticket": "$ctrl.ticket"
|
|
|
|
},
|
|
|
|
"menu": {
|
|
|
|
"description": "Sale",
|
|
|
|
"icon": "icon-lines"
|
|
|
|
}
|
2018-03-12 13:02:29 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|