@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.
@@ -3357,6 +3357,7 @@
3357
3357
  InvoiceCondition["MANUAL_AUTHORIZED"] = "MANUAL_AUTHORIZED";
3358
3358
  InvoiceCondition["DEVOLUTION"] = "DEVOLUTION";
3359
3359
  InvoiceCondition["REJECTED"] = "REJECTED";
3360
+ InvoiceCondition["DIVERGENCE"] = "DIVERGENCE";
3360
3361
  })(InvoiceCondition || (InvoiceCondition = {}));
3361
3362
 
3362
3363
  function getInvoiceConditions(translate) {
@@ -3367,6 +3368,7 @@
3367
3368
  { label: translate.instant("yms.int.wms_grid_document_invoice_condition_partial_authorized"), value: InvoiceCondition.PARTIAL_AUTHORIZED },
3368
3369
  { label: translate.instant("yms.int.wms_grid_document_invoice_condition_devolution"), value: InvoiceCondition.DEVOLUTION },
3369
3370
  { label: translate.instant("yms.int.wms_grid_document_invoice_condition_rejected"), value: InvoiceCondition.REJECTED },
3371
+ { label: translate.instant("yms.int.wms_grid_document_invoice_condition_divergence"), value: InvoiceCondition.DIVERGENCE },
3370
3372
  ];
3371
3373
  }
3372
3374
 
@@ -3889,10 +3891,11 @@
3889
3891
  });
3890
3892
  };
3891
3893
  RegisterDocumentComponent.prototype.save = function () {
3892
- this.document.emit(Document.fromDto(this.formGroup.getRawValue()));
3894
+ var document = Document.fromDto(this.formGroup.getRawValue());
3893
3895
  if (!this.documentGridComponent.validateDocument(document)) {
3894
3896
  return;
3895
3897
  }
3898
+ this.document.emit(document);
3896
3899
  this.formGroup.reset();
3897
3900
  };
3898
3901
  RegisterDocumentComponent.prototype.isWmsWis = function () {
@@ -4332,6 +4335,7 @@
4332
4335
  { label: _this.translate.instant("yms.int.wms_grid_document_invoice_condition_partial_authorized"), value: InvoiceCondition.PARTIAL_AUTHORIZED },
4333
4336
  { label: _this.translate.instant("yms.int.wms_grid_document_invoice_condition_devolution"), value: InvoiceCondition.DEVOLUTION },
4334
4337
  { label: _this.translate.instant("yms.int.wms_grid_document_invoice_condition_rejected"), value: InvoiceCondition.REJECTED },
4338
+ { label: _this.translate.instant("yms.int.wms_grid_document_invoice_condition_divergence"), value: InvoiceCondition.DIVERGENCE },
4335
4339
  ];
4336
4340
  _this.isAuthorized = function (condition) { return (condition === InvoiceCondition.AUTHORIZED); };
4337
4341
  return _this;