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.
@@ -546,7 +546,7 @@ const Meses = [
546
546
  const TipoJubilacion = [
547
547
  { value: '1', denominacion: 'Jubilación Reglamentaria' },
548
548
  { value: '2', denominacion: 'Jubilacion Especial' },
549
- { value: '3', denominacion: 'Pensión Invalidez' }
549
+ { value: '3', denominacion: 'Pensión Invalidez' },
550
550
  ];
551
551
  const camposConstaciaTrabajo = [
552
552
  { denominacion: "AÑO", valor: 'Anio' },
@@ -7312,6 +7312,15 @@ class SigespService {
7312
7312
  return res;
7313
7313
  }));
7314
7314
  }
7315
+ /**
7316
+ * @description Valida si la fecha esta dentro del periodo fiscal y el mes esta abierto o cerrado
7317
+ * @return Observable<IResponse>
7318
+ * @author Dimaly Crespo
7319
+ * @author 11-10-2023
7320
+ */
7321
+ getValidarPeriodo(fecha, periodoFiscal) {
7322
+ return this.http.get(`${this.URL}/dao/scg/configuracion_contabilidad_dao.php?fecha=${fecha}&periodo=${periodoFiscal}`, { headers: this.getHttpHeaders() }).pipe(map((res) => { return res; }));
7323
+ }
7315
7324
  userHasRights(column) {
7316
7325
  return this.http.get(`${this.URL}/dao/sss/derechos_usuario_dao.php?idComponent=${this.currentComponent.id}&column=${column}`, { headers: this.getHttpHeaders() });
7317
7326
  }