when you create an order now redirects to order.card.catalogue
This commit is contained in:
parent
21ab8a5573
commit
9ce117325c
|
@ -75,7 +75,7 @@ class Controller {
|
|||
};
|
||||
this.$http.post(`order/api/Orders/new`, params).then(res => {
|
||||
this.vnApp.showSuccess(this.translate.instant('Data saved!'));
|
||||
this.$state.go("order.card.summary", {id: res.data});
|
||||
this.$state.go("order.card.catalogue", {id: res.data});
|
||||
}).catch(e => {
|
||||
this.vnApp.showError(this.translate.instant(e.data.error.message));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue