sigesp 1.0.12-20240620 → 1.0.13-20240621

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.
@@ -4469,6 +4469,7 @@ class MPeriodoNomina extends MBasicModel {
4469
4469
  this.fideicomisoInteresContabilizadoPeriodo = 0;
4470
4470
  this.prenomina = false;
4471
4471
  this.calculado = false;
4472
+ this.mes = 0;
4472
4473
  if (e) {
4473
4474
  this.idEnterprise = +e.id_enterprise;
4474
4475
  this.idEmpresa = +e.id_empresa;
@@ -4488,6 +4489,7 @@ class MPeriodoNomina extends MBasicModel {
4488
4489
  this.fideicomisoInteresContabilizadoPeriodo = parseInt(e.fidintconper);
4489
4490
  this.prenomina = e.prenomina == '1' ? true : false;
4490
4491
  this.calculado = e.calculado == '1' ? true : false;
4492
+ this.mes = +e.mes;
4491
4493
  }
4492
4494
  }
4493
4495
  dataInterface() {
@@ -4510,6 +4512,7 @@ class MPeriodoNomina extends MBasicModel {
4510
4512
  fidintconper: this.fideicomisoInteresContabilizadoPeriodo.toString(),
4511
4513
  prenomina: this.prenomina ? '1' : '0',
4512
4514
  calculado: this.calculado ? '1' : '0',
4515
+ mes: this.mes.toString(),
4513
4516
  };
4514
4517
  }
4515
4518
  estatusPeriodo() {
@@ -8408,6 +8411,18 @@ class SigespService {
8408
8411
  return res;
8409
8412
  }));
8410
8413
  }
8414
+ /**
8415
+ * @description Obtiene los release
8416
+ * @param tipo : release (obtiene el ultimo release del sistema),verificar(verifica si se ejecuto el ultimo release)
8417
+ * @param sistema : sistema
8418
+ * @param seccion : tipo 'RELEASE'
8419
+ * @returns string
8420
+ * @author Dimaly Crespo
8421
+ * @date 21-06-2024
8422
+ */
8423
+ getVerificarRelease(tipo, sistema, seccion = null) {
8424
+ return this.http.get(`${this.URL}/dao/ins/instala_dao.php?tipo=${tipo}&sistema=${sistema}&seccion=${seccion}`, { headers: this.getHttpHeaders() }).pipe(map((res) => { return res; }));
8425
+ }
8411
8426
  }
8412
8427
  SigespService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SigespService, deps: [{ token: i1$1.HttpClient }, { token: i1.MatDialog }, { token: i3$2.ToastrService }], target: i0.ɵɵFactoryTarget.Injectable });
8413
8428
  SigespService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SigespService, providedIn: 'root' });