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.
@@ -4175,6 +4175,7 @@ class MConfiguracionSNO extends MBasicModel {
4175
4175
  this.codigoConceptoVaccaiones = '';
4176
4176
  this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios = 1;
4177
4177
  this.cuentaContableProveedorBeneficiario = '';
4178
+ this.procesarSueldosHistoricos = 1;
4178
4179
  if (I) {
4179
4180
  this.idEnterprise = +I.id_enterprise;
4180
4181
  this.idEmpresa = +I.id_empresa;
@@ -4305,6 +4306,7 @@ class MConfiguracionSNO extends MBasicModel {
4305
4306
  this.registroLaboralIncidencia = I.reglabinc;
4306
4307
  this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios = parseInt(I.incbenperautmodben);
4307
4308
  this.cuentaContableProveedorBeneficiario = I.sc_cuentarecdoc;
4309
+ this.procesarSueldosHistoricos = +I.prosuehis;
4308
4310
  }
4309
4311
  else {
4310
4312
  this.isNew = true;
@@ -4439,8 +4441,9 @@ class MConfiguracionSNO extends MBasicModel {
4439
4441
  digcodcon: this.digitosCodigoConcepto.toString(),
4440
4442
  regdesinc: this.registroDescansoIncidencia,
4441
4443
  reglabinc: this.registroLaboralIncidencia,
4442
- incbenperautmodben: this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios ? '1' : '0',
4443
- sc_cuentarecdoc: this.cuentaContableProveedorBeneficiario
4444
+ incbenperautmodben: this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios.toString(),
4445
+ sc_cuentarecdoc: this.cuentaContableProveedorBeneficiario,
4446
+ prosuehis: this.procesarSueldosHistoricos.toString(),
4444
4447
  };
4445
4448
  }
4446
4449
  }
@@ -4466,6 +4469,7 @@ class MPeriodoNomina extends MBasicModel {
4466
4469
  this.fideicomisoInteresContabilizadoPeriodo = 0;
4467
4470
  this.prenomina = false;
4468
4471
  this.calculado = false;
4472
+ this.mes = 0;
4469
4473
  if (e) {
4470
4474
  this.idEnterprise = +e.id_enterprise;
4471
4475
  this.idEmpresa = +e.id_empresa;
@@ -4485,6 +4489,7 @@ class MPeriodoNomina extends MBasicModel {
4485
4489
  this.fideicomisoInteresContabilizadoPeriodo = parseInt(e.fidintconper);
4486
4490
  this.prenomina = e.prenomina == '1' ? true : false;
4487
4491
  this.calculado = e.calculado == '1' ? true : false;
4492
+ this.mes = +e.mes;
4488
4493
  }
4489
4494
  }
4490
4495
  dataInterface() {
@@ -4507,6 +4512,7 @@ class MPeriodoNomina extends MBasicModel {
4507
4512
  fidintconper: this.fideicomisoInteresContabilizadoPeriodo.toString(),
4508
4513
  prenomina: this.prenomina ? '1' : '0',
4509
4514
  calculado: this.calculado ? '1' : '0',
4515
+ mes: this.mes.toString(),
4510
4516
  };
4511
4517
  }
4512
4518
  estatusPeriodo() {
@@ -8405,6 +8411,18 @@ class SigespService {
8405
8411
  return res;
8406
8412
  }));
8407
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
+ }
8408
8426
  }
8409
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 });
8410
8428
  SigespService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SigespService, providedIn: 'root' });