diff --git a/modules/ticket/front/basic-data/step-one/index.js b/modules/ticket/front/basic-data/step-one/index.js index d2bd99be3..379fc7148 100644 --- a/modules/ticket/front/basic-data/step-one/index.js +++ b/modules/ticket/front/basic-data/step-one/index.js @@ -243,31 +243,6 @@ class Controller { }); } - /* - * Gets a zone from an agency - */ - onChangeWarehouse(warehouseId) { - let params = { - landed: this.ticket.landed, - addressFk: this.ticket.addressFk, - agencyModeFk: this.ticket.agencyModeFk, - warehouseFk: warehouseId - }; - - this.ticket.zoneFk = null; - let query = `/api/Agencies/getShipped`; - this.$http.get(query, {params}).then(res => { - if (res.data) - this.ticket.zoneFk = res.data.id; - - if (!res.data) { - this.vnApp.showMessage( - this.$translate.instant('No delivery zone available for this parameters') - ); - } - }); - } - async onStepChange() { if (this.isFormInvalid()) { return this.vnApp.showError(