@seniorsistemas/yms-integration 1.39.0-f91ecbab-02b2-4fa0-803c-5027c0257424 → 1.40.0-c5bb9262-143e-4c54-86ef-c7f4a8489d6b

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.
@@ -3298,6 +3298,7 @@ var InvoiceCondition;
3298
3298
  InvoiceCondition["MANUAL_AUTHORIZED"] = "MANUAL_AUTHORIZED";
3299
3299
  InvoiceCondition["DEVOLUTION"] = "DEVOLUTION";
3300
3300
  InvoiceCondition["REJECTED"] = "REJECTED";
3301
+ InvoiceCondition["DIVERGENCE"] = "DIVERGENCE";
3301
3302
  })(InvoiceCondition || (InvoiceCondition = {}));
3302
3303
 
3303
3304
  function getInvoiceConditions(translate) {
@@ -3308,6 +3309,7 @@ function getInvoiceConditions(translate) {
3308
3309
  { label: translate.instant("yms.int.wms_grid_document_invoice_condition_partial_authorized"), value: InvoiceCondition.PARTIAL_AUTHORIZED },
3309
3310
  { label: translate.instant("yms.int.wms_grid_document_invoice_condition_devolution"), value: InvoiceCondition.DEVOLUTION },
3310
3311
  { label: translate.instant("yms.int.wms_grid_document_invoice_condition_rejected"), value: InvoiceCondition.REJECTED },
3312
+ { label: translate.instant("yms.int.wms_grid_document_invoice_condition_divergence"), value: InvoiceCondition.DIVERGENCE },
3311
3313
  ];
3312
3314
  }
3313
3315
 
@@ -3830,10 +3832,11 @@ var RegisterDocumentComponent = /** @class */ (function () {
3830
3832
  });
3831
3833
  };
3832
3834
  RegisterDocumentComponent.prototype.save = function () {
3833
- this.document.emit(Document.fromDto(this.formGroup.getRawValue()));
3835
+ var document = Document.fromDto(this.formGroup.getRawValue());
3834
3836
  if (!this.documentGridComponent.validateDocument(document)) {
3835
3837
  return;
3836
3838
  }
3839
+ this.document.emit(document);
3837
3840
  this.formGroup.reset();
3838
3841
  };
3839
3842
  RegisterDocumentComponent.prototype.isWmsWis = function () {
@@ -4273,6 +4276,7 @@ var DocumentListComponent = /** @class */ (function (_super) {
4273
4276
  { label: _this.translate.instant("yms.int.wms_grid_document_invoice_condition_partial_authorized"), value: InvoiceCondition.PARTIAL_AUTHORIZED },
4274
4277
  { label: _this.translate.instant("yms.int.wms_grid_document_invoice_condition_devolution"), value: InvoiceCondition.DEVOLUTION },
4275
4278
  { label: _this.translate.instant("yms.int.wms_grid_document_invoice_condition_rejected"), value: InvoiceCondition.REJECTED },
4279
+ { label: _this.translate.instant("yms.int.wms_grid_document_invoice_condition_divergence"), value: InvoiceCondition.DIVERGENCE },
4276
4280
  ];
4277
4281
  _this.isAuthorized = function (condition) { return (condition === InvoiceCondition.AUTHORIZED); };
4278
4282
  return _this;