@seniorsistemas/yms-integration 1.39.0-f91ecbab-02b2-4fa0-803c-5027c0257424 → 1.40.0

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.
@@ -3889,10 +3889,11 @@
3889
3889
  });
3890
3890
  };
3891
3891
  RegisterDocumentComponent.prototype.save = function () {
3892
- this.document.emit(Document.fromDto(this.formGroup.getRawValue()));
3892
+ var document = Document.fromDto(this.formGroup.getRawValue());
3893
3893
  if (!this.documentGridComponent.validateDocument(document)) {
3894
3894
  return;
3895
3895
  }
3896
+ this.document.emit(document);
3896
3897
  this.formGroup.reset();
3897
3898
  };
3898
3899
  RegisterDocumentComponent.prototype.isWmsWis = function () {