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.
@@ -4458,6 +4458,7 @@ class MPeriodoNomina extends MBasicModel {
4458
4458
  this.fideicomisoInteresContabilizadoPeriodo = 0;
4459
4459
  this.prenomina = false;
4460
4460
  this.calculado = false;
4461
+ this.mes = 0;
4461
4462
  if (e) {
4462
4463
  this.idEnterprise = +e.id_enterprise;
4463
4464
  this.idEmpresa = +e.id_empresa;
@@ -4477,6 +4478,7 @@ class MPeriodoNomina extends MBasicModel {
4477
4478
  this.fideicomisoInteresContabilizadoPeriodo = parseInt(e.fidintconper);
4478
4479
  this.prenomina = e.prenomina == '1' ? true : false;
4479
4480
  this.calculado = e.calculado == '1' ? true : false;
4481
+ this.mes = +e.mes;
4480
4482
  }
4481
4483
  }
4482
4484
  dataInterface() {
@@ -4499,6 +4501,7 @@ class MPeriodoNomina extends MBasicModel {
4499
4501
  fidintconper: this.fideicomisoInteresContabilizadoPeriodo.toString(),
4500
4502
  prenomina: this.prenomina ? '1' : '0',
4501
4503
  calculado: this.calculado ? '1' : '0',
4504
+ mes: this.mes.toString(),
4502
4505
  };
4503
4506
  }
4504
4507
  estatusPeriodo() {
@@ -8367,6 +8370,18 @@ class SigespService {
8367
8370
  return res;
8368
8371
  }));
8369
8372
  }
8373
+ /**
8374
+ * @description Obtiene los release
8375
+ * @param tipo : release (obtiene el ultimo release del sistema),verificar(verifica si se ejecuto el ultimo release)
8376
+ * @param sistema : sistema
8377
+ * @param seccion : tipo 'RELEASE'
8378
+ * @returns string
8379
+ * @author Dimaly Crespo
8380
+ * @date 21-06-2024
8381
+ */
8382
+ getVerificarRelease(tipo, sistema, seccion = null) {
8383
+ 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; }));
8384
+ }
8370
8385
  }
8371
8386
  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 });
8372
8387
  SigespService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SigespService, providedIn: 'root' });