From b8fe5500a1978c714d0985a9833b4b1aafc2da50 Mon Sep 17 00:00:00 2001 From: gerard Date: Thu, 12 Jul 2018 12:55:31 +0200 Subject: [PATCH] Bug #400 Al eliminar un pedido no te dice que ha sido eliminado --- client/ticket/src/sale/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/ticket/src/sale/index.js b/client/ticket/src/sale/index.js index 9f36086b3..7d6697f93 100644 --- a/client/ticket/src/sale/index.js +++ b/client/ticket/src/sale/index.js @@ -118,7 +118,8 @@ class Controller { deleteTicket() { let params = {id: this.$state.params.id}; this.$http.post(`/ticket/api/Tickets/deleted`, params).then(() => { - this.$state.go('ticket.list'); + this.$state.go('ticket.index'); + this.vnApp.showSuccess(this.translate.instant('Ticket deleted')); }); } // Remove Lines