From 6d54c860cd953e7514b9497b0f47e11681db4fe7 Mon Sep 17 00:00:00 2001 From: Gerard Date: Wed, 6 Feb 2019 09:55:17 +0100 Subject: [PATCH] #1029 ir a lineas pedido en ticket.index --- modules/ticket/front/index/index.html | 7 ++++++- modules/ticket/front/index/index.js | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/modules/ticket/front/index/index.html b/modules/ticket/front/index/index.html index 19974539f..44c35263c 100644 --- a/modules/ticket/front/index/index.html +++ b/modules/ticket/front/index/index.html @@ -74,7 +74,12 @@ {{::ticket.agencyMode}} {{::ticket.warehouse}} {{::ticket.total | currency: 'EUR': 2}} - + + + { + this.goToTurns('ticket.weekly'); + }, name: 'Turns', always: true}, ]; if (!$stateParams.q) { @@ -42,6 +44,10 @@ export default class Controller { this.$.model.clear(); } + goToLines(ticketFk) { + this.$state.go('ticket.card.lines', {id: ticketFk}); + } + goToTurns() { this.$state.go('ticket.weekly'); }