sigesp 0.9.73-20231011 → 0.9.74-20231011

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.
@@ -840,7 +840,7 @@
840
840
  var TipoJubilacion = [
841
841
  { value: '1', denominacion: 'Jubilación Reglamentaria' },
842
842
  { value: '2', denominacion: 'Jubilacion Especial' },
843
- { value: '3', denominacion: 'Pensión Invalidez' }
843
+ { value: '3', denominacion: 'Pensión Invalidez' },
844
844
  ];
845
845
  var camposConstaciaTrabajo = [
846
846
  { denominacion: "AÑO", valor: 'Anio' },
@@ -7956,6 +7956,15 @@
7956
7956
  return res;
7957
7957
  }));
7958
7958
  };
7959
+ /**
7960
+ * @description Valida si la fecha esta dentro del periodo fiscal y el mes esta abierto o cerrado
7961
+ * @return Observable<IResponse>
7962
+ * @author Dimaly Crespo
7963
+ * @author 11-10-2023
7964
+ */
7965
+ SigespService.prototype.getValidarPeriodo = function (fecha, periodoFiscal) {
7966
+ return this.http.get(this.URL + "/dao/scg/configuracion_contabilidad_dao.php?fecha=" + fecha + "&periodo=" + periodoFiscal, { headers: this.getHttpHeaders() }).pipe(operators.map(function (res) { return res; }));
7967
+ };
7959
7968
  SigespService.prototype.userHasRights = function (column) {
7960
7969
  return this.http.get(this.URL + "/dao/sss/derechos_usuario_dao.php?idComponent=" + this.currentComponent.id + "&column=" + column, { headers: this.getHttpHeaders() });
7961
7970
  };