@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.
@@ -3927,7 +3927,7 @@ var InsertKeyComponent = /** @class */ (function () {
3927
3927
  _this.utils.message("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_search_document_not_found_message_content");
3928
3928
  }
3929
3929
  else {
3930
- _this.utils.translateMessage("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_unknown_search_document_message_content" + err.error.message);
3930
+ _this.utils.translateMessage("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_unknown_search_document_message_content " + err.error.message);
3931
3931
  }
3932
3932
  _this.confirmInvoiceDialog();
3933
3933
  return throwError(err);
@@ -3948,13 +3948,15 @@ var InsertKeyComponent = /** @class */ (function () {
3948
3948
  };
3949
3949
  InsertKeyComponent.prototype.confirmInvoiceDialog = function () {
3950
3950
  var _this = this;
3951
- this.confirmationService.confirm({
3952
- message: this.translate.instant("yms.int.wms_message_confirm_invoice_dialog"),
3953
- acceptLabel: this.translate.instant("yms.int.wms_accept_confirm_invoice_dialog"),
3954
- rejectLabel: this.translate.instant("yms.int.wms_reject_confirm_invoice_dialog"),
3955
- header: this.translate.instant("yms.int.wms_header_content_confirm_invoice_dialog"),
3956
- accept: function () { return _this.buildInvoice(); }
3957
- });
3951
+ if (this.isWmsWis()) {
3952
+ this.confirmationService.confirm({
3953
+ message: this.translate.instant("yms.int.wms_message_confirm_invoice_dialog"),
3954
+ acceptLabel: this.translate.instant("yms.int.wms_accept_confirm_invoice_dialog"),
3955
+ rejectLabel: this.translate.instant("yms.int.wms_reject_confirm_invoice_dialog"),
3956
+ header: this.translate.instant("yms.int.wms_header_content_confirm_invoice_dialog"),
3957
+ accept: function () { return _this.buildInvoice(); }
3958
+ });
3959
+ }
3958
3960
  };
3959
3961
  InsertKeyComponent.prototype.buildInvoice = function () {
3960
3962
  var _this = this;