order line not redirecting correctly to ticket index fixed
This commit is contained in:
parent
815985e5de
commit
b38aa57894
|
@ -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})});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue