order line not redirecting correctly to ticket index fixed

This commit is contained in:
Gerard 2019-02-11 09:02:09 +01:00
parent 815985e5de
commit b38aa57894
1 changed files with 2 additions and 1 deletions

View File

@ -70,6 +70,7 @@ class Controller {
this.$http.post(query, params).then(() => {
this.vnApp.showSuccess(this.$translate.instant('Data saved!'));
});
this.$scope.watcher.updateOriginalData();
this.getVAT();
this.card.reload();
}
@ -92,7 +93,7 @@ class Controller {
this.$http.post(query).then(() => {
this.vnApp.showSuccess(this.$translate.instant('Order confirmed'));
this.$state.go(`ticket.index`, {clientFk: this.order.clientFk});
this.$state.go(`ticket.index`, {q: JSON.stringify({clientFk: this.order.clientFk})});
});
}
}