@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.
@@ -3830,10 +3830,11 @@ var RegisterDocumentComponent = /** @class */ (function () {
3830
3830
  });
3831
3831
  };
3832
3832
  RegisterDocumentComponent.prototype.save = function () {
3833
- this.document.emit(Document.fromDto(this.formGroup.getRawValue()));
3833
+ var document = Document.fromDto(this.formGroup.getRawValue());
3834
3834
  if (!this.documentGridComponent.validateDocument(document)) {
3835
3835
  return;
3836
3836
  }
3837
+ this.document.emit(document);
3837
3838
  this.formGroup.reset();
3838
3839
  };
3839
3840
  RegisterDocumentComponent.prototype.isWmsWis = function () {