sigesp 1.0.11-20240603 → 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.
@@ -4164,6 +4164,7 @@ class MConfiguracionSNO extends MBasicModel {
4164
4164
  this.codigoConceptoVaccaiones = '';
4165
4165
  this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios = 1;
4166
4166
  this.cuentaContableProveedorBeneficiario = '';
4167
+ this.procesarSueldosHistoricos = 1;
4167
4168
  if (I) {
4168
4169
  this.idEnterprise = +I.id_enterprise;
4169
4170
  this.idEmpresa = +I.id_empresa;
@@ -4294,6 +4295,7 @@ class MConfiguracionSNO extends MBasicModel {
4294
4295
  this.registroLaboralIncidencia = I.reglabinc;
4295
4296
  this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios = parseInt(I.incbenperautmodben);
4296
4297
  this.cuentaContableProveedorBeneficiario = I.sc_cuentarecdoc;
4298
+ this.procesarSueldosHistoricos = +I.prosuehis;
4297
4299
  }
4298
4300
  else {
4299
4301
  this.isNew = true;
@@ -4428,8 +4430,9 @@ class MConfiguracionSNO extends MBasicModel {
4428
4430
  digcodcon: this.digitosCodigoConcepto.toString(),
4429
4431
  regdesinc: this.registroDescansoIncidencia,
4430
4432
  reglabinc: this.registroLaboralIncidencia,
4431
- incbenperautmodben: this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios ? '1' : '0',
4432
- sc_cuentarecdoc: this.cuentaContableProveedorBeneficiario
4433
+ incbenperautmodben: this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios.toString(),
4434
+ sc_cuentarecdoc: this.cuentaContableProveedorBeneficiario,
4435
+ prosuehis: this.procesarSueldosHistoricos.toString(),
4433
4436
  };
4434
4437
  }
4435
4438
  }
@@ -4455,6 +4458,7 @@ class MPeriodoNomina extends MBasicModel {
4455
4458
  this.fideicomisoInteresContabilizadoPeriodo = 0;
4456
4459
  this.prenomina = false;
4457
4460
  this.calculado = false;
4461
+ this.mes = 0;
4458
4462
  if (e) {
4459
4463
  this.idEnterprise = +e.id_enterprise;
4460
4464
  this.idEmpresa = +e.id_empresa;
@@ -4474,6 +4478,7 @@ class MPeriodoNomina extends MBasicModel {
4474
4478
  this.fideicomisoInteresContabilizadoPeriodo = parseInt(e.fidintconper);
4475
4479
  this.prenomina = e.prenomina == '1' ? true : false;
4476
4480
  this.calculado = e.calculado == '1' ? true : false;
4481
+ this.mes = +e.mes;
4477
4482
  }
4478
4483
  }
4479
4484
  dataInterface() {
@@ -4496,6 +4501,7 @@ class MPeriodoNomina extends MBasicModel {
4496
4501
  fidintconper: this.fideicomisoInteresContabilizadoPeriodo.toString(),
4497
4502
  prenomina: this.prenomina ? '1' : '0',
4498
4503
  calculado: this.calculado ? '1' : '0',
4504
+ mes: this.mes.toString(),
4499
4505
  };
4500
4506
  }
4501
4507
  estatusPeriodo() {
@@ -8364,6 +8370,18 @@ class SigespService {
8364
8370
  return res;
8365
8371
  }));
8366
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
+ }
8367
8385
  }
8368
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 });
8369
8387
  SigespService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SigespService, providedIn: 'root' });