205 lines
5.6 KiB
JSON
205 lines
5.6 KiB
JSON
{
|
|
"module": "ticket",
|
|
"name": "Tickets",
|
|
"icon": "icon-ticket",
|
|
"validations": true,
|
|
"routes": [
|
|
{
|
|
"url": "/ticket",
|
|
"state": "ticket",
|
|
"abstract": true,
|
|
"component": "ui-view",
|
|
"description": "Tickets"
|
|
},
|
|
{
|
|
"url": "/index?q",
|
|
"state": "ticket.index",
|
|
"component": "vn-ticket-index",
|
|
"description": "Listado"
|
|
},
|
|
{
|
|
"url": "/:id",
|
|
"state": "ticket.card",
|
|
"abstract": true,
|
|
"component": "vn-ticket-card"
|
|
},
|
|
{
|
|
"url": "/summary",
|
|
"state": "ticket.card.summary",
|
|
"component": "vn-ticket-summary",
|
|
"description": "Summary",
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
}
|
|
},
|
|
{
|
|
"url" : "/data",
|
|
"state": "ticket.card.data",
|
|
"component": "vn-ticket-data",
|
|
"abstract": true,
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
}
|
|
},
|
|
{
|
|
"url" : "/step-one",
|
|
"state": "ticket.card.data.stepOne",
|
|
"component": "vn-ticket-data-step-one",
|
|
"description": "Basic data",
|
|
"params": {
|
|
"ticket": "$ctrl.data"
|
|
},
|
|
"menu": {
|
|
"icon": "settings"
|
|
}
|
|
},
|
|
{
|
|
"url" : "/step-two",
|
|
"state": "ticket.card.data.stepTwo",
|
|
"component": "vn-ticket-data-step-two",
|
|
"description": "Price difference",
|
|
"params": {
|
|
"ticket": "$ctrl.data"
|
|
}
|
|
},
|
|
{
|
|
"url" : "/step-three",
|
|
"state": "ticket.card.data.stepThree",
|
|
"component": "vn-ticket-data-step-three",
|
|
"description": "Charge",
|
|
"params": {
|
|
"ticket": "$ctrl.data"
|
|
}
|
|
},
|
|
{
|
|
"url" : "/sale",
|
|
"state": "ticket.card.sale",
|
|
"component": "vn-ticket-sale",
|
|
"description": "Sale",
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
},
|
|
"menu": {
|
|
"icon": "icon-lines"
|
|
}
|
|
},
|
|
{
|
|
"url": "/observation",
|
|
"state": "ticket.card.observation",
|
|
"component": "vn-ticket-observation",
|
|
"description": "Notes",
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
},
|
|
"menu": {
|
|
"icon": "insert_drive_file"
|
|
}
|
|
},
|
|
{
|
|
"url": "/volume",
|
|
"state": "ticket.card.volume",
|
|
"component": "vn-ticket-volume",
|
|
"description": "Volume",
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
},
|
|
"menu": {
|
|
"icon": "icon-volume"
|
|
}
|
|
},
|
|
{
|
|
"url": "/expedition",
|
|
"state": "ticket.card.expedition",
|
|
"component": "vn-ticket-expedition",
|
|
"description": "Expedition",
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
},
|
|
"menu": {
|
|
"icon": "icon-volum"
|
|
}
|
|
},
|
|
{
|
|
"url" : "/package",
|
|
"abstract": true,
|
|
"state": "ticket.card.package",
|
|
"component": "ui-view"
|
|
},
|
|
{
|
|
"url" : "/index",
|
|
"state": "ticket.card.package.index",
|
|
"component": "vn-ticket-package-index",
|
|
"description": "Packages",
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
},
|
|
"menu": {
|
|
"icon": "icon-bucket"
|
|
}
|
|
},
|
|
{
|
|
"url": "/tracking",
|
|
"state": "ticket.card.tracking",
|
|
"abstract": true,
|
|
"component": "ui-view"
|
|
},
|
|
{
|
|
"url" : "/index",
|
|
"state": "ticket.card.tracking.index",
|
|
"component": "vn-ticket-tracking-index",
|
|
"description": "Tracking",
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
},
|
|
"menu": {
|
|
"icon": "remove_red_eye"
|
|
}
|
|
},
|
|
{
|
|
"url": "/edit",
|
|
"state": "ticket.card.tracking.edit",
|
|
"component": "vn-ticket-tracking-edit",
|
|
"description": "New state",
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
},
|
|
"acl": ["production"]
|
|
},
|
|
{
|
|
"url" : "/sale-checked",
|
|
"state": "ticket.card.saleChecked",
|
|
"component": "vn-ticket-sale-checked",
|
|
"description": "Sale checked",
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
},
|
|
"menu": {
|
|
"icon": "assignment"
|
|
}
|
|
},
|
|
{
|
|
"url" : "/components",
|
|
"state": "ticket.card.components",
|
|
"component": "vn-ticket-components",
|
|
"description": "Components",
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
},
|
|
"menu": {
|
|
"icon": "icon-components"
|
|
}
|
|
},
|
|
{
|
|
"url" : "/sale-tracking",
|
|
"state": "ticket.card.saleTracking",
|
|
"component": "vn-ticket-sale-tracking",
|
|
"description": "Sale tracking",
|
|
"params": {
|
|
"ticket": "$ctrl.ticket"
|
|
},
|
|
"menu": {
|
|
"icon": "assignment"
|
|
}
|
|
}
|
|
]
|
|
} |