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