sigesp 0.9.73-20231011 → 0.9.75-20231012

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' },
@@ -4572,6 +4572,11 @@ class MCargoEstructuraOrganizativa extends MBasicModel {
4572
4572
  this.idPersonal = 0;
4573
4573
  this.codigoEstructuraOrganizativa = '';
4574
4574
  this.denominacionEstructuraOrganizativa = '';
4575
+ this.cogigoUnidadOrganizativa = '';
4576
+ this.denominacionUnidadOrganizativa = '';
4577
+ this.codigoEstructuraPresupuestaria = '';
4578
+ this.codigoCentroCosto = '';
4579
+ this.dnominacionCentroCosto = '';
4575
4580
  this.nivel = 0;
4576
4581
  if (e) {
4577
4582
  this.idEmpresa = parseInt(e.id_empresa);
@@ -4583,6 +4588,9 @@ class MCargoEstructuraOrganizativa extends MBasicModel {
4583
4588
  this.denominacionEstructuraOrganizativa = e.denestorg;
4584
4589
  this.idPersonal = parseInt(e.id_personal);
4585
4590
  this.nivel = parseInt(e.nivel);
4591
+ this.codigoEstructuraPresupuestaria = e.codigo_estructura;
4592
+ this.codigoCentroCosto = e.codcencos;
4593
+ this.dnominacionCentroCosto = e.denominacion;
4586
4594
  this.idDtCargoEstructura = parseInt(e.id_dt);
4587
4595
  }
4588
4596
  else {
@@ -7312,6 +7320,15 @@ class SigespService {
7312
7320
  return res;
7313
7321
  }));
7314
7322
  }
7323
+ /**
7324
+ * @description Valida si la fecha esta dentro del periodo fiscal y el mes esta abierto o cerrado
7325
+ * @return Observable<IResponse>
7326
+ * @author Dimaly Crespo
7327
+ * @author 11-10-2023
7328
+ */
7329
+ getValidarPeriodo(fecha, periodoFiscal) {
7330
+ return this.http.get(`${this.URL}/dao/scg/configuracion_contabilidad_dao.php?fecha=${fecha}&periodo=${periodoFiscal}`, { headers: this.getHttpHeaders() }).pipe(map((res) => { return res; }));
7331
+ }
7315
7332
  userHasRights(column) {
7316
7333
  return this.http.get(`${this.URL}/dao/sss/derechos_usuario_dao.php?idComponent=${this.currentComponent.id}&column=${column}`, { headers: this.getHttpHeaders() });
7317
7334
  }