sigesp 0.9.9-20221205 → 0.9.10-20221210

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.
Files changed (147) hide show
  1. package/bundles/sigesp.umd.js +447 -212
  2. package/bundles/sigesp.umd.js.map +1 -1
  3. package/bundles/sigesp.umd.min.js +15 -1
  4. package/bundles/sigesp.umd.min.js.map +1 -1
  5. package/esm2015/lib/core/interfaces/Auditoria.js +1 -1
  6. package/esm2015/lib/core/interfaces/Clasificacion.js +1 -1
  7. package/esm2015/lib/core/interfaces/CuentasPorPagar.js +1 -1
  8. package/esm2015/lib/core/interfaces/Nomina.js +1 -1
  9. package/esm2015/lib/core/interfaces/RecursosHumanos.js +1 -1
  10. package/esm2015/lib/core/models/CXP/MConceptosCXP.model.js +6 -3
  11. package/esm2015/lib/core/models/CXP/MTipoDocumentoCXP.model.js +6 -3
  12. package/esm2015/lib/core/models/RPC/clasification.model.js +4 -2
  13. package/esm2015/lib/core/models/SNO/MAnticipoPrestaciones.model.js +4 -1
  14. package/esm2015/lib/core/models/SNO/MArchivoTxtCampo.model.js +6 -3
  15. package/esm2015/lib/core/models/SNO/MArchivosTxt.model.js +6 -3
  16. package/esm2015/lib/core/models/SNO/MAsignacionCargo.model.js +6 -3
  17. package/esm2015/lib/core/models/SNO/MAspectoEvaluacion.model.js +11 -5
  18. package/esm2015/lib/core/models/SNO/MAuditoria.model.js +5 -2
  19. package/esm2015/lib/core/models/SNO/MBeneficiario.model.js +6 -3
  20. package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +6 -2
  21. package/esm2015/lib/core/models/SNO/MClasificacionObrero.mdel.js +6 -3
  22. package/esm2015/lib/core/models/SNO/MCodigoUnicoRac.model.js +6 -3
  23. package/esm2015/lib/core/models/SNO/MComponete.model.js +6 -3
  24. package/esm2015/lib/core/models/SNO/MConceptoVacaciones.model.js +5 -2
  25. package/esm2015/lib/core/models/SNO/MConceptosNomina.model.js +5 -2
  26. package/esm2015/lib/core/models/SNO/MConceptosPersonalNomina.model.js +6 -3
  27. package/esm2015/lib/core/models/SNO/MConcursante.model.js +26 -11
  28. package/esm2015/lib/core/models/SNO/MConcurso.model.js +21 -9
  29. package/esm2015/lib/core/models/SNO/MConfiguracionSNO.model.js +5 -2
  30. package/esm2015/lib/core/models/SNO/MConstanteNomina.model.js +5 -2
  31. package/esm2015/lib/core/models/SNO/MConstantePersonalNomina.model.js +5 -2
  32. package/esm2015/lib/core/models/SNO/MDedicacion.model.js +6 -3
  33. package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +6 -3
  34. package/esm2015/lib/core/models/SNO/MDefinicionesBasicas.model.js +12 -3
  35. package/esm2015/lib/core/models/SNO/MDeudaAnterior.model.js +4 -1
  36. package/esm2015/lib/core/models/SNO/MEncargaduria.model.js +6 -3
  37. package/esm2015/lib/core/models/SNO/MEscalaEvaluacion.model.js +6 -3
  38. package/esm2015/lib/core/models/SNO/MEscalaEvaluacionDt.model.js +6 -3
  39. package/esm2015/lib/core/models/SNO/MEstructuraOrganizativa.model.js +6 -3
  40. package/esm2015/lib/core/models/SNO/MFamiliares.model.js +6 -3
  41. package/esm2015/lib/core/models/SNO/MFideicomiso.model.js +27 -9
  42. package/esm2015/lib/core/models/SNO/MFormacionAcademica.model.js +6 -3
  43. package/esm2015/lib/core/models/SNO/MGrado.model.js +6 -3
  44. package/esm2015/lib/core/models/SNO/MHojaTiempo.model.js +7 -2
  45. package/esm2015/lib/core/models/SNO/MImpuestoSobreRenta.model.js +4 -1
  46. package/esm2015/lib/core/models/SNO/MMetodoBanco.model.js +11 -5
  47. package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +6 -3
  48. package/esm2015/lib/core/models/SNO/MPeriodoNomina.model.js +6 -3
  49. package/esm2015/lib/core/models/SNO/MPermisos.model.js +4 -1
  50. package/esm2015/lib/core/models/SNO/MPersonal.model.js +27 -9
  51. package/esm2015/lib/core/models/SNO/MPersonalJubilado.model.js +6 -3
  52. package/esm2015/lib/core/models/SNO/MPersonalNomina.model.js +13 -3
  53. package/esm2015/lib/core/models/SNO/MPlanHorario.model.js +30 -45
  54. package/esm2015/lib/core/models/SNO/MPrestamo.model.js +10 -1
  55. package/esm2015/lib/core/models/SNO/MPrimaGrados.model.js +6 -3
  56. package/esm2015/lib/core/models/SNO/MPrimasConcepto.model.js +5 -2
  57. package/esm2015/lib/core/models/SNO/MRango.model.js +6 -3
  58. package/esm2015/lib/core/models/SNO/MRequisitosConcursante.model.js +6 -3
  59. package/esm2015/lib/core/models/SNO/MRequisitosConcursos.model.js +6 -3
  60. package/esm2015/lib/core/models/SNO/MRequisitosMinimos.model.js +11 -5
  61. package/esm2015/lib/core/models/SNO/MSalarioHistorico.model.js +6 -3
  62. package/esm2015/lib/core/models/SNO/MSolicitudEmpleo.model.js +6 -3
  63. package/esm2015/lib/core/models/SNO/MTablaVacaciones.model.js +6 -3
  64. package/esm2015/lib/core/models/SNO/MTablaVacacionesPeriodo.model.js +6 -3
  65. package/esm2015/lib/core/models/SNO/MTabulador.model.js +11 -5
  66. package/esm2015/lib/core/models/SNO/MTipoEvaluacion.model.js +11 -5
  67. package/esm2015/lib/core/models/SNO/MTipoPersonal.model.js +6 -3
  68. package/esm2015/lib/core/models/SNO/MTiposEnfermedad.model.js +6 -3
  69. package/esm2015/lib/core/models/SNO/MTrabajoAnterior.model.js +4 -1
  70. package/esm2015/lib/core/models/SNO/MUbicacionFisica.model.js +6 -3
  71. package/esm2015/lib/core/models/SNO/MVacacionesPersonal.model.js +6 -3
  72. package/esm2015/lib/core/models/SNO/McargaFamiliar.model.js +6 -3
  73. package/esm2015/lib/sigesp.service.js +2 -2
  74. package/esm2015/public-api.js +2 -2
  75. package/fesm2015/sigesp.js +442 -184
  76. package/fesm2015/sigesp.js.map +1 -1
  77. package/lib/core/interfaces/Auditoria.d.ts +2 -1
  78. package/lib/core/interfaces/Clasificacion.d.ts +1 -0
  79. package/lib/core/interfaces/CuentasPorPagar.d.ts +6 -3
  80. package/lib/core/interfaces/Nomina.d.ts +31 -14
  81. package/lib/core/interfaces/RecursosHumanos.d.ts +140 -57
  82. package/lib/core/models/CXP/MConceptosCXP.model.d.ts +1 -0
  83. package/lib/core/models/CXP/MTipoDocumentoCXP.model.d.ts +1 -0
  84. package/lib/core/models/RPC/clasification.model.d.ts +1 -0
  85. package/lib/core/models/SNO/MAnticipoPrestaciones.model.d.ts +1 -0
  86. package/lib/core/models/SNO/MArchivoTxtCampo.model.d.ts +1 -0
  87. package/lib/core/models/SNO/MArchivosTxt.model.d.ts +1 -0
  88. package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +1 -0
  89. package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +2 -0
  90. package/lib/core/models/SNO/MAuditoria.model.d.ts +1 -0
  91. package/lib/core/models/SNO/MBeneficiario.model.d.ts +1 -0
  92. package/lib/core/models/SNO/MCargosPersonal.model.d.ts +1 -0
  93. package/lib/core/models/SNO/MClasificacionObrero.mdel.d.ts +1 -0
  94. package/lib/core/models/SNO/MCodigoUnicoRac.model.d.ts +1 -0
  95. package/lib/core/models/SNO/MComponete.model.d.ts +1 -0
  96. package/lib/core/models/SNO/MConceptoVacaciones.model.d.ts +1 -0
  97. package/lib/core/models/SNO/MConceptosNomina.model.d.ts +1 -0
  98. package/lib/core/models/SNO/MConceptosPersonalNomina.model.d.ts +1 -0
  99. package/lib/core/models/SNO/MConcursante.model.d.ts +5 -0
  100. package/lib/core/models/SNO/MConcurso.model.d.ts +4 -0
  101. package/lib/core/models/SNO/MConfiguracionSNO.model.d.ts +1 -0
  102. package/lib/core/models/SNO/MConstanteNomina.model.d.ts +1 -0
  103. package/lib/core/models/SNO/MConstantePersonalNomina.model.d.ts +1 -0
  104. package/lib/core/models/SNO/MDedicacion.model.d.ts +1 -0
  105. package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +1 -0
  106. package/lib/core/models/SNO/MDefinicionesBasicas.model.d.ts +3 -0
  107. package/lib/core/models/SNO/MDeudaAnterior.model.d.ts +1 -0
  108. package/lib/core/models/SNO/MEncargaduria.model.d.ts +1 -0
  109. package/lib/core/models/SNO/MEscalaEvaluacion.model.d.ts +1 -0
  110. package/lib/core/models/SNO/MEscalaEvaluacionDt.model.d.ts +1 -0
  111. package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +1 -0
  112. package/lib/core/models/SNO/MFamiliares.model.d.ts +1 -0
  113. package/lib/core/models/SNO/MFideicomiso.model.d.ts +8 -0
  114. package/lib/core/models/SNO/MFormacionAcademica.model.d.ts +1 -0
  115. package/lib/core/models/SNO/MGrado.model.d.ts +1 -0
  116. package/lib/core/models/SNO/MHojaTiempo.model.d.ts +2 -0
  117. package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +1 -0
  118. package/lib/core/models/SNO/MMetodoBanco.model.d.ts +2 -0
  119. package/lib/core/models/SNO/MNominaSimple.model.d.ts +1 -0
  120. package/lib/core/models/SNO/MPeriodoNomina.model.d.ts +1 -0
  121. package/lib/core/models/SNO/MPermisos.model.d.ts +1 -0
  122. package/lib/core/models/SNO/MPersonal.model.d.ts +6 -0
  123. package/lib/core/models/SNO/MPersonalJubilado.model.d.ts +1 -0
  124. package/lib/core/models/SNO/MPersonalNomina.model.d.ts +4 -0
  125. package/lib/core/models/SNO/MPlanHorario.model.d.ts +8 -13
  126. package/lib/core/models/SNO/MPrestamo.model.d.ts +3 -0
  127. package/lib/core/models/SNO/MPrimaGrados.model.d.ts +1 -0
  128. package/lib/core/models/SNO/MPrimasConcepto.model.d.ts +1 -0
  129. package/lib/core/models/SNO/MRango.model.d.ts +1 -0
  130. package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +1 -0
  131. package/lib/core/models/SNO/MRequisitosConcursos.model.d.ts +1 -0
  132. package/lib/core/models/SNO/MRequisitosMinimos.model.d.ts +2 -0
  133. package/lib/core/models/SNO/MSalarioHistorico.model.d.ts +1 -0
  134. package/lib/core/models/SNO/MSolicitudEmpleo.model.d.ts +1 -0
  135. package/lib/core/models/SNO/MTablaVacaciones.model.d.ts +1 -0
  136. package/lib/core/models/SNO/MTablaVacacionesPeriodo.model.d.ts +1 -0
  137. package/lib/core/models/SNO/MTabulador.model.d.ts +2 -0
  138. package/lib/core/models/SNO/MTipoEvaluacion.model.d.ts +2 -0
  139. package/lib/core/models/SNO/MTipoPersonal.model.d.ts +1 -0
  140. package/lib/core/models/SNO/MTiposEnfermedad.model.d.ts +1 -0
  141. package/lib/core/models/SNO/MTrabajoAnterior.model.d.ts +1 -0
  142. package/lib/core/models/SNO/MUbicacionFisica.model.d.ts +1 -0
  143. package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +1 -0
  144. package/lib/core/models/SNO/McargaFamiliar.model.d.ts +1 -0
  145. package/package.json +1 -1
  146. package/public-api.d.ts +1 -1
  147. package/sigesp.metadata.json +1 -1
@@ -51,7 +51,6 @@ import { MatTabsModule } from '@angular/material/tabs';
51
51
  import { MatTooltipModule } from '@angular/material/tooltip';
52
52
  import { MatTreeModule } from '@angular/material/tree';
53
53
  import { FormsModule } from '@angular/forms';
54
- import * as moment$3 from 'moment';
55
54
 
56
55
  class MBasicModel {
57
56
  constructor() {
@@ -131,6 +130,7 @@ class MPersonalNomina extends MBasicModel {
131
130
  constructor(e = null) {
132
131
  super();
133
132
  this.idEmpresa = 0;
133
+ this.idEnterprise = 0;
134
134
  this.idPersonalNomina = 0;
135
135
  this.idPersonal = 0;
136
136
  this.idNomina = 1;
@@ -217,8 +217,12 @@ class MPersonalNomina extends MBasicModel {
217
217
  this.idClasificadorDocente = 0;
218
218
  this.codigoClasificador = '';
219
219
  this.denominacionClasificador = '';
220
+ this.idPlanHorario = 0;
221
+ this.codigoPlanHorario = '';
222
+ this.denominacionPlanHorario = '';
220
223
  if (e) {
221
- this.idEmpresa = parseInt(e.id_empresa);
224
+ this.idEnterprise = +e.id_enterprise;
225
+ this.idEmpresa = e.id_empresa;
222
226
  this.idPersonalNomina = parseInt(e.id_personalnomina);
223
227
  this.idPersonal = parseInt(e.id_personal);
224
228
  this.idNomina = parseInt(e.id_nomina);
@@ -324,6 +328,9 @@ class MPersonalNomina extends MBasicModel {
324
328
  this.nombreBanco = e.codban_ctaper;
325
329
  this.idBanco = parseInt(e.id_banco_ctaper);
326
330
  }
331
+ this.idPlanHorario = +e.id_planhor;
332
+ this.codigoPlanHorario = e.codplanhor;
333
+ this.denominacionPlanHorario = e.denplanhor;
327
334
  }
328
335
  else {
329
336
  this.isNew = true;
@@ -339,7 +346,8 @@ class MPersonalNomina extends MBasicModel {
339
346
  this.codigoGrado = '0';
340
347
  }
341
348
  return {
342
- id_empresa: this.idEmpresa.toString(),
349
+ id_empresa: this.idEmpresa,
350
+ id_enterprise: this.idEnterprise.toString(),
343
351
  id_personalnomina: this.idPersonalNomina.toString(),
344
352
  id_personal: this.idPersonal.toString(),
345
353
  id_nomina: this.idNomina.toString(),
@@ -420,6 +428,7 @@ class MPersonalNomina extends MBasicModel {
420
428
  monsalgra: this.montoSaldoGrado.toString(),
421
429
  apeper: this.apellidoPersonal,
422
430
  id_clasificacion_docente: this.idClasificadorDocente.toString(),
431
+ id_planhor: this.idPlanHorario.toString()
423
432
  };
424
433
  }
425
434
  }
@@ -427,6 +436,7 @@ class MPersonalNomina extends MBasicModel {
427
436
  class MHojaTiempo extends MBasicModel {
428
437
  constructor(e = null) {
429
438
  super();
439
+ this.idEnterprise = 0;
430
440
  this.idEmpresa = 0;
431
441
  this.idPersonalNomina = 0;
432
442
  this.idPeriodo = 0;
@@ -446,6 +456,7 @@ class MHojaTiempo extends MBasicModel {
446
456
  this.fechaDesdePeriodo = '1900-01-01';
447
457
  this.fechaHastaPeriodo = '1900-01-01';
448
458
  if (e) {
459
+ this.idEnterprise = +e.id_enterprise;
449
460
  this.idEmpresa = +e.id_empresa;
450
461
  this.idPersonalNomina = +e.id_personalnomina;
451
462
  this.fechaHojaTiempo = e.fechojtie;
@@ -472,7 +483,8 @@ class MHojaTiempo extends MBasicModel {
472
483
  }
473
484
  dataInterface() {
474
485
  return {
475
- id_empresa: this.idEmpresa.toString(),
486
+ id_enterprise: this.idEnterprise.toString(),
487
+ id_empresa: this.idEmpresa,
476
488
  id_personalnomina: this.idPersonalNomina.toString(),
477
489
  fechojtie: this.fechaHojaTiempo,
478
490
  esthojtie: this.estatusHojaTiempo.toString(),
@@ -496,6 +508,7 @@ class MHojaTiempo extends MBasicModel {
496
508
  class MHorario extends MBasicModel {
497
509
  constructor(e) {
498
510
  super();
511
+ this.idEnterprise = 0;
499
512
  this.idEmpresa = 0;
500
513
  this.idHora = 0;
501
514
  this.codigoHorario = '';
@@ -522,6 +535,7 @@ class MHorario extends MBasicModel {
522
535
  }
523
536
  dataInterface() {
524
537
  return {
538
+ id_enterprise: this.idEnterprise.toString(),
525
539
  id_empresa: this.idEmpresa,
526
540
  id_hora: this.idHora,
527
541
  codhor: this.codigoHorario,
@@ -1799,13 +1813,15 @@ class MDocument {
1799
1813
  class MClasification {
1800
1814
  constructor(clasi) {
1801
1815
  this.id = null;
1802
- this.idEmpresa = null;
1816
+ this.idEnterprise = 0;
1817
+ this.idEmpresa = 0;
1803
1818
  this.denomination = null;
1804
1819
  this.isNew = false;
1805
1820
  this.error = false;
1806
1821
  this.selected = false;
1807
1822
  this.id = parseInt(clasi.id_clasificacion);
1808
1823
  this.idEmpresa = parseInt(clasi.id_empresa);
1824
+ this.idEnterprise = +clasi.id_enterprise;
1809
1825
  this.denomination = clasi.dencla;
1810
1826
  }
1811
1827
  }
@@ -2765,13 +2781,15 @@ class MEmpresa extends MBasicModel {
2765
2781
  class MConceptosCXP extends MBasicModel {
2766
2782
  constructor(concepto) {
2767
2783
  super();
2784
+ this.idEnterprise = 0;
2768
2785
  this.idEmpresa = 0;
2769
2786
  this.idConceptoCXP = 0;
2770
2787
  this.denominacionConceptoCXP = '';
2771
2788
  this.cuenta = '';
2772
2789
  this.estatusActivo = 0;
2773
2790
  if (concepto) {
2774
- this.idEmpresa = parseInt(concepto.id_empresa);
2791
+ this.idEnterprise = +concepto.id_enterprise;
2792
+ this.idEmpresa = concepto.id_empresa;
2775
2793
  this.idConceptoCXP = parseInt(concepto.id_concxp);
2776
2794
  this.denominacionConceptoCXP = concepto.denconcxp;
2777
2795
  this.cuenta = concepto.sc_cuenta;
@@ -2783,7 +2801,8 @@ class MConceptosCXP extends MBasicModel {
2783
2801
  }
2784
2802
  dataInterface() {
2785
2803
  return {
2786
- id_empresa: this.idEmpresa.toString(),
2804
+ id_enterprise: this.idEnterprise.toString(),
2805
+ id_empresa: this.idEmpresa,
2787
2806
  id_concxp: this.idConceptoCXP.toString(),
2788
2807
  denconcxp: this.denominacionConceptoCXP,
2789
2808
  sc_cuenta: this.cuenta,
@@ -2794,6 +2813,7 @@ class MConceptosCXP extends MBasicModel {
2794
2813
 
2795
2814
  class MTipoDocumentoCXP {
2796
2815
  constructor(tipo) {
2816
+ this.idEnterprise = 0;
2797
2817
  this.idEmpresa = 0;
2798
2818
  this.idTipoDocumento = 0;
2799
2819
  this.denominacionTipoDocumento = '';
@@ -2805,7 +2825,8 @@ class MTipoDocumentoCXP {
2805
2825
  this.estatusCreditos = 0;
2806
2826
  this.estatusDebitos = 0;
2807
2827
  if (tipo) {
2808
- this.idEmpresa = parseInt(tipo.id_empresa);
2828
+ this.idEnterprise = +tipo.id_enterprise;
2829
+ this.idEmpresa = +tipo.id_empresa;
2809
2830
  this.idTipoDocumento = parseInt(tipo.id_tipodocumento);
2810
2831
  this.denominacionTipoDocumento = tipo.dentipden;
2811
2832
  this.estatusContable = parseInt(tipo.estcon);
@@ -2819,7 +2840,8 @@ class MTipoDocumentoCXP {
2819
2840
  }
2820
2841
  dataInterface() {
2821
2842
  return {
2822
- id_empresa: this.idEmpresa.toString(),
2843
+ id_enterprise: this.idEnterprise.toString(),
2844
+ id_empresa: this.idEmpresa,
2823
2845
  id_tipodocumento: this.idTipoDocumento.toString(),
2824
2846
  dentipden: this.denominacionTipoDocumento,
2825
2847
  estcon: this.estatusContable.toString(),
@@ -2836,6 +2858,7 @@ class MTipoDocumentoCXP {
2836
2858
  class MConfiguracionSNO extends MBasicModel {
2837
2859
  constructor(I) {
2838
2860
  super();
2861
+ this.idEnterprise = 0;
2839
2862
  this.idEmpresa = 0;
2840
2863
  this.idNomina = 0;
2841
2864
  this.estatusCambiarDenominacionSueldoIntegral = 1;
@@ -2962,7 +2985,8 @@ class MConfiguracionSNO extends MBasicModel {
2962
2985
  this.digitosCodigoConcepto = 10;
2963
2986
  this.segmentarPersonal = 10000;
2964
2987
  if (I) {
2965
- this.idEmpresa = parseInt(I.id_empresa);
2988
+ this.idEnterprise = +I.id_enterprise;
2989
+ this.idEmpresa = +I.id_empresa;
2966
2990
  this.idNomina = parseInt(I.id_sno);
2967
2991
  this.estatusCambiarDenominacionSueldoIntegral = parseInt(I.estcamdensueint);
2968
2992
  this.denominacionSueltoIntegral = I.densueint;
@@ -3093,6 +3117,7 @@ class MConfiguracionSNO extends MBasicModel {
3093
3117
  }
3094
3118
  dataInterface() {
3095
3119
  return {
3120
+ id_enterprise: this.idEnterprise.toString(),
3096
3121
  id_empresa: this.idEmpresa.toString(),
3097
3122
  id_sno: this.idNomina.toString(),
3098
3123
  estcamdensueint: this.estatusCambiarDenominacionSueldoIntegral.toString(),
@@ -3224,6 +3249,7 @@ class MConfiguracionSNO extends MBasicModel {
3224
3249
  class MPeriodoNomina extends MBasicModel {
3225
3250
  constructor(e = null) {
3226
3251
  super();
3252
+ this.idEnterprise = 0;
3227
3253
  this.idEmpresa = 0;
3228
3254
  this.idNomina = 0;
3229
3255
  this.idPeriodo = 0;
@@ -3242,7 +3268,8 @@ class MPeriodoNomina extends MBasicModel {
3242
3268
  this.prenomina = false;
3243
3269
  this.calculado = false;
3244
3270
  if (e) {
3245
- this.idEmpresa = parseInt(e.id_empresa);
3271
+ this.idEnterprise = +e.id_enterprise;
3272
+ this.idEmpresa = +e.id_empresa;
3246
3273
  this.idNomina = parseInt(e.id_nomina);
3247
3274
  this.idPeriodo = parseInt(e.id_periodo);
3248
3275
  this.codigoPeriodo = e.codperi;
@@ -3263,7 +3290,8 @@ class MPeriodoNomina extends MBasicModel {
3263
3290
  }
3264
3291
  dataInterface() {
3265
3292
  return {
3266
- id_empresa: this.idEmpresa.toString(),
3293
+ id_enterprise: this.idEnterprise.toString(),
3294
+ id_empresa: this.idEmpresa,
3267
3295
  id_nomina: this.idNomina.toString(),
3268
3296
  id_periodo: this.idPeriodo.toString(),
3269
3297
  codperi: this.codigoPeriodo,
@@ -3316,6 +3344,7 @@ const moment$1 = require("moment");
3316
3344
  class MDefinicionNomina extends MBasicModel {
3317
3345
  constructor(e = null) {
3318
3346
  super();
3347
+ this.idEnterprise = 0;
3319
3348
  this.idEmpresa = 0;
3320
3349
  this.idNomina = 0;
3321
3350
  this.codigoNomina = '';
@@ -3394,7 +3423,8 @@ class MDefinicionNomina extends MBasicModel {
3394
3423
  this.segmentarPersonal = 3000;
3395
3424
  this.periodosNomina = [];
3396
3425
  if (e) {
3397
- this.idEmpresa = parseInt(e.id_empresa);
3426
+ this.idEnterprise = +e.id_enterprise;
3427
+ this.idEmpresa = +e.id_empresa;
3398
3428
  this.idNomina = parseInt(e.id_nomina);
3399
3429
  this.codigoNomina = e.codnom;
3400
3430
  this.denominacionNomina = e.dennom;
@@ -3469,7 +3499,8 @@ class MDefinicionNomina extends MBasicModel {
3469
3499
  this.segmentarPersonal = 10000;
3470
3500
  }
3471
3501
  return {
3472
- id_empresa: this.idEmpresa.toString(),
3502
+ id_enterprise: this.idEnterprise.toString(),
3503
+ id_empresa: this.idEmpresa,
3473
3504
  id_nomina: this.idNomina.toString(),
3474
3505
  codnom: this.codigoNomina,
3475
3506
  dennom: this.denominacionNomina,
@@ -3652,6 +3683,7 @@ class MDefinicionNomina extends MBasicModel {
3652
3683
  class MAsignacionCargo extends MBasicModel {
3653
3684
  constructor(e) {
3654
3685
  super();
3686
+ this.idEnterprise = 0;
3655
3687
  this.idEmpresa = 0;
3656
3688
  this.idAsignacionCargo = 0;
3657
3689
  this.codigoAsignacionCargo = '';
@@ -3685,7 +3717,8 @@ class MAsignacionCargo extends MBasicModel {
3685
3717
  this.detallesOrganigrama = [];
3686
3718
  this.organigramaEliminar = [];
3687
3719
  if (e) {
3688
- this.idEmpresa = parseInt(e.id_empresa);
3720
+ this.idEnterprise = +e.id_enterprise;
3721
+ this.idEmpresa = +e.id_empresa;
3689
3722
  this.idAsignacionCargo = parseInt(e.id_carper);
3690
3723
  this.codigoAsignacionCargo = e.codcar;
3691
3724
  this.denominacionAsignacionCargo = e.descar;
@@ -3726,7 +3759,8 @@ class MAsignacionCargo extends MBasicModel {
3726
3759
  }
3727
3760
  dataInterface() {
3728
3761
  return {
3729
- id_empresa: this.idEmpresa.toString(),
3762
+ id_enterprise: this.idEnterprise.toString(),
3763
+ id_empresa: this.idEmpresa,
3730
3764
  id_carper: this.idAsignacionCargo.toString(),
3731
3765
  codcar: this.codigoAsignacionCargo,
3732
3766
  descar: this.denominacionAsignacionCargo,
@@ -3843,6 +3877,7 @@ class MCargosNominas extends MBasicModel {
3843
3877
  class MNominaSimple extends MBasicModel {
3844
3878
  constructor(e = null) {
3845
3879
  super();
3880
+ this.idEnterprise = 0;
3846
3881
  this.idEmpresa = 0;
3847
3882
  this.idNomina = 0;
3848
3883
  this.codigoNomina = '';
@@ -3870,7 +3905,8 @@ class MNominaSimple extends MBasicModel {
3870
3905
  this.idPersonal = 0;
3871
3906
  this.idPersonalNomina = 0;
3872
3907
  if (e) {
3873
- this.idEmpresa = parseInt(e.id_empresa);
3908
+ this.idEnterprise = +e.id_enterprise;
3909
+ this.idEmpresa = +e.id_empresa;
3874
3910
  this.idNomina = parseInt(e.id_nomina);
3875
3911
  this.codigoNomina = e.codnom;
3876
3912
  this.denominacioNomina = e.dennom;
@@ -3908,7 +3944,8 @@ class MNominaSimple extends MBasicModel {
3908
3944
  }
3909
3945
  dataInterface() {
3910
3946
  return {
3911
- id_empresa: this.idEmpresa.toString(),
3947
+ id_enterprise: this.idEnterprise.toString(),
3948
+ id_empresa: this.idEmpresa,
3912
3949
  id_nomina: this.idNomina.toString(),
3913
3950
  id_carper: this.idCargo.toString(),
3914
3951
  id_personal: this.idPersonal.toString(),
@@ -4272,6 +4309,7 @@ class MPersonal extends MBasicModel {
4272
4309
  constructor(p = null) {
4273
4310
  super();
4274
4311
  this.idEmpresa = 0;
4312
+ this.idEnterprise = 0;
4275
4313
  this.idPersonal = 0;
4276
4314
  this.codigoPersonal = ''; //10
4277
4315
  this.cedulaPersonal = ''; //10
@@ -4381,7 +4419,8 @@ class MPersonal extends MBasicModel {
4381
4419
  this.codigoPuestoTrabajo = '';
4382
4420
  this.descripcionHorario = '';
4383
4421
  if (p) {
4384
- this.idEmpresa = +p.id_empresa;
4422
+ this.idEnterprise = +p.id_enterprise;
4423
+ this.idEmpresa = p.id_empresa;
4385
4424
  this.idPersonal = +p.id_personal;
4386
4425
  this.codigoPersonal = p.codper;
4387
4426
  this.cedulaPersonal = p.cedper;
@@ -4509,7 +4548,8 @@ class MPersonal extends MBasicModel {
4509
4548
  }
4510
4549
  dataInterface() {
4511
4550
  return {
4512
- id_empresa: +this.idEmpresa,
4551
+ id_empresa: this.idEmpresa,
4552
+ id_enterprise: this.idEnterprise.toString(),
4513
4553
  id_personal: +this.idPersonal,
4514
4554
  codper: this.codigoPersonal,
4515
4555
  cedper: this.cedulaPersonal,
@@ -4614,6 +4654,8 @@ class MPersonal extends MBasicModel {
4614
4654
  class MCambioEstatusPersonal extends MBasicModel {
4615
4655
  constructor(e = null) {
4616
4656
  super();
4657
+ this.idEmpresa = 0;
4658
+ this.idEnterprise = 0;
4617
4659
  this.idPersonal = 0;
4618
4660
  this.codigoPersonal = '';
4619
4661
  this.estatusActual = '2';
@@ -4625,6 +4667,8 @@ class MCambioEstatusPersonal extends MBasicModel {
4625
4667
  this.observacion = '';
4626
4668
  this.fechaReingreso = '1900-01-01';
4627
4669
  if (e) {
4670
+ this.idEnterprise = +e.id_enterprise;
4671
+ this.idEmpresa = e.id_empresa;
4628
4672
  this.idPersonal = e.idPersonal;
4629
4673
  this.codigoPersonal = e.codigoPersonal;
4630
4674
  this.estatusActual = e.estatusActual;
@@ -4639,6 +4683,8 @@ class MCambioEstatusPersonal extends MBasicModel {
4639
4683
  }
4640
4684
  dataInterface() {
4641
4685
  return {
4686
+ id_empresa: this.idEmpresa,
4687
+ id_enterprise: this.idEnterprise.toString(),
4642
4688
  idPersonal: this.idPersonal,
4643
4689
  codigoPersonal: this.codigoPersonal,
4644
4690
  estatusActual: this.estatusActual,
@@ -4656,6 +4702,7 @@ class MPersonalCuentaBanco extends MBasicModel {
4656
4702
  constructor(e) {
4657
4703
  super();
4658
4704
  this.idEmpresa = 0;
4705
+ this.idEnterprise = 0;
4659
4706
  this.idPersonal = 0;
4660
4707
  this.idCuentaBancoPersonal = -1;
4661
4708
  this.codigoCuentaBancoPersonal = '';
@@ -4670,7 +4717,8 @@ class MPersonalCuentaBanco extends MBasicModel {
4670
4717
  this.nombreBanco = '';
4671
4718
  this.nombreTipoCuentaBanco = '';
4672
4719
  if (e) {
4673
- this.idEmpresa = parseInt(e.id_empresa);
4720
+ this.idEnterprise = +e.id_enterprise;
4721
+ this.idEmpresa = e.id_empresa;
4674
4722
  this.idPersonal = parseInt(e.id_personal);
4675
4723
  this.idCuentaBancoPersonal = parseInt(e.id_ctabanper);
4676
4724
  this.codigoCuentaBancoPersonal = e.codctabanper;
@@ -4691,7 +4739,8 @@ class MPersonalCuentaBanco extends MBasicModel {
4691
4739
  }
4692
4740
  dataInterface() {
4693
4741
  return {
4694
- id_empresa: this.idEmpresa.toString(),
4742
+ id_enterprise: this.idEnterprise.toString(),
4743
+ id_empresa: this.idEmpresa,
4695
4744
  id_personal: this.idPersonal.toString(),
4696
4745
  id_ctabanper: this.idCuentaBancoPersonal.toString(),
4697
4746
  codctabanper: this.codigoCuentaBancoPersonal,
@@ -4707,6 +4756,7 @@ class MPersonalCuentaBanco extends MBasicModel {
4707
4756
  class MEstudiosRealizados {
4708
4757
  constructor(e = null) {
4709
4758
  this.idEmpresa = 0;
4759
+ this.idEnterprise = 0;
4710
4760
  this.idPersonal = 0;
4711
4761
  this.idEstudio = 0;
4712
4762
  this.codigoEstudioRealizado = '';
@@ -4726,7 +4776,8 @@ class MEstudiosRealizados {
4726
4776
  this.TipoEstudio = Estudios;
4727
4777
  this.Aprobado = EstatusEstudio;
4728
4778
  if (e) {
4729
- this.idEmpresa = parseInt(e.id_empresa);
4779
+ this.idEmpresa = e.id_empresa;
4780
+ this.idEnterprise = +e.id_enterprise;
4730
4781
  this.idPersonal = parseInt(e.id_personal);
4731
4782
  this.idEstudio = parseInt(e.id_estudio);
4732
4783
  this.codigoEstudioRealizado = e.codestrea;
@@ -4748,7 +4799,8 @@ class MEstudiosRealizados {
4748
4799
  }
4749
4800
  dataInterface() {
4750
4801
  return {
4751
- id_empresa: this.idEmpresa.toString(),
4802
+ id_empresa: this.idEmpresa,
4803
+ id_enterprise: this.idEnterprise.toString(),
4752
4804
  id_personal: this.idPersonal.toString(),
4753
4805
  id_estudio: this.idEstudio.toString(),
4754
4806
  codestrea: this.codigoEstudioRealizado,
@@ -4771,6 +4823,7 @@ class MPrestacionesAntiguedad extends MBasicModel {
4771
4823
  constructor(e = null) {
4772
4824
  super();
4773
4825
  this.idEmpresa = 0;
4826
+ this.idEnterprice = 0;
4774
4827
  this.idPersonal = 0;
4775
4828
  this.idFideicomiso = 0;
4776
4829
  this.anoCurPeriodo = 0;
@@ -4792,7 +4845,8 @@ class MPrestacionesAntiguedad extends MBasicModel {
4792
4845
  this.codigoUsuario = '';
4793
4846
  this.idDtFideicomisoPeriodo = 0;
4794
4847
  if (e) {
4795
- this.idEmpresa = parseInt(e.id_empresa);
4848
+ this.idEmpresa = e.id_empresa;
4849
+ this.idEmpresa = +e.id_enterprise;
4796
4850
  this.idPersonal = parseInt(e.id_personal);
4797
4851
  this.idFideicomiso = parseInt(e.id_fideicomiso);
4798
4852
  this.anoCurPeriodo = parseInt(e.anocurper);
@@ -4820,7 +4874,8 @@ class MPrestacionesAntiguedad extends MBasicModel {
4820
4874
  }
4821
4875
  dataInterface() {
4822
4876
  return {
4823
- id_empresa: this.idEmpresa.toString(),
4877
+ id_empresa: this.idEmpresa,
4878
+ id_enterprise: this.idEnterprice.toString(),
4824
4879
  id_personal: this.idPersonal.toString(),
4825
4880
  id_fideicomiso: this.idFideicomiso.toString(),
4826
4881
  anocurper: this.anoCurPeriodo.toString(),
@@ -6303,7 +6358,7 @@ class SigespService {
6303
6358
  getEnterprise(tipo = null, id) {
6304
6359
  return this.http.get(`${this.URL}/dao/cfg/enterprise_dao.php?`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
6305
6360
  if (res.success) {
6306
- res.data = new MEnterprise(res.data);
6361
+ res.data = res.data.map(e => new MEnterprise(e));
6307
6362
  }
6308
6363
  return res;
6309
6364
  }));
@@ -7622,6 +7677,7 @@ class MLog extends MBasicModel {
7622
7677
  class MAnticipoPrestaciones extends MBasicModel {
7623
7678
  constructor(e) {
7624
7679
  super();
7680
+ this.idEnterprise = 0;
7625
7681
  this.idEmpresa = 0;
7626
7682
  this.idPersonal = 0;
7627
7683
  this.idAnticipo = 0;
@@ -7643,6 +7699,7 @@ class MAnticipoPrestaciones extends MBasicModel {
7643
7699
  this.montoMaximoInteres = 0;
7644
7700
  this.denominacionEstatus = '';
7645
7701
  if (e) {
7702
+ this.idEnterprise = +e.id_enterprise;
7646
7703
  this.idEmpresa = +e.id_empresa;
7647
7704
  this.idPersonal = +e.id_personal;
7648
7705
  this.idAnticipo = +e.id_anticipops;
@@ -7670,6 +7727,7 @@ class MAnticipoPrestaciones extends MBasicModel {
7670
7727
  }
7671
7728
  dataInterface() {
7672
7729
  return {
7730
+ id_enterprise: this.idEnterprise.toString(),
7673
7731
  id_empresa: this.idEmpresa,
7674
7732
  id_personal: this.idPersonal,
7675
7733
  id_anticipops: this.idAnticipo,
@@ -7718,6 +7776,7 @@ class MAnticipoPrestaciones extends MBasicModel {
7718
7776
  class MArchivoTxtCampo extends MBasicModel {
7719
7777
  constructor(e) {
7720
7778
  super();
7779
+ this.idEnterprise = 0;
7721
7780
  this.idEmpresa = 0;
7722
7781
  this.idArchivoTxt = 0;
7723
7782
  this.codigoCampo = 0;
@@ -7733,7 +7792,8 @@ class MArchivoTxtCampo extends MBasicModel {
7733
7792
  this.tipoCampo = '';
7734
7793
  this.idDtCampo = 0;
7735
7794
  if (e) {
7736
- this.idEmpresa = parseInt(e.id_empresa);
7795
+ this.idEnterprise = +e.id_enterprise;
7796
+ this.idEmpresa = +e.id_empresa;
7737
7797
  this.idArchivoTxt = parseInt(e.id_archivotxt);
7738
7798
  this.codigoCampo = parseInt(e.codcam);
7739
7799
  this.descripcionCampo = e.descam;
@@ -7754,7 +7814,8 @@ class MArchivoTxtCampo extends MBasicModel {
7754
7814
  }
7755
7815
  dataInterface() {
7756
7816
  return {
7757
- id_empresa: this.idEmpresa.toString(),
7817
+ id_enterprise: this.idEnterprise.toString(),
7818
+ id_empresa: this.idEmpresa,
7758
7819
  id_archivotxt: this.idArchivoTxt.toString(),
7759
7820
  codcam: this.codigoCampo.toString(),
7760
7821
  descam: this.descripcionCampo,
@@ -7775,6 +7836,7 @@ class MArchivoTxtCampo extends MBasicModel {
7775
7836
  class MArchivosTxt extends MBasicModel {
7776
7837
  constructor(e) {
7777
7838
  super();
7839
+ this.idEnterprise = 0;
7778
7840
  this.idEmpresa = 0;
7779
7841
  this.idArchivoTxt = 0;
7780
7842
  this.codigoArchivo = '';
@@ -7784,7 +7846,8 @@ class MArchivosTxt extends MBasicModel {
7784
7846
  this.campos = [];
7785
7847
  if (e) {
7786
7848
  e.acumon == '1' ? this.acumularMonto = true : this.acumularMonto = false;
7787
- this.idEmpresa = parseInt(e.id_empresa);
7849
+ this.idEnterprise = +e.id_enterprise;
7850
+ this.idEmpresa = +e.id_empresa;
7788
7851
  this.idArchivoTxt = parseInt(e.id_archivotxt);
7789
7852
  this.codigoArchivo = e.codarch;
7790
7853
  this.denominacionArchivo = e.denarch;
@@ -7797,7 +7860,8 @@ class MArchivosTxt extends MBasicModel {
7797
7860
  }
7798
7861
  dataInterface() {
7799
7862
  return {
7800
- id_empresa: this.idEmpresa.toString(),
7863
+ id_enterprise: this.idEnterprise.toString(),
7864
+ id_empresa: this.idEmpresa,
7801
7865
  id_archivotxt: this.idArchivoTxt.toString(),
7802
7866
  codarch: this.codigoArchivo,
7803
7867
  denarch: this.denominacionArchivo,
@@ -7811,6 +7875,7 @@ class MArchivosTxt extends MBasicModel {
7811
7875
  class MAspectoEvaluacion extends MBasicModel {
7812
7876
  constructor(e) {
7813
7877
  super();
7878
+ this.idEnterprise = 0;
7814
7879
  this.idEmpresa = 0;
7815
7880
  this.idTipoEvaluacion = 0;
7816
7881
  this.idAspectoEvaluacion = 0;
@@ -7819,7 +7884,8 @@ class MAspectoEvaluacion extends MBasicModel {
7819
7884
  this.codigoAspecto = '';
7820
7885
  this.denominacionAspecto = '';
7821
7886
  if (e) {
7822
- this.idEmpresa = parseInt(e.id_empresa);
7887
+ this.idEnterprise = +e.id_enterprise;
7888
+ this.idEmpresa = +e.id_empresa;
7823
7889
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7824
7890
  this.idAspectoEvaluacion = parseInt(e.id_aspecto);
7825
7891
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -7833,7 +7899,8 @@ class MAspectoEvaluacion extends MBasicModel {
7833
7899
  }
7834
7900
  dataInterface() {
7835
7901
  return {
7836
- id_empresa: this.idEmpresa.toString(),
7902
+ id_enterprise: this.idEnterprise.toString(),
7903
+ id_empresa: this.idEmpresa,
7837
7904
  id_tipoeval: this.idTipoEvaluacion.toString(),
7838
7905
  id_aspecto: this.idAspectoEvaluacion.toString(),
7839
7906
  codasp: this.codigoAspecto,
@@ -7846,6 +7913,7 @@ class MAspectoEvaluacion extends MBasicModel {
7846
7913
  class MItemsEvalucion extends MBasicModel {
7847
7914
  constructor(e = null) {
7848
7915
  super();
7916
+ this.idEnterprise = 0;
7849
7917
  this.idEmpresa = 0;
7850
7918
  this.idTipoEvaluacion = 0;
7851
7919
  this.idAspectoEvaluacion = 0;
@@ -7858,7 +7926,8 @@ class MItemsEvalucion extends MBasicModel {
7858
7926
  this.codigoAspecto = '';
7859
7927
  this.denominacionAspecto = '';
7860
7928
  if (e) {
7861
- this.idEmpresa = parseInt(e.id_empresa);
7929
+ this.idEnterprise = +e.id_enterprise;
7930
+ this.idEmpresa = +e.id_empresa;
7862
7931
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7863
7932
  this.idAspectoEvaluacion = parseInt(e.id_aspecto);
7864
7933
  this.idItems = parseInt(e.id_item);
@@ -7876,7 +7945,8 @@ class MItemsEvalucion extends MBasicModel {
7876
7945
  }
7877
7946
  dataInterface() {
7878
7947
  return {
7879
- id_empresa: this.idEmpresa.toString(),
7948
+ id_enterprise: this.idEnterprise.toString(),
7949
+ id_empresa: this.idEmpresa,
7880
7950
  id_tipoeval: this.idTipoEvaluacion.toString(),
7881
7951
  id_aspecto: this.idAspectoEvaluacion.toString(),
7882
7952
  id_item: this.idItems.toString(),
@@ -7894,6 +7964,7 @@ class MItemsEvalucion extends MBasicModel {
7894
7964
  class MBeneficiario extends MBasicModel {
7895
7965
  constructor(e) {
7896
7966
  super();
7967
+ this.idEnterprise = 0;
7897
7968
  this.idEmpresa = 0;
7898
7969
  this.idPersonal = 0;
7899
7970
  this.idFamiliar = 0;
@@ -7920,7 +7991,8 @@ class MBeneficiario extends MBasicModel {
7920
7991
  this.medidaActiva = false;
7921
7992
  this.tribunal = '';
7922
7993
  if (e) {
7923
- this.idEmpresa = parseInt(e.id_empresa);
7994
+ this.idEnterprise = +e.id_enterprise;
7995
+ this.idEmpresa = +e.id_empresa;
7924
7996
  this.idPersonal = parseInt(e.id_personal);
7925
7997
  this.idFamiliar = parseInt(e.id_familiar);
7926
7998
  this.idProveedor = parseInt(e.id_proveedor);
@@ -7952,7 +8024,8 @@ class MBeneficiario extends MBasicModel {
7952
8024
  }
7953
8025
  dataInterface() {
7954
8026
  return {
7955
- id_empresa: this.idEmpresa.toString(),
8027
+ id_enterprise: this.idEnterprise.toString(),
8028
+ id_empresa: this.idEmpresa,
7956
8029
  id_personal: this.idPersonal.toString(),
7957
8030
  id_familiar: this.idFamiliar.toString(),
7958
8031
  id_proveedor: this.idProveedor.toString(),
@@ -7974,6 +8047,7 @@ class MBeneficiario extends MBasicModel {
7974
8047
  class MCargosPersonal extends MBasicModel {
7975
8048
  constructor(p = null) {
7976
8049
  super();
8050
+ this.idEnterprise = 0;
7977
8051
  this.idEmpresa = 0;
7978
8052
  this.idPersonal = 0;
7979
8053
  this.idCargo = 0;
@@ -8003,6 +8077,8 @@ class MCargosPersonal extends MBasicModel {
8003
8077
  this.detallesOrganigrama = [];
8004
8078
  this.detallesNomina = [];
8005
8079
  if (p) {
8080
+ this.idEnterprise = +p.id_enterprise;
8081
+ this.idEmpresa = +p.id_empresa;
8006
8082
  this.idPersonal = parseInt(p.id_personal);
8007
8083
  this.idCargo = +p.id_carper;
8008
8084
  this.codigoCargo = p.codcar;
@@ -8041,7 +8117,8 @@ class MCargosPersonal extends MBasicModel {
8041
8117
  }
8042
8118
  dataInterface() {
8043
8119
  return {
8044
- id_empresa: this.idEmpresa.toString(),
8120
+ id_enterprise: this.idEnterprise.toString(),
8121
+ id_empresa: this.idEmpresa,
8045
8122
  id_personal: this.idPersonal.toString(),
8046
8123
  id_carper: this.idCargo.toString(),
8047
8124
  id_tabulador: this.idTabulador.toString(),
@@ -8059,6 +8136,7 @@ class MCargosPersonal extends MBasicModel {
8059
8136
  class MCargaFamiliar extends MBasicModel {
8060
8137
  constructor(e) {
8061
8138
  super();
8139
+ this.idEnterprise = 0;
8062
8140
  this.idEmpresa = 0;
8063
8141
  this.idConcurso = 0;
8064
8142
  this.idConcursante = 0;
@@ -8071,7 +8149,8 @@ class MCargaFamiliar extends MBasicModel {
8071
8149
  this.parentesco = '';
8072
8150
  this.fechaNacimiento = '';
8073
8151
  if (e) {
8074
- this.idEmpresa = parseInt(e.id_empresa);
8152
+ this.idEnterprise = +e.id_enterprise;
8153
+ this.idEmpresa = +e.id_empresa;
8075
8154
  this.idConcurso = parseInt(e.id_concurso);
8076
8155
  this.idConcursante = parseInt(e.id_concursante);
8077
8156
  this.idFamilia = parseInt(e.id_familiacon);
@@ -8089,7 +8168,8 @@ class MCargaFamiliar extends MBasicModel {
8089
8168
  }
8090
8169
  dataInterface() {
8091
8170
  return {
8092
- id_empresa: this.idEmpresa.toString(),
8171
+ id_enterprise: this.idEnterprise.toString(),
8172
+ id_empresa: this.idEmpresa,
8093
8173
  id_concurso: this.idConcurso.toString(),
8094
8174
  id_concursante: this.idConcurso.toString(),
8095
8175
  id_familiacon: this.idFamilia.toString(),
@@ -8107,6 +8187,7 @@ class MCargaFamiliar extends MBasicModel {
8107
8187
  class MClasificacionObrero extends MBasicModel {
8108
8188
  constructor(e) {
8109
8189
  super();
8190
+ this.idEnterprise = 0;
8110
8191
  this.idEmpresa = 0;
8111
8192
  this.idClasificacionObrero = 0;
8112
8193
  this.grado = '';
@@ -8117,7 +8198,8 @@ class MClasificacionObrero extends MBasicModel {
8117
8198
  this.numeroGaceta = '';
8118
8199
  this.observacion = '';
8119
8200
  if (e) {
8120
- this.idEmpresa = parseInt(e.id_empresa);
8201
+ this.idEnterprise = +e.id_enterprise;
8202
+ this.idEmpresa = +e.id_empresa;
8121
8203
  this.idClasificacionObrero = parseInt(e.id_claobr);
8122
8204
  this.grado = e.grado;
8123
8205
  this.sueldoMinimo = e.suemin;
@@ -8133,7 +8215,8 @@ class MClasificacionObrero extends MBasicModel {
8133
8215
  }
8134
8216
  dataInterface() {
8135
8217
  return {
8136
- id_empresa: this.idEmpresa.toString(),
8218
+ id_enterprise: this.idEnterprise.toString(),
8219
+ id_empresa: this.idEmpresa,
8137
8220
  id_claobr: this.idClasificacionObrero.toString(),
8138
8221
  grado: this.grado,
8139
8222
  suemin: this.sueldoMinimo,
@@ -8149,6 +8232,7 @@ class MClasificacionObrero extends MBasicModel {
8149
8232
  class MConceptoVacaciones extends MBasicModel {
8150
8233
  constructor(e = null) {
8151
8234
  super();
8235
+ this.idEnterprise = 0;
8152
8236
  this.idEmpresa = 0;
8153
8237
  this.idConceptoVacaciones = 0;
8154
8238
  this.idNomina = 0;
@@ -8173,6 +8257,7 @@ class MConceptoVacaciones extends MBasicModel {
8173
8257
  this.nombreConcepto = '';
8174
8258
  this.signoConcepto = '';
8175
8259
  if (e) {
8260
+ this.idEnterprise = +e.id_enterprise;
8176
8261
  this.idEmpresa = +e.id_empresa;
8177
8262
  this.idConceptoVacaciones = +e.id_convac;
8178
8263
  this.idNomina = +e.id_nomina;
@@ -8200,7 +8285,8 @@ class MConceptoVacaciones extends MBasicModel {
8200
8285
  }
8201
8286
  dataInterface() {
8202
8287
  return {
8203
- id_empresa: this.idEmpresa.toString(),
8288
+ id_enterprise: this.idEnterprise.toString(),
8289
+ id_empresa: this.idEmpresa,
8204
8290
  id_convac: this.idConceptoVacaciones.toString(),
8205
8291
  id_nomina: this.idNomina.toString(),
8206
8292
  id_concepto: this.idConcepto.toString(),
@@ -8257,6 +8343,7 @@ const SalarioNormal = [
8257
8343
  class MConceptosNomina extends MBasicModel {
8258
8344
  constructor(e = null) {
8259
8345
  super();
8346
+ this.idEnterprise = 0;
8260
8347
  this.idEmpresa = 0;
8261
8348
  this.idNomina = 0;
8262
8349
  this.idConcepto = 0;
@@ -8322,6 +8409,7 @@ class MConceptosNomina extends MBasicModel {
8322
8409
  this.evaluarEnPrenomina = 0;
8323
8410
  this.antiguedadComplementaria = 0;
8324
8411
  if (e) {
8412
+ this.idEnterprise = +e.id_enterprise;
8325
8413
  this.idEmpresa = +e.id_empresa;
8326
8414
  this.idNomina = +e.id_nomina;
8327
8415
  this.idConcepto = +e.id_concepto;
@@ -8398,7 +8486,8 @@ class MConceptosNomina extends MBasicModel {
8398
8486
  }
8399
8487
  dataInterface() {
8400
8488
  return {
8401
- id_empresa: this.idEmpresa.toString(),
8489
+ id_enterprise: this.idEnterprise.toString(),
8490
+ id_empresa: this.idEmpresa,
8402
8491
  id_nomina: this.idNomina.toString(),
8403
8492
  id_concepto: this.idConcepto.toString(),
8404
8493
  codconc: this.codigoConcepto,
@@ -8472,6 +8561,7 @@ class MConceptosNomina extends MBasicModel {
8472
8561
  class MConceptosPersonalNomina extends MBasicModel {
8473
8562
  constructor(e = null) {
8474
8563
  super();
8564
+ this.idEnterprise = 0;
8475
8565
  this.idEmpresa = 0;
8476
8566
  this.idPersonalNomina = 0;
8477
8567
  this.idNomina = 0;
@@ -8498,7 +8588,8 @@ class MConceptosPersonalNomina extends MBasicModel {
8498
8588
  this.codigoNomina = '';
8499
8589
  this.numeroPeriodoNomina = 0;
8500
8590
  if (e) {
8501
- this.idEmpresa = parseInt(e.id_empresa);
8591
+ this.idEnterprise = +e.id_enterprise;
8592
+ this.idEmpresa = +e.id_empresa;
8502
8593
  this.idPersonalNomina = parseInt(e.id_personalnomina);
8503
8594
  this.idNomina = parseInt(e.id_nomina);
8504
8595
  this.idConcepto = parseInt(e.id_concepto);
@@ -8529,7 +8620,8 @@ class MConceptosPersonalNomina extends MBasicModel {
8529
8620
  }
8530
8621
  dataInterface() {
8531
8622
  return {
8532
- id_empresa: this.idEmpresa.toString(),
8623
+ id_enterprise: this.idEnterprise.toString(),
8624
+ id_empresa: this.idEmpresa,
8533
8625
  id_personalnomina: this.idPersonalNomina.toString(),
8534
8626
  id_nomina: this.idNomina.toString(),
8535
8627
  id_concepto: this.idConcepto.toString(),
@@ -8565,6 +8657,7 @@ class MConceptosPersonalNomina extends MBasicModel {
8565
8657
  class MConstanteNomina extends MBasicModel {
8566
8658
  constructor(e = null) {
8567
8659
  super();
8660
+ this.idEnterprise = 0;
8568
8661
  this.idEmpresa = 0;
8569
8662
  this.idNomina = 1;
8570
8663
  this.idConstante = 0;
@@ -8582,6 +8675,7 @@ class MConstanteNomina extends MBasicModel {
8582
8675
  this.registroIncidencia = '';
8583
8676
  this.valorInicialIncidencia = 0;
8584
8677
  if (e) {
8678
+ this.idEnterprise = +e.id_enterprise;
8585
8679
  this.idEmpresa = +e.id_empresa;
8586
8680
  this.idNomina = +e.id_nomina;
8587
8681
  this.idConstante = +e.id_constante;
@@ -8605,7 +8699,8 @@ class MConstanteNomina extends MBasicModel {
8605
8699
  }
8606
8700
  dataInterface() {
8607
8701
  return {
8608
- id_empresa: this.idEmpresa.toString(),
8702
+ id_enterprise: this.idEnterprise.toString(),
8703
+ id_empresa: this.idEmpresa,
8609
8704
  id_nomina: this.idNomina.toString(),
8610
8705
  id_constante: this.idConstante.toString(),
8611
8706
  codcons: this.codigoConstante,
@@ -8628,6 +8723,7 @@ class MConstanteNomina extends MBasicModel {
8628
8723
  class MConstantePersonalNomina extends MBasicModel {
8629
8724
  constructor(e = null) {
8630
8725
  super();
8726
+ this.idEnterprise = 0;
8631
8727
  this.idEmpresa = 0;
8632
8728
  this.idNomina = 0;
8633
8729
  this.idConstante = 0;
@@ -8648,6 +8744,7 @@ class MConstantePersonalNomina extends MBasicModel {
8648
8744
  this.denominacionCargoPersonal = '';
8649
8745
  this.idPersonal = 0;
8650
8746
  if (e) {
8747
+ this.idEnterprise = +e.id_enterprise;
8651
8748
  this.idEmpresa = +e.id_empresa;
8652
8749
  this.idNomina = +e.id_nomina;
8653
8750
  this.idConstante = +e.id_constante;
@@ -8674,7 +8771,8 @@ class MConstantePersonalNomina extends MBasicModel {
8674
8771
  }
8675
8772
  dataInterface() {
8676
8773
  return {
8677
- id_empresa: this.idEmpresa.toString(),
8774
+ id_enterprise: this.idEnterprise.toString(),
8775
+ id_empresa: this.idEmpresa,
8678
8776
  id_nomina: this.idNomina.toString(),
8679
8777
  id_constante: this.idConstante.toString(),
8680
8778
  id_personalnomina: this.idPersonalNomina.toString(),
@@ -8703,6 +8801,7 @@ class MConstantePersonalNomina extends MBasicModel {
8703
8801
  class MRango extends MBasicModel {
8704
8802
  constructor(e = null) {
8705
8803
  super();
8804
+ this.idEnterprise = 0;
8706
8805
  this.idEmpresa = 0;
8707
8806
  this.idComponente = 0;
8708
8807
  this.IdRango = 0;
@@ -8712,7 +8811,8 @@ class MRango extends MBasicModel {
8712
8811
  this.nombreAbreviatura = '';
8713
8812
  this.codigoCategoriaRango = '';
8714
8813
  if (e) {
8715
- this.idEmpresa = parseInt(e.id_empresa);
8814
+ this.idEnterprise = +e.id_enterprise;
8815
+ this.idEmpresa = +e.id_empresa;
8716
8816
  this.idComponente = parseInt(e.id_componente);
8717
8817
  this.IdRango = parseInt(e.id_rango);
8718
8818
  this.IdCategoria = parseInt(e.id_catrango);
@@ -8727,7 +8827,8 @@ class MRango extends MBasicModel {
8727
8827
  }
8728
8828
  dataInterface() {
8729
8829
  return {
8730
- id_empresa: this.idEmpresa.toString(),
8830
+ id_enterprise: this.idEnterprise.toString(),
8831
+ id_empresa: this.idEmpresa,
8731
8832
  id_componente: this.idComponente.toString(),
8732
8833
  id_rango: this.IdRango.toString(),
8733
8834
  id_catrango: this.IdCategoria.toString(),
@@ -8742,6 +8843,7 @@ class MRango extends MBasicModel {
8742
8843
  class MComponete extends MBasicModel {
8743
8844
  constructor(e) {
8744
8845
  super();
8846
+ this.idEnterprise = 0;
8745
8847
  this.idEmpresa = 0;
8746
8848
  this.idComponente = 0;
8747
8849
  this.codigoComponente = '';
@@ -8749,7 +8851,8 @@ class MComponete extends MBasicModel {
8749
8851
  this.nombreAbreviatura = '';
8750
8852
  this.rangos = [];
8751
8853
  if (e) {
8752
- this.idEmpresa = parseInt(e.id_empresa);
8854
+ this.idEnterprise = +e.id_enterprise;
8855
+ this.idEmpresa = +e.id_empresa;
8753
8856
  this.idComponente = parseInt(e.id_componente);
8754
8857
  this.codigoComponente = e.codcom;
8755
8858
  this.denominacionComponente = e.dencom;
@@ -8762,7 +8865,8 @@ class MComponete extends MBasicModel {
8762
8865
  }
8763
8866
  dataInterface() {
8764
8867
  return {
8765
- id_empresa: this.idEmpresa.toString(),
8868
+ id_enterprise: this.idEnterprise.toString(),
8869
+ id_empresa: this.idEmpresa,
8766
8870
  id_componente: this.idComponente.toString(),
8767
8871
  codcom: this.codigoComponente,
8768
8872
  dencom: this.denominacionComponente,
@@ -8775,6 +8879,7 @@ class MComponete extends MBasicModel {
8775
8879
  class MConcursante extends MBasicModel {
8776
8880
  constructor(e = null) {
8777
8881
  super();
8882
+ this.idEnterprise = 0;
8778
8883
  this.idEmpresa = 0;
8779
8884
  this.idConcurso = 0;
8780
8885
  this.codigoConcurso = '';
@@ -8801,7 +8906,8 @@ class MConcursante extends MBasicModel {
8801
8906
  this.nivelAcademico = 0;
8802
8907
  this.estatusRequisitos = 1;
8803
8908
  if (e) {
8804
- this.idEmpresa = parseInt(e.id_empresa);
8909
+ this.idEnterprise = +e.id_enterprise;
8910
+ this.idEmpresa = +e.id_empresa;
8805
8911
  this.idConcurso = parseInt(e.id_concurso);
8806
8912
  this.codigoConcurso = e.codcon;
8807
8913
  this.idConcursante = parseInt(e.id_concursante);
@@ -8830,7 +8936,8 @@ class MConcursante extends MBasicModel {
8830
8936
  }
8831
8937
  dataInterface() {
8832
8938
  return {
8833
- id_empresa: this.idEmpresa.toString(),
8939
+ id_enterprise: this.idEnterprise.toString(),
8940
+ id_empresa: this.idEmpresa,
8834
8941
  id_concurso: this.idConcurso.toString(),
8835
8942
  codcon: this.codigoConcurso,
8836
8943
  id_concursante: this.idConcursante.toString(),
@@ -8861,6 +8968,7 @@ class MConcursante extends MBasicModel {
8861
8968
  class MTrabajosConcursantes extends MBasicModel {
8862
8969
  constructor(e) {
8863
8970
  super();
8971
+ this.idEnterprise = 0;
8864
8972
  this.idEmpresa = 0;
8865
8973
  this.idConcurso = 0;
8866
8974
  this.idConcursante = 0;
@@ -8871,7 +8979,8 @@ class MTrabajosConcursantes extends MBasicModel {
8871
8979
  this.fechaIngreso = '';
8872
8980
  this.fechaRetiro = '';
8873
8981
  if (e) {
8874
- this.idEmpresa = parseInt(e.id_empresa);
8982
+ this.idEnterprise = +e.id_enterprise;
8983
+ this.idEmpresa = +e.id_empresa;
8875
8984
  this.idConcurso = parseInt(e.id_concurso);
8876
8985
  this.idConcursante = parseInt(e.id_concursante);
8877
8986
  this.idTrabajo = parseInt(e.id_trabajocon);
@@ -8887,7 +8996,8 @@ class MTrabajosConcursantes extends MBasicModel {
8887
8996
  }
8888
8997
  dataInterface() {
8889
8998
  return {
8890
- id_empresa: this.idEmpresa.toString(),
8999
+ id_enterprise: this.idEnterprise.toString(),
9000
+ id_empresa: this.idEmpresa,
8891
9001
  id_concurso: this.idConcurso.toString(),
8892
9002
  id_concursante: this.idConcursante.toString(),
8893
9003
  id_trabajocon: this.idTrabajo.toString(),
@@ -8902,6 +9012,7 @@ class MTrabajosConcursantes extends MBasicModel {
8902
9012
  class MEstudiosConcursantes extends MBasicModel {
8903
9013
  constructor(e = null) {
8904
9014
  super();
9015
+ this.idEnterprise = 0;
8905
9016
  this.idEmpresa = 0;
8906
9017
  this.idConcurso = 0;
8907
9018
  this.idConcursante = 0;
@@ -8915,7 +9026,8 @@ class MEstudiosConcursantes extends MBasicModel {
8915
9026
  this.yearAprobados = 0;
8916
9027
  this.horasEstudiosRealizadas = 0;
8917
9028
  if (e) {
8918
- this.idEmpresa = parseInt(e.id_empresa);
9029
+ this.idEnterprise = +e.id_enterprise;
9030
+ this.idEmpresa = +e.id_empresa;
8919
9031
  this.idConcurso = parseInt(e.id_concurso);
8920
9032
  this.idConcursante = parseInt(e.id_concursante);
8921
9033
  this.idEstudio = parseInt(e.id_estudiocon);
@@ -8934,7 +9046,8 @@ class MEstudiosConcursantes extends MBasicModel {
8934
9046
  }
8935
9047
  dataInterface() {
8936
9048
  return {
8937
- id_empresa: this.idEmpresa.toString(),
9049
+ id_enterprise: this.idEnterprise.toString(),
9050
+ id_empresa: this.idEmpresa,
8938
9051
  id_concurso: this.idConcurso.toString(),
8939
9052
  id_concursante: this.idConcursante.toString(),
8940
9053
  id_estudiocon: this.idEstudio.toString(),
@@ -8993,6 +9106,7 @@ class MExperienciaLaboral extends MBasicModel {
8993
9106
  class MFamiliaConcursante extends MBasicModel {
8994
9107
  constructor(e = null) {
8995
9108
  super();
9109
+ this.idEnterprise = 0;
8996
9110
  this.idEmpresa = 0;
8997
9111
  this.idConcurso = 0;
8998
9112
  this.idConcursante = 0;
@@ -9005,7 +9119,8 @@ class MFamiliaConcursante extends MBasicModel {
9005
9119
  this.nexo = '';
9006
9120
  this.fecha = '';
9007
9121
  if (e) {
9008
- this.idEmpresa = parseInt(e.id_empresa);
9122
+ this.idEnterprise = +e.id_enterprise;
9123
+ this.idEmpresa = +e.id_empresa;
9009
9124
  this.idConcurso = parseInt(e.id_concurso);
9010
9125
  this.idConcursante = parseInt(e.id_concursante);
9011
9126
  this.idFamiliar = parseInt(e.id_familiacon);
@@ -9023,7 +9138,8 @@ class MFamiliaConcursante extends MBasicModel {
9023
9138
  }
9024
9139
  dataInterface() {
9025
9140
  return {
9026
- id_empresa: this.idEmpresa.toString(),
9141
+ id_enterprise: this.idEnterprise.toString(),
9142
+ id_empresa: this.idEmpresa,
9027
9143
  id_concurso: this.idConcurso.toString(),
9028
9144
  id_concursante: this.idConcursante.toString(),
9029
9145
  id_familiacon: this.idFamiliar.toString(),
@@ -9040,6 +9156,7 @@ class MFamiliaConcursante extends MBasicModel {
9040
9156
  class MFormacionInformal extends MBasicModel {
9041
9157
  constructor(e = null) {
9042
9158
  super();
9159
+ this.idEnterprise = 0;
9043
9160
  this.idEmpresa = 0;
9044
9161
  this.idConcurso = 0;
9045
9162
  this.idConcursante = 0;
@@ -9048,7 +9165,8 @@ class MFormacionInformal extends MBasicModel {
9048
9165
  this.descripcionCurso = '';
9049
9166
  this.horasCurso = 0;
9050
9167
  if (e) {
9051
- this.idEmpresa = parseInt(e.id_empresa);
9168
+ this.idEnterprise = +e.id_enterprise;
9169
+ this.idEmpresa = +e.id_empresa;
9052
9170
  this.idConcursante = parseInt(e.id_concurso);
9053
9171
  this.idConcursante = parseInt(e.id_concursante);
9054
9172
  this.idCurso = parseInt(e.id_curso);
@@ -9062,7 +9180,8 @@ class MFormacionInformal extends MBasicModel {
9062
9180
  }
9063
9181
  dataInterface() {
9064
9182
  return {
9065
- id_empresa: this.idEmpresa.toString(),
9183
+ id_enterprise: this.idEnterprise.toString(),
9184
+ id_empresa: this.idEmpresa,
9066
9185
  id_concurso: this.idConcurso.toString(),
9067
9186
  id_concursante: this.idConcurso.toString(),
9068
9187
  id_curso: this.idCurso.toString(),
@@ -9076,6 +9195,7 @@ class MFormacionInformal extends MBasicModel {
9076
9195
  class MRequisitosConcursos extends MBasicModel {
9077
9196
  constructor(e) {
9078
9197
  super();
9198
+ this.idEnterprise = 0;
9079
9199
  this.idEmpresa = 0;
9080
9200
  this.idConcurso = 0;
9081
9201
  this.idRequisito = 0;
@@ -9084,7 +9204,8 @@ class MRequisitosConcursos extends MBasicModel {
9084
9204
  this.cantidadRequisito = 0;
9085
9205
  this.requisitoIndispensable = 0;
9086
9206
  if (e) {
9087
- this.idEmpresa = parseInt(e.id_empresa);
9207
+ this.idEnterprise = +e.id_enterprise;
9208
+ this.idEmpresa = +e.id_empresa;
9088
9209
  this.idConcurso = parseInt(e.id_concurso);
9089
9210
  this.idRequisito = parseInt(e.id_reqcon);
9090
9211
  this.codigoRequisito = e.codreqcon;
@@ -9095,7 +9216,8 @@ class MRequisitosConcursos extends MBasicModel {
9095
9216
  }
9096
9217
  dataInterface() {
9097
9218
  return {
9098
- id_empresa: this.idEmpresa.toString(),
9219
+ id_enterprise: this.idEnterprise.toString(),
9220
+ id_empresa: this.idEmpresa,
9099
9221
  id_concurso: this.idConcurso.toString(),
9100
9222
  id_reqcon: this.idRequisito.toString(),
9101
9223
  codreqcon: this.codigoRequisito,
@@ -9109,6 +9231,7 @@ class MRequisitosConcursos extends MBasicModel {
9109
9231
  class MConcurso extends MBasicModel {
9110
9232
  constructor(e = null) {
9111
9233
  super();
9234
+ this.idEnterprise = 0;
9112
9235
  this.idEmpresa = 0;
9113
9236
  this.idConcurso = 0;
9114
9237
  this.codigoConcurso = '';
@@ -9125,7 +9248,8 @@ class MConcurso extends MBasicModel {
9125
9248
  this.detalleRequisitos = [];
9126
9249
  this.eliminarDetalles = [];
9127
9250
  if (e) {
9128
- this.idEmpresa = parseInt(e.id_empresa);
9251
+ this.idEnterprise = +e.id_enterprise;
9252
+ this.idEmpresa = +e.id_empresa;
9129
9253
  this.idConcurso = parseInt(e.id_concurso);
9130
9254
  this.codigoConcurso = e.codcon;
9131
9255
  this.denominacionConcurso = e.dencon;
@@ -9145,7 +9269,8 @@ class MConcurso extends MBasicModel {
9145
9269
  }
9146
9270
  dataInterface() {
9147
9271
  return {
9148
- id_empresa: this.idEmpresa.toString(),
9272
+ id_enterprise: this.idEnterprise.toString(),
9273
+ id_empresa: this.idEmpresa,
9149
9274
  id_concurso: this.idConcurso.toString(),
9150
9275
  codcon: this.codigoConcurso,
9151
9276
  dencon: this.denominacionConcurso,
@@ -9165,6 +9290,7 @@ class MConcurso extends MBasicModel {
9165
9290
  class MPrevioEvaluacion extends MBasicModel {
9166
9291
  constructor(e = null) {
9167
9292
  super();
9293
+ this.idEnterprise = 0;
9168
9294
  this.idEmpresa = 0;
9169
9295
  this.idPrevio = 0;
9170
9296
  this.proceso = '';
@@ -9184,7 +9310,8 @@ class MPrevioEvaluacion extends MBasicModel {
9184
9310
  this.estatusRegistro = 0;
9185
9311
  this.detallesRegistro = [];
9186
9312
  if (e) {
9187
- this.idEmpresa = parseInt(e.id_empresa);
9313
+ this.idEnterprise = +e.id_enterprise;
9314
+ this.idEmpresa = +e.id_empresa;
9188
9315
  this.idPrevio = parseInt(e.id_previo);
9189
9316
  this.proceso = e.proceso;
9190
9317
  this.idConcurso = parseInt(e.id_concurso);
@@ -9210,7 +9337,8 @@ class MPrevioEvaluacion extends MBasicModel {
9210
9337
  }
9211
9338
  dataInterface() {
9212
9339
  return {
9213
- id_empresa: this.idEmpresa.toString(),
9340
+ id_enterprise: this.idEnterprise.toString(),
9341
+ id_empresa: this.idEmpresa,
9214
9342
  id_previo: this.idPrevio.toString(),
9215
9343
  proceso: this.proceso,
9216
9344
  id_concurso: this.idConcurso.toString(),
@@ -9235,6 +9363,7 @@ class MPrevioEvaluacion extends MBasicModel {
9235
9363
  class MPrevioEvaluacionDt extends MBasicModel {
9236
9364
  constructor(e = null) {
9237
9365
  super();
9366
+ this.idEnterprise = 0;
9238
9367
  this.idEmpresa = 0;
9239
9368
  this.idPrevio = 0;
9240
9369
  this.idAspecto = 0;
@@ -9246,7 +9375,8 @@ class MPrevioEvaluacionDt extends MBasicModel {
9246
9375
  this.puntos = 0;
9247
9376
  this.valorMaximo = 0;
9248
9377
  if (e) {
9249
- this.idEmpresa = parseInt(e.id_empresa);
9378
+ this.idEnterprise = +e.id_enterprise;
9379
+ this.idEmpresa = +e.id_empresa;
9250
9380
  this.idPrevio = parseInt(e.id_previo);
9251
9381
  this.idAspecto = parseInt(e.id_aspecto);
9252
9382
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
@@ -9263,7 +9393,8 @@ class MPrevioEvaluacionDt extends MBasicModel {
9263
9393
  }
9264
9394
  dataInterface() {
9265
9395
  return {
9266
- id_empresa: this.idEmpresa.toString(),
9396
+ id_enterprise: this.idEnterprise.toString(),
9397
+ id_empresa: this.idEmpresa,
9267
9398
  id_previo: this.idPrevio.toString(),
9268
9399
  id_tipoeval: this.idTipoEvaluacion.toString(),
9269
9400
  id_aspecto: this.idAspecto.toString(),
@@ -9279,6 +9410,7 @@ class MPrevioEvaluacionDt extends MBasicModel {
9279
9410
  class MResultadosEvaluacion extends MBasicModel {
9280
9411
  constructor(e) {
9281
9412
  super();
9413
+ this.idEnterprise = 0;
9282
9414
  this.idEmpresa = 0;
9283
9415
  this.idEvaluacion = 0;
9284
9416
  this.idConcurso = 0;
@@ -9295,7 +9427,8 @@ class MResultadosEvaluacion extends MBasicModel {
9295
9427
  this.resultado_rqm = 0;
9296
9428
  this.usuarioRegistro = '';
9297
9429
  if (e) {
9298
- this.idEmpresa = parseInt(e.id_empresa);
9430
+ this.idEnterprise = +e.id_enterprise;
9431
+ this.idEmpresa = +e.id_empresa;
9299
9432
  this.idEvaluacion = parseInt(e.id_evaluacion);
9300
9433
  this.idConcurso = parseInt(e.id_concurso);
9301
9434
  this.codigoConcurso = e.codcon,
@@ -9318,7 +9451,8 @@ class MResultadosEvaluacion extends MBasicModel {
9318
9451
  }
9319
9452
  dataInterface() {
9320
9453
  return {
9321
- id_empresa: this.idEmpresa.toString(),
9454
+ id_enterprise: this.idEnterprise.toString(),
9455
+ id_empresa: this.idEmpresa,
9322
9456
  id_evaluacion: this.idEvaluacion.toString(),
9323
9457
  id_concurso: this.idConcurso.toString(),
9324
9458
  codcon: this.codigoConcurso,
@@ -9341,6 +9475,7 @@ class MResultadosEvaluacion extends MBasicModel {
9341
9475
  class MTipoPersonal extends MBasicModel {
9342
9476
  constructor(e) {
9343
9477
  super();
9478
+ this.idEnterprise = 0;
9344
9479
  this.idEmpresa = 0;
9345
9480
  this.idDedicacion = 0;
9346
9481
  this.idTipoPersonal = 0;
@@ -9348,7 +9483,8 @@ class MTipoPersonal extends MBasicModel {
9348
9483
  this.codigoTipoPersonal = '';
9349
9484
  this.denominacionTipoPersonal = '';
9350
9485
  if (e) {
9351
- this.idEmpresa = parseInt(e.id_empresa);
9486
+ this.idEnterprise = +e.id_enterprise;
9487
+ this.idEmpresa = +e.id_empresa;
9352
9488
  this.idDedicacion = parseInt(e.id_dedicacion);
9353
9489
  this.idTipoPersonal = parseInt(e.id_tipopersonal);
9354
9490
  this.idDtTipoPersonal = parseInt(e.id_dt_tipopersonal);
@@ -9358,7 +9494,8 @@ class MTipoPersonal extends MBasicModel {
9358
9494
  }
9359
9495
  dataInterface() {
9360
9496
  return {
9361
- id_empresa: this.idEmpresa.toString(),
9497
+ id_enterprise: this.idEnterprise.toString(),
9498
+ id_empresa: this.idEmpresa,
9362
9499
  id_tipopersonal: this.idTipoPersonal.toString(),
9363
9500
  id_dedicacion: this.idDedicacion.toString(),
9364
9501
  id_dt_tipopersonal: this.idDtTipoPersonal.toString(),
@@ -9371,13 +9508,15 @@ class MTipoPersonal extends MBasicModel {
9371
9508
  class MDedicacion extends MBasicModel {
9372
9509
  constructor(e = null) {
9373
9510
  super();
9511
+ this.idEnterprise = 0;
9374
9512
  this.idEmpresa = 0;
9375
9513
  this.idDedicacion = 0;
9376
9514
  this.codigoDedicacion = '';
9377
9515
  this.denominacionDedicacion = '';
9378
9516
  this.tipoPersonal = [];
9379
9517
  if (e) {
9380
- this.idEmpresa = parseInt(e.id_empresa);
9518
+ this.idEnterprise = +e.id_enterprise;
9519
+ this.idEmpresa = +e.id_empresa;
9381
9520
  this.idDedicacion = parseInt(e.id_dedicacion);
9382
9521
  this.codigoDedicacion = e.codded;
9383
9522
  this.denominacionDedicacion = e.dended;
@@ -9389,7 +9528,8 @@ class MDedicacion extends MBasicModel {
9389
9528
  }
9390
9529
  dataInterface() {
9391
9530
  return {
9392
- id_empresa: this.idEmpresa.toString(),
9531
+ id_enterprise: this.idEnterprise.toString(),
9532
+ id_empresa: this.idEmpresa,
9393
9533
  id_dedicacion: this.idDedicacion.toString(),
9394
9534
  codded: this.codigoDedicacion,
9395
9535
  dended: this.denominacionDedicacion,
@@ -9401,12 +9541,16 @@ class MDedicacion extends MBasicModel {
9401
9541
  class MDefinicionesBasicas extends MBasicModel {
9402
9542
  constructor(e = null) {
9403
9543
  super();
9544
+ this.idEnterprise = 0;
9545
+ this.idEmpresa = 0;
9404
9546
  this.idDefinicion = -1;
9405
9547
  this.codigo = '';
9406
9548
  this.denominacion = '';
9407
9549
  this.tipoPersonalObrero = false;
9408
9550
  this.observacionRetenciones = '';
9409
9551
  if (e) {
9552
+ this.idEnterprise = +e.id_enterprise;
9553
+ this.idEmpresa = +e.id_empresa;
9410
9554
  this.idDefinicion = parseInt(e.id);
9411
9555
  this.codigo = e.coddef;
9412
9556
  this.denominacion = e.dendef;
@@ -9428,6 +9572,8 @@ class MDefinicionesBasicas extends MBasicModel {
9428
9572
  tipo = '1';
9429
9573
  }
9430
9574
  return {
9575
+ id_enterprise: this.idEnterprise.toString(),
9576
+ id_empresa: this.idEmpresa,
9431
9577
  id: this.idDefinicion.toString(),
9432
9578
  coddef: this.codigo,
9433
9579
  dendef: this.denominacion,
@@ -9439,6 +9585,7 @@ class MDefinicionesBasicas extends MBasicModel {
9439
9585
  class MSueldoMinimo extends MBasicModel {
9440
9586
  constructor(e) {
9441
9587
  super();
9588
+ this.idEnterprise = 0;
9442
9589
  this.idEmpresa = 0;
9443
9590
  this.idSueldoMinimo = 0;
9444
9591
  this.codigoSueldoMinimo = '';
@@ -9448,7 +9595,8 @@ class MSueldoMinimo extends MBasicModel {
9448
9595
  this.montoSueldoMinimo = 0;
9449
9596
  this.observacionSueldoMinimo = '';
9450
9597
  if (e) {
9451
- this.idEmpresa = parseInt(e.id_empresa);
9598
+ this.idEnterprise = +e.id_enterprise;
9599
+ this.idEmpresa = +e.id_empresa;
9452
9600
  this.idSueldoMinimo = parseInt(e.id_sueldominimo);
9453
9601
  this.codigoSueldoMinimo = e.codsuemin;
9454
9602
  this.annoSueldoMinimo = parseInt(e.anosuemin);
@@ -9460,7 +9608,8 @@ class MSueldoMinimo extends MBasicModel {
9460
9608
  }
9461
9609
  dataInterface() {
9462
9610
  return {
9463
- id_empresa: this.idEmpresa.toString(),
9611
+ id_enterprise: this.idEnterprise.toString(),
9612
+ id_empresa: this.idEmpresa,
9464
9613
  id_sueldominimo: this.idSueldoMinimo.toString(),
9465
9614
  codsuemin: this.codigoSueldoMinimo,
9466
9615
  anosuemin: this.annoSueldoMinimo.toString(),
@@ -9475,6 +9624,7 @@ class MSueldoMinimo extends MBasicModel {
9475
9624
  class MDeudaAnterior extends MBasicModel {
9476
9625
  constructor(e = null) {
9477
9626
  super();
9627
+ this.idEnterprise = 0;
9478
9628
  this.idEmpresa = 0;
9479
9629
  this.idPersonal = 0;
9480
9630
  this.fechaCorteDeuda = '1900-01-01';
@@ -9483,6 +9633,7 @@ class MDeudaAnterior extends MBasicModel {
9483
9633
  this.montoDeudaAnterior = 0;
9484
9634
  this.montoAnticipoInteres = 0;
9485
9635
  if (e) {
9636
+ this.idEnterprise = +e.id_enterprise;
9486
9637
  this.idEmpresa = +e.id_empresa;
9487
9638
  this.idPersonal = +e.id_personal;
9488
9639
  this.fechaCorteDeuda = e.feccordeu;
@@ -9497,6 +9648,7 @@ class MDeudaAnterior extends MBasicModel {
9497
9648
  }
9498
9649
  dataInterface() {
9499
9650
  return {
9651
+ id_enterprise: this.idEnterprise.toString(),
9500
9652
  id_empresa: this.idEmpresa,
9501
9653
  id_personal: this.idPersonal,
9502
9654
  feccordeu: this.fechaCorteDeuda,
@@ -9511,6 +9663,7 @@ class MDeudaAnterior extends MBasicModel {
9511
9663
  class MEscalaEvaluacionDt extends MBasicModel {
9512
9664
  constructor(e) {
9513
9665
  super();
9666
+ this.idEnterprise = 0;
9514
9667
  this.idEmpresa = 0;
9515
9668
  this.idEscala = 0;
9516
9669
  this.codigoDetalleEscala = '';
@@ -9519,7 +9672,8 @@ class MEscalaEvaluacionDt extends MBasicModel {
9519
9672
  this.valorFinalDetalleEscala = 0;
9520
9673
  this.idDtEscala = 0;
9521
9674
  if (e) {
9522
- this.idEmpresa = parseInt(e.id_empresa);
9675
+ this.idEnterprise = +e.id_enterprise;
9676
+ this.idEmpresa = +e.id_empresa;
9523
9677
  this.idEscala = parseInt(e.id_escala);
9524
9678
  this.codigoDetalleEscala = e.coddetesc;
9525
9679
  this.denominacionDetalleEscala = e.dendetesc;
@@ -9530,7 +9684,8 @@ class MEscalaEvaluacionDt extends MBasicModel {
9530
9684
  }
9531
9685
  dataInterface() {
9532
9686
  return {
9533
- id_empresa: this.idEmpresa.toString(),
9687
+ id_enterprise: this.idEnterprise.toString(),
9688
+ id_empresa: this.idEmpresa,
9534
9689
  id_escala: this.idEscala.toString(),
9535
9690
  coddetesc: this.codigoDetalleEscala,
9536
9691
  dendetesc: this.denominacionDetalleEscala,
@@ -9544,6 +9699,7 @@ class MEscalaEvaluacionDt extends MBasicModel {
9544
9699
  class MEscalaEvaluacion extends MBasicModel {
9545
9700
  constructor(e) {
9546
9701
  super();
9702
+ this.idEnterprise = 0;
9547
9703
  this.idEmpresa = 0;
9548
9704
  this.idEscala = 0;
9549
9705
  this.codigoEscala = '';
@@ -9552,7 +9708,8 @@ class MEscalaEvaluacion extends MBasicModel {
9552
9708
  this.valorFinalEscala = 0;
9553
9709
  this.detalles = [];
9554
9710
  if (e) {
9555
- this.idEmpresa = parseInt(e.id_empresa);
9711
+ this.idEnterprise = +e.id_enterprise;
9712
+ this.idEmpresa = +e.id_empresa;
9556
9713
  this.idEscala = parseInt(e.id_escala);
9557
9714
  this.codigoEscala = e.codesc;
9558
9715
  this.denominacionEscala = e.denesc;
@@ -9563,7 +9720,8 @@ class MEscalaEvaluacion extends MBasicModel {
9563
9720
  }
9564
9721
  dataInterface() {
9565
9722
  return {
9566
- id_empresa: this.idEmpresa.toString(),
9723
+ id_enterprise: this.idEnterprise.toString(),
9724
+ id_empresa: this.idEmpresa,
9567
9725
  id_escala: this.idEscala.toString(),
9568
9726
  codesc: this.codigoEscala,
9569
9727
  denesc: this.denominacionEscala,
@@ -9577,6 +9735,7 @@ class MEscalaEvaluacion extends MBasicModel {
9577
9735
  class MEstructuraOrganizativa extends MBasicModel {
9578
9736
  constructor(e) {
9579
9737
  super();
9738
+ this.idEnterprise = 0;
9580
9739
  this.idEmpresa = 0;
9581
9740
  this.idOrganigrama = 0;
9582
9741
  this.codigoEstructuraOrganizativa = '';
@@ -9610,7 +9769,8 @@ class MEstructuraOrganizativa extends MBasicModel {
9610
9769
  this.ubicacionZona = 0;
9611
9770
  this.ubicacionNoAplica = 0;
9612
9771
  if (e) {
9613
- this.idEmpresa = parseInt(e.id_empresa);
9772
+ this.idEnterprise = +e.id_enterprise;
9773
+ this.idEmpresa = +e.id_empresa;
9614
9774
  this.idOrganigrama = parseInt(e.id_organigrama);
9615
9775
  this.codigoEstructuraOrganizativa = e.codestorg;
9616
9776
  this.denominacionEstructuraOrganizativa = e.denestorg;
@@ -9646,7 +9806,8 @@ class MEstructuraOrganizativa extends MBasicModel {
9646
9806
  }
9647
9807
  dataInterface() {
9648
9808
  return {
9649
- id_empresa: this.idEmpresa.toString(),
9809
+ id_enterprise: this.idEnterprise.toString(),
9810
+ id_empresa: this.idEmpresa,
9650
9811
  id_organigrama: this.idOrganigrama.toString(),
9651
9812
  codestorg: this.codigoEstructuraOrganizativa,
9652
9813
  denestorg: this.denominacionEstructuraOrganizativa,
@@ -9685,6 +9846,7 @@ class MEstructuraOrganizativa extends MBasicModel {
9685
9846
  class MFamiliares extends MBasicModel {
9686
9847
  constructor(e) {
9687
9848
  super();
9849
+ this.idEnterprise = 0;
9688
9850
  this.idEmpresa = 0;
9689
9851
  this.idPersonal = 0;
9690
9852
  this.idFamiliar = 0;
@@ -9710,7 +9872,8 @@ class MFamiliares extends MBasicModel {
9710
9872
  this.Nexo = Nexofamiliar;
9711
9873
  this.Academico = NivelAcademicoFamiliar;
9712
9874
  if (e) {
9713
- this.idEmpresa = parseInt(e.id_empresa);
9875
+ this.idEnterprise = +e.id_enterprise;
9876
+ this.idEmpresa = +e.id_empresa;
9714
9877
  this.idPersonal = parseInt(e.id_personal);
9715
9878
  this.idFamiliar = parseInt(e.id_familiar);
9716
9879
  this.cedulaFamiliar = e.cedfam;
@@ -9739,7 +9902,8 @@ class MFamiliares extends MBasicModel {
9739
9902
  }
9740
9903
  dataInterface() {
9741
9904
  return {
9742
- id_empresa: this.idEmpresa.toString(),
9905
+ id_enterprise: this.idEnterprise.toString(),
9906
+ id_empresa: this.idEmpresa,
9743
9907
  id_personal: this.idPersonal.toString(),
9744
9908
  id_familiar: this.idFamiliar.toString(),
9745
9909
  cedfam: this.cedulaFamiliar,
@@ -9808,6 +9972,7 @@ class MFeriados extends MBasicModel {
9808
9972
  class MFideicomiso extends MBasicModel {
9809
9973
  constructor(e) {
9810
9974
  super();
9975
+ this.idEnterprise = 0;
9811
9976
  this.idEmpresa = 0;
9812
9977
  this.idPersonal = 0;
9813
9978
  this.idfideicomiso = 0;
@@ -9828,7 +9993,8 @@ class MFideicomiso extends MBasicModel {
9828
9993
  this.denominacionUbicacionFisica = '';
9829
9994
  this.codigoUbicacionFisica = '';
9830
9995
  if (e) {
9831
- this.idEmpresa = parseInt(e.id_empresa);
9996
+ this.idEnterprise = +e.id_enterprise;
9997
+ this.idEmpresa = +e.id_empresa;
9832
9998
  this.idPersonal = parseInt(e.id_personal);
9833
9999
  this.idfideicomiso = parseInt(e.id_fideicomiso);
9834
10000
  this.codigoFideicomiso = e.codfid;
@@ -9854,7 +10020,8 @@ class MFideicomiso extends MBasicModel {
9854
10020
  }
9855
10021
  dataInterface() {
9856
10022
  return {
9857
- id_empresa: this.idEmpresa.toString(),
10023
+ id_enterprise: this.idEnterprise.toString(),
10024
+ id_empresa: this.idEmpresa,
9858
10025
  id_personal: this.idPersonal.toString(),
9859
10026
  id_fideicomiso: this.idfideicomiso.toString(),
9860
10027
  codfid: this.codigoFideicomiso,
@@ -9876,6 +10043,7 @@ class MFideicomiso extends MBasicModel {
9876
10043
  class MConfiguracionFideicomiso extends MBasicModel {
9877
10044
  constructor(e) {
9878
10045
  super();
10046
+ this.idEnterprise = 0;
9879
10047
  this.idEmpresa = 0;
9880
10048
  this.idFideicomisoConfiguracion = 0;
9881
10049
  this.idDedicacion = 0;
@@ -9890,7 +10058,8 @@ class MConfiguracionFideicomiso extends MBasicModel {
9890
10058
  this.denominacionTipoPersonal = '';
9891
10059
  this.formulaFideicomiso = 'xxx';
9892
10060
  if (e) {
9893
- this.idEmpresa = parseInt(e.id_empresa);
10061
+ this.idEnterprise = +e.id_enterprise;
10062
+ this.idEmpresa = +e.id_empresa;
9894
10063
  this.idDedicacion = parseInt(e.id_dedicacion);
9895
10064
  this.idTipoPersonal = parseInt(e.id_tipopersonal);
9896
10065
  this.anioCursoFideicomiso = e.anocurfid;
@@ -9910,7 +10079,8 @@ class MConfiguracionFideicomiso extends MBasicModel {
9910
10079
  }
9911
10080
  dataInterface() {
9912
10081
  return {
9913
- id_empresa: this.idEmpresa.toString(),
10082
+ id_enterprise: this.idEnterprise.toString(),
10083
+ id_empresa: this.idEmpresa,
9914
10084
  id_fidconfig: this.idFideicomisoConfiguracion.toString(),
9915
10085
  id_dedicacion: this.idDedicacion.toString(),
9916
10086
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -9925,6 +10095,7 @@ class MConfiguracionFideicomiso extends MBasicModel {
9925
10095
  class MFideicomisoInteres extends MBasicModel {
9926
10096
  constructor(e) {
9927
10097
  super();
10098
+ this.idEnterprise = 0;
9928
10099
  this.idEmpresa = 0;
9929
10100
  this.idInteresFideicomiso = 0;
9930
10101
  this.mesInteres = 0;
@@ -9933,7 +10104,8 @@ class MFideicomisoInteres extends MBasicModel {
9933
10104
  this.fechaVigenciaGacetaInteres = '1900-01-01';
9934
10105
  this.montoTasaInteres = 0;
9935
10106
  if (e) {
9936
- this.idEmpresa = parseInt(e.id_empresa);
10107
+ this.idEnterprise = +e.id_enterprise;
10108
+ this.idEmpresa = +e.id_empresa;
9937
10109
  this.idInteresFideicomiso = parseInt(e.id_intfide);
9938
10110
  this.mesInteres = parseInt(e.mesint);
9939
10111
  this.anioInteres = parseInt(e.anoint);
@@ -9947,7 +10119,8 @@ class MFideicomisoInteres extends MBasicModel {
9947
10119
  }
9948
10120
  dataInterface() {
9949
10121
  return {
9950
- id_empresa: this.idEmpresa.toString(),
10122
+ id_enterprise: this.idEnterprise.toString(),
10123
+ id_empresa: this.idEmpresa,
9951
10124
  id_intfide: this.idInteresFideicomiso.toString(),
9952
10125
  mesint: this.mesInteres.toString(),
9953
10126
  anoint: this.anioInteres.toString(),
@@ -9960,6 +10133,7 @@ class MFideicomisoInteres extends MBasicModel {
9960
10133
  class MCalculoPrestacion extends MBasicModel {
9961
10134
  constructor(e = null) {
9962
10135
  super();
10136
+ this.idEnterprise = 0;
9963
10137
  this.idEmpresa = 0;
9964
10138
  this.mes = '';
9965
10139
  this.anio = '';
@@ -9968,7 +10142,8 @@ class MCalculoPrestacion extends MBasicModel {
9968
10142
  this.mesCalculado = '';
9969
10143
  this.anioCalculado = '';
9970
10144
  if (e) {
9971
- this.idEmpresa = parseInt(e.id_empresa);
10145
+ this.idEnterprise = +e.id_enterprise;
10146
+ this.idEmpresa = +e.id_empresa;
9972
10147
  this.mes = e.mes;
9973
10148
  this.anio = e.anio;
9974
10149
  this.cedulaDesde = e.cedula_desde;
@@ -9982,7 +10157,8 @@ class MCalculoPrestacion extends MBasicModel {
9982
10157
  }
9983
10158
  dataInterface() {
9984
10159
  return {
9985
- id_empresa: this.idEmpresa.toString(),
10160
+ id_enterprise: this.idEnterprise.toString(),
10161
+ id_empresa: this.idEmpresa,
9986
10162
  mes: this.mes,
9987
10163
  anio: this.anio,
9988
10164
  cedula_desde: this.cedulaDesde,
@@ -9995,6 +10171,7 @@ class MCalculoPrestacion extends MBasicModel {
9995
10171
  class MFideicomisoPeriodo extends MBasicModel {
9996
10172
  constructor(e = null) {
9997
10173
  super();
10174
+ this.idEnterprise = 0;
9998
10175
  this.idEmpresa = 0;
9999
10176
  this.idPersonal = 0;
10000
10177
  this.idNomina = 0;
@@ -10085,6 +10262,8 @@ class MFideicomisoPeriodo extends MBasicModel {
10085
10262
  class MFideicomisoPeriodoInteresCatalogo extends MBasicModel {
10086
10263
  constructor(e = null) {
10087
10264
  super();
10265
+ this.idEnterprise = 0;
10266
+ this.idEmpresa = 0;
10088
10267
  this.idPersonal = 0;
10089
10268
  this.codigoPersonal = '';
10090
10269
  this.cedulaPersonal = '';
@@ -10095,6 +10274,8 @@ class MFideicomisoPeriodoInteresCatalogo extends MBasicModel {
10095
10274
  this.denominacionEstatus = '';
10096
10275
  this.interes = [];
10097
10276
  if (e) {
10277
+ this.idEnterprise = +e.id_enterprise;
10278
+ this.idEmpresa = +e.id_empresa;
10098
10279
  this.idPersonal = +e.id_personal;
10099
10280
  this.codigoPersonal = e.codper;
10100
10281
  this.cedulaPersonal = e.cedper;
@@ -10122,6 +10303,7 @@ class MFideicomisoPeriodoInteresCatalogo extends MBasicModel {
10122
10303
  class MFideicomisoPeriodoInteres extends MBasicModel {
10123
10304
  constructor(e = null) {
10124
10305
  super();
10306
+ this.idEnterprise = 0;
10125
10307
  this.idEmpresa = 0;
10126
10308
  this.idPersonal = 0;
10127
10309
  this.idNomina = 0;
@@ -10195,6 +10377,7 @@ class MFideicomisoPeriodoInteres extends MBasicModel {
10195
10377
  class MFormacionAcademica extends MBasicModel {
10196
10378
  constructor(e) {
10197
10379
  super();
10380
+ this.idEnterprise = 0;
10198
10381
  this.idEmpresa = 0;
10199
10382
  this.idConcurso = 0;
10200
10383
  this.idConcursante = 0;
@@ -10207,7 +10390,8 @@ class MFormacionAcademica extends MBasicModel {
10207
10390
  this.tituloObtenido = '';
10208
10391
  this.yearAprobados = 0;
10209
10392
  if (e) {
10210
- this.idEmpresa = parseInt(e.id_empresa);
10393
+ this.idEnterprise = +e.id_enterprise;
10394
+ this.idEmpresa = +e.id_empresa;
10211
10395
  this.idConcurso = parseInt(e.id_concurso);
10212
10396
  this.idConcursante = parseInt(e.id_concursante);
10213
10397
  this.idEstudioConcursante = parseInt(e.id_estudiocon);
@@ -10222,7 +10406,8 @@ class MFormacionAcademica extends MBasicModel {
10222
10406
  }
10223
10407
  dataInterface() {
10224
10408
  return {
10225
- id_empresa: this.idEmpresa.toString(),
10409
+ id_enterprise: this.idEnterprise.toString(),
10410
+ id_empresa: this.idEmpresa,
10226
10411
  id_concurso: this.idConcurso.toString(),
10227
10412
  id_concursante: this.idConcursante.toString(),
10228
10413
  id_estudiocon: this.idEstudioConcursante.toString(),
@@ -10240,6 +10425,7 @@ class MFormacionAcademica extends MBasicModel {
10240
10425
  class MPrimaGrados extends MBasicModel {
10241
10426
  constructor(e = null) {
10242
10427
  super();
10428
+ this.idEnterprise = 0;
10243
10429
  this.idEmpresa = 0;
10244
10430
  this.idTabulador = 0;
10245
10431
  this.codigoGrado = '';
@@ -10249,7 +10435,8 @@ class MPrimaGrados extends MBasicModel {
10249
10435
  this.montoPrima = 0;
10250
10436
  this.IdDetallePrima = 0;
10251
10437
  if (e) {
10252
- this.idEmpresa = parseInt(e.id_empresa);
10438
+ this.idEnterprise = +e.id_enterprise;
10439
+ this.idEmpresa = +e.id_empresa;
10253
10440
  this.idTabulador = parseInt(e.id_tabulador);
10254
10441
  this.codigoGrado = e.codgra;
10255
10442
  this.codigoPaso = e.codpas;
@@ -10264,7 +10451,8 @@ class MPrimaGrados extends MBasicModel {
10264
10451
  }
10265
10452
  dataInterface() {
10266
10453
  return {
10267
- id_empresa: this.idEmpresa.toString(),
10454
+ id_enterprise: this.idEnterprise.toString(),
10455
+ id_empresa: this.idEmpresa,
10268
10456
  id_tabulador: this.idTabulador.toString(),
10269
10457
  codgra: this.codigoGrado,
10270
10458
  codpas: this.codigoPaso,
@@ -10279,6 +10467,7 @@ class MPrimaGrados extends MBasicModel {
10279
10467
  class MGrados extends MBasicModel {
10280
10468
  constructor(e = null) {
10281
10469
  super();
10470
+ this.idEnterprise = 0;
10282
10471
  this.idEmpresa = 0;
10283
10472
  this.idTabulador = 0;
10284
10473
  this.codigoGrado = 0;
@@ -10290,7 +10479,8 @@ class MGrados extends MBasicModel {
10290
10479
  this.IdDetalleGrado = 0;
10291
10480
  this.detallePrima = [];
10292
10481
  if (e) {
10293
- this.idEmpresa = parseInt(e.id_empresa);
10482
+ this.idEnterprise = +e.id_enterprise;
10483
+ this.idEmpresa = +e.id_empresa;
10294
10484
  this.idTabulador = parseInt(e.id_tabulador);
10295
10485
  this.codigoGrado = parseInt(e.codgra);
10296
10486
  this.codigoPaso = parseInt(e.codpas);
@@ -10304,7 +10494,8 @@ class MGrados extends MBasicModel {
10304
10494
  }
10305
10495
  dataInterface() {
10306
10496
  return {
10307
- id_empresa: this.idEmpresa.toString(),
10497
+ id_enterprise: this.idEnterprise.toString(),
10498
+ id_empresa: this.idEmpresa,
10308
10499
  id_tabulador: this.idTabulador.toString(),
10309
10500
  codgra: this.codigoGrado.toString(),
10310
10501
  codpas: this.codigoPaso.toString(),
@@ -10321,6 +10512,7 @@ class MGrados extends MBasicModel {
10321
10512
  class MPrimasConcepto extends MBasicModel {
10322
10513
  constructor(e = null) {
10323
10514
  super();
10515
+ this.idEnterprise = 0;
10324
10516
  this.idEmpresa = 0;
10325
10517
  this.idPrimaConcepto = 0;
10326
10518
  this.idNomina = 0;
@@ -10330,6 +10522,7 @@ class MPrimasConcepto extends MBasicModel {
10330
10522
  this.codigoConcepto = '';
10331
10523
  this.nombreConcepto = '';
10332
10524
  if (e) {
10525
+ this.idEnterprise = +e.id_enterprise;
10333
10526
  this.idEmpresa = +e.id_empresa;
10334
10527
  this.idPrimaConcepto = +e.id_primaconcepto;
10335
10528
  this.idNomina = +e.id_nomina;
@@ -10345,7 +10538,8 @@ class MPrimasConcepto extends MBasicModel {
10345
10538
  }
10346
10539
  dataInterface() {
10347
10540
  return {
10348
- id_empresa: this.idEmpresa.toString(),
10541
+ id_enterprise: this.idEnterprise.toString(),
10542
+ id_empresa: this.idEmpresa,
10349
10543
  id_primaconcepto: this.idPrimaConcepto.toString(),
10350
10544
  id_nomina: this.idNomina.toString(),
10351
10545
  id_concepto: this.idConcepto.toString(),
@@ -10360,6 +10554,7 @@ class MPrimasConcepto extends MBasicModel {
10360
10554
  class MRequisitosConcursantes extends MBasicModel {
10361
10555
  constructor(e = null) {
10362
10556
  super();
10557
+ this.idEnterprise = 0;
10363
10558
  this.idEmpresa = 0;
10364
10559
  this.idConcurso = 0;
10365
10560
  this.idConcursante = 0;
@@ -10370,7 +10565,8 @@ class MRequisitosConcursantes extends MBasicModel {
10370
10565
  this.requisitosEntregado = '';
10371
10566
  this.cantidadEntregado = 0;
10372
10567
  if (e) {
10373
- this.idEmpresa = parseInt(e.id_empresa);
10568
+ this.idEnterprise = +e.id_enterprise;
10569
+ this.idEmpresa = +e.id_empresa;
10374
10570
  this.idConcursante = parseInt(e.id_concurso);
10375
10571
  this.idConcursante = parseInt(e.id_concursante);
10376
10572
  this.idRequisitos = parseInt(e.id_reqcon);
@@ -10386,7 +10582,8 @@ class MRequisitosConcursantes extends MBasicModel {
10386
10582
  }
10387
10583
  dataInterface() {
10388
10584
  return {
10389
- id_empresa: this.idEmpresa.toString(),
10585
+ id_enterprise: this.idEnterprise.toString(),
10586
+ id_empresa: this.idEmpresa,
10390
10587
  id_concurso: this.idConcurso.toString(),
10391
10588
  id_concursante: this.idConcurso.toString(),
10392
10589
  id_reqcon: this.idRequisitos.toString(),
@@ -10402,6 +10599,7 @@ class MRequisitosConcursantes extends MBasicModel {
10402
10599
  class MRequisitosMinimos extends MBasicModel {
10403
10600
  constructor(e) {
10404
10601
  super();
10602
+ this.idEnterprise = 0;
10405
10603
  this.idEmpresa = 0;
10406
10604
  this.idConcurso = 0;
10407
10605
  this.idConcursante = 0;
@@ -10418,7 +10616,8 @@ class MRequisitosMinimos extends MBasicModel {
10418
10616
  this.items = [];
10419
10617
  this.eliminarDetalles = [];
10420
10618
  if (e) {
10421
- this.idEmpresa = parseInt(e.id_empresa);
10619
+ this.idEnterprise = +e.id_enterprise;
10620
+ this.idEmpresa = +e.id_empresa;
10422
10621
  this.idConcursante;
10423
10622
  this.codigoConcursante = e.codper;
10424
10623
  this.nombreConcursante = e.nomper + ' ' + e.apeper;
@@ -10439,7 +10638,8 @@ class MRequisitosMinimos extends MBasicModel {
10439
10638
  }
10440
10639
  dataInterface() {
10441
10640
  return {
10442
- id_empresa: this.idEmpresa.toString(),
10641
+ id_enterprise: this.idEnterprise.toString(),
10642
+ id_empresa: this.idEmpresa,
10443
10643
  id_tipoeval: this.idTipoEvaluacion.toString(),
10444
10644
  id_concurso: this.idConcurso.toString(),
10445
10645
  id_reqmin: this.IdRequisitosMinimos.toString(),
@@ -10460,6 +10660,7 @@ class MRequisitosMinimos extends MBasicModel {
10460
10660
  }
10461
10661
  class MDtRequisitosMinimos {
10462
10662
  constructor(e) {
10663
+ this.idEnterprise = 0;
10463
10664
  this.idEmpresa = 0;
10464
10665
  this.idConcurso = 0;
10465
10666
  this.fechaEvaluacion = '1900-01-01';
@@ -10473,7 +10674,8 @@ class MDtRequisitosMinimos {
10473
10674
  this.idDtRequisito = 0;
10474
10675
  this.idConcursante = 0;
10475
10676
  if (e) {
10476
- this.idEmpresa = parseInt(e.id_empresa);
10677
+ this.idEnterprise = +e.id_enterprise;
10678
+ this.idEmpresa = +e.id_empresa;
10477
10679
  this.idConcurso = parseInt(e.id_concurso);
10478
10680
  this.idConcursante = parseInt(e.id_concursante);
10479
10681
  this.fechaEvaluacion = this.fechaEvaluacion;
@@ -10489,7 +10691,8 @@ class MDtRequisitosMinimos {
10489
10691
  }
10490
10692
  dataInterface() {
10491
10693
  return {
10492
- id_empresa: this.idEmpresa.toString(),
10694
+ id_enterprise: this.idEnterprise.toString(),
10695
+ id_empresa: this.idEmpresa,
10493
10696
  id_concurso: this.idConcurso.toString(),
10494
10697
  id_tipoeval: this.idTipoEvaluacion.toString(),
10495
10698
  id_aspecto: this.idAspecto.toString(),
@@ -10508,6 +10711,7 @@ class MDtRequisitosMinimos {
10508
10711
  class MSalarioHistorico extends MBasicModel {
10509
10712
  constructor(e = null) {
10510
10713
  super();
10714
+ this.idEnterprise = 0;
10511
10715
  this.idEmpresa = 0;
10512
10716
  this.idPersonal = 0;
10513
10717
  this.idDedicacion = 0;
@@ -10527,7 +10731,8 @@ class MSalarioHistorico extends MBasicModel {
10527
10731
  this.denominacionDedicacion = '';
10528
10732
  this.denominacionTipoPersonal = '';
10529
10733
  if (e) {
10530
- this.idEmpresa = parseInt(e.id_empresa);
10734
+ this.idEnterprise = +e.id_enterprise;
10735
+ this.idEmpresa = +e.id_empresa;
10531
10736
  this.idPersonal = parseInt(e.id_personal);
10532
10737
  this.idDedicacion = parseInt(e.id_dedicacion);
10533
10738
  this.idTipoPersonal = parseInt(e.id_tipopersonal);
@@ -10549,7 +10754,8 @@ class MSalarioHistorico extends MBasicModel {
10549
10754
  }
10550
10755
  dataInterface() {
10551
10756
  return {
10552
- id_empresa: this.idEmpresa.toString(),
10757
+ id_enterprise: this.idEnterprise.toString(),
10758
+ id_empresa: this.idEmpresa,
10553
10759
  id_personal: this.idPersonal.toString(),
10554
10760
  id_dedicacion: this.idDedicacion.toString(),
10555
10761
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -10574,6 +10780,7 @@ class MSalarioHistorico extends MBasicModel {
10574
10780
  class MSolicitudEmpleo extends MBasicModel {
10575
10781
  constructor(e = null) {
10576
10782
  super();
10783
+ this.idEnterprise = 0;
10577
10784
  this.idEmpresa = 0;
10578
10785
  this.idSolicitudEmpleo = 0;
10579
10786
  this.numeroSolicitud = '';
@@ -10610,7 +10817,8 @@ class MSolicitudEmpleo extends MBasicModel {
10610
10817
  this.pesoSolicitante = 0;
10611
10818
  this.competenciaPerfilSolicitante = '';
10612
10819
  if (e) {
10613
- this.idEmpresa = parseInt(e.id_empresa);
10820
+ this.idEnterprise = +e.id_enterprise;
10821
+ this.idEmpresa = +e.id_empresa;
10614
10822
  this.idSolicitudEmpleo = parseInt(e.id_solempleo);
10615
10823
  this.numeroSolicitud = e.nrosol;
10616
10824
  this.cedulaSolicitante = e.cedsol;
@@ -10649,7 +10857,8 @@ class MSolicitudEmpleo extends MBasicModel {
10649
10857
  }
10650
10858
  dataInterface() {
10651
10859
  return {
10652
- id_empresa: this.idEmpresa.toString(),
10860
+ id_enterprise: this.idEnterprise.toString(),
10861
+ id_empresa: this.idEmpresa,
10653
10862
  id_solempleo: this.idSolicitudEmpleo.toString(),
10654
10863
  nrosol: this.numeroSolicitud,
10655
10864
  cedsol: this.cedulaSolicitante,
@@ -10691,6 +10900,7 @@ class MSolicitudEmpleo extends MBasicModel {
10691
10900
  class MTablaVacacionesPeriodo extends MBasicModel {
10692
10901
  constructor(e = null) {
10693
10902
  super();
10903
+ this.idEnterprise = 0;
10694
10904
  this.idEmpresa = 0;
10695
10905
  this.idTablaVaciones = 0;
10696
10906
  this.lapsoPeriodoVacacional = 0;
@@ -10700,7 +10910,8 @@ class MTablaVacacionesPeriodo extends MBasicModel {
10700
10910
  this.diaAdicionalBonoVacacional = 0;
10701
10911
  this.idPeriodo = 0;
10702
10912
  if (e) {
10703
- this.idEmpresa = parseInt(e.id_empresa);
10913
+ this.idEnterprise = +e.id_enterprise;
10914
+ this.idEmpresa = +e.id_empresa;
10704
10915
  this.idTablaVaciones = parseInt(e.id_tabvac);
10705
10916
  this.lapsoPeriodoVacacional = parseInt(e.lappervac);
10706
10917
  this.diaAdicionalVacaciones = parseInt(e.diadisvac);
@@ -10712,7 +10923,8 @@ class MTablaVacacionesPeriodo extends MBasicModel {
10712
10923
  }
10713
10924
  dataInterface() {
10714
10925
  return {
10715
- id_empresa: this.idEmpresa.toString(),
10926
+ id_enterprise: this.idEnterprise.toString(),
10927
+ id_empresa: this.idEmpresa,
10716
10928
  id_tabvac: this.idTablaVaciones.toString(),
10717
10929
  lappervac: this.lapsoPeriodoVacacional.toString(),
10718
10930
  diadisvac: this.diaAdicionalVacaciones.toString(),
@@ -10726,6 +10938,7 @@ class MTablaVacacionesPeriodo extends MBasicModel {
10726
10938
 
10727
10939
  class MTablaVacaciones {
10728
10940
  constructor(e = null) {
10941
+ this.idEnterprise = 0;
10729
10942
  this.idEmpresa = 0;
10730
10943
  this.idTablaVacaciones = 0;
10731
10944
  this.codigoTablaVacaciones = '';
@@ -10735,7 +10948,8 @@ class MTablaVacaciones {
10735
10948
  this.diaVacacionCalculado = false;
10736
10949
  this.periodos = [];
10737
10950
  if (e) {
10738
- this.idEmpresa = parseInt(e.id_empresa);
10951
+ this.idEnterprise = +e.id_enterprise;
10952
+ this.idEmpresa = +e.id_empresa;
10739
10953
  this.idTablaVacaciones = parseInt(e.id_tabvac);
10740
10954
  this.codigoTablaVacaciones = e.codtabvac;
10741
10955
  this.denominacionTablaVacaciones = e.dentabvac;
@@ -10765,7 +10979,8 @@ class MTablaVacaciones {
10765
10979
  dia = '1';
10766
10980
  }
10767
10981
  return {
10768
- id_empresa: this.idEmpresa.toString(),
10982
+ id_enterprise: this.idEnterprise.toString(),
10983
+ id_empresa: this.idEmpresa,
10769
10984
  id_tabvac: this.idTablaVacaciones.toString(),
10770
10985
  codtabvac: this.codigoTablaVacaciones,
10771
10986
  dentabvac: this.denominacionTablaVacaciones,
@@ -10780,6 +10995,7 @@ class MTablaVacaciones {
10780
10995
  class MTabulador extends MBasicModel {
10781
10996
  constructor(e = null) {
10782
10997
  super();
10998
+ this.idEnterprise = 0;
10783
10999
  this.idEmpresa = 0;
10784
11000
  this.idTabulador = -1;
10785
11001
  this.codigoTabulador = '';
@@ -10793,7 +11009,8 @@ class MTabulador extends MBasicModel {
10793
11009
  this.eliminarNomina = [];
10794
11010
  this.eliminarPrima = [];
10795
11011
  if (e) {
10796
- this.idEmpresa = parseInt(e.id_empresa);
11012
+ this.idEnterprise = +e.id_enterprise;
11013
+ this.idEmpresa = +e.id_empresa;
10797
11014
  this.idTabulador = parseInt(e.id_tabulador);
10798
11015
  this.codigoTabulador = e.codtab;
10799
11016
  this.descripcionTabulador = e.destab;
@@ -10810,7 +11027,8 @@ class MTabulador extends MBasicModel {
10810
11027
  }
10811
11028
  dataInterface() {
10812
11029
  return {
10813
- id_empresa: this.idEmpresa.toString(),
11030
+ id_enterprise: this.idEnterprise.toString(),
11031
+ id_empresa: this.idEmpresa,
10814
11032
  id_tabulador: this.idTabulador.toString(),
10815
11033
  codtab: this.codigoTabulador,
10816
11034
  destab: this.descripcionTabulador,
@@ -10826,6 +11044,7 @@ class MTabulador extends MBasicModel {
10826
11044
  }
10827
11045
  class MTabuladorNominas {
10828
11046
  constructor(e = null) {
11047
+ this.idEnterprise = 0;
10829
11048
  this.idEmpresa = 0;
10830
11049
  this.idNomina = 0;
10831
11050
  this.idTabulador = 0;
@@ -10841,7 +11060,8 @@ class MTabuladorNominas {
10841
11060
  this.editable = false;
10842
11061
  this.calculada = false;
10843
11062
  if (e) {
10844
- this.idEmpresa = parseInt(e.id_empresa);
11063
+ this.idEnterprise = +e.id_enterprise;
11064
+ this.idEmpresa = +e.id_empresa;
10845
11065
  this.idNomina = parseInt(e.id_nomina);
10846
11066
  this.idTabulador = parseInt(e.id_tabulador);
10847
11067
  this.codigoNomina = e.codnom;
@@ -10857,7 +11077,8 @@ class MTabuladorNominas {
10857
11077
  }
10858
11078
  dataInterface() {
10859
11079
  return {
10860
- id_empresa: this.idEmpresa.toString(),
11080
+ id_enterprise: this.idEnterprise.toString(),
11081
+ id_empresa: this.idEmpresa,
10861
11082
  id_nomina: this.idNomina.toString(),
10862
11083
  id_tabulador: this.idTabulador.toString(),
10863
11084
  id_dt_tabnom: this.idDtNomina.toString()
@@ -10868,6 +11089,7 @@ class MTabuladorNominas {
10868
11089
  class MTipoEvaluacion extends MBasicModel {
10869
11090
  constructor(e = null) {
10870
11091
  super();
11092
+ this.idEnterprise = 0;
10871
11093
  this.idEmpresa = 0;
10872
11094
  this.idTipoEvaluacion = 0;
10873
11095
  this.idEscala = 0;
@@ -10876,7 +11098,8 @@ class MTipoEvaluacion extends MBasicModel {
10876
11098
  this.codigoEscala = '';
10877
11099
  this.denominacionEscala = '';
10878
11100
  if (e) {
10879
- this.idEmpresa = parseInt(e.id_empresa);
11101
+ this.idEnterprise = +e.id_enterprise;
11102
+ this.idEmpresa = +e.id_empresa;
10880
11103
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
10881
11104
  this.idEscala = parseInt(e.id_escala);
10882
11105
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -10887,7 +11110,8 @@ class MTipoEvaluacion extends MBasicModel {
10887
11110
  }
10888
11111
  dataInterface() {
10889
11112
  return {
10890
- id_empresa: this.idEmpresa.toString(),
11113
+ id_enterprise: this.idEnterprise.toString(),
11114
+ id_empresa: this.idEmpresa,
10891
11115
  id_tipoeval: this.idTipoEvaluacion.toString(),
10892
11116
  id_escala: this.idEscala.toString(),
10893
11117
  codtipeval: this.codigoTipoEvaluacion,
@@ -10899,6 +11123,7 @@ class MTipoEvaluacion extends MBasicModel {
10899
11123
  }
10900
11124
  class MTipoEvaluacionAspecto {
10901
11125
  constructor(e = null) {
11126
+ this.idEnterprise = 0;
10902
11127
  this.idEmpresa = 0;
10903
11128
  this.idTipoEvaluacion = 0;
10904
11129
  this.idEscala = 0;
@@ -10908,7 +11133,8 @@ class MTipoEvaluacionAspecto {
10908
11133
  this.denominacionEscala = '';
10909
11134
  this.aspectos = [];
10910
11135
  if (e) {
10911
- this.idEmpresa = parseInt(e.id_empresa);
11136
+ this.idEnterprise = +e.id_enterprise;
11137
+ this.idEmpresa = +e.id_empresa;
10912
11138
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
10913
11139
  this.idEscala = parseInt(e.id_escala);
10914
11140
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -10920,7 +11146,8 @@ class MTipoEvaluacionAspecto {
10920
11146
  }
10921
11147
  dataInterface() {
10922
11148
  return {
10923
- id_empresa: this.idEmpresa.toString(),
11149
+ id_enterprise: this.idEnterprise.toString(),
11150
+ id_empresa: this.idEmpresa,
10924
11151
  id_tipoeval: this.idTipoEvaluacion.toString(),
10925
11152
  id_escala: this.idEscala.toString(),
10926
11153
  codtipeval: this.codigoTipoEvaluacion,
@@ -10935,6 +11162,7 @@ class MTipoEvaluacionAspecto {
10935
11162
  class MTiposEnfermedad extends MBasicModel {
10936
11163
  constructor(e = null) {
10937
11164
  super();
11165
+ this.idEnterprise = 0;
10938
11166
  this.idEmpresa = 0;
10939
11167
  this.idEnfermedad = 0;
10940
11168
  this.codigoEnfermedad = '';
@@ -10943,7 +11171,8 @@ class MTiposEnfermedad extends MBasicModel {
10943
11171
  this.riesgoLetal = '';
10944
11172
  this.observacionEnfermedad = '';
10945
11173
  if (e) {
10946
- this.idEmpresa = parseInt(e.id_empresa);
11174
+ this.idEnterprise = +e.id_enterprise;
11175
+ this.idEmpresa = +e.id_empresa;
10947
11176
  this.idEnfermedad = parseInt(e.id_enfermedad);
10948
11177
  this.codigoEnfermedad = e.codenf;
10949
11178
  this.denominacionEnfermedad = e.denenf;
@@ -10954,7 +11183,8 @@ class MTiposEnfermedad extends MBasicModel {
10954
11183
  }
10955
11184
  dataInterface() {
10956
11185
  return {
10957
- id_empresa: this.idEmpresa.toString(),
11186
+ id_enterprise: this.idEnterprise.toString(),
11187
+ id_empresa: this.idEmpresa,
10958
11188
  id_enfermedad: this.idEnfermedad.toString(),
10959
11189
  codenf: this.codigoEnfermedad,
10960
11190
  denenf: this.denominacionEnfermedad,
@@ -10968,6 +11198,7 @@ class MTiposEnfermedad extends MBasicModel {
10968
11198
  class MTrabajoAnterior extends MBasicModel {
10969
11199
  constructor(e = null) {
10970
11200
  super();
11201
+ this.idEnterprise = 0;
10971
11202
  this.idEmpresa = 0;
10972
11203
  this.idPersonal = 0;
10973
11204
  this.idTrabajoAnterior = 0;
@@ -10986,6 +11217,7 @@ class MTrabajoAnterior extends MBasicModel {
10986
11217
  this.codigoTrabajoAnterior = '';
10987
11218
  this.TipoEmpresa = TipoEmpresa;
10988
11219
  if (e) {
11220
+ this.idEnterprise = +e.id_enterprise;
10989
11221
  this.idEmpresa = +e.id_empresa;
10990
11222
  this.idPersonal = +e.id_personal;
10991
11223
  this.idTrabajoAnterior = +e.id_trabajoant;
@@ -11006,6 +11238,7 @@ class MTrabajoAnterior extends MBasicModel {
11006
11238
  }
11007
11239
  dataInterface() {
11008
11240
  return {
11241
+ id_enterprise: this.idEnterprise.toString(),
11009
11242
  id_empresa: this.idEmpresa,
11010
11243
  id_personal: this.idPersonal,
11011
11244
  id_trabajoant: this.idTrabajoAnterior,
@@ -11028,6 +11261,7 @@ class MTrabajoAnterior extends MBasicModel {
11028
11261
  class MUbicacionFisica extends MBasicModel {
11029
11262
  constructor(e = null) {
11030
11263
  super();
11264
+ this.idEnterprise = 0;
11031
11265
  this.idEmpresa = 0;
11032
11266
  this.idUbicacionFisica = 0;
11033
11267
  this.codigoUbicacionFisica = '';
@@ -11043,7 +11277,8 @@ class MUbicacionFisica extends MBasicModel {
11043
11277
  this.direccionUbicacionFisica = '';
11044
11278
  this.tiempoTrasladoUbicacionFisica = '';
11045
11279
  if (e) {
11046
- this.idEmpresa = parseInt(e.id_empresa);
11280
+ this.idEnterprise = +e.id_enterprise;
11281
+ this.idEmpresa = +e.id_empresa;
11047
11282
  this.idUbicacionFisica = parseInt(e.id_ubifis);
11048
11283
  this.codigoUbicacionFisica = e.codubifis;
11049
11284
  this.denominacionUbicacionFisica = e.denubifis;
@@ -11064,7 +11299,8 @@ class MUbicacionFisica extends MBasicModel {
11064
11299
  }
11065
11300
  dataInterface() {
11066
11301
  return {
11067
- id_empresa: this.idEmpresa.toString(),
11302
+ id_enterprise: this.idEnterprise.toString(),
11303
+ id_empresa: this.idEmpresa,
11068
11304
  id_ubifis: this.idUbicacionFisica.toString(),
11069
11305
  codubifis: this.codigoUbicacionFisica,
11070
11306
  denubifis: this.denominacionUbicacionFisica,
@@ -11085,6 +11321,7 @@ class MUbicacionFisica extends MBasicModel {
11085
11321
  class MVacacionesPersonal extends MBasicModel {
11086
11322
  constructor(e = null) {
11087
11323
  super();
11324
+ this.idEnterprise = 0;
11088
11325
  this.idEmpresa = 0;
11089
11326
  this.idPersonal = 0;
11090
11327
  this.idVacacionesPersonal = 0;
@@ -11119,7 +11356,8 @@ class MVacacionesPersonal extends MBasicModel {
11119
11356
  this.diasHabiles = 0;
11120
11357
  this.procesarFueraPeriodo = 0;
11121
11358
  if (e) {
11122
- this.idEmpresa = parseInt(e.id_empresa);
11359
+ this.idEnterprise = +e.id_enterprise;
11360
+ this.idEmpresa = +e.id_empresa;
11123
11361
  this.idPersonal = parseInt(e.id_personal);
11124
11362
  this.idVacacionesPersonal = parseInt(e.id_vacper);
11125
11363
  this.codigoVacaciones = parseInt(e.codvac);
@@ -11156,7 +11394,8 @@ class MVacacionesPersonal extends MBasicModel {
11156
11394
  }
11157
11395
  dataInterface() {
11158
11396
  return {
11159
- id_empresa: this.idEmpresa.toString(),
11397
+ id_enterprise: this.idEnterprise.toString(),
11398
+ id_empresa: this.idEmpresa,
11160
11399
  id_personal: this.idPersonal.toString(),
11161
11400
  id_vacper: this.idVacacionesPersonal.toString(),
11162
11401
  codvac: this.codigoVacaciones.toString(),
@@ -11196,6 +11435,7 @@ class MVacacionesPersonal extends MBasicModel {
11196
11435
  class MEncargaduria extends MBasicModel {
11197
11436
  constructor(e) {
11198
11437
  super();
11438
+ this.idEnterprise = 0;
11199
11439
  this.idEmpresa = 0;
11200
11440
  this.idPersonalNomina = 0;
11201
11441
  this.idEncargaduria = 0;
@@ -11237,7 +11477,8 @@ class MEncargaduria extends MBasicModel {
11237
11477
  this.denominacionNominaEncargado = '';
11238
11478
  this.denominacionEstatusEncargaduria = '';
11239
11479
  if (e) {
11240
- this.idEmpresa = parseInt(e.id_empresa);
11480
+ this.idEnterprise = +e.id_enterprise;
11481
+ this.idEmpresa = +e.id_empresa;
11241
11482
  this.idPersonalNomina = parseInt(e.id_personalnomina);
11242
11483
  this.idEncargaduria = parseInt(e.id_encargaduria);
11243
11484
  this.codigoEncargaduria = e.codenc;
@@ -11284,7 +11525,8 @@ class MEncargaduria extends MBasicModel {
11284
11525
  }
11285
11526
  dataInterface() {
11286
11527
  return {
11287
- id_empresa: this.idEmpresa.toString(),
11528
+ id_enterprise: this.idEnterprise.toString(),
11529
+ id_empresa: this.idEmpresa,
11288
11530
  id_personalnomina: this.idPersonalNomina.toString(),
11289
11531
  id_encargaduria: this.idEncargaduria.toString(),
11290
11532
  codenc: this.codigoEncargaduria,
@@ -11330,6 +11572,7 @@ class MEncargaduria extends MBasicModel {
11330
11572
  class MCodigoUnicoRac extends MBasicModel {
11331
11573
  constructor(e) {
11332
11574
  super();
11575
+ this.idEnterprise = 0;
11333
11576
  this.idEmpresa = 0;
11334
11577
  this.idCargoPersonal = 0;
11335
11578
  this.idNomina = 0;
@@ -11338,7 +11581,8 @@ class MCodigoUnicoRac extends MBasicModel {
11338
11581
  this.idCodigoUnicoRac = 0;
11339
11582
  this.denominacionEstatus = '';
11340
11583
  if (e) {
11341
- this.idEmpresa = parseInt(e.id_empresa);
11584
+ this.idEnterprise = +e.id_enterprise;
11585
+ this.idEmpresa = +e.id_empresa;
11342
11586
  this.idCargoPersonal = parseInt(e.id_carper);
11343
11587
  this.idNomina = parseInt(e.id_nomina);
11344
11588
  this.idCodigoUnicoRac = parseInt(e.id_codunirac);
@@ -11352,7 +11596,8 @@ class MCodigoUnicoRac extends MBasicModel {
11352
11596
  }
11353
11597
  dataInterface() {
11354
11598
  return {
11355
- id_empresa: this.idEmpresa.toString(),
11599
+ id_enterprise: this.idEnterprise.toString(),
11600
+ id_empresa: this.idEmpresa,
11356
11601
  id_carper: this.idCargoPersonal.toString(),
11357
11602
  id_nomina: this.idNomina.toString(),
11358
11603
  codunirac: this.codigoUnicoRac,
@@ -11365,6 +11610,7 @@ class MCodigoUnicoRac extends MBasicModel {
11365
11610
  class MPersonalJubilado extends MBasicModel {
11366
11611
  constructor(e) {
11367
11612
  super();
11613
+ this.idEnterprise = 0;
11368
11614
  this.idEmpresa = 0;
11369
11615
  this.idPersonal = 0;
11370
11616
  this.idJubilacion = 0;
@@ -11376,7 +11622,8 @@ class MPersonalJubilado extends MBasicModel {
11376
11622
  this.fechaFeVida = '1900-01-01';
11377
11623
  this.tipoJubilacion = 0;
11378
11624
  if (e) {
11379
- this.idEmpresa = parseInt(e.id_empresa);
11625
+ this.idEnterprise = +e.id_enterprise;
11626
+ this.idEmpresa = +e.id_empresa;
11380
11627
  this.idPersonal = parseInt(e.id_personal);
11381
11628
  this.idJubilacion = parseInt(e.id_jubilado);
11382
11629
  this.primeraRemuneracion = parseFloat(e.prirem);
@@ -11393,7 +11640,8 @@ class MPersonalJubilado extends MBasicModel {
11393
11640
  }
11394
11641
  dataInterface() {
11395
11642
  return {
11396
- id_empresa: this.idEmpresa.toString(),
11643
+ id_enterprise: this.idEnterprise.toString(),
11644
+ id_empresa: this.idEmpresa,
11397
11645
  id_personal: this.idPersonal.toString(),
11398
11646
  id_jubilado: this.idJubilacion.toString(),
11399
11647
  prirem: this.primeraRemuneracion.toString(),
@@ -11410,6 +11658,7 @@ class MPersonalJubilado extends MBasicModel {
11410
11658
  class MPermisos extends MBasicModel {
11411
11659
  constructor(e) {
11412
11660
  super();
11661
+ this.idEnterprise = 0;
11413
11662
  this.idEmpresa = 0;
11414
11663
  this.idPersonal = 0;
11415
11664
  this.idPermiso = 0;
@@ -11428,6 +11677,7 @@ class MPermisos extends MBasicModel {
11428
11677
  this.denominacionEnfermedad = '';
11429
11678
  this.TipoPermiso = TipoPermiso;
11430
11679
  if (e) {
11680
+ this.idEnterprise = +e.id_enterprise;
11431
11681
  this.idEmpresa = +e.id_empresa;
11432
11682
  this.idPersonal = +e.id_personal;
11433
11683
  this.idPermiso = +e.id_permiso;
@@ -11451,6 +11701,7 @@ class MPermisos extends MBasicModel {
11451
11701
  }
11452
11702
  dataInterface() {
11453
11703
  return {
11704
+ id_enterprise: this.idEnterprise.toString(),
11454
11705
  id_empresa: this.idEmpresa,
11455
11706
  id_personal: this.idPersonal,
11456
11707
  id_permiso: this.idPermiso,
@@ -11536,6 +11787,7 @@ class MPlantillasConstancia extends MBasicModel {
11536
11787
  class MImpuestoSobreRenta extends MBasicModel {
11537
11788
  constructor(e) {
11538
11789
  super();
11790
+ this.idEnterprise = 0;
11539
11791
  this.idEmpresa = 0;
11540
11792
  this.idPersonal = 0;
11541
11793
  this.idImpuestoSobreRenta = 0;
@@ -11555,6 +11807,7 @@ class MImpuestoSobreRenta extends MBasicModel {
11555
11807
  this.diciembre = 0;
11556
11808
  this.denominacionConcepto = '';
11557
11809
  if (e) {
11810
+ this.idEnterprise = +e.id_enterprise;
11558
11811
  this.idEmpresa = +e.id_empresa;
11559
11812
  this.idPersonal = +e.id_personal;
11560
11813
  this.idImpuestoSobreRenta = +e.id_isr;
@@ -11580,6 +11833,7 @@ class MImpuestoSobreRenta extends MBasicModel {
11580
11833
  }
11581
11834
  dataInterface() {
11582
11835
  return {
11836
+ id_enterprise: this.idEnterprise.toString(),
11583
11837
  id_empresa: this.idEmpresa,
11584
11838
  id_personal: this.idPersonal,
11585
11839
  id_isr: this.idImpuestoSobreRenta,
@@ -11605,6 +11859,7 @@ class MImpuestoSobreRenta extends MBasicModel {
11605
11859
  class MMetodoBanco extends MBasicModel {
11606
11860
  constructor(e = null) {
11607
11861
  super();
11862
+ this.idEnterprise = 0;
11608
11863
  this.idEmpresa = 0;
11609
11864
  this.idMetodoBanco = 0;
11610
11865
  this.id = 0;
@@ -11620,7 +11875,8 @@ class MMetodoBanco extends MBasicModel {
11620
11875
  this.numeroConvenio = '';
11621
11876
  this.activo = 0;
11622
11877
  if (e) {
11623
- this.idEmpresa = parseInt(e.id_empresa);
11878
+ this.idEnterprise = +e.id_enterprise;
11879
+ this.idEmpresa = +e.id_empresa;
11624
11880
  this.idMetodoBanco = parseInt(e.id_metbco);
11625
11881
  this.codigoMetodo = e.codmet;
11626
11882
  this.denominacionMetodo = e.denmet;
@@ -11641,7 +11897,8 @@ class MMetodoBanco extends MBasicModel {
11641
11897
  }
11642
11898
  dataInterface() {
11643
11899
  return {
11644
- id_empresa: this.idEmpresa.toString(),
11900
+ id_enterprise: this.idEnterprise.toString(),
11901
+ id_empresa: this.idEmpresa,
11645
11902
  id_metbco: this.idMetodoBanco.toString(),
11646
11903
  codmet: this.codigoMetodo,
11647
11904
  denmet: this.denominacionMetodo,
@@ -11661,6 +11918,7 @@ class MMetodoBanco extends MBasicModel {
11661
11918
  class MMetodos extends MBasicModel {
11662
11919
  constructor(e = null) {
11663
11920
  super();
11921
+ this.idEnterprise = 0;
11664
11922
  this.idEmpresa = 0;
11665
11923
  this.idMetodo = 0;
11666
11924
  this.codigoMetodo = '';
@@ -11671,7 +11929,8 @@ class MMetodos extends MBasicModel {
11671
11929
  this.montoDescuentoDia = 0;
11672
11930
  this.numeroTarjeta = '';
11673
11931
  if (e) {
11674
- this.idEmpresa = parseInt(e.id_empresa);
11932
+ this.idEnterprise = +e.id_enterprise;
11933
+ this.idEmpresa = +e.id_empresa;
11675
11934
  this.idMetodo = parseInt(e.id_metodo);
11676
11935
  this.codigoMetodo = e.codmet;
11677
11936
  this.denominacionMetodo = e.denmet;
@@ -11687,7 +11946,8 @@ class MMetodos extends MBasicModel {
11687
11946
  }
11688
11947
  dataInterface() {
11689
11948
  return {
11690
- id_empresa: this.idEmpresa.toString(),
11949
+ id_enterprise: this.idEnterprise.toString(),
11950
+ id_empresa: this.idEmpresa,
11691
11951
  id_metodo: this.idMetodo.toString(),
11692
11952
  codmet: this.codigoMetodo,
11693
11953
  denmet: this.denominacionMetodo,
@@ -11703,6 +11963,7 @@ class MMetodos extends MBasicModel {
11703
11963
  class MPrestamo extends MBasicModel {
11704
11964
  constructor(e = null) {
11705
11965
  super();
11966
+ this.idEnterprise = 0;
11706
11967
  this.idEmpresa = 0;
11707
11968
  this.idPersonal = 0;
11708
11969
  this.idPrestamo = 0;
@@ -11733,6 +11994,7 @@ class MPrestamo extends MBasicModel {
11733
11994
  this.periodos = [];
11734
11995
  this.amortizacion = [];
11735
11996
  if (e) {
11997
+ this.idEnterprise = +e.id_enterprise;
11736
11998
  this.idEmpresa = +e.id_empresa;
11737
11999
  this.idPrestamo = +e.id_prestamo;
11738
12000
  this.idPersonal = +e.id_personal;
@@ -11769,6 +12031,7 @@ class MPrestamo extends MBasicModel {
11769
12031
  }
11770
12032
  dataInterface() {
11771
12033
  return {
12034
+ id_enterprise: this.idEnterprise.toString(),
11772
12035
  id_empresa: this.idEmpresa,
11773
12036
  id_personal: this.idPersonal,
11774
12037
  id_prestamo: this.idPrestamo,
@@ -11827,6 +12090,7 @@ class MPrestamo extends MBasicModel {
11827
12090
  class MPrestamosPeriodo extends MBasicModel {
11828
12091
  constructor(e) {
11829
12092
  super();
12093
+ this.idEnterprise = 0;
11830
12094
  this.idEmpresa = 0;
11831
12095
  this.idPersonal = 0;
11832
12096
  this.idPrestamo = 0;
@@ -11837,6 +12101,7 @@ class MPrestamosPeriodo extends MBasicModel {
11837
12101
  this.montoCuota = 0;
11838
12102
  this.estatusCuota = 0;
11839
12103
  if (e) {
12104
+ this.idEnterprise = +e.id_enterprise;
11840
12105
  this.idEmpresa = +e.id_empresa;
11841
12106
  this.idPersonal = +e.id_personal;
11842
12107
  this.idPrestamo = +e.id_prestamo;
@@ -11855,6 +12120,7 @@ class MPrestamosPeriodo extends MBasicModel {
11855
12120
  }
11856
12121
  dataInterface() {
11857
12122
  return {
12123
+ id_enterprise: this.idEnterprise.toString(),
11858
12124
  id_empresa: this.idEmpresa,
11859
12125
  id_personal: this.idPersonal,
11860
12126
  id_prestamo: this.idPrestamo,
@@ -11878,6 +12144,7 @@ class MPrestamosPeriodo extends MBasicModel {
11878
12144
  class MPrestamoAmortizacion extends MBasicModel {
11879
12145
  constructor(e) {
11880
12146
  super();
12147
+ this.idEnterprise = 0;
11881
12148
  this.idEmpresa = 0;
11882
12149
  this.idPersonal = 0;
11883
12150
  this.idPrestamo = 0;
@@ -11887,6 +12154,7 @@ class MPrestamoAmortizacion extends MBasicModel {
11887
12154
  this.montoAmortizacion = 0;
11888
12155
  this.descripcionAmortizacion = '';
11889
12156
  if (e) {
12157
+ this.idEnterprise = +e.id_enterprise;
11890
12158
  this.idEmpresa = +e.id_empresa;
11891
12159
  this.idPersonal = +e.id_personal;
11892
12160
  this.idPrestamo = +e.id_prestamo;
@@ -11899,6 +12167,7 @@ class MPrestamoAmortizacion extends MBasicModel {
11899
12167
  }
11900
12168
  dataInterface() {
11901
12169
  return {
12170
+ id_enterprise: this.idEnterprise.toString(),
11902
12171
  id_empresa: this.idEmpresa,
11903
12172
  id_personal: this.idPersonal,
11904
12173
  id_prestamo: this.idPrestamo,
@@ -12365,6 +12634,7 @@ const moment$2 = require("moment");
12365
12634
  class MSnoLog extends MBasicModel {
12366
12635
  constructor(e) {
12367
12636
  super();
12637
+ this.idEnterprise = 0;
12368
12638
  this.idEmpresa = 0;
12369
12639
  this.idPersonal = 0;
12370
12640
  this.idAuditoriaPersonal = 0;
@@ -12380,6 +12650,7 @@ class MSnoLog extends MBasicModel {
12380
12650
  this.evento = '';
12381
12651
  this.campoPermitido = Campos;
12382
12652
  if (e) {
12653
+ this.idEnterprise = +e.id_enterprise;
12383
12654
  this.idEmpresa = +e.id_empresa;
12384
12655
  this.idPersonal = +e.id_personal;
12385
12656
  this.idAuditoriaPersonal = +e.id_auditoria_personal;
@@ -12400,7 +12671,8 @@ class MSnoLog extends MBasicModel {
12400
12671
  }
12401
12672
  dataInteface() {
12402
12673
  return {
12403
- id_empresa: this.idEmpresa.toString(),
12674
+ id_enterprise: this.idEnterprise.toString(),
12675
+ id_empresa: this.idEmpresa,
12404
12676
  id_personal: this.idPersonal.toString(),
12405
12677
  id_auditoria_personal: this.idAuditoriaPersonal.toString(),
12406
12678
  id_registro: this.idRegistro.toString(),
@@ -12417,8 +12689,10 @@ class MSnoLog extends MBasicModel {
12417
12689
  }
12418
12690
  }
12419
12691
 
12692
+ const moment$3 = require("moment");
12420
12693
  class MPlanHorario {
12421
12694
  constructor(e = null) {
12695
+ this.idEnterprise = 0;
12422
12696
  this.idEmpresa = 0;
12423
12697
  this.idPlanHorario = 0;
12424
12698
  this.idNomina = 0;
@@ -12432,6 +12706,7 @@ class MPlanHorario {
12432
12706
  this.denominacionNomina = '';
12433
12707
  this.periodos = [];
12434
12708
  if (e) {
12709
+ this.idEnterprise = +e.id_enterprise;
12435
12710
  this.idEmpresa = +e.id_empresa;
12436
12711
  this.idPlanHorario = +e.id_planhor;
12437
12712
  this.idNomina = e.id_nomina;
@@ -12450,6 +12725,7 @@ class MPlanHorario {
12450
12725
  }
12451
12726
  dataInterface() {
12452
12727
  return {
12728
+ id_enterprise: this.idEnterprise.toString(),
12453
12729
  id_empresa: this.idEmpresa,
12454
12730
  id_planhor: this.idPlanHorario,
12455
12731
  id_nomina: this.idNomina,
@@ -12465,6 +12741,7 @@ class MPlanHorario {
12465
12741
  }
12466
12742
  class MPeriodosPlan {
12467
12743
  constructor(e) {
12744
+ this.idEnterprise = 0;
12468
12745
  this.idEmpresa = 0;
12469
12746
  this.idPlanHorario = 0;
12470
12747
  this.denominacionPeriodoPlan = '';
@@ -12474,75 +12751,56 @@ class MPeriodosPlan {
12474
12751
  this.codigoPeriodoNomina = '';
12475
12752
  this.tipoFeriado = false;
12476
12753
  this.simboloFeriado = '';
12477
- this.horarios = [];
12478
- if (e) {
12479
- this.idEmpresa = +e.id_empresa;
12480
- this.idPlanHorario = +e.id_planhor;
12481
- this.denominacionPeriodoPlan = e.denperplan;
12482
- this.fechaPeriodoPlan = e.fecperplan;
12483
- this.idPeriodo = +e.id_periodo;
12484
- this.idPeriodoPlan = e.id_perplan;
12485
- this.codigoPeriodoNomina = e.codperi;
12486
- this.tipoFeriado = e.tipfer == '1' ? true : false;
12487
- if (this.tipoFeriado) {
12488
- this.simboloFeriado = 'check_small';
12489
- }
12490
- if (e.horarios) {
12491
- this.horarios = e.horarios.map(e => new MHorarioPeriodosPlan(e));
12492
- }
12493
- }
12494
- }
12495
- dataInterface() {
12496
- return {
12497
- id_empresa: this.idEmpresa,
12498
- id_planhor: this.idPlanHorario,
12499
- denperplan: this.denominacionPeriodoPlan,
12500
- fecperplan: this.fechaPeriodoPlan,
12501
- id_periodo: this.idPeriodo,
12502
- id_perplan: this.idPeriodoPlan,
12503
- tipfer: this.tipoFeriado ? '1' : '0',
12504
- horarios: this.horarios.map(function (e) { return e.dataInterface(); })
12505
- };
12506
- }
12507
- }
12508
- class MHorarioPeriodosPlan {
12509
- constructor(e) {
12510
- this.idEmpresa = 0;
12511
- this.idPlanHorario = 0;
12512
- this.idPeriodoPlan = 0;
12513
12754
  this.idHora = 0;
12514
12755
  this.incidencias = [];
12515
- this.descripcionHorario = '';
12516
- this.idDetalle = 0;
12517
12756
  this.codigoHorario = '';
12518
12757
  this.denominacionHorario = '';
12519
12758
  this.horaInicio = '';
12520
12759
  this.horaFinal = '';
12760
+ this.denomiacionFecha = '';
12761
+ this.dia = '';
12762
+ this.descripcionHorario = '';
12521
12763
  if (e) {
12522
- this.idEmpresa = e.id_empresa;
12764
+ this.idEnterprise = +e.id_enterprise;
12765
+ this.idEmpresa = +e.id_empresa;
12523
12766
  this.idPlanHorario = e.id_planhor;
12767
+ this.denominacionPeriodoPlan = e.denperplan;
12768
+ this.fechaPeriodoPlan = e.fecperplan;
12769
+ this.idPeriodo = e.id_periodo;
12524
12770
  this.idPeriodoPlan = e.id_perplan;
12771
+ this.codigoPeriodoNomina = e.codperi;
12772
+ this.tipoFeriado = e.tipfer == '1' ? true : false;
12773
+ moment$3.locale('es');
12774
+ let day = moment$3(this.fechaPeriodoPlan);
12775
+ let dia = moment$3.weekdays(day.day());
12776
+ this.denomiacionFecha = dia + ', ' + moment$3(this.fechaPeriodoPlan).format('DD-MM-YYYY');
12777
+ if (this.tipoFeriado && dia != 'domingo') {
12778
+ this.simboloFeriado = 'check_small';
12779
+ }
12525
12780
  this.idHora = e.id_hora;
12526
12781
  this.codigoHorario = e.codhor;
12527
12782
  this.denominacionHorario = e.denhor;
12528
- this.horaInicio = moment$3(e.horini, 'H:m:s').format('h:mm a');
12529
- this.horaFinal = moment$3(e.horfin, 'H:m:s').format('h:mm a');
12530
12783
  if (e.incidencias != '') {
12531
12784
  this.incidencias = e.incidencias.split(',');
12532
12785
  }
12533
12786
  ;
12534
- this.idDetalle = e.id_dt_horperplan;
12787
+ this.horaInicio = moment$3(e.horini, 'H:m:s').format('h:mm a');
12788
+ this.horaFinal = moment$3(e.horfin, 'H:m:s').format('h:mm a');
12535
12789
  this.descripcionHorario = this.codigoHorario + ' - ' + this.denominacionHorario + ' - ' + this.horaInicio + '-' + this.horaFinal;
12536
12790
  }
12537
12791
  }
12538
12792
  dataInterface() {
12539
12793
  return {
12794
+ id_enterprise: this.idEnterprise.toString(),
12540
12795
  id_empresa: this.idEmpresa,
12541
12796
  id_planhor: this.idPlanHorario,
12797
+ denperplan: this.denominacionPeriodoPlan,
12798
+ fecperplan: this.fechaPeriodoPlan,
12799
+ id_periodo: this.idPeriodo,
12542
12800
  id_perplan: this.idPeriodoPlan,
12801
+ tipfer: this.tipoFeriado ? '1' : '0',
12543
12802
  id_hora: this.idHora,
12544
12803
  incidencias: this.incidencias.length > 0 ? this.incidencias.join(',') : "",
12545
- id_dt_horperplan: this.idDetalle,
12546
12804
  };
12547
12805
  }
12548
12806
  }
@@ -12578,5 +12836,5 @@ class customPaginator extends MatPaginatorIntl {
12578
12836
  * Generated bundle index. Do not edit.
12579
12837
  */
12580
12838
 
12581
- export { Acciones, AppModule, CausaEgreso, ContabilizacionNomina, CurrencyService, Destino, EstadoCivil, Estatus, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, LetraRif, Longitud, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MArchivosTxt, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCambioEstatusPersonal, MCargaFamiliar, MCargaMasiva, MCargo, MCargoEstructuraOrganizativa, MCargosNominas, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MCodigoUnicoRac, MCommunity, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEnterprise, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MEstudiosConcursantes, MEstudiosRealizados, MExperienciaLaboral, MFamiliaConcursante, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFormacionInformal, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MHorario, MHorarioPeriodosPlan, MImpuestoSobreRenta, MItemsEvalucion, MLog, MMetodoBanco, MMetodos, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPeriodosPlan, MPermisos, MPersonal, MPersonalCuentaBanco, MPersonalJubilado, MPersonalNomina, MPlanHorario, MPlanUnicoCuenta, MPlantillasConstancia, MPrestacionesAntiguedad, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRArchivoTXT, MRConsolidadoConceptos, MRConstanciaTrabajo, MRango, MRequisitosConcursantes, MRequisitosConcursos, MRequisitosMinimos, MResultadosEvaluacion, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSnoLog, MSolicitudEmpleo, MSpecialty, MState, MSueldoMinimo, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDepositos, MTipoDocumentoCXP, MTipoEvaluacion, MTipoEvaluacionAspecto, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MVacacionesPersonal, Meses, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SigespService, Signo, SituacionPersonal, TipoBeneficiario, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator, AppComponent as ɵf, SharedModule as ɵg, CatalogoComponent as ɵh, ConfirmComponent as ɵj, IconComponent as ɵk, TableSelectComponent as ɵl, CatalogoEstructurasComponent as ɵm, CatalogoDobleInputComponent as ɵn, IsoCurrencyPipe as ɵo, CustonMaterialModule as ɵp };
12839
+ export { Acciones, AppModule, CausaEgreso, ContabilizacionNomina, CurrencyService, Destino, EstadoCivil, Estatus, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, LetraRif, Longitud, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MArchivosTxt, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCambioEstatusPersonal, MCargaFamiliar, MCargaMasiva, MCargo, MCargoEstructuraOrganizativa, MCargosNominas, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MCodigoUnicoRac, MCommunity, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEnterprise, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MEstudiosConcursantes, MEstudiosRealizados, MExperienciaLaboral, MFamiliaConcursante, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFormacionInformal, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MHorario, MImpuestoSobreRenta, MItemsEvalucion, MLog, MMetodoBanco, MMetodos, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPeriodosPlan, MPermisos, MPersonal, MPersonalCuentaBanco, MPersonalJubilado, MPersonalNomina, MPlanHorario, MPlanUnicoCuenta, MPlantillasConstancia, MPrestacionesAntiguedad, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRArchivoTXT, MRConsolidadoConceptos, MRConstanciaTrabajo, MRango, MRequisitosConcursantes, MRequisitosConcursos, MRequisitosMinimos, MResultadosEvaluacion, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSnoLog, MSolicitudEmpleo, MSpecialty, MState, MSueldoMinimo, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDepositos, MTipoDocumentoCXP, MTipoEvaluacion, MTipoEvaluacionAspecto, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MVacacionesPersonal, Meses, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SigespService, Signo, SituacionPersonal, TipoBeneficiario, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator, AppComponent as ɵf, SharedModule as ɵg, CatalogoComponent as ɵh, ConfirmComponent as ɵj, IconComponent as ɵk, TableSelectComponent as ɵl, CatalogoEstructurasComponent as ɵm, CatalogoDobleInputComponent as ɵn, IsoCurrencyPipe as ɵo, CustonMaterialModule as ɵp };
12582
12840
  //# sourceMappingURL=sigesp.js.map