sigesp 0.9.9-20221205 → 0.9.11-20221211

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 +449 -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 +29 -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 +444 -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;
@@ -4502,6 +4541,8 @@ class MPersonal extends MBasicModel {
4502
4541
  else if (this.idHora > 0) {
4503
4542
  this.descripcionHorario = p.horini + '-' + p.horfin;
4504
4543
  }
4544
+ this.descripcionPuestoTrabajo = p.despuetra;
4545
+ this.codigoPuestoTrabajo = p.codpuetra;
4505
4546
  }
4506
4547
  else {
4507
4548
  this.isNew = true;
@@ -4509,7 +4550,8 @@ class MPersonal extends MBasicModel {
4509
4550
  }
4510
4551
  dataInterface() {
4511
4552
  return {
4512
- id_empresa: +this.idEmpresa,
4553
+ id_empresa: this.idEmpresa,
4554
+ id_enterprise: this.idEnterprise.toString(),
4513
4555
  id_personal: +this.idPersonal,
4514
4556
  codper: this.codigoPersonal,
4515
4557
  cedper: this.cedulaPersonal,
@@ -4614,6 +4656,8 @@ class MPersonal extends MBasicModel {
4614
4656
  class MCambioEstatusPersonal extends MBasicModel {
4615
4657
  constructor(e = null) {
4616
4658
  super();
4659
+ this.idEmpresa = 0;
4660
+ this.idEnterprise = 0;
4617
4661
  this.idPersonal = 0;
4618
4662
  this.codigoPersonal = '';
4619
4663
  this.estatusActual = '2';
@@ -4625,6 +4669,8 @@ class MCambioEstatusPersonal extends MBasicModel {
4625
4669
  this.observacion = '';
4626
4670
  this.fechaReingreso = '1900-01-01';
4627
4671
  if (e) {
4672
+ this.idEnterprise = +e.id_enterprise;
4673
+ this.idEmpresa = e.id_empresa;
4628
4674
  this.idPersonal = e.idPersonal;
4629
4675
  this.codigoPersonal = e.codigoPersonal;
4630
4676
  this.estatusActual = e.estatusActual;
@@ -4639,6 +4685,8 @@ class MCambioEstatusPersonal extends MBasicModel {
4639
4685
  }
4640
4686
  dataInterface() {
4641
4687
  return {
4688
+ id_empresa: this.idEmpresa,
4689
+ id_enterprise: this.idEnterprise.toString(),
4642
4690
  idPersonal: this.idPersonal,
4643
4691
  codigoPersonal: this.codigoPersonal,
4644
4692
  estatusActual: this.estatusActual,
@@ -4656,6 +4704,7 @@ class MPersonalCuentaBanco extends MBasicModel {
4656
4704
  constructor(e) {
4657
4705
  super();
4658
4706
  this.idEmpresa = 0;
4707
+ this.idEnterprise = 0;
4659
4708
  this.idPersonal = 0;
4660
4709
  this.idCuentaBancoPersonal = -1;
4661
4710
  this.codigoCuentaBancoPersonal = '';
@@ -4670,7 +4719,8 @@ class MPersonalCuentaBanco extends MBasicModel {
4670
4719
  this.nombreBanco = '';
4671
4720
  this.nombreTipoCuentaBanco = '';
4672
4721
  if (e) {
4673
- this.idEmpresa = parseInt(e.id_empresa);
4722
+ this.idEnterprise = +e.id_enterprise;
4723
+ this.idEmpresa = e.id_empresa;
4674
4724
  this.idPersonal = parseInt(e.id_personal);
4675
4725
  this.idCuentaBancoPersonal = parseInt(e.id_ctabanper);
4676
4726
  this.codigoCuentaBancoPersonal = e.codctabanper;
@@ -4691,7 +4741,8 @@ class MPersonalCuentaBanco extends MBasicModel {
4691
4741
  }
4692
4742
  dataInterface() {
4693
4743
  return {
4694
- id_empresa: this.idEmpresa.toString(),
4744
+ id_enterprise: this.idEnterprise.toString(),
4745
+ id_empresa: this.idEmpresa,
4695
4746
  id_personal: this.idPersonal.toString(),
4696
4747
  id_ctabanper: this.idCuentaBancoPersonal.toString(),
4697
4748
  codctabanper: this.codigoCuentaBancoPersonal,
@@ -4707,6 +4758,7 @@ class MPersonalCuentaBanco extends MBasicModel {
4707
4758
  class MEstudiosRealizados {
4708
4759
  constructor(e = null) {
4709
4760
  this.idEmpresa = 0;
4761
+ this.idEnterprise = 0;
4710
4762
  this.idPersonal = 0;
4711
4763
  this.idEstudio = 0;
4712
4764
  this.codigoEstudioRealizado = '';
@@ -4726,7 +4778,8 @@ class MEstudiosRealizados {
4726
4778
  this.TipoEstudio = Estudios;
4727
4779
  this.Aprobado = EstatusEstudio;
4728
4780
  if (e) {
4729
- this.idEmpresa = parseInt(e.id_empresa);
4781
+ this.idEmpresa = e.id_empresa;
4782
+ this.idEnterprise = +e.id_enterprise;
4730
4783
  this.idPersonal = parseInt(e.id_personal);
4731
4784
  this.idEstudio = parseInt(e.id_estudio);
4732
4785
  this.codigoEstudioRealizado = e.codestrea;
@@ -4748,7 +4801,8 @@ class MEstudiosRealizados {
4748
4801
  }
4749
4802
  dataInterface() {
4750
4803
  return {
4751
- id_empresa: this.idEmpresa.toString(),
4804
+ id_empresa: this.idEmpresa,
4805
+ id_enterprise: this.idEnterprise.toString(),
4752
4806
  id_personal: this.idPersonal.toString(),
4753
4807
  id_estudio: this.idEstudio.toString(),
4754
4808
  codestrea: this.codigoEstudioRealizado,
@@ -4771,6 +4825,7 @@ class MPrestacionesAntiguedad extends MBasicModel {
4771
4825
  constructor(e = null) {
4772
4826
  super();
4773
4827
  this.idEmpresa = 0;
4828
+ this.idEnterprice = 0;
4774
4829
  this.idPersonal = 0;
4775
4830
  this.idFideicomiso = 0;
4776
4831
  this.anoCurPeriodo = 0;
@@ -4792,7 +4847,8 @@ class MPrestacionesAntiguedad extends MBasicModel {
4792
4847
  this.codigoUsuario = '';
4793
4848
  this.idDtFideicomisoPeriodo = 0;
4794
4849
  if (e) {
4795
- this.idEmpresa = parseInt(e.id_empresa);
4850
+ this.idEmpresa = e.id_empresa;
4851
+ this.idEmpresa = +e.id_enterprise;
4796
4852
  this.idPersonal = parseInt(e.id_personal);
4797
4853
  this.idFideicomiso = parseInt(e.id_fideicomiso);
4798
4854
  this.anoCurPeriodo = parseInt(e.anocurper);
@@ -4820,7 +4876,8 @@ class MPrestacionesAntiguedad extends MBasicModel {
4820
4876
  }
4821
4877
  dataInterface() {
4822
4878
  return {
4823
- id_empresa: this.idEmpresa.toString(),
4879
+ id_empresa: this.idEmpresa,
4880
+ id_enterprise: this.idEnterprice.toString(),
4824
4881
  id_personal: this.idPersonal.toString(),
4825
4882
  id_fideicomiso: this.idFideicomiso.toString(),
4826
4883
  anocurper: this.anoCurPeriodo.toString(),
@@ -6303,7 +6360,7 @@ class SigespService {
6303
6360
  getEnterprise(tipo = null, id) {
6304
6361
  return this.http.get(`${this.URL}/dao/cfg/enterprise_dao.php?`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
6305
6362
  if (res.success) {
6306
- res.data = new MEnterprise(res.data);
6363
+ res.data = res.data.map(e => new MEnterprise(e));
6307
6364
  }
6308
6365
  return res;
6309
6366
  }));
@@ -7622,6 +7679,7 @@ class MLog extends MBasicModel {
7622
7679
  class MAnticipoPrestaciones extends MBasicModel {
7623
7680
  constructor(e) {
7624
7681
  super();
7682
+ this.idEnterprise = 0;
7625
7683
  this.idEmpresa = 0;
7626
7684
  this.idPersonal = 0;
7627
7685
  this.idAnticipo = 0;
@@ -7643,6 +7701,7 @@ class MAnticipoPrestaciones extends MBasicModel {
7643
7701
  this.montoMaximoInteres = 0;
7644
7702
  this.denominacionEstatus = '';
7645
7703
  if (e) {
7704
+ this.idEnterprise = +e.id_enterprise;
7646
7705
  this.idEmpresa = +e.id_empresa;
7647
7706
  this.idPersonal = +e.id_personal;
7648
7707
  this.idAnticipo = +e.id_anticipops;
@@ -7670,6 +7729,7 @@ class MAnticipoPrestaciones extends MBasicModel {
7670
7729
  }
7671
7730
  dataInterface() {
7672
7731
  return {
7732
+ id_enterprise: this.idEnterprise.toString(),
7673
7733
  id_empresa: this.idEmpresa,
7674
7734
  id_personal: this.idPersonal,
7675
7735
  id_anticipops: this.idAnticipo,
@@ -7718,6 +7778,7 @@ class MAnticipoPrestaciones extends MBasicModel {
7718
7778
  class MArchivoTxtCampo extends MBasicModel {
7719
7779
  constructor(e) {
7720
7780
  super();
7781
+ this.idEnterprise = 0;
7721
7782
  this.idEmpresa = 0;
7722
7783
  this.idArchivoTxt = 0;
7723
7784
  this.codigoCampo = 0;
@@ -7733,7 +7794,8 @@ class MArchivoTxtCampo extends MBasicModel {
7733
7794
  this.tipoCampo = '';
7734
7795
  this.idDtCampo = 0;
7735
7796
  if (e) {
7736
- this.idEmpresa = parseInt(e.id_empresa);
7797
+ this.idEnterprise = +e.id_enterprise;
7798
+ this.idEmpresa = +e.id_empresa;
7737
7799
  this.idArchivoTxt = parseInt(e.id_archivotxt);
7738
7800
  this.codigoCampo = parseInt(e.codcam);
7739
7801
  this.descripcionCampo = e.descam;
@@ -7754,7 +7816,8 @@ class MArchivoTxtCampo extends MBasicModel {
7754
7816
  }
7755
7817
  dataInterface() {
7756
7818
  return {
7757
- id_empresa: this.idEmpresa.toString(),
7819
+ id_enterprise: this.idEnterprise.toString(),
7820
+ id_empresa: this.idEmpresa,
7758
7821
  id_archivotxt: this.idArchivoTxt.toString(),
7759
7822
  codcam: this.codigoCampo.toString(),
7760
7823
  descam: this.descripcionCampo,
@@ -7775,6 +7838,7 @@ class MArchivoTxtCampo extends MBasicModel {
7775
7838
  class MArchivosTxt extends MBasicModel {
7776
7839
  constructor(e) {
7777
7840
  super();
7841
+ this.idEnterprise = 0;
7778
7842
  this.idEmpresa = 0;
7779
7843
  this.idArchivoTxt = 0;
7780
7844
  this.codigoArchivo = '';
@@ -7784,7 +7848,8 @@ class MArchivosTxt extends MBasicModel {
7784
7848
  this.campos = [];
7785
7849
  if (e) {
7786
7850
  e.acumon == '1' ? this.acumularMonto = true : this.acumularMonto = false;
7787
- this.idEmpresa = parseInt(e.id_empresa);
7851
+ this.idEnterprise = +e.id_enterprise;
7852
+ this.idEmpresa = +e.id_empresa;
7788
7853
  this.idArchivoTxt = parseInt(e.id_archivotxt);
7789
7854
  this.codigoArchivo = e.codarch;
7790
7855
  this.denominacionArchivo = e.denarch;
@@ -7797,7 +7862,8 @@ class MArchivosTxt extends MBasicModel {
7797
7862
  }
7798
7863
  dataInterface() {
7799
7864
  return {
7800
- id_empresa: this.idEmpresa.toString(),
7865
+ id_enterprise: this.idEnterprise.toString(),
7866
+ id_empresa: this.idEmpresa,
7801
7867
  id_archivotxt: this.idArchivoTxt.toString(),
7802
7868
  codarch: this.codigoArchivo,
7803
7869
  denarch: this.denominacionArchivo,
@@ -7811,6 +7877,7 @@ class MArchivosTxt extends MBasicModel {
7811
7877
  class MAspectoEvaluacion extends MBasicModel {
7812
7878
  constructor(e) {
7813
7879
  super();
7880
+ this.idEnterprise = 0;
7814
7881
  this.idEmpresa = 0;
7815
7882
  this.idTipoEvaluacion = 0;
7816
7883
  this.idAspectoEvaluacion = 0;
@@ -7819,7 +7886,8 @@ class MAspectoEvaluacion extends MBasicModel {
7819
7886
  this.codigoAspecto = '';
7820
7887
  this.denominacionAspecto = '';
7821
7888
  if (e) {
7822
- this.idEmpresa = parseInt(e.id_empresa);
7889
+ this.idEnterprise = +e.id_enterprise;
7890
+ this.idEmpresa = +e.id_empresa;
7823
7891
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7824
7892
  this.idAspectoEvaluacion = parseInt(e.id_aspecto);
7825
7893
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -7833,7 +7901,8 @@ class MAspectoEvaluacion extends MBasicModel {
7833
7901
  }
7834
7902
  dataInterface() {
7835
7903
  return {
7836
- id_empresa: this.idEmpresa.toString(),
7904
+ id_enterprise: this.idEnterprise.toString(),
7905
+ id_empresa: this.idEmpresa,
7837
7906
  id_tipoeval: this.idTipoEvaluacion.toString(),
7838
7907
  id_aspecto: this.idAspectoEvaluacion.toString(),
7839
7908
  codasp: this.codigoAspecto,
@@ -7846,6 +7915,7 @@ class MAspectoEvaluacion extends MBasicModel {
7846
7915
  class MItemsEvalucion extends MBasicModel {
7847
7916
  constructor(e = null) {
7848
7917
  super();
7918
+ this.idEnterprise = 0;
7849
7919
  this.idEmpresa = 0;
7850
7920
  this.idTipoEvaluacion = 0;
7851
7921
  this.idAspectoEvaluacion = 0;
@@ -7858,7 +7928,8 @@ class MItemsEvalucion extends MBasicModel {
7858
7928
  this.codigoAspecto = '';
7859
7929
  this.denominacionAspecto = '';
7860
7930
  if (e) {
7861
- this.idEmpresa = parseInt(e.id_empresa);
7931
+ this.idEnterprise = +e.id_enterprise;
7932
+ this.idEmpresa = +e.id_empresa;
7862
7933
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7863
7934
  this.idAspectoEvaluacion = parseInt(e.id_aspecto);
7864
7935
  this.idItems = parseInt(e.id_item);
@@ -7876,7 +7947,8 @@ class MItemsEvalucion extends MBasicModel {
7876
7947
  }
7877
7948
  dataInterface() {
7878
7949
  return {
7879
- id_empresa: this.idEmpresa.toString(),
7950
+ id_enterprise: this.idEnterprise.toString(),
7951
+ id_empresa: this.idEmpresa,
7880
7952
  id_tipoeval: this.idTipoEvaluacion.toString(),
7881
7953
  id_aspecto: this.idAspectoEvaluacion.toString(),
7882
7954
  id_item: this.idItems.toString(),
@@ -7894,6 +7966,7 @@ class MItemsEvalucion extends MBasicModel {
7894
7966
  class MBeneficiario extends MBasicModel {
7895
7967
  constructor(e) {
7896
7968
  super();
7969
+ this.idEnterprise = 0;
7897
7970
  this.idEmpresa = 0;
7898
7971
  this.idPersonal = 0;
7899
7972
  this.idFamiliar = 0;
@@ -7920,7 +7993,8 @@ class MBeneficiario extends MBasicModel {
7920
7993
  this.medidaActiva = false;
7921
7994
  this.tribunal = '';
7922
7995
  if (e) {
7923
- this.idEmpresa = parseInt(e.id_empresa);
7996
+ this.idEnterprise = +e.id_enterprise;
7997
+ this.idEmpresa = +e.id_empresa;
7924
7998
  this.idPersonal = parseInt(e.id_personal);
7925
7999
  this.idFamiliar = parseInt(e.id_familiar);
7926
8000
  this.idProveedor = parseInt(e.id_proveedor);
@@ -7952,7 +8026,8 @@ class MBeneficiario extends MBasicModel {
7952
8026
  }
7953
8027
  dataInterface() {
7954
8028
  return {
7955
- id_empresa: this.idEmpresa.toString(),
8029
+ id_enterprise: this.idEnterprise.toString(),
8030
+ id_empresa: this.idEmpresa,
7956
8031
  id_personal: this.idPersonal.toString(),
7957
8032
  id_familiar: this.idFamiliar.toString(),
7958
8033
  id_proveedor: this.idProveedor.toString(),
@@ -7974,6 +8049,7 @@ class MBeneficiario extends MBasicModel {
7974
8049
  class MCargosPersonal extends MBasicModel {
7975
8050
  constructor(p = null) {
7976
8051
  super();
8052
+ this.idEnterprise = 0;
7977
8053
  this.idEmpresa = 0;
7978
8054
  this.idPersonal = 0;
7979
8055
  this.idCargo = 0;
@@ -8003,6 +8079,8 @@ class MCargosPersonal extends MBasicModel {
8003
8079
  this.detallesOrganigrama = [];
8004
8080
  this.detallesNomina = [];
8005
8081
  if (p) {
8082
+ this.idEnterprise = +p.id_enterprise;
8083
+ this.idEmpresa = +p.id_empresa;
8006
8084
  this.idPersonal = parseInt(p.id_personal);
8007
8085
  this.idCargo = +p.id_carper;
8008
8086
  this.codigoCargo = p.codcar;
@@ -8041,7 +8119,8 @@ class MCargosPersonal extends MBasicModel {
8041
8119
  }
8042
8120
  dataInterface() {
8043
8121
  return {
8044
- id_empresa: this.idEmpresa.toString(),
8122
+ id_enterprise: this.idEnterprise.toString(),
8123
+ id_empresa: this.idEmpresa,
8045
8124
  id_personal: this.idPersonal.toString(),
8046
8125
  id_carper: this.idCargo.toString(),
8047
8126
  id_tabulador: this.idTabulador.toString(),
@@ -8059,6 +8138,7 @@ class MCargosPersonal extends MBasicModel {
8059
8138
  class MCargaFamiliar extends MBasicModel {
8060
8139
  constructor(e) {
8061
8140
  super();
8141
+ this.idEnterprise = 0;
8062
8142
  this.idEmpresa = 0;
8063
8143
  this.idConcurso = 0;
8064
8144
  this.idConcursante = 0;
@@ -8071,7 +8151,8 @@ class MCargaFamiliar extends MBasicModel {
8071
8151
  this.parentesco = '';
8072
8152
  this.fechaNacimiento = '';
8073
8153
  if (e) {
8074
- this.idEmpresa = parseInt(e.id_empresa);
8154
+ this.idEnterprise = +e.id_enterprise;
8155
+ this.idEmpresa = +e.id_empresa;
8075
8156
  this.idConcurso = parseInt(e.id_concurso);
8076
8157
  this.idConcursante = parseInt(e.id_concursante);
8077
8158
  this.idFamilia = parseInt(e.id_familiacon);
@@ -8089,7 +8170,8 @@ class MCargaFamiliar extends MBasicModel {
8089
8170
  }
8090
8171
  dataInterface() {
8091
8172
  return {
8092
- id_empresa: this.idEmpresa.toString(),
8173
+ id_enterprise: this.idEnterprise.toString(),
8174
+ id_empresa: this.idEmpresa,
8093
8175
  id_concurso: this.idConcurso.toString(),
8094
8176
  id_concursante: this.idConcurso.toString(),
8095
8177
  id_familiacon: this.idFamilia.toString(),
@@ -8107,6 +8189,7 @@ class MCargaFamiliar extends MBasicModel {
8107
8189
  class MClasificacionObrero extends MBasicModel {
8108
8190
  constructor(e) {
8109
8191
  super();
8192
+ this.idEnterprise = 0;
8110
8193
  this.idEmpresa = 0;
8111
8194
  this.idClasificacionObrero = 0;
8112
8195
  this.grado = '';
@@ -8117,7 +8200,8 @@ class MClasificacionObrero extends MBasicModel {
8117
8200
  this.numeroGaceta = '';
8118
8201
  this.observacion = '';
8119
8202
  if (e) {
8120
- this.idEmpresa = parseInt(e.id_empresa);
8203
+ this.idEnterprise = +e.id_enterprise;
8204
+ this.idEmpresa = +e.id_empresa;
8121
8205
  this.idClasificacionObrero = parseInt(e.id_claobr);
8122
8206
  this.grado = e.grado;
8123
8207
  this.sueldoMinimo = e.suemin;
@@ -8133,7 +8217,8 @@ class MClasificacionObrero extends MBasicModel {
8133
8217
  }
8134
8218
  dataInterface() {
8135
8219
  return {
8136
- id_empresa: this.idEmpresa.toString(),
8220
+ id_enterprise: this.idEnterprise.toString(),
8221
+ id_empresa: this.idEmpresa,
8137
8222
  id_claobr: this.idClasificacionObrero.toString(),
8138
8223
  grado: this.grado,
8139
8224
  suemin: this.sueldoMinimo,
@@ -8149,6 +8234,7 @@ class MClasificacionObrero extends MBasicModel {
8149
8234
  class MConceptoVacaciones extends MBasicModel {
8150
8235
  constructor(e = null) {
8151
8236
  super();
8237
+ this.idEnterprise = 0;
8152
8238
  this.idEmpresa = 0;
8153
8239
  this.idConceptoVacaciones = 0;
8154
8240
  this.idNomina = 0;
@@ -8173,6 +8259,7 @@ class MConceptoVacaciones extends MBasicModel {
8173
8259
  this.nombreConcepto = '';
8174
8260
  this.signoConcepto = '';
8175
8261
  if (e) {
8262
+ this.idEnterprise = +e.id_enterprise;
8176
8263
  this.idEmpresa = +e.id_empresa;
8177
8264
  this.idConceptoVacaciones = +e.id_convac;
8178
8265
  this.idNomina = +e.id_nomina;
@@ -8200,7 +8287,8 @@ class MConceptoVacaciones extends MBasicModel {
8200
8287
  }
8201
8288
  dataInterface() {
8202
8289
  return {
8203
- id_empresa: this.idEmpresa.toString(),
8290
+ id_enterprise: this.idEnterprise.toString(),
8291
+ id_empresa: this.idEmpresa,
8204
8292
  id_convac: this.idConceptoVacaciones.toString(),
8205
8293
  id_nomina: this.idNomina.toString(),
8206
8294
  id_concepto: this.idConcepto.toString(),
@@ -8257,6 +8345,7 @@ const SalarioNormal = [
8257
8345
  class MConceptosNomina extends MBasicModel {
8258
8346
  constructor(e = null) {
8259
8347
  super();
8348
+ this.idEnterprise = 0;
8260
8349
  this.idEmpresa = 0;
8261
8350
  this.idNomina = 0;
8262
8351
  this.idConcepto = 0;
@@ -8322,6 +8411,7 @@ class MConceptosNomina extends MBasicModel {
8322
8411
  this.evaluarEnPrenomina = 0;
8323
8412
  this.antiguedadComplementaria = 0;
8324
8413
  if (e) {
8414
+ this.idEnterprise = +e.id_enterprise;
8325
8415
  this.idEmpresa = +e.id_empresa;
8326
8416
  this.idNomina = +e.id_nomina;
8327
8417
  this.idConcepto = +e.id_concepto;
@@ -8398,7 +8488,8 @@ class MConceptosNomina extends MBasicModel {
8398
8488
  }
8399
8489
  dataInterface() {
8400
8490
  return {
8401
- id_empresa: this.idEmpresa.toString(),
8491
+ id_enterprise: this.idEnterprise.toString(),
8492
+ id_empresa: this.idEmpresa,
8402
8493
  id_nomina: this.idNomina.toString(),
8403
8494
  id_concepto: this.idConcepto.toString(),
8404
8495
  codconc: this.codigoConcepto,
@@ -8472,6 +8563,7 @@ class MConceptosNomina extends MBasicModel {
8472
8563
  class MConceptosPersonalNomina extends MBasicModel {
8473
8564
  constructor(e = null) {
8474
8565
  super();
8566
+ this.idEnterprise = 0;
8475
8567
  this.idEmpresa = 0;
8476
8568
  this.idPersonalNomina = 0;
8477
8569
  this.idNomina = 0;
@@ -8498,7 +8590,8 @@ class MConceptosPersonalNomina extends MBasicModel {
8498
8590
  this.codigoNomina = '';
8499
8591
  this.numeroPeriodoNomina = 0;
8500
8592
  if (e) {
8501
- this.idEmpresa = parseInt(e.id_empresa);
8593
+ this.idEnterprise = +e.id_enterprise;
8594
+ this.idEmpresa = +e.id_empresa;
8502
8595
  this.idPersonalNomina = parseInt(e.id_personalnomina);
8503
8596
  this.idNomina = parseInt(e.id_nomina);
8504
8597
  this.idConcepto = parseInt(e.id_concepto);
@@ -8529,7 +8622,8 @@ class MConceptosPersonalNomina extends MBasicModel {
8529
8622
  }
8530
8623
  dataInterface() {
8531
8624
  return {
8532
- id_empresa: this.idEmpresa.toString(),
8625
+ id_enterprise: this.idEnterprise.toString(),
8626
+ id_empresa: this.idEmpresa,
8533
8627
  id_personalnomina: this.idPersonalNomina.toString(),
8534
8628
  id_nomina: this.idNomina.toString(),
8535
8629
  id_concepto: this.idConcepto.toString(),
@@ -8565,6 +8659,7 @@ class MConceptosPersonalNomina extends MBasicModel {
8565
8659
  class MConstanteNomina extends MBasicModel {
8566
8660
  constructor(e = null) {
8567
8661
  super();
8662
+ this.idEnterprise = 0;
8568
8663
  this.idEmpresa = 0;
8569
8664
  this.idNomina = 1;
8570
8665
  this.idConstante = 0;
@@ -8582,6 +8677,7 @@ class MConstanteNomina extends MBasicModel {
8582
8677
  this.registroIncidencia = '';
8583
8678
  this.valorInicialIncidencia = 0;
8584
8679
  if (e) {
8680
+ this.idEnterprise = +e.id_enterprise;
8585
8681
  this.idEmpresa = +e.id_empresa;
8586
8682
  this.idNomina = +e.id_nomina;
8587
8683
  this.idConstante = +e.id_constante;
@@ -8605,7 +8701,8 @@ class MConstanteNomina extends MBasicModel {
8605
8701
  }
8606
8702
  dataInterface() {
8607
8703
  return {
8608
- id_empresa: this.idEmpresa.toString(),
8704
+ id_enterprise: this.idEnterprise.toString(),
8705
+ id_empresa: this.idEmpresa,
8609
8706
  id_nomina: this.idNomina.toString(),
8610
8707
  id_constante: this.idConstante.toString(),
8611
8708
  codcons: this.codigoConstante,
@@ -8628,6 +8725,7 @@ class MConstanteNomina extends MBasicModel {
8628
8725
  class MConstantePersonalNomina extends MBasicModel {
8629
8726
  constructor(e = null) {
8630
8727
  super();
8728
+ this.idEnterprise = 0;
8631
8729
  this.idEmpresa = 0;
8632
8730
  this.idNomina = 0;
8633
8731
  this.idConstante = 0;
@@ -8648,6 +8746,7 @@ class MConstantePersonalNomina extends MBasicModel {
8648
8746
  this.denominacionCargoPersonal = '';
8649
8747
  this.idPersonal = 0;
8650
8748
  if (e) {
8749
+ this.idEnterprise = +e.id_enterprise;
8651
8750
  this.idEmpresa = +e.id_empresa;
8652
8751
  this.idNomina = +e.id_nomina;
8653
8752
  this.idConstante = +e.id_constante;
@@ -8674,7 +8773,8 @@ class MConstantePersonalNomina extends MBasicModel {
8674
8773
  }
8675
8774
  dataInterface() {
8676
8775
  return {
8677
- id_empresa: this.idEmpresa.toString(),
8776
+ id_enterprise: this.idEnterprise.toString(),
8777
+ id_empresa: this.idEmpresa,
8678
8778
  id_nomina: this.idNomina.toString(),
8679
8779
  id_constante: this.idConstante.toString(),
8680
8780
  id_personalnomina: this.idPersonalNomina.toString(),
@@ -8703,6 +8803,7 @@ class MConstantePersonalNomina extends MBasicModel {
8703
8803
  class MRango extends MBasicModel {
8704
8804
  constructor(e = null) {
8705
8805
  super();
8806
+ this.idEnterprise = 0;
8706
8807
  this.idEmpresa = 0;
8707
8808
  this.idComponente = 0;
8708
8809
  this.IdRango = 0;
@@ -8712,7 +8813,8 @@ class MRango extends MBasicModel {
8712
8813
  this.nombreAbreviatura = '';
8713
8814
  this.codigoCategoriaRango = '';
8714
8815
  if (e) {
8715
- this.idEmpresa = parseInt(e.id_empresa);
8816
+ this.idEnterprise = +e.id_enterprise;
8817
+ this.idEmpresa = +e.id_empresa;
8716
8818
  this.idComponente = parseInt(e.id_componente);
8717
8819
  this.IdRango = parseInt(e.id_rango);
8718
8820
  this.IdCategoria = parseInt(e.id_catrango);
@@ -8727,7 +8829,8 @@ class MRango extends MBasicModel {
8727
8829
  }
8728
8830
  dataInterface() {
8729
8831
  return {
8730
- id_empresa: this.idEmpresa.toString(),
8832
+ id_enterprise: this.idEnterprise.toString(),
8833
+ id_empresa: this.idEmpresa,
8731
8834
  id_componente: this.idComponente.toString(),
8732
8835
  id_rango: this.IdRango.toString(),
8733
8836
  id_catrango: this.IdCategoria.toString(),
@@ -8742,6 +8845,7 @@ class MRango extends MBasicModel {
8742
8845
  class MComponete extends MBasicModel {
8743
8846
  constructor(e) {
8744
8847
  super();
8848
+ this.idEnterprise = 0;
8745
8849
  this.idEmpresa = 0;
8746
8850
  this.idComponente = 0;
8747
8851
  this.codigoComponente = '';
@@ -8749,7 +8853,8 @@ class MComponete extends MBasicModel {
8749
8853
  this.nombreAbreviatura = '';
8750
8854
  this.rangos = [];
8751
8855
  if (e) {
8752
- this.idEmpresa = parseInt(e.id_empresa);
8856
+ this.idEnterprise = +e.id_enterprise;
8857
+ this.idEmpresa = +e.id_empresa;
8753
8858
  this.idComponente = parseInt(e.id_componente);
8754
8859
  this.codigoComponente = e.codcom;
8755
8860
  this.denominacionComponente = e.dencom;
@@ -8762,7 +8867,8 @@ class MComponete extends MBasicModel {
8762
8867
  }
8763
8868
  dataInterface() {
8764
8869
  return {
8765
- id_empresa: this.idEmpresa.toString(),
8870
+ id_enterprise: this.idEnterprise.toString(),
8871
+ id_empresa: this.idEmpresa,
8766
8872
  id_componente: this.idComponente.toString(),
8767
8873
  codcom: this.codigoComponente,
8768
8874
  dencom: this.denominacionComponente,
@@ -8775,6 +8881,7 @@ class MComponete extends MBasicModel {
8775
8881
  class MConcursante extends MBasicModel {
8776
8882
  constructor(e = null) {
8777
8883
  super();
8884
+ this.idEnterprise = 0;
8778
8885
  this.idEmpresa = 0;
8779
8886
  this.idConcurso = 0;
8780
8887
  this.codigoConcurso = '';
@@ -8801,7 +8908,8 @@ class MConcursante extends MBasicModel {
8801
8908
  this.nivelAcademico = 0;
8802
8909
  this.estatusRequisitos = 1;
8803
8910
  if (e) {
8804
- this.idEmpresa = parseInt(e.id_empresa);
8911
+ this.idEnterprise = +e.id_enterprise;
8912
+ this.idEmpresa = +e.id_empresa;
8805
8913
  this.idConcurso = parseInt(e.id_concurso);
8806
8914
  this.codigoConcurso = e.codcon;
8807
8915
  this.idConcursante = parseInt(e.id_concursante);
@@ -8830,7 +8938,8 @@ class MConcursante extends MBasicModel {
8830
8938
  }
8831
8939
  dataInterface() {
8832
8940
  return {
8833
- id_empresa: this.idEmpresa.toString(),
8941
+ id_enterprise: this.idEnterprise.toString(),
8942
+ id_empresa: this.idEmpresa,
8834
8943
  id_concurso: this.idConcurso.toString(),
8835
8944
  codcon: this.codigoConcurso,
8836
8945
  id_concursante: this.idConcursante.toString(),
@@ -8861,6 +8970,7 @@ class MConcursante extends MBasicModel {
8861
8970
  class MTrabajosConcursantes extends MBasicModel {
8862
8971
  constructor(e) {
8863
8972
  super();
8973
+ this.idEnterprise = 0;
8864
8974
  this.idEmpresa = 0;
8865
8975
  this.idConcurso = 0;
8866
8976
  this.idConcursante = 0;
@@ -8871,7 +8981,8 @@ class MTrabajosConcursantes extends MBasicModel {
8871
8981
  this.fechaIngreso = '';
8872
8982
  this.fechaRetiro = '';
8873
8983
  if (e) {
8874
- this.idEmpresa = parseInt(e.id_empresa);
8984
+ this.idEnterprise = +e.id_enterprise;
8985
+ this.idEmpresa = +e.id_empresa;
8875
8986
  this.idConcurso = parseInt(e.id_concurso);
8876
8987
  this.idConcursante = parseInt(e.id_concursante);
8877
8988
  this.idTrabajo = parseInt(e.id_trabajocon);
@@ -8887,7 +8998,8 @@ class MTrabajosConcursantes extends MBasicModel {
8887
8998
  }
8888
8999
  dataInterface() {
8889
9000
  return {
8890
- id_empresa: this.idEmpresa.toString(),
9001
+ id_enterprise: this.idEnterprise.toString(),
9002
+ id_empresa: this.idEmpresa,
8891
9003
  id_concurso: this.idConcurso.toString(),
8892
9004
  id_concursante: this.idConcursante.toString(),
8893
9005
  id_trabajocon: this.idTrabajo.toString(),
@@ -8902,6 +9014,7 @@ class MTrabajosConcursantes extends MBasicModel {
8902
9014
  class MEstudiosConcursantes extends MBasicModel {
8903
9015
  constructor(e = null) {
8904
9016
  super();
9017
+ this.idEnterprise = 0;
8905
9018
  this.idEmpresa = 0;
8906
9019
  this.idConcurso = 0;
8907
9020
  this.idConcursante = 0;
@@ -8915,7 +9028,8 @@ class MEstudiosConcursantes extends MBasicModel {
8915
9028
  this.yearAprobados = 0;
8916
9029
  this.horasEstudiosRealizadas = 0;
8917
9030
  if (e) {
8918
- this.idEmpresa = parseInt(e.id_empresa);
9031
+ this.idEnterprise = +e.id_enterprise;
9032
+ this.idEmpresa = +e.id_empresa;
8919
9033
  this.idConcurso = parseInt(e.id_concurso);
8920
9034
  this.idConcursante = parseInt(e.id_concursante);
8921
9035
  this.idEstudio = parseInt(e.id_estudiocon);
@@ -8934,7 +9048,8 @@ class MEstudiosConcursantes extends MBasicModel {
8934
9048
  }
8935
9049
  dataInterface() {
8936
9050
  return {
8937
- id_empresa: this.idEmpresa.toString(),
9051
+ id_enterprise: this.idEnterprise.toString(),
9052
+ id_empresa: this.idEmpresa,
8938
9053
  id_concurso: this.idConcurso.toString(),
8939
9054
  id_concursante: this.idConcursante.toString(),
8940
9055
  id_estudiocon: this.idEstudio.toString(),
@@ -8993,6 +9108,7 @@ class MExperienciaLaboral extends MBasicModel {
8993
9108
  class MFamiliaConcursante extends MBasicModel {
8994
9109
  constructor(e = null) {
8995
9110
  super();
9111
+ this.idEnterprise = 0;
8996
9112
  this.idEmpresa = 0;
8997
9113
  this.idConcurso = 0;
8998
9114
  this.idConcursante = 0;
@@ -9005,7 +9121,8 @@ class MFamiliaConcursante extends MBasicModel {
9005
9121
  this.nexo = '';
9006
9122
  this.fecha = '';
9007
9123
  if (e) {
9008
- this.idEmpresa = parseInt(e.id_empresa);
9124
+ this.idEnterprise = +e.id_enterprise;
9125
+ this.idEmpresa = +e.id_empresa;
9009
9126
  this.idConcurso = parseInt(e.id_concurso);
9010
9127
  this.idConcursante = parseInt(e.id_concursante);
9011
9128
  this.idFamiliar = parseInt(e.id_familiacon);
@@ -9023,7 +9140,8 @@ class MFamiliaConcursante extends MBasicModel {
9023
9140
  }
9024
9141
  dataInterface() {
9025
9142
  return {
9026
- id_empresa: this.idEmpresa.toString(),
9143
+ id_enterprise: this.idEnterprise.toString(),
9144
+ id_empresa: this.idEmpresa,
9027
9145
  id_concurso: this.idConcurso.toString(),
9028
9146
  id_concursante: this.idConcursante.toString(),
9029
9147
  id_familiacon: this.idFamiliar.toString(),
@@ -9040,6 +9158,7 @@ class MFamiliaConcursante extends MBasicModel {
9040
9158
  class MFormacionInformal extends MBasicModel {
9041
9159
  constructor(e = null) {
9042
9160
  super();
9161
+ this.idEnterprise = 0;
9043
9162
  this.idEmpresa = 0;
9044
9163
  this.idConcurso = 0;
9045
9164
  this.idConcursante = 0;
@@ -9048,7 +9167,8 @@ class MFormacionInformal extends MBasicModel {
9048
9167
  this.descripcionCurso = '';
9049
9168
  this.horasCurso = 0;
9050
9169
  if (e) {
9051
- this.idEmpresa = parseInt(e.id_empresa);
9170
+ this.idEnterprise = +e.id_enterprise;
9171
+ this.idEmpresa = +e.id_empresa;
9052
9172
  this.idConcursante = parseInt(e.id_concurso);
9053
9173
  this.idConcursante = parseInt(e.id_concursante);
9054
9174
  this.idCurso = parseInt(e.id_curso);
@@ -9062,7 +9182,8 @@ class MFormacionInformal extends MBasicModel {
9062
9182
  }
9063
9183
  dataInterface() {
9064
9184
  return {
9065
- id_empresa: this.idEmpresa.toString(),
9185
+ id_enterprise: this.idEnterprise.toString(),
9186
+ id_empresa: this.idEmpresa,
9066
9187
  id_concurso: this.idConcurso.toString(),
9067
9188
  id_concursante: this.idConcurso.toString(),
9068
9189
  id_curso: this.idCurso.toString(),
@@ -9076,6 +9197,7 @@ class MFormacionInformal extends MBasicModel {
9076
9197
  class MRequisitosConcursos extends MBasicModel {
9077
9198
  constructor(e) {
9078
9199
  super();
9200
+ this.idEnterprise = 0;
9079
9201
  this.idEmpresa = 0;
9080
9202
  this.idConcurso = 0;
9081
9203
  this.idRequisito = 0;
@@ -9084,7 +9206,8 @@ class MRequisitosConcursos extends MBasicModel {
9084
9206
  this.cantidadRequisito = 0;
9085
9207
  this.requisitoIndispensable = 0;
9086
9208
  if (e) {
9087
- this.idEmpresa = parseInt(e.id_empresa);
9209
+ this.idEnterprise = +e.id_enterprise;
9210
+ this.idEmpresa = +e.id_empresa;
9088
9211
  this.idConcurso = parseInt(e.id_concurso);
9089
9212
  this.idRequisito = parseInt(e.id_reqcon);
9090
9213
  this.codigoRequisito = e.codreqcon;
@@ -9095,7 +9218,8 @@ class MRequisitosConcursos extends MBasicModel {
9095
9218
  }
9096
9219
  dataInterface() {
9097
9220
  return {
9098
- id_empresa: this.idEmpresa.toString(),
9221
+ id_enterprise: this.idEnterprise.toString(),
9222
+ id_empresa: this.idEmpresa,
9099
9223
  id_concurso: this.idConcurso.toString(),
9100
9224
  id_reqcon: this.idRequisito.toString(),
9101
9225
  codreqcon: this.codigoRequisito,
@@ -9109,6 +9233,7 @@ class MRequisitosConcursos extends MBasicModel {
9109
9233
  class MConcurso extends MBasicModel {
9110
9234
  constructor(e = null) {
9111
9235
  super();
9236
+ this.idEnterprise = 0;
9112
9237
  this.idEmpresa = 0;
9113
9238
  this.idConcurso = 0;
9114
9239
  this.codigoConcurso = '';
@@ -9125,7 +9250,8 @@ class MConcurso extends MBasicModel {
9125
9250
  this.detalleRequisitos = [];
9126
9251
  this.eliminarDetalles = [];
9127
9252
  if (e) {
9128
- this.idEmpresa = parseInt(e.id_empresa);
9253
+ this.idEnterprise = +e.id_enterprise;
9254
+ this.idEmpresa = +e.id_empresa;
9129
9255
  this.idConcurso = parseInt(e.id_concurso);
9130
9256
  this.codigoConcurso = e.codcon;
9131
9257
  this.denominacionConcurso = e.dencon;
@@ -9145,7 +9271,8 @@ class MConcurso extends MBasicModel {
9145
9271
  }
9146
9272
  dataInterface() {
9147
9273
  return {
9148
- id_empresa: this.idEmpresa.toString(),
9274
+ id_enterprise: this.idEnterprise.toString(),
9275
+ id_empresa: this.idEmpresa,
9149
9276
  id_concurso: this.idConcurso.toString(),
9150
9277
  codcon: this.codigoConcurso,
9151
9278
  dencon: this.denominacionConcurso,
@@ -9165,6 +9292,7 @@ class MConcurso extends MBasicModel {
9165
9292
  class MPrevioEvaluacion extends MBasicModel {
9166
9293
  constructor(e = null) {
9167
9294
  super();
9295
+ this.idEnterprise = 0;
9168
9296
  this.idEmpresa = 0;
9169
9297
  this.idPrevio = 0;
9170
9298
  this.proceso = '';
@@ -9184,7 +9312,8 @@ class MPrevioEvaluacion extends MBasicModel {
9184
9312
  this.estatusRegistro = 0;
9185
9313
  this.detallesRegistro = [];
9186
9314
  if (e) {
9187
- this.idEmpresa = parseInt(e.id_empresa);
9315
+ this.idEnterprise = +e.id_enterprise;
9316
+ this.idEmpresa = +e.id_empresa;
9188
9317
  this.idPrevio = parseInt(e.id_previo);
9189
9318
  this.proceso = e.proceso;
9190
9319
  this.idConcurso = parseInt(e.id_concurso);
@@ -9210,7 +9339,8 @@ class MPrevioEvaluacion extends MBasicModel {
9210
9339
  }
9211
9340
  dataInterface() {
9212
9341
  return {
9213
- id_empresa: this.idEmpresa.toString(),
9342
+ id_enterprise: this.idEnterprise.toString(),
9343
+ id_empresa: this.idEmpresa,
9214
9344
  id_previo: this.idPrevio.toString(),
9215
9345
  proceso: this.proceso,
9216
9346
  id_concurso: this.idConcurso.toString(),
@@ -9235,6 +9365,7 @@ class MPrevioEvaluacion extends MBasicModel {
9235
9365
  class MPrevioEvaluacionDt extends MBasicModel {
9236
9366
  constructor(e = null) {
9237
9367
  super();
9368
+ this.idEnterprise = 0;
9238
9369
  this.idEmpresa = 0;
9239
9370
  this.idPrevio = 0;
9240
9371
  this.idAspecto = 0;
@@ -9246,7 +9377,8 @@ class MPrevioEvaluacionDt extends MBasicModel {
9246
9377
  this.puntos = 0;
9247
9378
  this.valorMaximo = 0;
9248
9379
  if (e) {
9249
- this.idEmpresa = parseInt(e.id_empresa);
9380
+ this.idEnterprise = +e.id_enterprise;
9381
+ this.idEmpresa = +e.id_empresa;
9250
9382
  this.idPrevio = parseInt(e.id_previo);
9251
9383
  this.idAspecto = parseInt(e.id_aspecto);
9252
9384
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
@@ -9263,7 +9395,8 @@ class MPrevioEvaluacionDt extends MBasicModel {
9263
9395
  }
9264
9396
  dataInterface() {
9265
9397
  return {
9266
- id_empresa: this.idEmpresa.toString(),
9398
+ id_enterprise: this.idEnterprise.toString(),
9399
+ id_empresa: this.idEmpresa,
9267
9400
  id_previo: this.idPrevio.toString(),
9268
9401
  id_tipoeval: this.idTipoEvaluacion.toString(),
9269
9402
  id_aspecto: this.idAspecto.toString(),
@@ -9279,6 +9412,7 @@ class MPrevioEvaluacionDt extends MBasicModel {
9279
9412
  class MResultadosEvaluacion extends MBasicModel {
9280
9413
  constructor(e) {
9281
9414
  super();
9415
+ this.idEnterprise = 0;
9282
9416
  this.idEmpresa = 0;
9283
9417
  this.idEvaluacion = 0;
9284
9418
  this.idConcurso = 0;
@@ -9295,7 +9429,8 @@ class MResultadosEvaluacion extends MBasicModel {
9295
9429
  this.resultado_rqm = 0;
9296
9430
  this.usuarioRegistro = '';
9297
9431
  if (e) {
9298
- this.idEmpresa = parseInt(e.id_empresa);
9432
+ this.idEnterprise = +e.id_enterprise;
9433
+ this.idEmpresa = +e.id_empresa;
9299
9434
  this.idEvaluacion = parseInt(e.id_evaluacion);
9300
9435
  this.idConcurso = parseInt(e.id_concurso);
9301
9436
  this.codigoConcurso = e.codcon,
@@ -9318,7 +9453,8 @@ class MResultadosEvaluacion extends MBasicModel {
9318
9453
  }
9319
9454
  dataInterface() {
9320
9455
  return {
9321
- id_empresa: this.idEmpresa.toString(),
9456
+ id_enterprise: this.idEnterprise.toString(),
9457
+ id_empresa: this.idEmpresa,
9322
9458
  id_evaluacion: this.idEvaluacion.toString(),
9323
9459
  id_concurso: this.idConcurso.toString(),
9324
9460
  codcon: this.codigoConcurso,
@@ -9341,6 +9477,7 @@ class MResultadosEvaluacion extends MBasicModel {
9341
9477
  class MTipoPersonal extends MBasicModel {
9342
9478
  constructor(e) {
9343
9479
  super();
9480
+ this.idEnterprise = 0;
9344
9481
  this.idEmpresa = 0;
9345
9482
  this.idDedicacion = 0;
9346
9483
  this.idTipoPersonal = 0;
@@ -9348,7 +9485,8 @@ class MTipoPersonal extends MBasicModel {
9348
9485
  this.codigoTipoPersonal = '';
9349
9486
  this.denominacionTipoPersonal = '';
9350
9487
  if (e) {
9351
- this.idEmpresa = parseInt(e.id_empresa);
9488
+ this.idEnterprise = +e.id_enterprise;
9489
+ this.idEmpresa = +e.id_empresa;
9352
9490
  this.idDedicacion = parseInt(e.id_dedicacion);
9353
9491
  this.idTipoPersonal = parseInt(e.id_tipopersonal);
9354
9492
  this.idDtTipoPersonal = parseInt(e.id_dt_tipopersonal);
@@ -9358,7 +9496,8 @@ class MTipoPersonal extends MBasicModel {
9358
9496
  }
9359
9497
  dataInterface() {
9360
9498
  return {
9361
- id_empresa: this.idEmpresa.toString(),
9499
+ id_enterprise: this.idEnterprise.toString(),
9500
+ id_empresa: this.idEmpresa,
9362
9501
  id_tipopersonal: this.idTipoPersonal.toString(),
9363
9502
  id_dedicacion: this.idDedicacion.toString(),
9364
9503
  id_dt_tipopersonal: this.idDtTipoPersonal.toString(),
@@ -9371,13 +9510,15 @@ class MTipoPersonal extends MBasicModel {
9371
9510
  class MDedicacion extends MBasicModel {
9372
9511
  constructor(e = null) {
9373
9512
  super();
9513
+ this.idEnterprise = 0;
9374
9514
  this.idEmpresa = 0;
9375
9515
  this.idDedicacion = 0;
9376
9516
  this.codigoDedicacion = '';
9377
9517
  this.denominacionDedicacion = '';
9378
9518
  this.tipoPersonal = [];
9379
9519
  if (e) {
9380
- this.idEmpresa = parseInt(e.id_empresa);
9520
+ this.idEnterprise = +e.id_enterprise;
9521
+ this.idEmpresa = +e.id_empresa;
9381
9522
  this.idDedicacion = parseInt(e.id_dedicacion);
9382
9523
  this.codigoDedicacion = e.codded;
9383
9524
  this.denominacionDedicacion = e.dended;
@@ -9389,7 +9530,8 @@ class MDedicacion extends MBasicModel {
9389
9530
  }
9390
9531
  dataInterface() {
9391
9532
  return {
9392
- id_empresa: this.idEmpresa.toString(),
9533
+ id_enterprise: this.idEnterprise.toString(),
9534
+ id_empresa: this.idEmpresa,
9393
9535
  id_dedicacion: this.idDedicacion.toString(),
9394
9536
  codded: this.codigoDedicacion,
9395
9537
  dended: this.denominacionDedicacion,
@@ -9401,12 +9543,16 @@ class MDedicacion extends MBasicModel {
9401
9543
  class MDefinicionesBasicas extends MBasicModel {
9402
9544
  constructor(e = null) {
9403
9545
  super();
9546
+ this.idEnterprise = 0;
9547
+ this.idEmpresa = 0;
9404
9548
  this.idDefinicion = -1;
9405
9549
  this.codigo = '';
9406
9550
  this.denominacion = '';
9407
9551
  this.tipoPersonalObrero = false;
9408
9552
  this.observacionRetenciones = '';
9409
9553
  if (e) {
9554
+ this.idEnterprise = +e.id_enterprise;
9555
+ this.idEmpresa = +e.id_empresa;
9410
9556
  this.idDefinicion = parseInt(e.id);
9411
9557
  this.codigo = e.coddef;
9412
9558
  this.denominacion = e.dendef;
@@ -9428,6 +9574,8 @@ class MDefinicionesBasicas extends MBasicModel {
9428
9574
  tipo = '1';
9429
9575
  }
9430
9576
  return {
9577
+ id_enterprise: this.idEnterprise.toString(),
9578
+ id_empresa: this.idEmpresa,
9431
9579
  id: this.idDefinicion.toString(),
9432
9580
  coddef: this.codigo,
9433
9581
  dendef: this.denominacion,
@@ -9439,6 +9587,7 @@ class MDefinicionesBasicas extends MBasicModel {
9439
9587
  class MSueldoMinimo extends MBasicModel {
9440
9588
  constructor(e) {
9441
9589
  super();
9590
+ this.idEnterprise = 0;
9442
9591
  this.idEmpresa = 0;
9443
9592
  this.idSueldoMinimo = 0;
9444
9593
  this.codigoSueldoMinimo = '';
@@ -9448,7 +9597,8 @@ class MSueldoMinimo extends MBasicModel {
9448
9597
  this.montoSueldoMinimo = 0;
9449
9598
  this.observacionSueldoMinimo = '';
9450
9599
  if (e) {
9451
- this.idEmpresa = parseInt(e.id_empresa);
9600
+ this.idEnterprise = +e.id_enterprise;
9601
+ this.idEmpresa = +e.id_empresa;
9452
9602
  this.idSueldoMinimo = parseInt(e.id_sueldominimo);
9453
9603
  this.codigoSueldoMinimo = e.codsuemin;
9454
9604
  this.annoSueldoMinimo = parseInt(e.anosuemin);
@@ -9460,7 +9610,8 @@ class MSueldoMinimo extends MBasicModel {
9460
9610
  }
9461
9611
  dataInterface() {
9462
9612
  return {
9463
- id_empresa: this.idEmpresa.toString(),
9613
+ id_enterprise: this.idEnterprise.toString(),
9614
+ id_empresa: this.idEmpresa,
9464
9615
  id_sueldominimo: this.idSueldoMinimo.toString(),
9465
9616
  codsuemin: this.codigoSueldoMinimo,
9466
9617
  anosuemin: this.annoSueldoMinimo.toString(),
@@ -9475,6 +9626,7 @@ class MSueldoMinimo extends MBasicModel {
9475
9626
  class MDeudaAnterior extends MBasicModel {
9476
9627
  constructor(e = null) {
9477
9628
  super();
9629
+ this.idEnterprise = 0;
9478
9630
  this.idEmpresa = 0;
9479
9631
  this.idPersonal = 0;
9480
9632
  this.fechaCorteDeuda = '1900-01-01';
@@ -9483,6 +9635,7 @@ class MDeudaAnterior extends MBasicModel {
9483
9635
  this.montoDeudaAnterior = 0;
9484
9636
  this.montoAnticipoInteres = 0;
9485
9637
  if (e) {
9638
+ this.idEnterprise = +e.id_enterprise;
9486
9639
  this.idEmpresa = +e.id_empresa;
9487
9640
  this.idPersonal = +e.id_personal;
9488
9641
  this.fechaCorteDeuda = e.feccordeu;
@@ -9497,6 +9650,7 @@ class MDeudaAnterior extends MBasicModel {
9497
9650
  }
9498
9651
  dataInterface() {
9499
9652
  return {
9653
+ id_enterprise: this.idEnterprise.toString(),
9500
9654
  id_empresa: this.idEmpresa,
9501
9655
  id_personal: this.idPersonal,
9502
9656
  feccordeu: this.fechaCorteDeuda,
@@ -9511,6 +9665,7 @@ class MDeudaAnterior extends MBasicModel {
9511
9665
  class MEscalaEvaluacionDt extends MBasicModel {
9512
9666
  constructor(e) {
9513
9667
  super();
9668
+ this.idEnterprise = 0;
9514
9669
  this.idEmpresa = 0;
9515
9670
  this.idEscala = 0;
9516
9671
  this.codigoDetalleEscala = '';
@@ -9519,7 +9674,8 @@ class MEscalaEvaluacionDt extends MBasicModel {
9519
9674
  this.valorFinalDetalleEscala = 0;
9520
9675
  this.idDtEscala = 0;
9521
9676
  if (e) {
9522
- this.idEmpresa = parseInt(e.id_empresa);
9677
+ this.idEnterprise = +e.id_enterprise;
9678
+ this.idEmpresa = +e.id_empresa;
9523
9679
  this.idEscala = parseInt(e.id_escala);
9524
9680
  this.codigoDetalleEscala = e.coddetesc;
9525
9681
  this.denominacionDetalleEscala = e.dendetesc;
@@ -9530,7 +9686,8 @@ class MEscalaEvaluacionDt extends MBasicModel {
9530
9686
  }
9531
9687
  dataInterface() {
9532
9688
  return {
9533
- id_empresa: this.idEmpresa.toString(),
9689
+ id_enterprise: this.idEnterprise.toString(),
9690
+ id_empresa: this.idEmpresa,
9534
9691
  id_escala: this.idEscala.toString(),
9535
9692
  coddetesc: this.codigoDetalleEscala,
9536
9693
  dendetesc: this.denominacionDetalleEscala,
@@ -9544,6 +9701,7 @@ class MEscalaEvaluacionDt extends MBasicModel {
9544
9701
  class MEscalaEvaluacion extends MBasicModel {
9545
9702
  constructor(e) {
9546
9703
  super();
9704
+ this.idEnterprise = 0;
9547
9705
  this.idEmpresa = 0;
9548
9706
  this.idEscala = 0;
9549
9707
  this.codigoEscala = '';
@@ -9552,7 +9710,8 @@ class MEscalaEvaluacion extends MBasicModel {
9552
9710
  this.valorFinalEscala = 0;
9553
9711
  this.detalles = [];
9554
9712
  if (e) {
9555
- this.idEmpresa = parseInt(e.id_empresa);
9713
+ this.idEnterprise = +e.id_enterprise;
9714
+ this.idEmpresa = +e.id_empresa;
9556
9715
  this.idEscala = parseInt(e.id_escala);
9557
9716
  this.codigoEscala = e.codesc;
9558
9717
  this.denominacionEscala = e.denesc;
@@ -9563,7 +9722,8 @@ class MEscalaEvaluacion extends MBasicModel {
9563
9722
  }
9564
9723
  dataInterface() {
9565
9724
  return {
9566
- id_empresa: this.idEmpresa.toString(),
9725
+ id_enterprise: this.idEnterprise.toString(),
9726
+ id_empresa: this.idEmpresa,
9567
9727
  id_escala: this.idEscala.toString(),
9568
9728
  codesc: this.codigoEscala,
9569
9729
  denesc: this.denominacionEscala,
@@ -9577,6 +9737,7 @@ class MEscalaEvaluacion extends MBasicModel {
9577
9737
  class MEstructuraOrganizativa extends MBasicModel {
9578
9738
  constructor(e) {
9579
9739
  super();
9740
+ this.idEnterprise = 0;
9580
9741
  this.idEmpresa = 0;
9581
9742
  this.idOrganigrama = 0;
9582
9743
  this.codigoEstructuraOrganizativa = '';
@@ -9610,7 +9771,8 @@ class MEstructuraOrganizativa extends MBasicModel {
9610
9771
  this.ubicacionZona = 0;
9611
9772
  this.ubicacionNoAplica = 0;
9612
9773
  if (e) {
9613
- this.idEmpresa = parseInt(e.id_empresa);
9774
+ this.idEnterprise = +e.id_enterprise;
9775
+ this.idEmpresa = +e.id_empresa;
9614
9776
  this.idOrganigrama = parseInt(e.id_organigrama);
9615
9777
  this.codigoEstructuraOrganizativa = e.codestorg;
9616
9778
  this.denominacionEstructuraOrganizativa = e.denestorg;
@@ -9646,7 +9808,8 @@ class MEstructuraOrganizativa extends MBasicModel {
9646
9808
  }
9647
9809
  dataInterface() {
9648
9810
  return {
9649
- id_empresa: this.idEmpresa.toString(),
9811
+ id_enterprise: this.idEnterprise.toString(),
9812
+ id_empresa: this.idEmpresa,
9650
9813
  id_organigrama: this.idOrganigrama.toString(),
9651
9814
  codestorg: this.codigoEstructuraOrganizativa,
9652
9815
  denestorg: this.denominacionEstructuraOrganizativa,
@@ -9685,6 +9848,7 @@ class MEstructuraOrganizativa extends MBasicModel {
9685
9848
  class MFamiliares extends MBasicModel {
9686
9849
  constructor(e) {
9687
9850
  super();
9851
+ this.idEnterprise = 0;
9688
9852
  this.idEmpresa = 0;
9689
9853
  this.idPersonal = 0;
9690
9854
  this.idFamiliar = 0;
@@ -9710,7 +9874,8 @@ class MFamiliares extends MBasicModel {
9710
9874
  this.Nexo = Nexofamiliar;
9711
9875
  this.Academico = NivelAcademicoFamiliar;
9712
9876
  if (e) {
9713
- this.idEmpresa = parseInt(e.id_empresa);
9877
+ this.idEnterprise = +e.id_enterprise;
9878
+ this.idEmpresa = +e.id_empresa;
9714
9879
  this.idPersonal = parseInt(e.id_personal);
9715
9880
  this.idFamiliar = parseInt(e.id_familiar);
9716
9881
  this.cedulaFamiliar = e.cedfam;
@@ -9739,7 +9904,8 @@ class MFamiliares extends MBasicModel {
9739
9904
  }
9740
9905
  dataInterface() {
9741
9906
  return {
9742
- id_empresa: this.idEmpresa.toString(),
9907
+ id_enterprise: this.idEnterprise.toString(),
9908
+ id_empresa: this.idEmpresa,
9743
9909
  id_personal: this.idPersonal.toString(),
9744
9910
  id_familiar: this.idFamiliar.toString(),
9745
9911
  cedfam: this.cedulaFamiliar,
@@ -9808,6 +9974,7 @@ class MFeriados extends MBasicModel {
9808
9974
  class MFideicomiso extends MBasicModel {
9809
9975
  constructor(e) {
9810
9976
  super();
9977
+ this.idEnterprise = 0;
9811
9978
  this.idEmpresa = 0;
9812
9979
  this.idPersonal = 0;
9813
9980
  this.idfideicomiso = 0;
@@ -9828,7 +9995,8 @@ class MFideicomiso extends MBasicModel {
9828
9995
  this.denominacionUbicacionFisica = '';
9829
9996
  this.codigoUbicacionFisica = '';
9830
9997
  if (e) {
9831
- this.idEmpresa = parseInt(e.id_empresa);
9998
+ this.idEnterprise = +e.id_enterprise;
9999
+ this.idEmpresa = +e.id_empresa;
9832
10000
  this.idPersonal = parseInt(e.id_personal);
9833
10001
  this.idfideicomiso = parseInt(e.id_fideicomiso);
9834
10002
  this.codigoFideicomiso = e.codfid;
@@ -9854,7 +10022,8 @@ class MFideicomiso extends MBasicModel {
9854
10022
  }
9855
10023
  dataInterface() {
9856
10024
  return {
9857
- id_empresa: this.idEmpresa.toString(),
10025
+ id_enterprise: this.idEnterprise.toString(),
10026
+ id_empresa: this.idEmpresa,
9858
10027
  id_personal: this.idPersonal.toString(),
9859
10028
  id_fideicomiso: this.idfideicomiso.toString(),
9860
10029
  codfid: this.codigoFideicomiso,
@@ -9876,6 +10045,7 @@ class MFideicomiso extends MBasicModel {
9876
10045
  class MConfiguracionFideicomiso extends MBasicModel {
9877
10046
  constructor(e) {
9878
10047
  super();
10048
+ this.idEnterprise = 0;
9879
10049
  this.idEmpresa = 0;
9880
10050
  this.idFideicomisoConfiguracion = 0;
9881
10051
  this.idDedicacion = 0;
@@ -9890,7 +10060,8 @@ class MConfiguracionFideicomiso extends MBasicModel {
9890
10060
  this.denominacionTipoPersonal = '';
9891
10061
  this.formulaFideicomiso = 'xxx';
9892
10062
  if (e) {
9893
- this.idEmpresa = parseInt(e.id_empresa);
10063
+ this.idEnterprise = +e.id_enterprise;
10064
+ this.idEmpresa = +e.id_empresa;
9894
10065
  this.idDedicacion = parseInt(e.id_dedicacion);
9895
10066
  this.idTipoPersonal = parseInt(e.id_tipopersonal);
9896
10067
  this.anioCursoFideicomiso = e.anocurfid;
@@ -9910,7 +10081,8 @@ class MConfiguracionFideicomiso extends MBasicModel {
9910
10081
  }
9911
10082
  dataInterface() {
9912
10083
  return {
9913
- id_empresa: this.idEmpresa.toString(),
10084
+ id_enterprise: this.idEnterprise.toString(),
10085
+ id_empresa: this.idEmpresa,
9914
10086
  id_fidconfig: this.idFideicomisoConfiguracion.toString(),
9915
10087
  id_dedicacion: this.idDedicacion.toString(),
9916
10088
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -9925,6 +10097,7 @@ class MConfiguracionFideicomiso extends MBasicModel {
9925
10097
  class MFideicomisoInteres extends MBasicModel {
9926
10098
  constructor(e) {
9927
10099
  super();
10100
+ this.idEnterprise = 0;
9928
10101
  this.idEmpresa = 0;
9929
10102
  this.idInteresFideicomiso = 0;
9930
10103
  this.mesInteres = 0;
@@ -9933,7 +10106,8 @@ class MFideicomisoInteres extends MBasicModel {
9933
10106
  this.fechaVigenciaGacetaInteres = '1900-01-01';
9934
10107
  this.montoTasaInteres = 0;
9935
10108
  if (e) {
9936
- this.idEmpresa = parseInt(e.id_empresa);
10109
+ this.idEnterprise = +e.id_enterprise;
10110
+ this.idEmpresa = +e.id_empresa;
9937
10111
  this.idInteresFideicomiso = parseInt(e.id_intfide);
9938
10112
  this.mesInteres = parseInt(e.mesint);
9939
10113
  this.anioInteres = parseInt(e.anoint);
@@ -9947,7 +10121,8 @@ class MFideicomisoInteres extends MBasicModel {
9947
10121
  }
9948
10122
  dataInterface() {
9949
10123
  return {
9950
- id_empresa: this.idEmpresa.toString(),
10124
+ id_enterprise: this.idEnterprise.toString(),
10125
+ id_empresa: this.idEmpresa,
9951
10126
  id_intfide: this.idInteresFideicomiso.toString(),
9952
10127
  mesint: this.mesInteres.toString(),
9953
10128
  anoint: this.anioInteres.toString(),
@@ -9960,6 +10135,7 @@ class MFideicomisoInteres extends MBasicModel {
9960
10135
  class MCalculoPrestacion extends MBasicModel {
9961
10136
  constructor(e = null) {
9962
10137
  super();
10138
+ this.idEnterprise = 0;
9963
10139
  this.idEmpresa = 0;
9964
10140
  this.mes = '';
9965
10141
  this.anio = '';
@@ -9968,7 +10144,8 @@ class MCalculoPrestacion extends MBasicModel {
9968
10144
  this.mesCalculado = '';
9969
10145
  this.anioCalculado = '';
9970
10146
  if (e) {
9971
- this.idEmpresa = parseInt(e.id_empresa);
10147
+ this.idEnterprise = +e.id_enterprise;
10148
+ this.idEmpresa = +e.id_empresa;
9972
10149
  this.mes = e.mes;
9973
10150
  this.anio = e.anio;
9974
10151
  this.cedulaDesde = e.cedula_desde;
@@ -9982,7 +10159,8 @@ class MCalculoPrestacion extends MBasicModel {
9982
10159
  }
9983
10160
  dataInterface() {
9984
10161
  return {
9985
- id_empresa: this.idEmpresa.toString(),
10162
+ id_enterprise: this.idEnterprise.toString(),
10163
+ id_empresa: this.idEmpresa,
9986
10164
  mes: this.mes,
9987
10165
  anio: this.anio,
9988
10166
  cedula_desde: this.cedulaDesde,
@@ -9995,6 +10173,7 @@ class MCalculoPrestacion extends MBasicModel {
9995
10173
  class MFideicomisoPeriodo extends MBasicModel {
9996
10174
  constructor(e = null) {
9997
10175
  super();
10176
+ this.idEnterprise = 0;
9998
10177
  this.idEmpresa = 0;
9999
10178
  this.idPersonal = 0;
10000
10179
  this.idNomina = 0;
@@ -10085,6 +10264,8 @@ class MFideicomisoPeriodo extends MBasicModel {
10085
10264
  class MFideicomisoPeriodoInteresCatalogo extends MBasicModel {
10086
10265
  constructor(e = null) {
10087
10266
  super();
10267
+ this.idEnterprise = 0;
10268
+ this.idEmpresa = 0;
10088
10269
  this.idPersonal = 0;
10089
10270
  this.codigoPersonal = '';
10090
10271
  this.cedulaPersonal = '';
@@ -10095,6 +10276,8 @@ class MFideicomisoPeriodoInteresCatalogo extends MBasicModel {
10095
10276
  this.denominacionEstatus = '';
10096
10277
  this.interes = [];
10097
10278
  if (e) {
10279
+ this.idEnterprise = +e.id_enterprise;
10280
+ this.idEmpresa = +e.id_empresa;
10098
10281
  this.idPersonal = +e.id_personal;
10099
10282
  this.codigoPersonal = e.codper;
10100
10283
  this.cedulaPersonal = e.cedper;
@@ -10122,6 +10305,7 @@ class MFideicomisoPeriodoInteresCatalogo extends MBasicModel {
10122
10305
  class MFideicomisoPeriodoInteres extends MBasicModel {
10123
10306
  constructor(e = null) {
10124
10307
  super();
10308
+ this.idEnterprise = 0;
10125
10309
  this.idEmpresa = 0;
10126
10310
  this.idPersonal = 0;
10127
10311
  this.idNomina = 0;
@@ -10195,6 +10379,7 @@ class MFideicomisoPeriodoInteres extends MBasicModel {
10195
10379
  class MFormacionAcademica extends MBasicModel {
10196
10380
  constructor(e) {
10197
10381
  super();
10382
+ this.idEnterprise = 0;
10198
10383
  this.idEmpresa = 0;
10199
10384
  this.idConcurso = 0;
10200
10385
  this.idConcursante = 0;
@@ -10207,7 +10392,8 @@ class MFormacionAcademica extends MBasicModel {
10207
10392
  this.tituloObtenido = '';
10208
10393
  this.yearAprobados = 0;
10209
10394
  if (e) {
10210
- this.idEmpresa = parseInt(e.id_empresa);
10395
+ this.idEnterprise = +e.id_enterprise;
10396
+ this.idEmpresa = +e.id_empresa;
10211
10397
  this.idConcurso = parseInt(e.id_concurso);
10212
10398
  this.idConcursante = parseInt(e.id_concursante);
10213
10399
  this.idEstudioConcursante = parseInt(e.id_estudiocon);
@@ -10222,7 +10408,8 @@ class MFormacionAcademica extends MBasicModel {
10222
10408
  }
10223
10409
  dataInterface() {
10224
10410
  return {
10225
- id_empresa: this.idEmpresa.toString(),
10411
+ id_enterprise: this.idEnterprise.toString(),
10412
+ id_empresa: this.idEmpresa,
10226
10413
  id_concurso: this.idConcurso.toString(),
10227
10414
  id_concursante: this.idConcursante.toString(),
10228
10415
  id_estudiocon: this.idEstudioConcursante.toString(),
@@ -10240,6 +10427,7 @@ class MFormacionAcademica extends MBasicModel {
10240
10427
  class MPrimaGrados extends MBasicModel {
10241
10428
  constructor(e = null) {
10242
10429
  super();
10430
+ this.idEnterprise = 0;
10243
10431
  this.idEmpresa = 0;
10244
10432
  this.idTabulador = 0;
10245
10433
  this.codigoGrado = '';
@@ -10249,7 +10437,8 @@ class MPrimaGrados extends MBasicModel {
10249
10437
  this.montoPrima = 0;
10250
10438
  this.IdDetallePrima = 0;
10251
10439
  if (e) {
10252
- this.idEmpresa = parseInt(e.id_empresa);
10440
+ this.idEnterprise = +e.id_enterprise;
10441
+ this.idEmpresa = +e.id_empresa;
10253
10442
  this.idTabulador = parseInt(e.id_tabulador);
10254
10443
  this.codigoGrado = e.codgra;
10255
10444
  this.codigoPaso = e.codpas;
@@ -10264,7 +10453,8 @@ class MPrimaGrados extends MBasicModel {
10264
10453
  }
10265
10454
  dataInterface() {
10266
10455
  return {
10267
- id_empresa: this.idEmpresa.toString(),
10456
+ id_enterprise: this.idEnterprise.toString(),
10457
+ id_empresa: this.idEmpresa,
10268
10458
  id_tabulador: this.idTabulador.toString(),
10269
10459
  codgra: this.codigoGrado,
10270
10460
  codpas: this.codigoPaso,
@@ -10279,6 +10469,7 @@ class MPrimaGrados extends MBasicModel {
10279
10469
  class MGrados extends MBasicModel {
10280
10470
  constructor(e = null) {
10281
10471
  super();
10472
+ this.idEnterprise = 0;
10282
10473
  this.idEmpresa = 0;
10283
10474
  this.idTabulador = 0;
10284
10475
  this.codigoGrado = 0;
@@ -10290,7 +10481,8 @@ class MGrados extends MBasicModel {
10290
10481
  this.IdDetalleGrado = 0;
10291
10482
  this.detallePrima = [];
10292
10483
  if (e) {
10293
- this.idEmpresa = parseInt(e.id_empresa);
10484
+ this.idEnterprise = +e.id_enterprise;
10485
+ this.idEmpresa = +e.id_empresa;
10294
10486
  this.idTabulador = parseInt(e.id_tabulador);
10295
10487
  this.codigoGrado = parseInt(e.codgra);
10296
10488
  this.codigoPaso = parseInt(e.codpas);
@@ -10304,7 +10496,8 @@ class MGrados extends MBasicModel {
10304
10496
  }
10305
10497
  dataInterface() {
10306
10498
  return {
10307
- id_empresa: this.idEmpresa.toString(),
10499
+ id_enterprise: this.idEnterprise.toString(),
10500
+ id_empresa: this.idEmpresa,
10308
10501
  id_tabulador: this.idTabulador.toString(),
10309
10502
  codgra: this.codigoGrado.toString(),
10310
10503
  codpas: this.codigoPaso.toString(),
@@ -10321,6 +10514,7 @@ class MGrados extends MBasicModel {
10321
10514
  class MPrimasConcepto extends MBasicModel {
10322
10515
  constructor(e = null) {
10323
10516
  super();
10517
+ this.idEnterprise = 0;
10324
10518
  this.idEmpresa = 0;
10325
10519
  this.idPrimaConcepto = 0;
10326
10520
  this.idNomina = 0;
@@ -10330,6 +10524,7 @@ class MPrimasConcepto extends MBasicModel {
10330
10524
  this.codigoConcepto = '';
10331
10525
  this.nombreConcepto = '';
10332
10526
  if (e) {
10527
+ this.idEnterprise = +e.id_enterprise;
10333
10528
  this.idEmpresa = +e.id_empresa;
10334
10529
  this.idPrimaConcepto = +e.id_primaconcepto;
10335
10530
  this.idNomina = +e.id_nomina;
@@ -10345,7 +10540,8 @@ class MPrimasConcepto extends MBasicModel {
10345
10540
  }
10346
10541
  dataInterface() {
10347
10542
  return {
10348
- id_empresa: this.idEmpresa.toString(),
10543
+ id_enterprise: this.idEnterprise.toString(),
10544
+ id_empresa: this.idEmpresa,
10349
10545
  id_primaconcepto: this.idPrimaConcepto.toString(),
10350
10546
  id_nomina: this.idNomina.toString(),
10351
10547
  id_concepto: this.idConcepto.toString(),
@@ -10360,6 +10556,7 @@ class MPrimasConcepto extends MBasicModel {
10360
10556
  class MRequisitosConcursantes extends MBasicModel {
10361
10557
  constructor(e = null) {
10362
10558
  super();
10559
+ this.idEnterprise = 0;
10363
10560
  this.idEmpresa = 0;
10364
10561
  this.idConcurso = 0;
10365
10562
  this.idConcursante = 0;
@@ -10370,7 +10567,8 @@ class MRequisitosConcursantes extends MBasicModel {
10370
10567
  this.requisitosEntregado = '';
10371
10568
  this.cantidadEntregado = 0;
10372
10569
  if (e) {
10373
- this.idEmpresa = parseInt(e.id_empresa);
10570
+ this.idEnterprise = +e.id_enterprise;
10571
+ this.idEmpresa = +e.id_empresa;
10374
10572
  this.idConcursante = parseInt(e.id_concurso);
10375
10573
  this.idConcursante = parseInt(e.id_concursante);
10376
10574
  this.idRequisitos = parseInt(e.id_reqcon);
@@ -10386,7 +10584,8 @@ class MRequisitosConcursantes extends MBasicModel {
10386
10584
  }
10387
10585
  dataInterface() {
10388
10586
  return {
10389
- id_empresa: this.idEmpresa.toString(),
10587
+ id_enterprise: this.idEnterprise.toString(),
10588
+ id_empresa: this.idEmpresa,
10390
10589
  id_concurso: this.idConcurso.toString(),
10391
10590
  id_concursante: this.idConcurso.toString(),
10392
10591
  id_reqcon: this.idRequisitos.toString(),
@@ -10402,6 +10601,7 @@ class MRequisitosConcursantes extends MBasicModel {
10402
10601
  class MRequisitosMinimos extends MBasicModel {
10403
10602
  constructor(e) {
10404
10603
  super();
10604
+ this.idEnterprise = 0;
10405
10605
  this.idEmpresa = 0;
10406
10606
  this.idConcurso = 0;
10407
10607
  this.idConcursante = 0;
@@ -10418,7 +10618,8 @@ class MRequisitosMinimos extends MBasicModel {
10418
10618
  this.items = [];
10419
10619
  this.eliminarDetalles = [];
10420
10620
  if (e) {
10421
- this.idEmpresa = parseInt(e.id_empresa);
10621
+ this.idEnterprise = +e.id_enterprise;
10622
+ this.idEmpresa = +e.id_empresa;
10422
10623
  this.idConcursante;
10423
10624
  this.codigoConcursante = e.codper;
10424
10625
  this.nombreConcursante = e.nomper + ' ' + e.apeper;
@@ -10439,7 +10640,8 @@ class MRequisitosMinimos extends MBasicModel {
10439
10640
  }
10440
10641
  dataInterface() {
10441
10642
  return {
10442
- id_empresa: this.idEmpresa.toString(),
10643
+ id_enterprise: this.idEnterprise.toString(),
10644
+ id_empresa: this.idEmpresa,
10443
10645
  id_tipoeval: this.idTipoEvaluacion.toString(),
10444
10646
  id_concurso: this.idConcurso.toString(),
10445
10647
  id_reqmin: this.IdRequisitosMinimos.toString(),
@@ -10460,6 +10662,7 @@ class MRequisitosMinimos extends MBasicModel {
10460
10662
  }
10461
10663
  class MDtRequisitosMinimos {
10462
10664
  constructor(e) {
10665
+ this.idEnterprise = 0;
10463
10666
  this.idEmpresa = 0;
10464
10667
  this.idConcurso = 0;
10465
10668
  this.fechaEvaluacion = '1900-01-01';
@@ -10473,7 +10676,8 @@ class MDtRequisitosMinimos {
10473
10676
  this.idDtRequisito = 0;
10474
10677
  this.idConcursante = 0;
10475
10678
  if (e) {
10476
- this.idEmpresa = parseInt(e.id_empresa);
10679
+ this.idEnterprise = +e.id_enterprise;
10680
+ this.idEmpresa = +e.id_empresa;
10477
10681
  this.idConcurso = parseInt(e.id_concurso);
10478
10682
  this.idConcursante = parseInt(e.id_concursante);
10479
10683
  this.fechaEvaluacion = this.fechaEvaluacion;
@@ -10489,7 +10693,8 @@ class MDtRequisitosMinimos {
10489
10693
  }
10490
10694
  dataInterface() {
10491
10695
  return {
10492
- id_empresa: this.idEmpresa.toString(),
10696
+ id_enterprise: this.idEnterprise.toString(),
10697
+ id_empresa: this.idEmpresa,
10493
10698
  id_concurso: this.idConcurso.toString(),
10494
10699
  id_tipoeval: this.idTipoEvaluacion.toString(),
10495
10700
  id_aspecto: this.idAspecto.toString(),
@@ -10508,6 +10713,7 @@ class MDtRequisitosMinimos {
10508
10713
  class MSalarioHistorico extends MBasicModel {
10509
10714
  constructor(e = null) {
10510
10715
  super();
10716
+ this.idEnterprise = 0;
10511
10717
  this.idEmpresa = 0;
10512
10718
  this.idPersonal = 0;
10513
10719
  this.idDedicacion = 0;
@@ -10527,7 +10733,8 @@ class MSalarioHistorico extends MBasicModel {
10527
10733
  this.denominacionDedicacion = '';
10528
10734
  this.denominacionTipoPersonal = '';
10529
10735
  if (e) {
10530
- this.idEmpresa = parseInt(e.id_empresa);
10736
+ this.idEnterprise = +e.id_enterprise;
10737
+ this.idEmpresa = +e.id_empresa;
10531
10738
  this.idPersonal = parseInt(e.id_personal);
10532
10739
  this.idDedicacion = parseInt(e.id_dedicacion);
10533
10740
  this.idTipoPersonal = parseInt(e.id_tipopersonal);
@@ -10549,7 +10756,8 @@ class MSalarioHistorico extends MBasicModel {
10549
10756
  }
10550
10757
  dataInterface() {
10551
10758
  return {
10552
- id_empresa: this.idEmpresa.toString(),
10759
+ id_enterprise: this.idEnterprise.toString(),
10760
+ id_empresa: this.idEmpresa,
10553
10761
  id_personal: this.idPersonal.toString(),
10554
10762
  id_dedicacion: this.idDedicacion.toString(),
10555
10763
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -10574,6 +10782,7 @@ class MSalarioHistorico extends MBasicModel {
10574
10782
  class MSolicitudEmpleo extends MBasicModel {
10575
10783
  constructor(e = null) {
10576
10784
  super();
10785
+ this.idEnterprise = 0;
10577
10786
  this.idEmpresa = 0;
10578
10787
  this.idSolicitudEmpleo = 0;
10579
10788
  this.numeroSolicitud = '';
@@ -10610,7 +10819,8 @@ class MSolicitudEmpleo extends MBasicModel {
10610
10819
  this.pesoSolicitante = 0;
10611
10820
  this.competenciaPerfilSolicitante = '';
10612
10821
  if (e) {
10613
- this.idEmpresa = parseInt(e.id_empresa);
10822
+ this.idEnterprise = +e.id_enterprise;
10823
+ this.idEmpresa = +e.id_empresa;
10614
10824
  this.idSolicitudEmpleo = parseInt(e.id_solempleo);
10615
10825
  this.numeroSolicitud = e.nrosol;
10616
10826
  this.cedulaSolicitante = e.cedsol;
@@ -10649,7 +10859,8 @@ class MSolicitudEmpleo extends MBasicModel {
10649
10859
  }
10650
10860
  dataInterface() {
10651
10861
  return {
10652
- id_empresa: this.idEmpresa.toString(),
10862
+ id_enterprise: this.idEnterprise.toString(),
10863
+ id_empresa: this.idEmpresa,
10653
10864
  id_solempleo: this.idSolicitudEmpleo.toString(),
10654
10865
  nrosol: this.numeroSolicitud,
10655
10866
  cedsol: this.cedulaSolicitante,
@@ -10691,6 +10902,7 @@ class MSolicitudEmpleo extends MBasicModel {
10691
10902
  class MTablaVacacionesPeriodo extends MBasicModel {
10692
10903
  constructor(e = null) {
10693
10904
  super();
10905
+ this.idEnterprise = 0;
10694
10906
  this.idEmpresa = 0;
10695
10907
  this.idTablaVaciones = 0;
10696
10908
  this.lapsoPeriodoVacacional = 0;
@@ -10700,7 +10912,8 @@ class MTablaVacacionesPeriodo extends MBasicModel {
10700
10912
  this.diaAdicionalBonoVacacional = 0;
10701
10913
  this.idPeriodo = 0;
10702
10914
  if (e) {
10703
- this.idEmpresa = parseInt(e.id_empresa);
10915
+ this.idEnterprise = +e.id_enterprise;
10916
+ this.idEmpresa = +e.id_empresa;
10704
10917
  this.idTablaVaciones = parseInt(e.id_tabvac);
10705
10918
  this.lapsoPeriodoVacacional = parseInt(e.lappervac);
10706
10919
  this.diaAdicionalVacaciones = parseInt(e.diadisvac);
@@ -10712,7 +10925,8 @@ class MTablaVacacionesPeriodo extends MBasicModel {
10712
10925
  }
10713
10926
  dataInterface() {
10714
10927
  return {
10715
- id_empresa: this.idEmpresa.toString(),
10928
+ id_enterprise: this.idEnterprise.toString(),
10929
+ id_empresa: this.idEmpresa,
10716
10930
  id_tabvac: this.idTablaVaciones.toString(),
10717
10931
  lappervac: this.lapsoPeriodoVacacional.toString(),
10718
10932
  diadisvac: this.diaAdicionalVacaciones.toString(),
@@ -10726,6 +10940,7 @@ class MTablaVacacionesPeriodo extends MBasicModel {
10726
10940
 
10727
10941
  class MTablaVacaciones {
10728
10942
  constructor(e = null) {
10943
+ this.idEnterprise = 0;
10729
10944
  this.idEmpresa = 0;
10730
10945
  this.idTablaVacaciones = 0;
10731
10946
  this.codigoTablaVacaciones = '';
@@ -10735,7 +10950,8 @@ class MTablaVacaciones {
10735
10950
  this.diaVacacionCalculado = false;
10736
10951
  this.periodos = [];
10737
10952
  if (e) {
10738
- this.idEmpresa = parseInt(e.id_empresa);
10953
+ this.idEnterprise = +e.id_enterprise;
10954
+ this.idEmpresa = +e.id_empresa;
10739
10955
  this.idTablaVacaciones = parseInt(e.id_tabvac);
10740
10956
  this.codigoTablaVacaciones = e.codtabvac;
10741
10957
  this.denominacionTablaVacaciones = e.dentabvac;
@@ -10765,7 +10981,8 @@ class MTablaVacaciones {
10765
10981
  dia = '1';
10766
10982
  }
10767
10983
  return {
10768
- id_empresa: this.idEmpresa.toString(),
10984
+ id_enterprise: this.idEnterprise.toString(),
10985
+ id_empresa: this.idEmpresa,
10769
10986
  id_tabvac: this.idTablaVacaciones.toString(),
10770
10987
  codtabvac: this.codigoTablaVacaciones,
10771
10988
  dentabvac: this.denominacionTablaVacaciones,
@@ -10780,6 +10997,7 @@ class MTablaVacaciones {
10780
10997
  class MTabulador extends MBasicModel {
10781
10998
  constructor(e = null) {
10782
10999
  super();
11000
+ this.idEnterprise = 0;
10783
11001
  this.idEmpresa = 0;
10784
11002
  this.idTabulador = -1;
10785
11003
  this.codigoTabulador = '';
@@ -10793,7 +11011,8 @@ class MTabulador extends MBasicModel {
10793
11011
  this.eliminarNomina = [];
10794
11012
  this.eliminarPrima = [];
10795
11013
  if (e) {
10796
- this.idEmpresa = parseInt(e.id_empresa);
11014
+ this.idEnterprise = +e.id_enterprise;
11015
+ this.idEmpresa = +e.id_empresa;
10797
11016
  this.idTabulador = parseInt(e.id_tabulador);
10798
11017
  this.codigoTabulador = e.codtab;
10799
11018
  this.descripcionTabulador = e.destab;
@@ -10810,7 +11029,8 @@ class MTabulador extends MBasicModel {
10810
11029
  }
10811
11030
  dataInterface() {
10812
11031
  return {
10813
- id_empresa: this.idEmpresa.toString(),
11032
+ id_enterprise: this.idEnterprise.toString(),
11033
+ id_empresa: this.idEmpresa,
10814
11034
  id_tabulador: this.idTabulador.toString(),
10815
11035
  codtab: this.codigoTabulador,
10816
11036
  destab: this.descripcionTabulador,
@@ -10826,6 +11046,7 @@ class MTabulador extends MBasicModel {
10826
11046
  }
10827
11047
  class MTabuladorNominas {
10828
11048
  constructor(e = null) {
11049
+ this.idEnterprise = 0;
10829
11050
  this.idEmpresa = 0;
10830
11051
  this.idNomina = 0;
10831
11052
  this.idTabulador = 0;
@@ -10841,7 +11062,8 @@ class MTabuladorNominas {
10841
11062
  this.editable = false;
10842
11063
  this.calculada = false;
10843
11064
  if (e) {
10844
- this.idEmpresa = parseInt(e.id_empresa);
11065
+ this.idEnterprise = +e.id_enterprise;
11066
+ this.idEmpresa = +e.id_empresa;
10845
11067
  this.idNomina = parseInt(e.id_nomina);
10846
11068
  this.idTabulador = parseInt(e.id_tabulador);
10847
11069
  this.codigoNomina = e.codnom;
@@ -10857,7 +11079,8 @@ class MTabuladorNominas {
10857
11079
  }
10858
11080
  dataInterface() {
10859
11081
  return {
10860
- id_empresa: this.idEmpresa.toString(),
11082
+ id_enterprise: this.idEnterprise.toString(),
11083
+ id_empresa: this.idEmpresa,
10861
11084
  id_nomina: this.idNomina.toString(),
10862
11085
  id_tabulador: this.idTabulador.toString(),
10863
11086
  id_dt_tabnom: this.idDtNomina.toString()
@@ -10868,6 +11091,7 @@ class MTabuladorNominas {
10868
11091
  class MTipoEvaluacion extends MBasicModel {
10869
11092
  constructor(e = null) {
10870
11093
  super();
11094
+ this.idEnterprise = 0;
10871
11095
  this.idEmpresa = 0;
10872
11096
  this.idTipoEvaluacion = 0;
10873
11097
  this.idEscala = 0;
@@ -10876,7 +11100,8 @@ class MTipoEvaluacion extends MBasicModel {
10876
11100
  this.codigoEscala = '';
10877
11101
  this.denominacionEscala = '';
10878
11102
  if (e) {
10879
- this.idEmpresa = parseInt(e.id_empresa);
11103
+ this.idEnterprise = +e.id_enterprise;
11104
+ this.idEmpresa = +e.id_empresa;
10880
11105
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
10881
11106
  this.idEscala = parseInt(e.id_escala);
10882
11107
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -10887,7 +11112,8 @@ class MTipoEvaluacion extends MBasicModel {
10887
11112
  }
10888
11113
  dataInterface() {
10889
11114
  return {
10890
- id_empresa: this.idEmpresa.toString(),
11115
+ id_enterprise: this.idEnterprise.toString(),
11116
+ id_empresa: this.idEmpresa,
10891
11117
  id_tipoeval: this.idTipoEvaluacion.toString(),
10892
11118
  id_escala: this.idEscala.toString(),
10893
11119
  codtipeval: this.codigoTipoEvaluacion,
@@ -10899,6 +11125,7 @@ class MTipoEvaluacion extends MBasicModel {
10899
11125
  }
10900
11126
  class MTipoEvaluacionAspecto {
10901
11127
  constructor(e = null) {
11128
+ this.idEnterprise = 0;
10902
11129
  this.idEmpresa = 0;
10903
11130
  this.idTipoEvaluacion = 0;
10904
11131
  this.idEscala = 0;
@@ -10908,7 +11135,8 @@ class MTipoEvaluacionAspecto {
10908
11135
  this.denominacionEscala = '';
10909
11136
  this.aspectos = [];
10910
11137
  if (e) {
10911
- this.idEmpresa = parseInt(e.id_empresa);
11138
+ this.idEnterprise = +e.id_enterprise;
11139
+ this.idEmpresa = +e.id_empresa;
10912
11140
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
10913
11141
  this.idEscala = parseInt(e.id_escala);
10914
11142
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -10920,7 +11148,8 @@ class MTipoEvaluacionAspecto {
10920
11148
  }
10921
11149
  dataInterface() {
10922
11150
  return {
10923
- id_empresa: this.idEmpresa.toString(),
11151
+ id_enterprise: this.idEnterprise.toString(),
11152
+ id_empresa: this.idEmpresa,
10924
11153
  id_tipoeval: this.idTipoEvaluacion.toString(),
10925
11154
  id_escala: this.idEscala.toString(),
10926
11155
  codtipeval: this.codigoTipoEvaluacion,
@@ -10935,6 +11164,7 @@ class MTipoEvaluacionAspecto {
10935
11164
  class MTiposEnfermedad extends MBasicModel {
10936
11165
  constructor(e = null) {
10937
11166
  super();
11167
+ this.idEnterprise = 0;
10938
11168
  this.idEmpresa = 0;
10939
11169
  this.idEnfermedad = 0;
10940
11170
  this.codigoEnfermedad = '';
@@ -10943,7 +11173,8 @@ class MTiposEnfermedad extends MBasicModel {
10943
11173
  this.riesgoLetal = '';
10944
11174
  this.observacionEnfermedad = '';
10945
11175
  if (e) {
10946
- this.idEmpresa = parseInt(e.id_empresa);
11176
+ this.idEnterprise = +e.id_enterprise;
11177
+ this.idEmpresa = +e.id_empresa;
10947
11178
  this.idEnfermedad = parseInt(e.id_enfermedad);
10948
11179
  this.codigoEnfermedad = e.codenf;
10949
11180
  this.denominacionEnfermedad = e.denenf;
@@ -10954,7 +11185,8 @@ class MTiposEnfermedad extends MBasicModel {
10954
11185
  }
10955
11186
  dataInterface() {
10956
11187
  return {
10957
- id_empresa: this.idEmpresa.toString(),
11188
+ id_enterprise: this.idEnterprise.toString(),
11189
+ id_empresa: this.idEmpresa,
10958
11190
  id_enfermedad: this.idEnfermedad.toString(),
10959
11191
  codenf: this.codigoEnfermedad,
10960
11192
  denenf: this.denominacionEnfermedad,
@@ -10968,6 +11200,7 @@ class MTiposEnfermedad extends MBasicModel {
10968
11200
  class MTrabajoAnterior extends MBasicModel {
10969
11201
  constructor(e = null) {
10970
11202
  super();
11203
+ this.idEnterprise = 0;
10971
11204
  this.idEmpresa = 0;
10972
11205
  this.idPersonal = 0;
10973
11206
  this.idTrabajoAnterior = 0;
@@ -10986,6 +11219,7 @@ class MTrabajoAnterior extends MBasicModel {
10986
11219
  this.codigoTrabajoAnterior = '';
10987
11220
  this.TipoEmpresa = TipoEmpresa;
10988
11221
  if (e) {
11222
+ this.idEnterprise = +e.id_enterprise;
10989
11223
  this.idEmpresa = +e.id_empresa;
10990
11224
  this.idPersonal = +e.id_personal;
10991
11225
  this.idTrabajoAnterior = +e.id_trabajoant;
@@ -11006,6 +11240,7 @@ class MTrabajoAnterior extends MBasicModel {
11006
11240
  }
11007
11241
  dataInterface() {
11008
11242
  return {
11243
+ id_enterprise: this.idEnterprise.toString(),
11009
11244
  id_empresa: this.idEmpresa,
11010
11245
  id_personal: this.idPersonal,
11011
11246
  id_trabajoant: this.idTrabajoAnterior,
@@ -11028,6 +11263,7 @@ class MTrabajoAnterior extends MBasicModel {
11028
11263
  class MUbicacionFisica extends MBasicModel {
11029
11264
  constructor(e = null) {
11030
11265
  super();
11266
+ this.idEnterprise = 0;
11031
11267
  this.idEmpresa = 0;
11032
11268
  this.idUbicacionFisica = 0;
11033
11269
  this.codigoUbicacionFisica = '';
@@ -11043,7 +11279,8 @@ class MUbicacionFisica extends MBasicModel {
11043
11279
  this.direccionUbicacionFisica = '';
11044
11280
  this.tiempoTrasladoUbicacionFisica = '';
11045
11281
  if (e) {
11046
- this.idEmpresa = parseInt(e.id_empresa);
11282
+ this.idEnterprise = +e.id_enterprise;
11283
+ this.idEmpresa = +e.id_empresa;
11047
11284
  this.idUbicacionFisica = parseInt(e.id_ubifis);
11048
11285
  this.codigoUbicacionFisica = e.codubifis;
11049
11286
  this.denominacionUbicacionFisica = e.denubifis;
@@ -11064,7 +11301,8 @@ class MUbicacionFisica extends MBasicModel {
11064
11301
  }
11065
11302
  dataInterface() {
11066
11303
  return {
11067
- id_empresa: this.idEmpresa.toString(),
11304
+ id_enterprise: this.idEnterprise.toString(),
11305
+ id_empresa: this.idEmpresa,
11068
11306
  id_ubifis: this.idUbicacionFisica.toString(),
11069
11307
  codubifis: this.codigoUbicacionFisica,
11070
11308
  denubifis: this.denominacionUbicacionFisica,
@@ -11085,6 +11323,7 @@ class MUbicacionFisica extends MBasicModel {
11085
11323
  class MVacacionesPersonal extends MBasicModel {
11086
11324
  constructor(e = null) {
11087
11325
  super();
11326
+ this.idEnterprise = 0;
11088
11327
  this.idEmpresa = 0;
11089
11328
  this.idPersonal = 0;
11090
11329
  this.idVacacionesPersonal = 0;
@@ -11119,7 +11358,8 @@ class MVacacionesPersonal extends MBasicModel {
11119
11358
  this.diasHabiles = 0;
11120
11359
  this.procesarFueraPeriodo = 0;
11121
11360
  if (e) {
11122
- this.idEmpresa = parseInt(e.id_empresa);
11361
+ this.idEnterprise = +e.id_enterprise;
11362
+ this.idEmpresa = +e.id_empresa;
11123
11363
  this.idPersonal = parseInt(e.id_personal);
11124
11364
  this.idVacacionesPersonal = parseInt(e.id_vacper);
11125
11365
  this.codigoVacaciones = parseInt(e.codvac);
@@ -11156,7 +11396,8 @@ class MVacacionesPersonal extends MBasicModel {
11156
11396
  }
11157
11397
  dataInterface() {
11158
11398
  return {
11159
- id_empresa: this.idEmpresa.toString(),
11399
+ id_enterprise: this.idEnterprise.toString(),
11400
+ id_empresa: this.idEmpresa,
11160
11401
  id_personal: this.idPersonal.toString(),
11161
11402
  id_vacper: this.idVacacionesPersonal.toString(),
11162
11403
  codvac: this.codigoVacaciones.toString(),
@@ -11196,6 +11437,7 @@ class MVacacionesPersonal extends MBasicModel {
11196
11437
  class MEncargaduria extends MBasicModel {
11197
11438
  constructor(e) {
11198
11439
  super();
11440
+ this.idEnterprise = 0;
11199
11441
  this.idEmpresa = 0;
11200
11442
  this.idPersonalNomina = 0;
11201
11443
  this.idEncargaduria = 0;
@@ -11237,7 +11479,8 @@ class MEncargaduria extends MBasicModel {
11237
11479
  this.denominacionNominaEncargado = '';
11238
11480
  this.denominacionEstatusEncargaduria = '';
11239
11481
  if (e) {
11240
- this.idEmpresa = parseInt(e.id_empresa);
11482
+ this.idEnterprise = +e.id_enterprise;
11483
+ this.idEmpresa = +e.id_empresa;
11241
11484
  this.idPersonalNomina = parseInt(e.id_personalnomina);
11242
11485
  this.idEncargaduria = parseInt(e.id_encargaduria);
11243
11486
  this.codigoEncargaduria = e.codenc;
@@ -11284,7 +11527,8 @@ class MEncargaduria extends MBasicModel {
11284
11527
  }
11285
11528
  dataInterface() {
11286
11529
  return {
11287
- id_empresa: this.idEmpresa.toString(),
11530
+ id_enterprise: this.idEnterprise.toString(),
11531
+ id_empresa: this.idEmpresa,
11288
11532
  id_personalnomina: this.idPersonalNomina.toString(),
11289
11533
  id_encargaduria: this.idEncargaduria.toString(),
11290
11534
  codenc: this.codigoEncargaduria,
@@ -11330,6 +11574,7 @@ class MEncargaduria extends MBasicModel {
11330
11574
  class MCodigoUnicoRac extends MBasicModel {
11331
11575
  constructor(e) {
11332
11576
  super();
11577
+ this.idEnterprise = 0;
11333
11578
  this.idEmpresa = 0;
11334
11579
  this.idCargoPersonal = 0;
11335
11580
  this.idNomina = 0;
@@ -11338,7 +11583,8 @@ class MCodigoUnicoRac extends MBasicModel {
11338
11583
  this.idCodigoUnicoRac = 0;
11339
11584
  this.denominacionEstatus = '';
11340
11585
  if (e) {
11341
- this.idEmpresa = parseInt(e.id_empresa);
11586
+ this.idEnterprise = +e.id_enterprise;
11587
+ this.idEmpresa = +e.id_empresa;
11342
11588
  this.idCargoPersonal = parseInt(e.id_carper);
11343
11589
  this.idNomina = parseInt(e.id_nomina);
11344
11590
  this.idCodigoUnicoRac = parseInt(e.id_codunirac);
@@ -11352,7 +11598,8 @@ class MCodigoUnicoRac extends MBasicModel {
11352
11598
  }
11353
11599
  dataInterface() {
11354
11600
  return {
11355
- id_empresa: this.idEmpresa.toString(),
11601
+ id_enterprise: this.idEnterprise.toString(),
11602
+ id_empresa: this.idEmpresa,
11356
11603
  id_carper: this.idCargoPersonal.toString(),
11357
11604
  id_nomina: this.idNomina.toString(),
11358
11605
  codunirac: this.codigoUnicoRac,
@@ -11365,6 +11612,7 @@ class MCodigoUnicoRac extends MBasicModel {
11365
11612
  class MPersonalJubilado extends MBasicModel {
11366
11613
  constructor(e) {
11367
11614
  super();
11615
+ this.idEnterprise = 0;
11368
11616
  this.idEmpresa = 0;
11369
11617
  this.idPersonal = 0;
11370
11618
  this.idJubilacion = 0;
@@ -11376,7 +11624,8 @@ class MPersonalJubilado extends MBasicModel {
11376
11624
  this.fechaFeVida = '1900-01-01';
11377
11625
  this.tipoJubilacion = 0;
11378
11626
  if (e) {
11379
- this.idEmpresa = parseInt(e.id_empresa);
11627
+ this.idEnterprise = +e.id_enterprise;
11628
+ this.idEmpresa = +e.id_empresa;
11380
11629
  this.idPersonal = parseInt(e.id_personal);
11381
11630
  this.idJubilacion = parseInt(e.id_jubilado);
11382
11631
  this.primeraRemuneracion = parseFloat(e.prirem);
@@ -11393,7 +11642,8 @@ class MPersonalJubilado extends MBasicModel {
11393
11642
  }
11394
11643
  dataInterface() {
11395
11644
  return {
11396
- id_empresa: this.idEmpresa.toString(),
11645
+ id_enterprise: this.idEnterprise.toString(),
11646
+ id_empresa: this.idEmpresa,
11397
11647
  id_personal: this.idPersonal.toString(),
11398
11648
  id_jubilado: this.idJubilacion.toString(),
11399
11649
  prirem: this.primeraRemuneracion.toString(),
@@ -11410,6 +11660,7 @@ class MPersonalJubilado extends MBasicModel {
11410
11660
  class MPermisos extends MBasicModel {
11411
11661
  constructor(e) {
11412
11662
  super();
11663
+ this.idEnterprise = 0;
11413
11664
  this.idEmpresa = 0;
11414
11665
  this.idPersonal = 0;
11415
11666
  this.idPermiso = 0;
@@ -11428,6 +11679,7 @@ class MPermisos extends MBasicModel {
11428
11679
  this.denominacionEnfermedad = '';
11429
11680
  this.TipoPermiso = TipoPermiso;
11430
11681
  if (e) {
11682
+ this.idEnterprise = +e.id_enterprise;
11431
11683
  this.idEmpresa = +e.id_empresa;
11432
11684
  this.idPersonal = +e.id_personal;
11433
11685
  this.idPermiso = +e.id_permiso;
@@ -11451,6 +11703,7 @@ class MPermisos extends MBasicModel {
11451
11703
  }
11452
11704
  dataInterface() {
11453
11705
  return {
11706
+ id_enterprise: this.idEnterprise.toString(),
11454
11707
  id_empresa: this.idEmpresa,
11455
11708
  id_personal: this.idPersonal,
11456
11709
  id_permiso: this.idPermiso,
@@ -11536,6 +11789,7 @@ class MPlantillasConstancia extends MBasicModel {
11536
11789
  class MImpuestoSobreRenta extends MBasicModel {
11537
11790
  constructor(e) {
11538
11791
  super();
11792
+ this.idEnterprise = 0;
11539
11793
  this.idEmpresa = 0;
11540
11794
  this.idPersonal = 0;
11541
11795
  this.idImpuestoSobreRenta = 0;
@@ -11555,6 +11809,7 @@ class MImpuestoSobreRenta extends MBasicModel {
11555
11809
  this.diciembre = 0;
11556
11810
  this.denominacionConcepto = '';
11557
11811
  if (e) {
11812
+ this.idEnterprise = +e.id_enterprise;
11558
11813
  this.idEmpresa = +e.id_empresa;
11559
11814
  this.idPersonal = +e.id_personal;
11560
11815
  this.idImpuestoSobreRenta = +e.id_isr;
@@ -11580,6 +11835,7 @@ class MImpuestoSobreRenta extends MBasicModel {
11580
11835
  }
11581
11836
  dataInterface() {
11582
11837
  return {
11838
+ id_enterprise: this.idEnterprise.toString(),
11583
11839
  id_empresa: this.idEmpresa,
11584
11840
  id_personal: this.idPersonal,
11585
11841
  id_isr: this.idImpuestoSobreRenta,
@@ -11605,6 +11861,7 @@ class MImpuestoSobreRenta extends MBasicModel {
11605
11861
  class MMetodoBanco extends MBasicModel {
11606
11862
  constructor(e = null) {
11607
11863
  super();
11864
+ this.idEnterprise = 0;
11608
11865
  this.idEmpresa = 0;
11609
11866
  this.idMetodoBanco = 0;
11610
11867
  this.id = 0;
@@ -11620,7 +11877,8 @@ class MMetodoBanco extends MBasicModel {
11620
11877
  this.numeroConvenio = '';
11621
11878
  this.activo = 0;
11622
11879
  if (e) {
11623
- this.idEmpresa = parseInt(e.id_empresa);
11880
+ this.idEnterprise = +e.id_enterprise;
11881
+ this.idEmpresa = +e.id_empresa;
11624
11882
  this.idMetodoBanco = parseInt(e.id_metbco);
11625
11883
  this.codigoMetodo = e.codmet;
11626
11884
  this.denominacionMetodo = e.denmet;
@@ -11641,7 +11899,8 @@ class MMetodoBanco extends MBasicModel {
11641
11899
  }
11642
11900
  dataInterface() {
11643
11901
  return {
11644
- id_empresa: this.idEmpresa.toString(),
11902
+ id_enterprise: this.idEnterprise.toString(),
11903
+ id_empresa: this.idEmpresa,
11645
11904
  id_metbco: this.idMetodoBanco.toString(),
11646
11905
  codmet: this.codigoMetodo,
11647
11906
  denmet: this.denominacionMetodo,
@@ -11661,6 +11920,7 @@ class MMetodoBanco extends MBasicModel {
11661
11920
  class MMetodos extends MBasicModel {
11662
11921
  constructor(e = null) {
11663
11922
  super();
11923
+ this.idEnterprise = 0;
11664
11924
  this.idEmpresa = 0;
11665
11925
  this.idMetodo = 0;
11666
11926
  this.codigoMetodo = '';
@@ -11671,7 +11931,8 @@ class MMetodos extends MBasicModel {
11671
11931
  this.montoDescuentoDia = 0;
11672
11932
  this.numeroTarjeta = '';
11673
11933
  if (e) {
11674
- this.idEmpresa = parseInt(e.id_empresa);
11934
+ this.idEnterprise = +e.id_enterprise;
11935
+ this.idEmpresa = +e.id_empresa;
11675
11936
  this.idMetodo = parseInt(e.id_metodo);
11676
11937
  this.codigoMetodo = e.codmet;
11677
11938
  this.denominacionMetodo = e.denmet;
@@ -11687,7 +11948,8 @@ class MMetodos extends MBasicModel {
11687
11948
  }
11688
11949
  dataInterface() {
11689
11950
  return {
11690
- id_empresa: this.idEmpresa.toString(),
11951
+ id_enterprise: this.idEnterprise.toString(),
11952
+ id_empresa: this.idEmpresa,
11691
11953
  id_metodo: this.idMetodo.toString(),
11692
11954
  codmet: this.codigoMetodo,
11693
11955
  denmet: this.denominacionMetodo,
@@ -11703,6 +11965,7 @@ class MMetodos extends MBasicModel {
11703
11965
  class MPrestamo extends MBasicModel {
11704
11966
  constructor(e = null) {
11705
11967
  super();
11968
+ this.idEnterprise = 0;
11706
11969
  this.idEmpresa = 0;
11707
11970
  this.idPersonal = 0;
11708
11971
  this.idPrestamo = 0;
@@ -11733,6 +11996,7 @@ class MPrestamo extends MBasicModel {
11733
11996
  this.periodos = [];
11734
11997
  this.amortizacion = [];
11735
11998
  if (e) {
11999
+ this.idEnterprise = +e.id_enterprise;
11736
12000
  this.idEmpresa = +e.id_empresa;
11737
12001
  this.idPrestamo = +e.id_prestamo;
11738
12002
  this.idPersonal = +e.id_personal;
@@ -11769,6 +12033,7 @@ class MPrestamo extends MBasicModel {
11769
12033
  }
11770
12034
  dataInterface() {
11771
12035
  return {
12036
+ id_enterprise: this.idEnterprise.toString(),
11772
12037
  id_empresa: this.idEmpresa,
11773
12038
  id_personal: this.idPersonal,
11774
12039
  id_prestamo: this.idPrestamo,
@@ -11827,6 +12092,7 @@ class MPrestamo extends MBasicModel {
11827
12092
  class MPrestamosPeriodo extends MBasicModel {
11828
12093
  constructor(e) {
11829
12094
  super();
12095
+ this.idEnterprise = 0;
11830
12096
  this.idEmpresa = 0;
11831
12097
  this.idPersonal = 0;
11832
12098
  this.idPrestamo = 0;
@@ -11837,6 +12103,7 @@ class MPrestamosPeriodo extends MBasicModel {
11837
12103
  this.montoCuota = 0;
11838
12104
  this.estatusCuota = 0;
11839
12105
  if (e) {
12106
+ this.idEnterprise = +e.id_enterprise;
11840
12107
  this.idEmpresa = +e.id_empresa;
11841
12108
  this.idPersonal = +e.id_personal;
11842
12109
  this.idPrestamo = +e.id_prestamo;
@@ -11855,6 +12122,7 @@ class MPrestamosPeriodo extends MBasicModel {
11855
12122
  }
11856
12123
  dataInterface() {
11857
12124
  return {
12125
+ id_enterprise: this.idEnterprise.toString(),
11858
12126
  id_empresa: this.idEmpresa,
11859
12127
  id_personal: this.idPersonal,
11860
12128
  id_prestamo: this.idPrestamo,
@@ -11878,6 +12146,7 @@ class MPrestamosPeriodo extends MBasicModel {
11878
12146
  class MPrestamoAmortizacion extends MBasicModel {
11879
12147
  constructor(e) {
11880
12148
  super();
12149
+ this.idEnterprise = 0;
11881
12150
  this.idEmpresa = 0;
11882
12151
  this.idPersonal = 0;
11883
12152
  this.idPrestamo = 0;
@@ -11887,6 +12156,7 @@ class MPrestamoAmortizacion extends MBasicModel {
11887
12156
  this.montoAmortizacion = 0;
11888
12157
  this.descripcionAmortizacion = '';
11889
12158
  if (e) {
12159
+ this.idEnterprise = +e.id_enterprise;
11890
12160
  this.idEmpresa = +e.id_empresa;
11891
12161
  this.idPersonal = +e.id_personal;
11892
12162
  this.idPrestamo = +e.id_prestamo;
@@ -11899,6 +12169,7 @@ class MPrestamoAmortizacion extends MBasicModel {
11899
12169
  }
11900
12170
  dataInterface() {
11901
12171
  return {
12172
+ id_enterprise: this.idEnterprise.toString(),
11902
12173
  id_empresa: this.idEmpresa,
11903
12174
  id_personal: this.idPersonal,
11904
12175
  id_prestamo: this.idPrestamo,
@@ -12365,6 +12636,7 @@ const moment$2 = require("moment");
12365
12636
  class MSnoLog extends MBasicModel {
12366
12637
  constructor(e) {
12367
12638
  super();
12639
+ this.idEnterprise = 0;
12368
12640
  this.idEmpresa = 0;
12369
12641
  this.idPersonal = 0;
12370
12642
  this.idAuditoriaPersonal = 0;
@@ -12380,6 +12652,7 @@ class MSnoLog extends MBasicModel {
12380
12652
  this.evento = '';
12381
12653
  this.campoPermitido = Campos;
12382
12654
  if (e) {
12655
+ this.idEnterprise = +e.id_enterprise;
12383
12656
  this.idEmpresa = +e.id_empresa;
12384
12657
  this.idPersonal = +e.id_personal;
12385
12658
  this.idAuditoriaPersonal = +e.id_auditoria_personal;
@@ -12400,7 +12673,8 @@ class MSnoLog extends MBasicModel {
12400
12673
  }
12401
12674
  dataInteface() {
12402
12675
  return {
12403
- id_empresa: this.idEmpresa.toString(),
12676
+ id_enterprise: this.idEnterprise.toString(),
12677
+ id_empresa: this.idEmpresa,
12404
12678
  id_personal: this.idPersonal.toString(),
12405
12679
  id_auditoria_personal: this.idAuditoriaPersonal.toString(),
12406
12680
  id_registro: this.idRegistro.toString(),
@@ -12417,8 +12691,10 @@ class MSnoLog extends MBasicModel {
12417
12691
  }
12418
12692
  }
12419
12693
 
12694
+ const moment$3 = require("moment");
12420
12695
  class MPlanHorario {
12421
12696
  constructor(e = null) {
12697
+ this.idEnterprise = 0;
12422
12698
  this.idEmpresa = 0;
12423
12699
  this.idPlanHorario = 0;
12424
12700
  this.idNomina = 0;
@@ -12432,6 +12708,7 @@ class MPlanHorario {
12432
12708
  this.denominacionNomina = '';
12433
12709
  this.periodos = [];
12434
12710
  if (e) {
12711
+ this.idEnterprise = +e.id_enterprise;
12435
12712
  this.idEmpresa = +e.id_empresa;
12436
12713
  this.idPlanHorario = +e.id_planhor;
12437
12714
  this.idNomina = e.id_nomina;
@@ -12450,6 +12727,7 @@ class MPlanHorario {
12450
12727
  }
12451
12728
  dataInterface() {
12452
12729
  return {
12730
+ id_enterprise: this.idEnterprise.toString(),
12453
12731
  id_empresa: this.idEmpresa,
12454
12732
  id_planhor: this.idPlanHorario,
12455
12733
  id_nomina: this.idNomina,
@@ -12465,6 +12743,7 @@ class MPlanHorario {
12465
12743
  }
12466
12744
  class MPeriodosPlan {
12467
12745
  constructor(e) {
12746
+ this.idEnterprise = 0;
12468
12747
  this.idEmpresa = 0;
12469
12748
  this.idPlanHorario = 0;
12470
12749
  this.denominacionPeriodoPlan = '';
@@ -12474,75 +12753,56 @@ class MPeriodosPlan {
12474
12753
  this.codigoPeriodoNomina = '';
12475
12754
  this.tipoFeriado = false;
12476
12755
  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
12756
  this.idHora = 0;
12514
12757
  this.incidencias = [];
12515
- this.descripcionHorario = '';
12516
- this.idDetalle = 0;
12517
12758
  this.codigoHorario = '';
12518
12759
  this.denominacionHorario = '';
12519
12760
  this.horaInicio = '';
12520
12761
  this.horaFinal = '';
12762
+ this.denomiacionFecha = '';
12763
+ this.dia = '';
12764
+ this.descripcionHorario = '';
12521
12765
  if (e) {
12522
- this.idEmpresa = e.id_empresa;
12766
+ this.idEnterprise = +e.id_enterprise;
12767
+ this.idEmpresa = +e.id_empresa;
12523
12768
  this.idPlanHorario = e.id_planhor;
12769
+ this.denominacionPeriodoPlan = e.denperplan;
12770
+ this.fechaPeriodoPlan = e.fecperplan;
12771
+ this.idPeriodo = e.id_periodo;
12524
12772
  this.idPeriodoPlan = e.id_perplan;
12773
+ this.codigoPeriodoNomina = e.codperi;
12774
+ this.tipoFeriado = e.tipfer == '1' ? true : false;
12775
+ moment$3.locale('es');
12776
+ let day = moment$3(this.fechaPeriodoPlan);
12777
+ let dia = moment$3.weekdays(day.day());
12778
+ this.denomiacionFecha = dia + ', ' + moment$3(this.fechaPeriodoPlan).format('DD-MM-YYYY');
12779
+ if (this.tipoFeriado && dia != 'domingo') {
12780
+ this.simboloFeriado = 'check_small';
12781
+ }
12525
12782
  this.idHora = e.id_hora;
12526
12783
  this.codigoHorario = e.codhor;
12527
12784
  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
12785
  if (e.incidencias != '') {
12531
12786
  this.incidencias = e.incidencias.split(',');
12532
12787
  }
12533
12788
  ;
12534
- this.idDetalle = e.id_dt_horperplan;
12789
+ this.horaInicio = moment$3(e.horini, 'H:m:s').format('h:mm a');
12790
+ this.horaFinal = moment$3(e.horfin, 'H:m:s').format('h:mm a');
12535
12791
  this.descripcionHorario = this.codigoHorario + ' - ' + this.denominacionHorario + ' - ' + this.horaInicio + '-' + this.horaFinal;
12536
12792
  }
12537
12793
  }
12538
12794
  dataInterface() {
12539
12795
  return {
12796
+ id_enterprise: this.idEnterprise.toString(),
12540
12797
  id_empresa: this.idEmpresa,
12541
12798
  id_planhor: this.idPlanHorario,
12799
+ denperplan: this.denominacionPeriodoPlan,
12800
+ fecperplan: this.fechaPeriodoPlan,
12801
+ id_periodo: this.idPeriodo,
12542
12802
  id_perplan: this.idPeriodoPlan,
12803
+ tipfer: this.tipoFeriado ? '1' : '0',
12543
12804
  id_hora: this.idHora,
12544
12805
  incidencias: this.incidencias.length > 0 ? this.incidencias.join(',') : "",
12545
- id_dt_horperplan: this.idDetalle,
12546
12806
  };
12547
12807
  }
12548
12808
  }
@@ -12578,5 +12838,5 @@ class customPaginator extends MatPaginatorIntl {
12578
12838
  * Generated bundle index. Do not edit.
12579
12839
  */
12580
12840
 
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 };
12841
+ 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
12842
  //# sourceMappingURL=sigesp.js.map