@seniorsistemas/yms-integration 1.37.0-0eff97eb-8c8e-4f9f-8290-0e29e30aadee → 1.37.0-1c9bebb9-04fe-4c4a-b91f-90711478e8df

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3986,7 +3986,7 @@
3986
3986
  _this.utils.message("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_search_document_not_found_message_content");
3987
3987
  }
3988
3988
  else {
3989
- _this.utils.translateMessage("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_unknown_search_document_message_content" + err.error.message);
3989
+ _this.utils.translateMessage("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_unknown_search_document_message_content " + err.error.message);
3990
3990
  }
3991
3991
  _this.confirmInvoiceDialog();
3992
3992
  return rxjs.throwError(err);
@@ -4007,13 +4007,15 @@
4007
4007
  };
4008
4008
  InsertKeyComponent.prototype.confirmInvoiceDialog = function () {
4009
4009
  var _this = this;
4010
- this.confirmationService.confirm({
4011
- message: this.translate.instant("yms.int.wms_message_confirm_invoice_dialog"),
4012
- acceptLabel: this.translate.instant("yms.int.wms_accept_confirm_invoice_dialog"),
4013
- rejectLabel: this.translate.instant("yms.int.wms_reject_confirm_invoice_dialog"),
4014
- header: this.translate.instant("yms.int.wms_header_content_confirm_invoice_dialog"),
4015
- accept: function () { return _this.buildInvoice(); }
4016
- });
4010
+ if (this.isWmsWis()) {
4011
+ this.confirmationService.confirm({
4012
+ message: this.translate.instant("yms.int.wms_message_confirm_invoice_dialog"),
4013
+ acceptLabel: this.translate.instant("yms.int.wms_accept_confirm_invoice_dialog"),
4014
+ rejectLabel: this.translate.instant("yms.int.wms_reject_confirm_invoice_dialog"),
4015
+ header: this.translate.instant("yms.int.wms_header_content_confirm_invoice_dialog"),
4016
+ accept: function () { return _this.buildInvoice(); }
4017
+ });
4018
+ }
4017
4019
  };
4018
4020
  InsertKeyComponent.prototype.buildInvoice = function () {
4019
4021
  var _this = this;