Merge branch 'test' into dev
This commit is contained in:
commit
3610ce88d7
|
@ -76,8 +76,8 @@
|
|||
<vn-td number>{{::ticket.total | currency: 'EUR': 2}}</vn-td>
|
||||
<vn-td number>
|
||||
<vn-icon-button
|
||||
ng-click="$ctrl.goToLines(ticket.id)"
|
||||
vn-tooltip="Preview"
|
||||
ng-click="$ctrl.goToLines($event, ticket.id)"
|
||||
vn-tooltip="Go to lines"
|
||||
icon="icon-lines">
|
||||
</vn-icon-button>
|
||||
<vn-icon-button
|
||||
|
|
|
@ -44,8 +44,10 @@ export default class Controller {
|
|||
this.$.model.clear();
|
||||
}
|
||||
|
||||
goToLines(ticketFk) {
|
||||
this.$state.go('ticket.card.lines', {id: ticketFk});
|
||||
goToLines(event, ticketFk) {
|
||||
event.preventDefault();
|
||||
event.stopImmediatePropagation();
|
||||
this.$state.go('ticket.card.sale', {id: ticketFk});
|
||||
}
|
||||
|
||||
goToTurns() {
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
Turns: Turnos
|
||||
Go to lines: Ir a lineas
|
Loading…
Reference in New Issue