sigesp 0.9.8-20221205 → 0.9.10-20221210

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/bundles/sigesp.umd.js +532 -281
  2. package/bundles/sigesp.umd.js.map +1 -1
  3. package/bundles/sigesp.umd.min.js +15 -1
  4. package/bundles/sigesp.umd.min.js.map +1 -1
  5. package/esm2015/lib/core/interfaces/Auditoria.js +1 -1
  6. package/esm2015/lib/core/interfaces/Clasificacion.js +1 -1
  7. package/esm2015/lib/core/interfaces/CuentasPorPagar.js +1 -1
  8. package/esm2015/lib/core/interfaces/Nomina.js +1 -1
  9. package/esm2015/lib/core/interfaces/RecursosHumanos.js +1 -1
  10. package/esm2015/lib/core/models/CXP/MConceptosCXP.model.js +6 -3
  11. package/esm2015/lib/core/models/CXP/MTipoDocumentoCXP.model.js +6 -3
  12. package/esm2015/lib/core/models/RPC/clasification.model.js +4 -2
  13. package/esm2015/lib/core/models/SNO/MAnticipoPrestaciones.model.js +4 -1
  14. package/esm2015/lib/core/models/SNO/MArchivoTxtCampo.model.js +6 -3
  15. package/esm2015/lib/core/models/SNO/MArchivosTxt.model.js +6 -3
  16. package/esm2015/lib/core/models/SNO/MAsignacionCargo.model.js +6 -3
  17. package/esm2015/lib/core/models/SNO/MAspectoEvaluacion.model.js +11 -5
  18. package/esm2015/lib/core/models/SNO/MAuditoria.model.js +5 -2
  19. package/esm2015/lib/core/models/SNO/MBeneficiario.model.js +6 -3
  20. package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +6 -2
  21. package/esm2015/lib/core/models/SNO/MClasificacionObrero.mdel.js +6 -3
  22. package/esm2015/lib/core/models/SNO/MCodigoUnicoRac.model.js +6 -3
  23. package/esm2015/lib/core/models/SNO/MComponete.model.js +6 -3
  24. package/esm2015/lib/core/models/SNO/MConceptoVacaciones.model.js +5 -2
  25. package/esm2015/lib/core/models/SNO/MConceptosNomina.model.js +5 -2
  26. package/esm2015/lib/core/models/SNO/MConceptosPersonalNomina.model.js +6 -3
  27. package/esm2015/lib/core/models/SNO/MConcursante.model.js +26 -11
  28. package/esm2015/lib/core/models/SNO/MConcurso.model.js +21 -9
  29. package/esm2015/lib/core/models/SNO/MConfiguracionSNO.model.js +5 -2
  30. package/esm2015/lib/core/models/SNO/MConstanteNomina.model.js +5 -2
  31. package/esm2015/lib/core/models/SNO/MConstantePersonalNomina.model.js +5 -2
  32. package/esm2015/lib/core/models/SNO/MDedicacion.model.js +6 -3
  33. package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +6 -3
  34. package/esm2015/lib/core/models/SNO/MDefinicionesBasicas.model.js +12 -3
  35. package/esm2015/lib/core/models/SNO/MDeudaAnterior.model.js +4 -1
  36. package/esm2015/lib/core/models/SNO/MEncargaduria.model.js +6 -3
  37. package/esm2015/lib/core/models/SNO/MEscalaEvaluacion.model.js +6 -3
  38. package/esm2015/lib/core/models/SNO/MEscalaEvaluacionDt.model.js +6 -3
  39. package/esm2015/lib/core/models/SNO/MEstructuraOrganizativa.model.js +6 -3
  40. package/esm2015/lib/core/models/SNO/MFamiliares.model.js +6 -3
  41. package/esm2015/lib/core/models/SNO/MFideicomiso.model.js +27 -9
  42. package/esm2015/lib/core/models/SNO/MFormacionAcademica.model.js +6 -3
  43. package/esm2015/lib/core/models/SNO/MGrado.model.js +6 -3
  44. package/esm2015/lib/core/models/SNO/MHojaTiempo.model.js +7 -2
  45. package/esm2015/lib/core/models/SNO/MImpuestoSobreRenta.model.js +4 -1
  46. package/esm2015/lib/core/models/SNO/MMetodoBanco.model.js +11 -5
  47. package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +6 -3
  48. package/esm2015/lib/core/models/SNO/MPeriodoNomina.model.js +6 -3
  49. package/esm2015/lib/core/models/SNO/MPermisos.model.js +4 -1
  50. package/esm2015/lib/core/models/SNO/MPersonal.model.js +27 -9
  51. package/esm2015/lib/core/models/SNO/MPersonalJubilado.model.js +6 -3
  52. package/esm2015/lib/core/models/SNO/MPersonalNomina.model.js +13 -3
  53. package/esm2015/lib/core/models/SNO/MPlanHorario.model.js +30 -45
  54. package/esm2015/lib/core/models/SNO/MPrestamo.model.js +10 -1
  55. package/esm2015/lib/core/models/SNO/MPrimaGrados.model.js +6 -3
  56. package/esm2015/lib/core/models/SNO/MPrimasConcepto.model.js +5 -2
  57. package/esm2015/lib/core/models/SNO/MRango.model.js +6 -3
  58. package/esm2015/lib/core/models/SNO/MRequisitosConcursante.model.js +6 -3
  59. package/esm2015/lib/core/models/SNO/MRequisitosConcursos.model.js +6 -3
  60. package/esm2015/lib/core/models/SNO/MRequisitosMinimos.model.js +11 -5
  61. package/esm2015/lib/core/models/SNO/MSalarioHistorico.model.js +6 -3
  62. package/esm2015/lib/core/models/SNO/MSolicitudEmpleo.model.js +6 -3
  63. package/esm2015/lib/core/models/SNO/MTablaVacaciones.model.js +6 -3
  64. package/esm2015/lib/core/models/SNO/MTablaVacacionesPeriodo.model.js +6 -3
  65. package/esm2015/lib/core/models/SNO/MTabulador.model.js +11 -5
  66. package/esm2015/lib/core/models/SNO/MTipoEvaluacion.model.js +11 -5
  67. package/esm2015/lib/core/models/SNO/MTipoPersonal.model.js +6 -3
  68. package/esm2015/lib/core/models/SNO/MTiposEnfermedad.model.js +6 -3
  69. package/esm2015/lib/core/models/SNO/MTrabajoAnterior.model.js +4 -1
  70. package/esm2015/lib/core/models/SNO/MUbicacionFisica.model.js +6 -3
  71. package/esm2015/lib/core/models/SNO/MVacacionesPersonal.model.js +6 -3
  72. package/esm2015/lib/core/models/SNO/McargaFamiliar.model.js +6 -3
  73. package/esm2015/lib/sigesp.service.js +18 -2
  74. package/esm2015/public-api.js +2 -2
  75. package/fesm2015/sigesp.js +524 -251
  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/lib/sigesp.service.d.ts +8 -0
  146. package/package.json +1 -1
  147. package/public-api.d.ts +1 -1
  148. 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() {
@@ -61,10 +60,77 @@ class MBasicModel {
61
60
  }
62
61
  }
63
62
 
63
+ class MEnterprise extends MBasicModel {
64
+ constructor(e) {
65
+ super();
66
+ this.idEmpresa = 0;
67
+ this.idEnterprise = 0;
68
+ this.codigo = '';
69
+ this.razonSocial = '';
70
+ this.titulo = '';
71
+ this.logo = '';
72
+ this.rif = '';
73
+ this.direccion = '';
74
+ this.cuentaIngreso = '';
75
+ this.CuentaPorCobrar = '';
76
+ this.CuentaIva = '';
77
+ this.cuentaInventario = '';
78
+ this.cuentaUtilidad = '';
79
+ this.cuentaPerdida = '';
80
+ this.cuentaPasivoDiferido = '';
81
+ this.cuentAnterior = '';
82
+ this.cuentSobrante = '';
83
+ if (e) {
84
+ this.idEmpresa = +e.id_empresa;
85
+ this.idEnterprise = +e.id_enterprise;
86
+ this.codigo = e.codigo;
87
+ this.razonSocial = e.denominacion;
88
+ this.titulo = e.titulo;
89
+ this.logo = e.logo;
90
+ this.rif = e.rif;
91
+ this.direccion = e.direccion;
92
+ this.cuentaIngreso = e.spi_cuenta;
93
+ this.CuentaPorCobrar = e.sc_cuenta_cxc;
94
+ this.CuentaIva = e.sc_cuenta_iva;
95
+ this.cuentaInventario = e.sc_cuenta_inventario;
96
+ this.cuentaUtilidad = e.sc_cuenta_utilidad;
97
+ this.cuentaPerdida = e.sc_cuenta_perdida;
98
+ this.cuentaPasivoDiferido = e.sc_cuenta_pasivo_diferido;
99
+ this.cuentAnterior = e.sc_cuenta_ant;
100
+ this.cuentSobrante = e.spi_cuenta_sobrante;
101
+ }
102
+ else {
103
+ this.isNew = true;
104
+ }
105
+ }
106
+ dataInterface() {
107
+ return {
108
+ id_empresa: this.idEmpresa.toString(),
109
+ id_enterprise: this.idEnterprise.toString(),
110
+ codigo: this.codigo,
111
+ denominacion: this.razonSocial,
112
+ titulo: this.titulo,
113
+ logo: this.logo,
114
+ rif: this.rif,
115
+ direccion: this.direccion,
116
+ spi_cuenta: this.cuentaIngreso,
117
+ sc_cuenta_cxc: this.CuentaPorCobrar,
118
+ sc_cuenta_iva: this.CuentaIva,
119
+ sc_cuenta_inventario: this.cuentaInventario,
120
+ sc_cuenta_utilidad: this.cuentaUtilidad,
121
+ sc_cuenta_perdida: this.cuentaPerdida,
122
+ sc_cuenta_pasivo_diferido: this.cuentaPasivoDiferido,
123
+ sc_cuenta_ant: this.cuentAnterior,
124
+ spi_cuenta_sobrante: this.cuentSobrante
125
+ };
126
+ }
127
+ }
128
+
64
129
  class MPersonalNomina extends MBasicModel {
65
130
  constructor(e = null) {
66
131
  super();
67
132
  this.idEmpresa = 0;
133
+ this.idEnterprise = 0;
68
134
  this.idPersonalNomina = 0;
69
135
  this.idPersonal = 0;
70
136
  this.idNomina = 1;
@@ -151,8 +217,12 @@ class MPersonalNomina extends MBasicModel {
151
217
  this.idClasificadorDocente = 0;
152
218
  this.codigoClasificador = '';
153
219
  this.denominacionClasificador = '';
220
+ this.idPlanHorario = 0;
221
+ this.codigoPlanHorario = '';
222
+ this.denominacionPlanHorario = '';
154
223
  if (e) {
155
- this.idEmpresa = parseInt(e.id_empresa);
224
+ this.idEnterprise = +e.id_enterprise;
225
+ this.idEmpresa = e.id_empresa;
156
226
  this.idPersonalNomina = parseInt(e.id_personalnomina);
157
227
  this.idPersonal = parseInt(e.id_personal);
158
228
  this.idNomina = parseInt(e.id_nomina);
@@ -258,6 +328,9 @@ class MPersonalNomina extends MBasicModel {
258
328
  this.nombreBanco = e.codban_ctaper;
259
329
  this.idBanco = parseInt(e.id_banco_ctaper);
260
330
  }
331
+ this.idPlanHorario = +e.id_planhor;
332
+ this.codigoPlanHorario = e.codplanhor;
333
+ this.denominacionPlanHorario = e.denplanhor;
261
334
  }
262
335
  else {
263
336
  this.isNew = true;
@@ -273,7 +346,8 @@ class MPersonalNomina extends MBasicModel {
273
346
  this.codigoGrado = '0';
274
347
  }
275
348
  return {
276
- id_empresa: this.idEmpresa.toString(),
349
+ id_empresa: this.idEmpresa,
350
+ id_enterprise: this.idEnterprise.toString(),
277
351
  id_personalnomina: this.idPersonalNomina.toString(),
278
352
  id_personal: this.idPersonal.toString(),
279
353
  id_nomina: this.idNomina.toString(),
@@ -354,6 +428,7 @@ class MPersonalNomina extends MBasicModel {
354
428
  monsalgra: this.montoSaldoGrado.toString(),
355
429
  apeper: this.apellidoPersonal,
356
430
  id_clasificacion_docente: this.idClasificadorDocente.toString(),
431
+ id_planhor: this.idPlanHorario.toString()
357
432
  };
358
433
  }
359
434
  }
@@ -361,6 +436,7 @@ class MPersonalNomina extends MBasicModel {
361
436
  class MHojaTiempo extends MBasicModel {
362
437
  constructor(e = null) {
363
438
  super();
439
+ this.idEnterprise = 0;
364
440
  this.idEmpresa = 0;
365
441
  this.idPersonalNomina = 0;
366
442
  this.idPeriodo = 0;
@@ -380,6 +456,7 @@ class MHojaTiempo extends MBasicModel {
380
456
  this.fechaDesdePeriodo = '1900-01-01';
381
457
  this.fechaHastaPeriodo = '1900-01-01';
382
458
  if (e) {
459
+ this.idEnterprise = +e.id_enterprise;
383
460
  this.idEmpresa = +e.id_empresa;
384
461
  this.idPersonalNomina = +e.id_personalnomina;
385
462
  this.fechaHojaTiempo = e.fechojtie;
@@ -406,7 +483,8 @@ class MHojaTiempo extends MBasicModel {
406
483
  }
407
484
  dataInterface() {
408
485
  return {
409
- id_empresa: this.idEmpresa.toString(),
486
+ id_enterprise: this.idEnterprise.toString(),
487
+ id_empresa: this.idEmpresa,
410
488
  id_personalnomina: this.idPersonalNomina.toString(),
411
489
  fechojtie: this.fechaHojaTiempo,
412
490
  esthojtie: this.estatusHojaTiempo.toString(),
@@ -430,6 +508,7 @@ class MHojaTiempo extends MBasicModel {
430
508
  class MHorario extends MBasicModel {
431
509
  constructor(e) {
432
510
  super();
511
+ this.idEnterprise = 0;
433
512
  this.idEmpresa = 0;
434
513
  this.idHora = 0;
435
514
  this.codigoHorario = '';
@@ -456,6 +535,7 @@ class MHorario extends MBasicModel {
456
535
  }
457
536
  dataInterface() {
458
537
  return {
538
+ id_enterprise: this.idEnterprise.toString(),
459
539
  id_empresa: this.idEmpresa,
460
540
  id_hora: this.idHora,
461
541
  codhor: this.codigoHorario,
@@ -1733,13 +1813,15 @@ class MDocument {
1733
1813
  class MClasification {
1734
1814
  constructor(clasi) {
1735
1815
  this.id = null;
1736
- this.idEmpresa = null;
1816
+ this.idEnterprise = 0;
1817
+ this.idEmpresa = 0;
1737
1818
  this.denomination = null;
1738
1819
  this.isNew = false;
1739
1820
  this.error = false;
1740
1821
  this.selected = false;
1741
1822
  this.id = parseInt(clasi.id_clasificacion);
1742
1823
  this.idEmpresa = parseInt(clasi.id_empresa);
1824
+ this.idEnterprise = +clasi.id_enterprise;
1743
1825
  this.denomination = clasi.dencla;
1744
1826
  }
1745
1827
  }
@@ -2699,13 +2781,15 @@ class MEmpresa extends MBasicModel {
2699
2781
  class MConceptosCXP extends MBasicModel {
2700
2782
  constructor(concepto) {
2701
2783
  super();
2784
+ this.idEnterprise = 0;
2702
2785
  this.idEmpresa = 0;
2703
2786
  this.idConceptoCXP = 0;
2704
2787
  this.denominacionConceptoCXP = '';
2705
2788
  this.cuenta = '';
2706
2789
  this.estatusActivo = 0;
2707
2790
  if (concepto) {
2708
- this.idEmpresa = parseInt(concepto.id_empresa);
2791
+ this.idEnterprise = +concepto.id_enterprise;
2792
+ this.idEmpresa = concepto.id_empresa;
2709
2793
  this.idConceptoCXP = parseInt(concepto.id_concxp);
2710
2794
  this.denominacionConceptoCXP = concepto.denconcxp;
2711
2795
  this.cuenta = concepto.sc_cuenta;
@@ -2717,7 +2801,8 @@ class MConceptosCXP extends MBasicModel {
2717
2801
  }
2718
2802
  dataInterface() {
2719
2803
  return {
2720
- id_empresa: this.idEmpresa.toString(),
2804
+ id_enterprise: this.idEnterprise.toString(),
2805
+ id_empresa: this.idEmpresa,
2721
2806
  id_concxp: this.idConceptoCXP.toString(),
2722
2807
  denconcxp: this.denominacionConceptoCXP,
2723
2808
  sc_cuenta: this.cuenta,
@@ -2728,6 +2813,7 @@ class MConceptosCXP extends MBasicModel {
2728
2813
 
2729
2814
  class MTipoDocumentoCXP {
2730
2815
  constructor(tipo) {
2816
+ this.idEnterprise = 0;
2731
2817
  this.idEmpresa = 0;
2732
2818
  this.idTipoDocumento = 0;
2733
2819
  this.denominacionTipoDocumento = '';
@@ -2739,7 +2825,8 @@ class MTipoDocumentoCXP {
2739
2825
  this.estatusCreditos = 0;
2740
2826
  this.estatusDebitos = 0;
2741
2827
  if (tipo) {
2742
- this.idEmpresa = parseInt(tipo.id_empresa);
2828
+ this.idEnterprise = +tipo.id_enterprise;
2829
+ this.idEmpresa = +tipo.id_empresa;
2743
2830
  this.idTipoDocumento = parseInt(tipo.id_tipodocumento);
2744
2831
  this.denominacionTipoDocumento = tipo.dentipden;
2745
2832
  this.estatusContable = parseInt(tipo.estcon);
@@ -2753,7 +2840,8 @@ class MTipoDocumentoCXP {
2753
2840
  }
2754
2841
  dataInterface() {
2755
2842
  return {
2756
- id_empresa: this.idEmpresa.toString(),
2843
+ id_enterprise: this.idEnterprise.toString(),
2844
+ id_empresa: this.idEmpresa,
2757
2845
  id_tipodocumento: this.idTipoDocumento.toString(),
2758
2846
  dentipden: this.denominacionTipoDocumento,
2759
2847
  estcon: this.estatusContable.toString(),
@@ -2770,6 +2858,7 @@ class MTipoDocumentoCXP {
2770
2858
  class MConfiguracionSNO extends MBasicModel {
2771
2859
  constructor(I) {
2772
2860
  super();
2861
+ this.idEnterprise = 0;
2773
2862
  this.idEmpresa = 0;
2774
2863
  this.idNomina = 0;
2775
2864
  this.estatusCambiarDenominacionSueldoIntegral = 1;
@@ -2896,7 +2985,8 @@ class MConfiguracionSNO extends MBasicModel {
2896
2985
  this.digitosCodigoConcepto = 10;
2897
2986
  this.segmentarPersonal = 10000;
2898
2987
  if (I) {
2899
- this.idEmpresa = parseInt(I.id_empresa);
2988
+ this.idEnterprise = +I.id_enterprise;
2989
+ this.idEmpresa = +I.id_empresa;
2900
2990
  this.idNomina = parseInt(I.id_sno);
2901
2991
  this.estatusCambiarDenominacionSueldoIntegral = parseInt(I.estcamdensueint);
2902
2992
  this.denominacionSueltoIntegral = I.densueint;
@@ -3027,6 +3117,7 @@ class MConfiguracionSNO extends MBasicModel {
3027
3117
  }
3028
3118
  dataInterface() {
3029
3119
  return {
3120
+ id_enterprise: this.idEnterprise.toString(),
3030
3121
  id_empresa: this.idEmpresa.toString(),
3031
3122
  id_sno: this.idNomina.toString(),
3032
3123
  estcamdensueint: this.estatusCambiarDenominacionSueldoIntegral.toString(),
@@ -3158,6 +3249,7 @@ class MConfiguracionSNO extends MBasicModel {
3158
3249
  class MPeriodoNomina extends MBasicModel {
3159
3250
  constructor(e = null) {
3160
3251
  super();
3252
+ this.idEnterprise = 0;
3161
3253
  this.idEmpresa = 0;
3162
3254
  this.idNomina = 0;
3163
3255
  this.idPeriodo = 0;
@@ -3176,7 +3268,8 @@ class MPeriodoNomina extends MBasicModel {
3176
3268
  this.prenomina = false;
3177
3269
  this.calculado = false;
3178
3270
  if (e) {
3179
- this.idEmpresa = parseInt(e.id_empresa);
3271
+ this.idEnterprise = +e.id_enterprise;
3272
+ this.idEmpresa = +e.id_empresa;
3180
3273
  this.idNomina = parseInt(e.id_nomina);
3181
3274
  this.idPeriodo = parseInt(e.id_periodo);
3182
3275
  this.codigoPeriodo = e.codperi;
@@ -3197,7 +3290,8 @@ class MPeriodoNomina extends MBasicModel {
3197
3290
  }
3198
3291
  dataInterface() {
3199
3292
  return {
3200
- id_empresa: this.idEmpresa.toString(),
3293
+ id_enterprise: this.idEnterprise.toString(),
3294
+ id_empresa: this.idEmpresa,
3201
3295
  id_nomina: this.idNomina.toString(),
3202
3296
  id_periodo: this.idPeriodo.toString(),
3203
3297
  codperi: this.codigoPeriodo,
@@ -3250,6 +3344,7 @@ const moment$1 = require("moment");
3250
3344
  class MDefinicionNomina extends MBasicModel {
3251
3345
  constructor(e = null) {
3252
3346
  super();
3347
+ this.idEnterprise = 0;
3253
3348
  this.idEmpresa = 0;
3254
3349
  this.idNomina = 0;
3255
3350
  this.codigoNomina = '';
@@ -3328,7 +3423,8 @@ class MDefinicionNomina extends MBasicModel {
3328
3423
  this.segmentarPersonal = 3000;
3329
3424
  this.periodosNomina = [];
3330
3425
  if (e) {
3331
- this.idEmpresa = parseInt(e.id_empresa);
3426
+ this.idEnterprise = +e.id_enterprise;
3427
+ this.idEmpresa = +e.id_empresa;
3332
3428
  this.idNomina = parseInt(e.id_nomina);
3333
3429
  this.codigoNomina = e.codnom;
3334
3430
  this.denominacionNomina = e.dennom;
@@ -3403,7 +3499,8 @@ class MDefinicionNomina extends MBasicModel {
3403
3499
  this.segmentarPersonal = 10000;
3404
3500
  }
3405
3501
  return {
3406
- id_empresa: this.idEmpresa.toString(),
3502
+ id_enterprise: this.idEnterprise.toString(),
3503
+ id_empresa: this.idEmpresa,
3407
3504
  id_nomina: this.idNomina.toString(),
3408
3505
  codnom: this.codigoNomina,
3409
3506
  dennom: this.denominacionNomina,
@@ -3586,6 +3683,7 @@ class MDefinicionNomina extends MBasicModel {
3586
3683
  class MAsignacionCargo extends MBasicModel {
3587
3684
  constructor(e) {
3588
3685
  super();
3686
+ this.idEnterprise = 0;
3589
3687
  this.idEmpresa = 0;
3590
3688
  this.idAsignacionCargo = 0;
3591
3689
  this.codigoAsignacionCargo = '';
@@ -3619,7 +3717,8 @@ class MAsignacionCargo extends MBasicModel {
3619
3717
  this.detallesOrganigrama = [];
3620
3718
  this.organigramaEliminar = [];
3621
3719
  if (e) {
3622
- this.idEmpresa = parseInt(e.id_empresa);
3720
+ this.idEnterprise = +e.id_enterprise;
3721
+ this.idEmpresa = +e.id_empresa;
3623
3722
  this.idAsignacionCargo = parseInt(e.id_carper);
3624
3723
  this.codigoAsignacionCargo = e.codcar;
3625
3724
  this.denominacionAsignacionCargo = e.descar;
@@ -3660,7 +3759,8 @@ class MAsignacionCargo extends MBasicModel {
3660
3759
  }
3661
3760
  dataInterface() {
3662
3761
  return {
3663
- id_empresa: this.idEmpresa.toString(),
3762
+ id_enterprise: this.idEnterprise.toString(),
3763
+ id_empresa: this.idEmpresa,
3664
3764
  id_carper: this.idAsignacionCargo.toString(),
3665
3765
  codcar: this.codigoAsignacionCargo,
3666
3766
  descar: this.denominacionAsignacionCargo,
@@ -3777,6 +3877,7 @@ class MCargosNominas extends MBasicModel {
3777
3877
  class MNominaSimple extends MBasicModel {
3778
3878
  constructor(e = null) {
3779
3879
  super();
3880
+ this.idEnterprise = 0;
3780
3881
  this.idEmpresa = 0;
3781
3882
  this.idNomina = 0;
3782
3883
  this.codigoNomina = '';
@@ -3804,7 +3905,8 @@ class MNominaSimple extends MBasicModel {
3804
3905
  this.idPersonal = 0;
3805
3906
  this.idPersonalNomina = 0;
3806
3907
  if (e) {
3807
- this.idEmpresa = parseInt(e.id_empresa);
3908
+ this.idEnterprise = +e.id_enterprise;
3909
+ this.idEmpresa = +e.id_empresa;
3808
3910
  this.idNomina = parseInt(e.id_nomina);
3809
3911
  this.codigoNomina = e.codnom;
3810
3912
  this.denominacioNomina = e.dennom;
@@ -3842,7 +3944,8 @@ class MNominaSimple extends MBasicModel {
3842
3944
  }
3843
3945
  dataInterface() {
3844
3946
  return {
3845
- id_empresa: this.idEmpresa.toString(),
3947
+ id_enterprise: this.idEnterprise.toString(),
3948
+ id_empresa: this.idEmpresa,
3846
3949
  id_nomina: this.idNomina.toString(),
3847
3950
  id_carper: this.idCargo.toString(),
3848
3951
  id_personal: this.idPersonal.toString(),
@@ -4206,6 +4309,7 @@ class MPersonal extends MBasicModel {
4206
4309
  constructor(p = null) {
4207
4310
  super();
4208
4311
  this.idEmpresa = 0;
4312
+ this.idEnterprise = 0;
4209
4313
  this.idPersonal = 0;
4210
4314
  this.codigoPersonal = ''; //10
4211
4315
  this.cedulaPersonal = ''; //10
@@ -4315,7 +4419,8 @@ class MPersonal extends MBasicModel {
4315
4419
  this.codigoPuestoTrabajo = '';
4316
4420
  this.descripcionHorario = '';
4317
4421
  if (p) {
4318
- this.idEmpresa = +p.id_empresa;
4422
+ this.idEnterprise = +p.id_enterprise;
4423
+ this.idEmpresa = p.id_empresa;
4319
4424
  this.idPersonal = +p.id_personal;
4320
4425
  this.codigoPersonal = p.codper;
4321
4426
  this.cedulaPersonal = p.cedper;
@@ -4443,7 +4548,8 @@ class MPersonal extends MBasicModel {
4443
4548
  }
4444
4549
  dataInterface() {
4445
4550
  return {
4446
- id_empresa: +this.idEmpresa,
4551
+ id_empresa: this.idEmpresa,
4552
+ id_enterprise: this.idEnterprise.toString(),
4447
4553
  id_personal: +this.idPersonal,
4448
4554
  codper: this.codigoPersonal,
4449
4555
  cedper: this.cedulaPersonal,
@@ -4548,6 +4654,8 @@ class MPersonal extends MBasicModel {
4548
4654
  class MCambioEstatusPersonal extends MBasicModel {
4549
4655
  constructor(e = null) {
4550
4656
  super();
4657
+ this.idEmpresa = 0;
4658
+ this.idEnterprise = 0;
4551
4659
  this.idPersonal = 0;
4552
4660
  this.codigoPersonal = '';
4553
4661
  this.estatusActual = '2';
@@ -4559,6 +4667,8 @@ class MCambioEstatusPersonal extends MBasicModel {
4559
4667
  this.observacion = '';
4560
4668
  this.fechaReingreso = '1900-01-01';
4561
4669
  if (e) {
4670
+ this.idEnterprise = +e.id_enterprise;
4671
+ this.idEmpresa = e.id_empresa;
4562
4672
  this.idPersonal = e.idPersonal;
4563
4673
  this.codigoPersonal = e.codigoPersonal;
4564
4674
  this.estatusActual = e.estatusActual;
@@ -4573,6 +4683,8 @@ class MCambioEstatusPersonal extends MBasicModel {
4573
4683
  }
4574
4684
  dataInterface() {
4575
4685
  return {
4686
+ id_empresa: this.idEmpresa,
4687
+ id_enterprise: this.idEnterprise.toString(),
4576
4688
  idPersonal: this.idPersonal,
4577
4689
  codigoPersonal: this.codigoPersonal,
4578
4690
  estatusActual: this.estatusActual,
@@ -4590,6 +4702,7 @@ class MPersonalCuentaBanco extends MBasicModel {
4590
4702
  constructor(e) {
4591
4703
  super();
4592
4704
  this.idEmpresa = 0;
4705
+ this.idEnterprise = 0;
4593
4706
  this.idPersonal = 0;
4594
4707
  this.idCuentaBancoPersonal = -1;
4595
4708
  this.codigoCuentaBancoPersonal = '';
@@ -4604,7 +4717,8 @@ class MPersonalCuentaBanco extends MBasicModel {
4604
4717
  this.nombreBanco = '';
4605
4718
  this.nombreTipoCuentaBanco = '';
4606
4719
  if (e) {
4607
- this.idEmpresa = parseInt(e.id_empresa);
4720
+ this.idEnterprise = +e.id_enterprise;
4721
+ this.idEmpresa = e.id_empresa;
4608
4722
  this.idPersonal = parseInt(e.id_personal);
4609
4723
  this.idCuentaBancoPersonal = parseInt(e.id_ctabanper);
4610
4724
  this.codigoCuentaBancoPersonal = e.codctabanper;
@@ -4625,7 +4739,8 @@ class MPersonalCuentaBanco extends MBasicModel {
4625
4739
  }
4626
4740
  dataInterface() {
4627
4741
  return {
4628
- id_empresa: this.idEmpresa.toString(),
4742
+ id_enterprise: this.idEnterprise.toString(),
4743
+ id_empresa: this.idEmpresa,
4629
4744
  id_personal: this.idPersonal.toString(),
4630
4745
  id_ctabanper: this.idCuentaBancoPersonal.toString(),
4631
4746
  codctabanper: this.codigoCuentaBancoPersonal,
@@ -4641,6 +4756,7 @@ class MPersonalCuentaBanco extends MBasicModel {
4641
4756
  class MEstudiosRealizados {
4642
4757
  constructor(e = null) {
4643
4758
  this.idEmpresa = 0;
4759
+ this.idEnterprise = 0;
4644
4760
  this.idPersonal = 0;
4645
4761
  this.idEstudio = 0;
4646
4762
  this.codigoEstudioRealizado = '';
@@ -4660,7 +4776,8 @@ class MEstudiosRealizados {
4660
4776
  this.TipoEstudio = Estudios;
4661
4777
  this.Aprobado = EstatusEstudio;
4662
4778
  if (e) {
4663
- this.idEmpresa = parseInt(e.id_empresa);
4779
+ this.idEmpresa = e.id_empresa;
4780
+ this.idEnterprise = +e.id_enterprise;
4664
4781
  this.idPersonal = parseInt(e.id_personal);
4665
4782
  this.idEstudio = parseInt(e.id_estudio);
4666
4783
  this.codigoEstudioRealizado = e.codestrea;
@@ -4682,7 +4799,8 @@ class MEstudiosRealizados {
4682
4799
  }
4683
4800
  dataInterface() {
4684
4801
  return {
4685
- id_empresa: this.idEmpresa.toString(),
4802
+ id_empresa: this.idEmpresa,
4803
+ id_enterprise: this.idEnterprise.toString(),
4686
4804
  id_personal: this.idPersonal.toString(),
4687
4805
  id_estudio: this.idEstudio.toString(),
4688
4806
  codestrea: this.codigoEstudioRealizado,
@@ -4705,6 +4823,7 @@ class MPrestacionesAntiguedad extends MBasicModel {
4705
4823
  constructor(e = null) {
4706
4824
  super();
4707
4825
  this.idEmpresa = 0;
4826
+ this.idEnterprice = 0;
4708
4827
  this.idPersonal = 0;
4709
4828
  this.idFideicomiso = 0;
4710
4829
  this.anoCurPeriodo = 0;
@@ -4726,7 +4845,8 @@ class MPrestacionesAntiguedad extends MBasicModel {
4726
4845
  this.codigoUsuario = '';
4727
4846
  this.idDtFideicomisoPeriodo = 0;
4728
4847
  if (e) {
4729
- this.idEmpresa = parseInt(e.id_empresa);
4848
+ this.idEmpresa = e.id_empresa;
4849
+ this.idEmpresa = +e.id_enterprise;
4730
4850
  this.idPersonal = parseInt(e.id_personal);
4731
4851
  this.idFideicomiso = parseInt(e.id_fideicomiso);
4732
4852
  this.anoCurPeriodo = parseInt(e.anocurper);
@@ -4754,7 +4874,8 @@ class MPrestacionesAntiguedad extends MBasicModel {
4754
4874
  }
4755
4875
  dataInterface() {
4756
4876
  return {
4757
- id_empresa: this.idEmpresa.toString(),
4877
+ id_empresa: this.idEmpresa,
4878
+ id_enterprise: this.idEnterprice.toString(),
4758
4879
  id_personal: this.idPersonal.toString(),
4759
4880
  id_fideicomiso: this.idFideicomiso.toString(),
4760
4881
  anocurper: this.anoCurPeriodo.toString(),
@@ -6220,7 +6341,7 @@ class SigespService {
6220
6341
  * @actualizado: 4-12-20222
6221
6342
  */
6222
6343
  getCurrentCurrency() {
6223
- return this.http.get(`${this.URL}/dao/cfg/moneda_dao.php?tipo={'actual'}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
6344
+ return this.http.get(`${this.URL}/dao/cfg/moneda_dao.php?tipo=${'actual'}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
6224
6345
  if (res.success) {
6225
6346
  res.data = new MMonedaConfig(res.data);
6226
6347
  }
@@ -6228,6 +6349,21 @@ class SigespService {
6228
6349
  }));
6229
6350
  }
6230
6351
  /**
6352
+ * @description Obtiene la linea empresa
6353
+ * @return Observable<IResponse>
6354
+ * @author Dimaly Crespo
6355
+ * @actualizado: 5-12-20222
6356
+ * @tipo
6357
+ */
6358
+ getEnterprise(tipo = null, id) {
6359
+ return this.http.get(`${this.URL}/dao/cfg/enterprise_dao.php?`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
6360
+ if (res.success) {
6361
+ res.data = res.data.map(e => new MEnterprise(e));
6362
+ }
6363
+ return res;
6364
+ }));
6365
+ }
6366
+ /**
6231
6367
  * @description Obtiene los tipos de organizacion
6232
6368
  * @return Observable<IResponse>
6233
6369
  * @author Carlos Albornoz
@@ -7316,72 +7452,6 @@ AppModule.decorators = [
7316
7452
  },] }
7317
7453
  ];
7318
7454
 
7319
- class MEnterprise extends MBasicModel {
7320
- constructor(e) {
7321
- super();
7322
- this.idEmpresa = 0;
7323
- this.idEnterprise = 0;
7324
- this.codigo = '';
7325
- this.razonSocial = '';
7326
- this.titulo = '';
7327
- this.logo = '';
7328
- this.rif = '';
7329
- this.direccion = '';
7330
- this.cuentaIngreso = '';
7331
- this.CuentaPorCobrar = '';
7332
- this.CuentaIva = '';
7333
- this.cuentaInventario = '';
7334
- this.cuentaUtilidad = '';
7335
- this.cuentaPerdida = '';
7336
- this.cuentaPasivoDiferido = '';
7337
- this.cuentAnterior = '';
7338
- this.cuentSobrante = '';
7339
- if (e) {
7340
- this.idEmpresa = +e.id_empresa;
7341
- this.idEnterprise = +e.id_enterprise;
7342
- this.codigo = e.codigo;
7343
- this.razonSocial = e.denominacion;
7344
- this.titulo = e.titulo;
7345
- this.logo = e.logo;
7346
- this.rif = e.rif;
7347
- this.direccion = e.direccion;
7348
- this.cuentaIngreso = e.spi_cuenta;
7349
- this.CuentaPorCobrar = e.sc_cuenta_cxc;
7350
- this.CuentaIva = e.sc_cuenta_iva;
7351
- this.cuentaInventario = e.sc_cuenta_inventario;
7352
- this.cuentaUtilidad = e.sc_cuenta_utilidad;
7353
- this.cuentaPerdida = e.sc_cuenta_perdida;
7354
- this.cuentaPasivoDiferido = e.sc_cuenta_pasivo_diferido;
7355
- this.cuentAnterior = e.sc_cuenta_ant;
7356
- this.cuentSobrante = e.spi_cuenta_sobrante;
7357
- }
7358
- else {
7359
- this.isNew = true;
7360
- }
7361
- }
7362
- dataInterface() {
7363
- return {
7364
- id_empresa: this.idEmpresa.toString(),
7365
- id_enterprise: this.idEnterprise.toString(),
7366
- codigo: this.codigo,
7367
- denominacion: this.razonSocial,
7368
- titulo: this.titulo,
7369
- logo: this.logo,
7370
- rif: this.rif,
7371
- direccion: this.direccion,
7372
- spi_cuenta: this.cuentaIngreso,
7373
- sc_cuenta_cxc: this.CuentaPorCobrar,
7374
- sc_cuenta_iva: this.CuentaIva,
7375
- sc_cuenta_inventario: this.cuentaInventario,
7376
- sc_cuenta_utilidad: this.cuentaUtilidad,
7377
- sc_cuenta_perdida: this.cuentaPerdida,
7378
- sc_cuenta_pasivo_diferido: this.cuentaPasivoDiferido,
7379
- sc_cuenta_ant: this.cuentAnterior,
7380
- spi_cuenta_sobrante: this.cuentSobrante
7381
- };
7382
- }
7383
- }
7384
-
7385
7455
  class MAccountMarriage {
7386
7456
  constructor(marriage) {
7387
7457
  this.idEmpresa = null;
@@ -7607,6 +7677,7 @@ class MLog extends MBasicModel {
7607
7677
  class MAnticipoPrestaciones extends MBasicModel {
7608
7678
  constructor(e) {
7609
7679
  super();
7680
+ this.idEnterprise = 0;
7610
7681
  this.idEmpresa = 0;
7611
7682
  this.idPersonal = 0;
7612
7683
  this.idAnticipo = 0;
@@ -7628,6 +7699,7 @@ class MAnticipoPrestaciones extends MBasicModel {
7628
7699
  this.montoMaximoInteres = 0;
7629
7700
  this.denominacionEstatus = '';
7630
7701
  if (e) {
7702
+ this.idEnterprise = +e.id_enterprise;
7631
7703
  this.idEmpresa = +e.id_empresa;
7632
7704
  this.idPersonal = +e.id_personal;
7633
7705
  this.idAnticipo = +e.id_anticipops;
@@ -7655,6 +7727,7 @@ class MAnticipoPrestaciones extends MBasicModel {
7655
7727
  }
7656
7728
  dataInterface() {
7657
7729
  return {
7730
+ id_enterprise: this.idEnterprise.toString(),
7658
7731
  id_empresa: this.idEmpresa,
7659
7732
  id_personal: this.idPersonal,
7660
7733
  id_anticipops: this.idAnticipo,
@@ -7703,6 +7776,7 @@ class MAnticipoPrestaciones extends MBasicModel {
7703
7776
  class MArchivoTxtCampo extends MBasicModel {
7704
7777
  constructor(e) {
7705
7778
  super();
7779
+ this.idEnterprise = 0;
7706
7780
  this.idEmpresa = 0;
7707
7781
  this.idArchivoTxt = 0;
7708
7782
  this.codigoCampo = 0;
@@ -7718,7 +7792,8 @@ class MArchivoTxtCampo extends MBasicModel {
7718
7792
  this.tipoCampo = '';
7719
7793
  this.idDtCampo = 0;
7720
7794
  if (e) {
7721
- this.idEmpresa = parseInt(e.id_empresa);
7795
+ this.idEnterprise = +e.id_enterprise;
7796
+ this.idEmpresa = +e.id_empresa;
7722
7797
  this.idArchivoTxt = parseInt(e.id_archivotxt);
7723
7798
  this.codigoCampo = parseInt(e.codcam);
7724
7799
  this.descripcionCampo = e.descam;
@@ -7739,7 +7814,8 @@ class MArchivoTxtCampo extends MBasicModel {
7739
7814
  }
7740
7815
  dataInterface() {
7741
7816
  return {
7742
- id_empresa: this.idEmpresa.toString(),
7817
+ id_enterprise: this.idEnterprise.toString(),
7818
+ id_empresa: this.idEmpresa,
7743
7819
  id_archivotxt: this.idArchivoTxt.toString(),
7744
7820
  codcam: this.codigoCampo.toString(),
7745
7821
  descam: this.descripcionCampo,
@@ -7760,6 +7836,7 @@ class MArchivoTxtCampo extends MBasicModel {
7760
7836
  class MArchivosTxt extends MBasicModel {
7761
7837
  constructor(e) {
7762
7838
  super();
7839
+ this.idEnterprise = 0;
7763
7840
  this.idEmpresa = 0;
7764
7841
  this.idArchivoTxt = 0;
7765
7842
  this.codigoArchivo = '';
@@ -7769,7 +7846,8 @@ class MArchivosTxt extends MBasicModel {
7769
7846
  this.campos = [];
7770
7847
  if (e) {
7771
7848
  e.acumon == '1' ? this.acumularMonto = true : this.acumularMonto = false;
7772
- this.idEmpresa = parseInt(e.id_empresa);
7849
+ this.idEnterprise = +e.id_enterprise;
7850
+ this.idEmpresa = +e.id_empresa;
7773
7851
  this.idArchivoTxt = parseInt(e.id_archivotxt);
7774
7852
  this.codigoArchivo = e.codarch;
7775
7853
  this.denominacionArchivo = e.denarch;
@@ -7782,7 +7860,8 @@ class MArchivosTxt extends MBasicModel {
7782
7860
  }
7783
7861
  dataInterface() {
7784
7862
  return {
7785
- id_empresa: this.idEmpresa.toString(),
7863
+ id_enterprise: this.idEnterprise.toString(),
7864
+ id_empresa: this.idEmpresa,
7786
7865
  id_archivotxt: this.idArchivoTxt.toString(),
7787
7866
  codarch: this.codigoArchivo,
7788
7867
  denarch: this.denominacionArchivo,
@@ -7796,6 +7875,7 @@ class MArchivosTxt extends MBasicModel {
7796
7875
  class MAspectoEvaluacion extends MBasicModel {
7797
7876
  constructor(e) {
7798
7877
  super();
7878
+ this.idEnterprise = 0;
7799
7879
  this.idEmpresa = 0;
7800
7880
  this.idTipoEvaluacion = 0;
7801
7881
  this.idAspectoEvaluacion = 0;
@@ -7804,7 +7884,8 @@ class MAspectoEvaluacion extends MBasicModel {
7804
7884
  this.codigoAspecto = '';
7805
7885
  this.denominacionAspecto = '';
7806
7886
  if (e) {
7807
- this.idEmpresa = parseInt(e.id_empresa);
7887
+ this.idEnterprise = +e.id_enterprise;
7888
+ this.idEmpresa = +e.id_empresa;
7808
7889
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7809
7890
  this.idAspectoEvaluacion = parseInt(e.id_aspecto);
7810
7891
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -7818,7 +7899,8 @@ class MAspectoEvaluacion extends MBasicModel {
7818
7899
  }
7819
7900
  dataInterface() {
7820
7901
  return {
7821
- id_empresa: this.idEmpresa.toString(),
7902
+ id_enterprise: this.idEnterprise.toString(),
7903
+ id_empresa: this.idEmpresa,
7822
7904
  id_tipoeval: this.idTipoEvaluacion.toString(),
7823
7905
  id_aspecto: this.idAspectoEvaluacion.toString(),
7824
7906
  codasp: this.codigoAspecto,
@@ -7831,6 +7913,7 @@ class MAspectoEvaluacion extends MBasicModel {
7831
7913
  class MItemsEvalucion extends MBasicModel {
7832
7914
  constructor(e = null) {
7833
7915
  super();
7916
+ this.idEnterprise = 0;
7834
7917
  this.idEmpresa = 0;
7835
7918
  this.idTipoEvaluacion = 0;
7836
7919
  this.idAspectoEvaluacion = 0;
@@ -7843,8 +7926,9 @@ class MItemsEvalucion extends MBasicModel {
7843
7926
  this.codigoAspecto = '';
7844
7927
  this.denominacionAspecto = '';
7845
7928
  if (e) {
7846
- this.idEmpresa = parseInt(e.id_empresa);
7847
- this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7929
+ this.idEnterprise = +e.id_enterprise;
7930
+ this.idEmpresa = +e.id_empresa;
7931
+ this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7848
7932
  this.idAspectoEvaluacion = parseInt(e.id_aspecto);
7849
7933
  this.idItems = parseInt(e.id_item);
7850
7934
  this.codigoItems = e.codite;
@@ -7861,7 +7945,8 @@ class MItemsEvalucion extends MBasicModel {
7861
7945
  }
7862
7946
  dataInterface() {
7863
7947
  return {
7864
- id_empresa: this.idEmpresa.toString(),
7948
+ id_enterprise: this.idEnterprise.toString(),
7949
+ id_empresa: this.idEmpresa,
7865
7950
  id_tipoeval: this.idTipoEvaluacion.toString(),
7866
7951
  id_aspecto: this.idAspectoEvaluacion.toString(),
7867
7952
  id_item: this.idItems.toString(),
@@ -7879,6 +7964,7 @@ class MItemsEvalucion extends MBasicModel {
7879
7964
  class MBeneficiario extends MBasicModel {
7880
7965
  constructor(e) {
7881
7966
  super();
7967
+ this.idEnterprise = 0;
7882
7968
  this.idEmpresa = 0;
7883
7969
  this.idPersonal = 0;
7884
7970
  this.idFamiliar = 0;
@@ -7905,7 +7991,8 @@ class MBeneficiario extends MBasicModel {
7905
7991
  this.medidaActiva = false;
7906
7992
  this.tribunal = '';
7907
7993
  if (e) {
7908
- this.idEmpresa = parseInt(e.id_empresa);
7994
+ this.idEnterprise = +e.id_enterprise;
7995
+ this.idEmpresa = +e.id_empresa;
7909
7996
  this.idPersonal = parseInt(e.id_personal);
7910
7997
  this.idFamiliar = parseInt(e.id_familiar);
7911
7998
  this.idProveedor = parseInt(e.id_proveedor);
@@ -7937,7 +8024,8 @@ class MBeneficiario extends MBasicModel {
7937
8024
  }
7938
8025
  dataInterface() {
7939
8026
  return {
7940
- id_empresa: this.idEmpresa.toString(),
8027
+ id_enterprise: this.idEnterprise.toString(),
8028
+ id_empresa: this.idEmpresa,
7941
8029
  id_personal: this.idPersonal.toString(),
7942
8030
  id_familiar: this.idFamiliar.toString(),
7943
8031
  id_proveedor: this.idProveedor.toString(),
@@ -7959,6 +8047,7 @@ class MBeneficiario extends MBasicModel {
7959
8047
  class MCargosPersonal extends MBasicModel {
7960
8048
  constructor(p = null) {
7961
8049
  super();
8050
+ this.idEnterprise = 0;
7962
8051
  this.idEmpresa = 0;
7963
8052
  this.idPersonal = 0;
7964
8053
  this.idCargo = 0;
@@ -7988,6 +8077,8 @@ class MCargosPersonal extends MBasicModel {
7988
8077
  this.detallesOrganigrama = [];
7989
8078
  this.detallesNomina = [];
7990
8079
  if (p) {
8080
+ this.idEnterprise = +p.id_enterprise;
8081
+ this.idEmpresa = +p.id_empresa;
7991
8082
  this.idPersonal = parseInt(p.id_personal);
7992
8083
  this.idCargo = +p.id_carper;
7993
8084
  this.codigoCargo = p.codcar;
@@ -8026,7 +8117,8 @@ class MCargosPersonal extends MBasicModel {
8026
8117
  }
8027
8118
  dataInterface() {
8028
8119
  return {
8029
- id_empresa: this.idEmpresa.toString(),
8120
+ id_enterprise: this.idEnterprise.toString(),
8121
+ id_empresa: this.idEmpresa,
8030
8122
  id_personal: this.idPersonal.toString(),
8031
8123
  id_carper: this.idCargo.toString(),
8032
8124
  id_tabulador: this.idTabulador.toString(),
@@ -8044,6 +8136,7 @@ class MCargosPersonal extends MBasicModel {
8044
8136
  class MCargaFamiliar extends MBasicModel {
8045
8137
  constructor(e) {
8046
8138
  super();
8139
+ this.idEnterprise = 0;
8047
8140
  this.idEmpresa = 0;
8048
8141
  this.idConcurso = 0;
8049
8142
  this.idConcursante = 0;
@@ -8056,7 +8149,8 @@ class MCargaFamiliar extends MBasicModel {
8056
8149
  this.parentesco = '';
8057
8150
  this.fechaNacimiento = '';
8058
8151
  if (e) {
8059
- this.idEmpresa = parseInt(e.id_empresa);
8152
+ this.idEnterprise = +e.id_enterprise;
8153
+ this.idEmpresa = +e.id_empresa;
8060
8154
  this.idConcurso = parseInt(e.id_concurso);
8061
8155
  this.idConcursante = parseInt(e.id_concursante);
8062
8156
  this.idFamilia = parseInt(e.id_familiacon);
@@ -8074,7 +8168,8 @@ class MCargaFamiliar extends MBasicModel {
8074
8168
  }
8075
8169
  dataInterface() {
8076
8170
  return {
8077
- id_empresa: this.idEmpresa.toString(),
8171
+ id_enterprise: this.idEnterprise.toString(),
8172
+ id_empresa: this.idEmpresa,
8078
8173
  id_concurso: this.idConcurso.toString(),
8079
8174
  id_concursante: this.idConcurso.toString(),
8080
8175
  id_familiacon: this.idFamilia.toString(),
@@ -8092,6 +8187,7 @@ class MCargaFamiliar extends MBasicModel {
8092
8187
  class MClasificacionObrero extends MBasicModel {
8093
8188
  constructor(e) {
8094
8189
  super();
8190
+ this.idEnterprise = 0;
8095
8191
  this.idEmpresa = 0;
8096
8192
  this.idClasificacionObrero = 0;
8097
8193
  this.grado = '';
@@ -8102,7 +8198,8 @@ class MClasificacionObrero extends MBasicModel {
8102
8198
  this.numeroGaceta = '';
8103
8199
  this.observacion = '';
8104
8200
  if (e) {
8105
- this.idEmpresa = parseInt(e.id_empresa);
8201
+ this.idEnterprise = +e.id_enterprise;
8202
+ this.idEmpresa = +e.id_empresa;
8106
8203
  this.idClasificacionObrero = parseInt(e.id_claobr);
8107
8204
  this.grado = e.grado;
8108
8205
  this.sueldoMinimo = e.suemin;
@@ -8118,7 +8215,8 @@ class MClasificacionObrero extends MBasicModel {
8118
8215
  }
8119
8216
  dataInterface() {
8120
8217
  return {
8121
- id_empresa: this.idEmpresa.toString(),
8218
+ id_enterprise: this.idEnterprise.toString(),
8219
+ id_empresa: this.idEmpresa,
8122
8220
  id_claobr: this.idClasificacionObrero.toString(),
8123
8221
  grado: this.grado,
8124
8222
  suemin: this.sueldoMinimo,
@@ -8134,6 +8232,7 @@ class MClasificacionObrero extends MBasicModel {
8134
8232
  class MConceptoVacaciones extends MBasicModel {
8135
8233
  constructor(e = null) {
8136
8234
  super();
8235
+ this.idEnterprise = 0;
8137
8236
  this.idEmpresa = 0;
8138
8237
  this.idConceptoVacaciones = 0;
8139
8238
  this.idNomina = 0;
@@ -8158,6 +8257,7 @@ class MConceptoVacaciones extends MBasicModel {
8158
8257
  this.nombreConcepto = '';
8159
8258
  this.signoConcepto = '';
8160
8259
  if (e) {
8260
+ this.idEnterprise = +e.id_enterprise;
8161
8261
  this.idEmpresa = +e.id_empresa;
8162
8262
  this.idConceptoVacaciones = +e.id_convac;
8163
8263
  this.idNomina = +e.id_nomina;
@@ -8185,7 +8285,8 @@ class MConceptoVacaciones extends MBasicModel {
8185
8285
  }
8186
8286
  dataInterface() {
8187
8287
  return {
8188
- id_empresa: this.idEmpresa.toString(),
8288
+ id_enterprise: this.idEnterprise.toString(),
8289
+ id_empresa: this.idEmpresa,
8189
8290
  id_convac: this.idConceptoVacaciones.toString(),
8190
8291
  id_nomina: this.idNomina.toString(),
8191
8292
  id_concepto: this.idConcepto.toString(),
@@ -8242,6 +8343,7 @@ const SalarioNormal = [
8242
8343
  class MConceptosNomina extends MBasicModel {
8243
8344
  constructor(e = null) {
8244
8345
  super();
8346
+ this.idEnterprise = 0;
8245
8347
  this.idEmpresa = 0;
8246
8348
  this.idNomina = 0;
8247
8349
  this.idConcepto = 0;
@@ -8307,6 +8409,7 @@ class MConceptosNomina extends MBasicModel {
8307
8409
  this.evaluarEnPrenomina = 0;
8308
8410
  this.antiguedadComplementaria = 0;
8309
8411
  if (e) {
8412
+ this.idEnterprise = +e.id_enterprise;
8310
8413
  this.idEmpresa = +e.id_empresa;
8311
8414
  this.idNomina = +e.id_nomina;
8312
8415
  this.idConcepto = +e.id_concepto;
@@ -8383,7 +8486,8 @@ class MConceptosNomina extends MBasicModel {
8383
8486
  }
8384
8487
  dataInterface() {
8385
8488
  return {
8386
- id_empresa: this.idEmpresa.toString(),
8489
+ id_enterprise: this.idEnterprise.toString(),
8490
+ id_empresa: this.idEmpresa,
8387
8491
  id_nomina: this.idNomina.toString(),
8388
8492
  id_concepto: this.idConcepto.toString(),
8389
8493
  codconc: this.codigoConcepto,
@@ -8457,6 +8561,7 @@ class MConceptosNomina extends MBasicModel {
8457
8561
  class MConceptosPersonalNomina extends MBasicModel {
8458
8562
  constructor(e = null) {
8459
8563
  super();
8564
+ this.idEnterprise = 0;
8460
8565
  this.idEmpresa = 0;
8461
8566
  this.idPersonalNomina = 0;
8462
8567
  this.idNomina = 0;
@@ -8483,7 +8588,8 @@ class MConceptosPersonalNomina extends MBasicModel {
8483
8588
  this.codigoNomina = '';
8484
8589
  this.numeroPeriodoNomina = 0;
8485
8590
  if (e) {
8486
- this.idEmpresa = parseInt(e.id_empresa);
8591
+ this.idEnterprise = +e.id_enterprise;
8592
+ this.idEmpresa = +e.id_empresa;
8487
8593
  this.idPersonalNomina = parseInt(e.id_personalnomina);
8488
8594
  this.idNomina = parseInt(e.id_nomina);
8489
8595
  this.idConcepto = parseInt(e.id_concepto);
@@ -8514,7 +8620,8 @@ class MConceptosPersonalNomina extends MBasicModel {
8514
8620
  }
8515
8621
  dataInterface() {
8516
8622
  return {
8517
- id_empresa: this.idEmpresa.toString(),
8623
+ id_enterprise: this.idEnterprise.toString(),
8624
+ id_empresa: this.idEmpresa,
8518
8625
  id_personalnomina: this.idPersonalNomina.toString(),
8519
8626
  id_nomina: this.idNomina.toString(),
8520
8627
  id_concepto: this.idConcepto.toString(),
@@ -8550,6 +8657,7 @@ class MConceptosPersonalNomina extends MBasicModel {
8550
8657
  class MConstanteNomina extends MBasicModel {
8551
8658
  constructor(e = null) {
8552
8659
  super();
8660
+ this.idEnterprise = 0;
8553
8661
  this.idEmpresa = 0;
8554
8662
  this.idNomina = 1;
8555
8663
  this.idConstante = 0;
@@ -8567,6 +8675,7 @@ class MConstanteNomina extends MBasicModel {
8567
8675
  this.registroIncidencia = '';
8568
8676
  this.valorInicialIncidencia = 0;
8569
8677
  if (e) {
8678
+ this.idEnterprise = +e.id_enterprise;
8570
8679
  this.idEmpresa = +e.id_empresa;
8571
8680
  this.idNomina = +e.id_nomina;
8572
8681
  this.idConstante = +e.id_constante;
@@ -8590,7 +8699,8 @@ class MConstanteNomina extends MBasicModel {
8590
8699
  }
8591
8700
  dataInterface() {
8592
8701
  return {
8593
- id_empresa: this.idEmpresa.toString(),
8702
+ id_enterprise: this.idEnterprise.toString(),
8703
+ id_empresa: this.idEmpresa,
8594
8704
  id_nomina: this.idNomina.toString(),
8595
8705
  id_constante: this.idConstante.toString(),
8596
8706
  codcons: this.codigoConstante,
@@ -8613,6 +8723,7 @@ class MConstanteNomina extends MBasicModel {
8613
8723
  class MConstantePersonalNomina extends MBasicModel {
8614
8724
  constructor(e = null) {
8615
8725
  super();
8726
+ this.idEnterprise = 0;
8616
8727
  this.idEmpresa = 0;
8617
8728
  this.idNomina = 0;
8618
8729
  this.idConstante = 0;
@@ -8633,6 +8744,7 @@ class MConstantePersonalNomina extends MBasicModel {
8633
8744
  this.denominacionCargoPersonal = '';
8634
8745
  this.idPersonal = 0;
8635
8746
  if (e) {
8747
+ this.idEnterprise = +e.id_enterprise;
8636
8748
  this.idEmpresa = +e.id_empresa;
8637
8749
  this.idNomina = +e.id_nomina;
8638
8750
  this.idConstante = +e.id_constante;
@@ -8659,7 +8771,8 @@ class MConstantePersonalNomina extends MBasicModel {
8659
8771
  }
8660
8772
  dataInterface() {
8661
8773
  return {
8662
- id_empresa: this.idEmpresa.toString(),
8774
+ id_enterprise: this.idEnterprise.toString(),
8775
+ id_empresa: this.idEmpresa,
8663
8776
  id_nomina: this.idNomina.toString(),
8664
8777
  id_constante: this.idConstante.toString(),
8665
8778
  id_personalnomina: this.idPersonalNomina.toString(),
@@ -8688,6 +8801,7 @@ class MConstantePersonalNomina extends MBasicModel {
8688
8801
  class MRango extends MBasicModel {
8689
8802
  constructor(e = null) {
8690
8803
  super();
8804
+ this.idEnterprise = 0;
8691
8805
  this.idEmpresa = 0;
8692
8806
  this.idComponente = 0;
8693
8807
  this.IdRango = 0;
@@ -8697,7 +8811,8 @@ class MRango extends MBasicModel {
8697
8811
  this.nombreAbreviatura = '';
8698
8812
  this.codigoCategoriaRango = '';
8699
8813
  if (e) {
8700
- this.idEmpresa = parseInt(e.id_empresa);
8814
+ this.idEnterprise = +e.id_enterprise;
8815
+ this.idEmpresa = +e.id_empresa;
8701
8816
  this.idComponente = parseInt(e.id_componente);
8702
8817
  this.IdRango = parseInt(e.id_rango);
8703
8818
  this.IdCategoria = parseInt(e.id_catrango);
@@ -8712,7 +8827,8 @@ class MRango extends MBasicModel {
8712
8827
  }
8713
8828
  dataInterface() {
8714
8829
  return {
8715
- id_empresa: this.idEmpresa.toString(),
8830
+ id_enterprise: this.idEnterprise.toString(),
8831
+ id_empresa: this.idEmpresa,
8716
8832
  id_componente: this.idComponente.toString(),
8717
8833
  id_rango: this.IdRango.toString(),
8718
8834
  id_catrango: this.IdCategoria.toString(),
@@ -8727,6 +8843,7 @@ class MRango extends MBasicModel {
8727
8843
  class MComponete extends MBasicModel {
8728
8844
  constructor(e) {
8729
8845
  super();
8846
+ this.idEnterprise = 0;
8730
8847
  this.idEmpresa = 0;
8731
8848
  this.idComponente = 0;
8732
8849
  this.codigoComponente = '';
@@ -8734,7 +8851,8 @@ class MComponete extends MBasicModel {
8734
8851
  this.nombreAbreviatura = '';
8735
8852
  this.rangos = [];
8736
8853
  if (e) {
8737
- this.idEmpresa = parseInt(e.id_empresa);
8854
+ this.idEnterprise = +e.id_enterprise;
8855
+ this.idEmpresa = +e.id_empresa;
8738
8856
  this.idComponente = parseInt(e.id_componente);
8739
8857
  this.codigoComponente = e.codcom;
8740
8858
  this.denominacionComponente = e.dencom;
@@ -8747,7 +8865,8 @@ class MComponete extends MBasicModel {
8747
8865
  }
8748
8866
  dataInterface() {
8749
8867
  return {
8750
- id_empresa: this.idEmpresa.toString(),
8868
+ id_enterprise: this.idEnterprise.toString(),
8869
+ id_empresa: this.idEmpresa,
8751
8870
  id_componente: this.idComponente.toString(),
8752
8871
  codcom: this.codigoComponente,
8753
8872
  dencom: this.denominacionComponente,
@@ -8760,6 +8879,7 @@ class MComponete extends MBasicModel {
8760
8879
  class MConcursante extends MBasicModel {
8761
8880
  constructor(e = null) {
8762
8881
  super();
8882
+ this.idEnterprise = 0;
8763
8883
  this.idEmpresa = 0;
8764
8884
  this.idConcurso = 0;
8765
8885
  this.codigoConcurso = '';
@@ -8786,7 +8906,8 @@ class MConcursante extends MBasicModel {
8786
8906
  this.nivelAcademico = 0;
8787
8907
  this.estatusRequisitos = 1;
8788
8908
  if (e) {
8789
- this.idEmpresa = parseInt(e.id_empresa);
8909
+ this.idEnterprise = +e.id_enterprise;
8910
+ this.idEmpresa = +e.id_empresa;
8790
8911
  this.idConcurso = parseInt(e.id_concurso);
8791
8912
  this.codigoConcurso = e.codcon;
8792
8913
  this.idConcursante = parseInt(e.id_concursante);
@@ -8815,7 +8936,8 @@ class MConcursante extends MBasicModel {
8815
8936
  }
8816
8937
  dataInterface() {
8817
8938
  return {
8818
- id_empresa: this.idEmpresa.toString(),
8939
+ id_enterprise: this.idEnterprise.toString(),
8940
+ id_empresa: this.idEmpresa,
8819
8941
  id_concurso: this.idConcurso.toString(),
8820
8942
  codcon: this.codigoConcurso,
8821
8943
  id_concursante: this.idConcursante.toString(),
@@ -8846,6 +8968,7 @@ class MConcursante extends MBasicModel {
8846
8968
  class MTrabajosConcursantes extends MBasicModel {
8847
8969
  constructor(e) {
8848
8970
  super();
8971
+ this.idEnterprise = 0;
8849
8972
  this.idEmpresa = 0;
8850
8973
  this.idConcurso = 0;
8851
8974
  this.idConcursante = 0;
@@ -8856,7 +8979,8 @@ class MTrabajosConcursantes extends MBasicModel {
8856
8979
  this.fechaIngreso = '';
8857
8980
  this.fechaRetiro = '';
8858
8981
  if (e) {
8859
- this.idEmpresa = parseInt(e.id_empresa);
8982
+ this.idEnterprise = +e.id_enterprise;
8983
+ this.idEmpresa = +e.id_empresa;
8860
8984
  this.idConcurso = parseInt(e.id_concurso);
8861
8985
  this.idConcursante = parseInt(e.id_concursante);
8862
8986
  this.idTrabajo = parseInt(e.id_trabajocon);
@@ -8872,7 +8996,8 @@ class MTrabajosConcursantes extends MBasicModel {
8872
8996
  }
8873
8997
  dataInterface() {
8874
8998
  return {
8875
- id_empresa: this.idEmpresa.toString(),
8999
+ id_enterprise: this.idEnterprise.toString(),
9000
+ id_empresa: this.idEmpresa,
8876
9001
  id_concurso: this.idConcurso.toString(),
8877
9002
  id_concursante: this.idConcursante.toString(),
8878
9003
  id_trabajocon: this.idTrabajo.toString(),
@@ -8887,6 +9012,7 @@ class MTrabajosConcursantes extends MBasicModel {
8887
9012
  class MEstudiosConcursantes extends MBasicModel {
8888
9013
  constructor(e = null) {
8889
9014
  super();
9015
+ this.idEnterprise = 0;
8890
9016
  this.idEmpresa = 0;
8891
9017
  this.idConcurso = 0;
8892
9018
  this.idConcursante = 0;
@@ -8900,7 +9026,8 @@ class MEstudiosConcursantes extends MBasicModel {
8900
9026
  this.yearAprobados = 0;
8901
9027
  this.horasEstudiosRealizadas = 0;
8902
9028
  if (e) {
8903
- this.idEmpresa = parseInt(e.id_empresa);
9029
+ this.idEnterprise = +e.id_enterprise;
9030
+ this.idEmpresa = +e.id_empresa;
8904
9031
  this.idConcurso = parseInt(e.id_concurso);
8905
9032
  this.idConcursante = parseInt(e.id_concursante);
8906
9033
  this.idEstudio = parseInt(e.id_estudiocon);
@@ -8919,7 +9046,8 @@ class MEstudiosConcursantes extends MBasicModel {
8919
9046
  }
8920
9047
  dataInterface() {
8921
9048
  return {
8922
- id_empresa: this.idEmpresa.toString(),
9049
+ id_enterprise: this.idEnterprise.toString(),
9050
+ id_empresa: this.idEmpresa,
8923
9051
  id_concurso: this.idConcurso.toString(),
8924
9052
  id_concursante: this.idConcursante.toString(),
8925
9053
  id_estudiocon: this.idEstudio.toString(),
@@ -8978,6 +9106,7 @@ class MExperienciaLaboral extends MBasicModel {
8978
9106
  class MFamiliaConcursante extends MBasicModel {
8979
9107
  constructor(e = null) {
8980
9108
  super();
9109
+ this.idEnterprise = 0;
8981
9110
  this.idEmpresa = 0;
8982
9111
  this.idConcurso = 0;
8983
9112
  this.idConcursante = 0;
@@ -8990,7 +9119,8 @@ class MFamiliaConcursante extends MBasicModel {
8990
9119
  this.nexo = '';
8991
9120
  this.fecha = '';
8992
9121
  if (e) {
8993
- this.idEmpresa = parseInt(e.id_empresa);
9122
+ this.idEnterprise = +e.id_enterprise;
9123
+ this.idEmpresa = +e.id_empresa;
8994
9124
  this.idConcurso = parseInt(e.id_concurso);
8995
9125
  this.idConcursante = parseInt(e.id_concursante);
8996
9126
  this.idFamiliar = parseInt(e.id_familiacon);
@@ -9008,7 +9138,8 @@ class MFamiliaConcursante extends MBasicModel {
9008
9138
  }
9009
9139
  dataInterface() {
9010
9140
  return {
9011
- id_empresa: this.idEmpresa.toString(),
9141
+ id_enterprise: this.idEnterprise.toString(),
9142
+ id_empresa: this.idEmpresa,
9012
9143
  id_concurso: this.idConcurso.toString(),
9013
9144
  id_concursante: this.idConcursante.toString(),
9014
9145
  id_familiacon: this.idFamiliar.toString(),
@@ -9025,6 +9156,7 @@ class MFamiliaConcursante extends MBasicModel {
9025
9156
  class MFormacionInformal extends MBasicModel {
9026
9157
  constructor(e = null) {
9027
9158
  super();
9159
+ this.idEnterprise = 0;
9028
9160
  this.idEmpresa = 0;
9029
9161
  this.idConcurso = 0;
9030
9162
  this.idConcursante = 0;
@@ -9033,7 +9165,8 @@ class MFormacionInformal extends MBasicModel {
9033
9165
  this.descripcionCurso = '';
9034
9166
  this.horasCurso = 0;
9035
9167
  if (e) {
9036
- this.idEmpresa = parseInt(e.id_empresa);
9168
+ this.idEnterprise = +e.id_enterprise;
9169
+ this.idEmpresa = +e.id_empresa;
9037
9170
  this.idConcursante = parseInt(e.id_concurso);
9038
9171
  this.idConcursante = parseInt(e.id_concursante);
9039
9172
  this.idCurso = parseInt(e.id_curso);
@@ -9047,7 +9180,8 @@ class MFormacionInformal extends MBasicModel {
9047
9180
  }
9048
9181
  dataInterface() {
9049
9182
  return {
9050
- id_empresa: this.idEmpresa.toString(),
9183
+ id_enterprise: this.idEnterprise.toString(),
9184
+ id_empresa: this.idEmpresa,
9051
9185
  id_concurso: this.idConcurso.toString(),
9052
9186
  id_concursante: this.idConcurso.toString(),
9053
9187
  id_curso: this.idCurso.toString(),
@@ -9061,6 +9195,7 @@ class MFormacionInformal extends MBasicModel {
9061
9195
  class MRequisitosConcursos extends MBasicModel {
9062
9196
  constructor(e) {
9063
9197
  super();
9198
+ this.idEnterprise = 0;
9064
9199
  this.idEmpresa = 0;
9065
9200
  this.idConcurso = 0;
9066
9201
  this.idRequisito = 0;
@@ -9069,7 +9204,8 @@ class MRequisitosConcursos extends MBasicModel {
9069
9204
  this.cantidadRequisito = 0;
9070
9205
  this.requisitoIndispensable = 0;
9071
9206
  if (e) {
9072
- this.idEmpresa = parseInt(e.id_empresa);
9207
+ this.idEnterprise = +e.id_enterprise;
9208
+ this.idEmpresa = +e.id_empresa;
9073
9209
  this.idConcurso = parseInt(e.id_concurso);
9074
9210
  this.idRequisito = parseInt(e.id_reqcon);
9075
9211
  this.codigoRequisito = e.codreqcon;
@@ -9080,7 +9216,8 @@ class MRequisitosConcursos extends MBasicModel {
9080
9216
  }
9081
9217
  dataInterface() {
9082
9218
  return {
9083
- id_empresa: this.idEmpresa.toString(),
9219
+ id_enterprise: this.idEnterprise.toString(),
9220
+ id_empresa: this.idEmpresa,
9084
9221
  id_concurso: this.idConcurso.toString(),
9085
9222
  id_reqcon: this.idRequisito.toString(),
9086
9223
  codreqcon: this.codigoRequisito,
@@ -9094,6 +9231,7 @@ class MRequisitosConcursos extends MBasicModel {
9094
9231
  class MConcurso extends MBasicModel {
9095
9232
  constructor(e = null) {
9096
9233
  super();
9234
+ this.idEnterprise = 0;
9097
9235
  this.idEmpresa = 0;
9098
9236
  this.idConcurso = 0;
9099
9237
  this.codigoConcurso = '';
@@ -9110,7 +9248,8 @@ class MConcurso extends MBasicModel {
9110
9248
  this.detalleRequisitos = [];
9111
9249
  this.eliminarDetalles = [];
9112
9250
  if (e) {
9113
- this.idEmpresa = parseInt(e.id_empresa);
9251
+ this.idEnterprise = +e.id_enterprise;
9252
+ this.idEmpresa = +e.id_empresa;
9114
9253
  this.idConcurso = parseInt(e.id_concurso);
9115
9254
  this.codigoConcurso = e.codcon;
9116
9255
  this.denominacionConcurso = e.dencon;
@@ -9130,7 +9269,8 @@ class MConcurso extends MBasicModel {
9130
9269
  }
9131
9270
  dataInterface() {
9132
9271
  return {
9133
- id_empresa: this.idEmpresa.toString(),
9272
+ id_enterprise: this.idEnterprise.toString(),
9273
+ id_empresa: this.idEmpresa,
9134
9274
  id_concurso: this.idConcurso.toString(),
9135
9275
  codcon: this.codigoConcurso,
9136
9276
  dencon: this.denominacionConcurso,
@@ -9150,6 +9290,7 @@ class MConcurso extends MBasicModel {
9150
9290
  class MPrevioEvaluacion extends MBasicModel {
9151
9291
  constructor(e = null) {
9152
9292
  super();
9293
+ this.idEnterprise = 0;
9153
9294
  this.idEmpresa = 0;
9154
9295
  this.idPrevio = 0;
9155
9296
  this.proceso = '';
@@ -9169,7 +9310,8 @@ class MPrevioEvaluacion extends MBasicModel {
9169
9310
  this.estatusRegistro = 0;
9170
9311
  this.detallesRegistro = [];
9171
9312
  if (e) {
9172
- this.idEmpresa = parseInt(e.id_empresa);
9313
+ this.idEnterprise = +e.id_enterprise;
9314
+ this.idEmpresa = +e.id_empresa;
9173
9315
  this.idPrevio = parseInt(e.id_previo);
9174
9316
  this.proceso = e.proceso;
9175
9317
  this.idConcurso = parseInt(e.id_concurso);
@@ -9195,7 +9337,8 @@ class MPrevioEvaluacion extends MBasicModel {
9195
9337
  }
9196
9338
  dataInterface() {
9197
9339
  return {
9198
- id_empresa: this.idEmpresa.toString(),
9340
+ id_enterprise: this.idEnterprise.toString(),
9341
+ id_empresa: this.idEmpresa,
9199
9342
  id_previo: this.idPrevio.toString(),
9200
9343
  proceso: this.proceso,
9201
9344
  id_concurso: this.idConcurso.toString(),
@@ -9220,6 +9363,7 @@ class MPrevioEvaluacion extends MBasicModel {
9220
9363
  class MPrevioEvaluacionDt extends MBasicModel {
9221
9364
  constructor(e = null) {
9222
9365
  super();
9366
+ this.idEnterprise = 0;
9223
9367
  this.idEmpresa = 0;
9224
9368
  this.idPrevio = 0;
9225
9369
  this.idAspecto = 0;
@@ -9231,7 +9375,8 @@ class MPrevioEvaluacionDt extends MBasicModel {
9231
9375
  this.puntos = 0;
9232
9376
  this.valorMaximo = 0;
9233
9377
  if (e) {
9234
- this.idEmpresa = parseInt(e.id_empresa);
9378
+ this.idEnterprise = +e.id_enterprise;
9379
+ this.idEmpresa = +e.id_empresa;
9235
9380
  this.idPrevio = parseInt(e.id_previo);
9236
9381
  this.idAspecto = parseInt(e.id_aspecto);
9237
9382
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
@@ -9248,7 +9393,8 @@ class MPrevioEvaluacionDt extends MBasicModel {
9248
9393
  }
9249
9394
  dataInterface() {
9250
9395
  return {
9251
- id_empresa: this.idEmpresa.toString(),
9396
+ id_enterprise: this.idEnterprise.toString(),
9397
+ id_empresa: this.idEmpresa,
9252
9398
  id_previo: this.idPrevio.toString(),
9253
9399
  id_tipoeval: this.idTipoEvaluacion.toString(),
9254
9400
  id_aspecto: this.idAspecto.toString(),
@@ -9264,6 +9410,7 @@ class MPrevioEvaluacionDt extends MBasicModel {
9264
9410
  class MResultadosEvaluacion extends MBasicModel {
9265
9411
  constructor(e) {
9266
9412
  super();
9413
+ this.idEnterprise = 0;
9267
9414
  this.idEmpresa = 0;
9268
9415
  this.idEvaluacion = 0;
9269
9416
  this.idConcurso = 0;
@@ -9280,7 +9427,8 @@ class MResultadosEvaluacion extends MBasicModel {
9280
9427
  this.resultado_rqm = 0;
9281
9428
  this.usuarioRegistro = '';
9282
9429
  if (e) {
9283
- this.idEmpresa = parseInt(e.id_empresa);
9430
+ this.idEnterprise = +e.id_enterprise;
9431
+ this.idEmpresa = +e.id_empresa;
9284
9432
  this.idEvaluacion = parseInt(e.id_evaluacion);
9285
9433
  this.idConcurso = parseInt(e.id_concurso);
9286
9434
  this.codigoConcurso = e.codcon,
@@ -9303,7 +9451,8 @@ class MResultadosEvaluacion extends MBasicModel {
9303
9451
  }
9304
9452
  dataInterface() {
9305
9453
  return {
9306
- id_empresa: this.idEmpresa.toString(),
9454
+ id_enterprise: this.idEnterprise.toString(),
9455
+ id_empresa: this.idEmpresa,
9307
9456
  id_evaluacion: this.idEvaluacion.toString(),
9308
9457
  id_concurso: this.idConcurso.toString(),
9309
9458
  codcon: this.codigoConcurso,
@@ -9326,6 +9475,7 @@ class MResultadosEvaluacion extends MBasicModel {
9326
9475
  class MTipoPersonal extends MBasicModel {
9327
9476
  constructor(e) {
9328
9477
  super();
9478
+ this.idEnterprise = 0;
9329
9479
  this.idEmpresa = 0;
9330
9480
  this.idDedicacion = 0;
9331
9481
  this.idTipoPersonal = 0;
@@ -9333,7 +9483,8 @@ class MTipoPersonal extends MBasicModel {
9333
9483
  this.codigoTipoPersonal = '';
9334
9484
  this.denominacionTipoPersonal = '';
9335
9485
  if (e) {
9336
- this.idEmpresa = parseInt(e.id_empresa);
9486
+ this.idEnterprise = +e.id_enterprise;
9487
+ this.idEmpresa = +e.id_empresa;
9337
9488
  this.idDedicacion = parseInt(e.id_dedicacion);
9338
9489
  this.idTipoPersonal = parseInt(e.id_tipopersonal);
9339
9490
  this.idDtTipoPersonal = parseInt(e.id_dt_tipopersonal);
@@ -9343,7 +9494,8 @@ class MTipoPersonal extends MBasicModel {
9343
9494
  }
9344
9495
  dataInterface() {
9345
9496
  return {
9346
- id_empresa: this.idEmpresa.toString(),
9497
+ id_enterprise: this.idEnterprise.toString(),
9498
+ id_empresa: this.idEmpresa,
9347
9499
  id_tipopersonal: this.idTipoPersonal.toString(),
9348
9500
  id_dedicacion: this.idDedicacion.toString(),
9349
9501
  id_dt_tipopersonal: this.idDtTipoPersonal.toString(),
@@ -9356,13 +9508,15 @@ class MTipoPersonal extends MBasicModel {
9356
9508
  class MDedicacion extends MBasicModel {
9357
9509
  constructor(e = null) {
9358
9510
  super();
9511
+ this.idEnterprise = 0;
9359
9512
  this.idEmpresa = 0;
9360
9513
  this.idDedicacion = 0;
9361
9514
  this.codigoDedicacion = '';
9362
9515
  this.denominacionDedicacion = '';
9363
9516
  this.tipoPersonal = [];
9364
9517
  if (e) {
9365
- this.idEmpresa = parseInt(e.id_empresa);
9518
+ this.idEnterprise = +e.id_enterprise;
9519
+ this.idEmpresa = +e.id_empresa;
9366
9520
  this.idDedicacion = parseInt(e.id_dedicacion);
9367
9521
  this.codigoDedicacion = e.codded;
9368
9522
  this.denominacionDedicacion = e.dended;
@@ -9374,7 +9528,8 @@ class MDedicacion extends MBasicModel {
9374
9528
  }
9375
9529
  dataInterface() {
9376
9530
  return {
9377
- id_empresa: this.idEmpresa.toString(),
9531
+ id_enterprise: this.idEnterprise.toString(),
9532
+ id_empresa: this.idEmpresa,
9378
9533
  id_dedicacion: this.idDedicacion.toString(),
9379
9534
  codded: this.codigoDedicacion,
9380
9535
  dended: this.denominacionDedicacion,
@@ -9386,12 +9541,16 @@ class MDedicacion extends MBasicModel {
9386
9541
  class MDefinicionesBasicas extends MBasicModel {
9387
9542
  constructor(e = null) {
9388
9543
  super();
9544
+ this.idEnterprise = 0;
9545
+ this.idEmpresa = 0;
9389
9546
  this.idDefinicion = -1;
9390
9547
  this.codigo = '';
9391
9548
  this.denominacion = '';
9392
9549
  this.tipoPersonalObrero = false;
9393
9550
  this.observacionRetenciones = '';
9394
9551
  if (e) {
9552
+ this.idEnterprise = +e.id_enterprise;
9553
+ this.idEmpresa = +e.id_empresa;
9395
9554
  this.idDefinicion = parseInt(e.id);
9396
9555
  this.codigo = e.coddef;
9397
9556
  this.denominacion = e.dendef;
@@ -9413,6 +9572,8 @@ class MDefinicionesBasicas extends MBasicModel {
9413
9572
  tipo = '1';
9414
9573
  }
9415
9574
  return {
9575
+ id_enterprise: this.idEnterprise.toString(),
9576
+ id_empresa: this.idEmpresa,
9416
9577
  id: this.idDefinicion.toString(),
9417
9578
  coddef: this.codigo,
9418
9579
  dendef: this.denominacion,
@@ -9424,6 +9585,7 @@ class MDefinicionesBasicas extends MBasicModel {
9424
9585
  class MSueldoMinimo extends MBasicModel {
9425
9586
  constructor(e) {
9426
9587
  super();
9588
+ this.idEnterprise = 0;
9427
9589
  this.idEmpresa = 0;
9428
9590
  this.idSueldoMinimo = 0;
9429
9591
  this.codigoSueldoMinimo = '';
@@ -9433,7 +9595,8 @@ class MSueldoMinimo extends MBasicModel {
9433
9595
  this.montoSueldoMinimo = 0;
9434
9596
  this.observacionSueldoMinimo = '';
9435
9597
  if (e) {
9436
- this.idEmpresa = parseInt(e.id_empresa);
9598
+ this.idEnterprise = +e.id_enterprise;
9599
+ this.idEmpresa = +e.id_empresa;
9437
9600
  this.idSueldoMinimo = parseInt(e.id_sueldominimo);
9438
9601
  this.codigoSueldoMinimo = e.codsuemin;
9439
9602
  this.annoSueldoMinimo = parseInt(e.anosuemin);
@@ -9445,7 +9608,8 @@ class MSueldoMinimo extends MBasicModel {
9445
9608
  }
9446
9609
  dataInterface() {
9447
9610
  return {
9448
- id_empresa: this.idEmpresa.toString(),
9611
+ id_enterprise: this.idEnterprise.toString(),
9612
+ id_empresa: this.idEmpresa,
9449
9613
  id_sueldominimo: this.idSueldoMinimo.toString(),
9450
9614
  codsuemin: this.codigoSueldoMinimo,
9451
9615
  anosuemin: this.annoSueldoMinimo.toString(),
@@ -9460,6 +9624,7 @@ class MSueldoMinimo extends MBasicModel {
9460
9624
  class MDeudaAnterior extends MBasicModel {
9461
9625
  constructor(e = null) {
9462
9626
  super();
9627
+ this.idEnterprise = 0;
9463
9628
  this.idEmpresa = 0;
9464
9629
  this.idPersonal = 0;
9465
9630
  this.fechaCorteDeuda = '1900-01-01';
@@ -9468,6 +9633,7 @@ class MDeudaAnterior extends MBasicModel {
9468
9633
  this.montoDeudaAnterior = 0;
9469
9634
  this.montoAnticipoInteres = 0;
9470
9635
  if (e) {
9636
+ this.idEnterprise = +e.id_enterprise;
9471
9637
  this.idEmpresa = +e.id_empresa;
9472
9638
  this.idPersonal = +e.id_personal;
9473
9639
  this.fechaCorteDeuda = e.feccordeu;
@@ -9482,6 +9648,7 @@ class MDeudaAnterior extends MBasicModel {
9482
9648
  }
9483
9649
  dataInterface() {
9484
9650
  return {
9651
+ id_enterprise: this.idEnterprise.toString(),
9485
9652
  id_empresa: this.idEmpresa,
9486
9653
  id_personal: this.idPersonal,
9487
9654
  feccordeu: this.fechaCorteDeuda,
@@ -9496,6 +9663,7 @@ class MDeudaAnterior extends MBasicModel {
9496
9663
  class MEscalaEvaluacionDt extends MBasicModel {
9497
9664
  constructor(e) {
9498
9665
  super();
9666
+ this.idEnterprise = 0;
9499
9667
  this.idEmpresa = 0;
9500
9668
  this.idEscala = 0;
9501
9669
  this.codigoDetalleEscala = '';
@@ -9504,7 +9672,8 @@ class MEscalaEvaluacionDt extends MBasicModel {
9504
9672
  this.valorFinalDetalleEscala = 0;
9505
9673
  this.idDtEscala = 0;
9506
9674
  if (e) {
9507
- this.idEmpresa = parseInt(e.id_empresa);
9675
+ this.idEnterprise = +e.id_enterprise;
9676
+ this.idEmpresa = +e.id_empresa;
9508
9677
  this.idEscala = parseInt(e.id_escala);
9509
9678
  this.codigoDetalleEscala = e.coddetesc;
9510
9679
  this.denominacionDetalleEscala = e.dendetesc;
@@ -9515,7 +9684,8 @@ class MEscalaEvaluacionDt extends MBasicModel {
9515
9684
  }
9516
9685
  dataInterface() {
9517
9686
  return {
9518
- id_empresa: this.idEmpresa.toString(),
9687
+ id_enterprise: this.idEnterprise.toString(),
9688
+ id_empresa: this.idEmpresa,
9519
9689
  id_escala: this.idEscala.toString(),
9520
9690
  coddetesc: this.codigoDetalleEscala,
9521
9691
  dendetesc: this.denominacionDetalleEscala,
@@ -9529,6 +9699,7 @@ class MEscalaEvaluacionDt extends MBasicModel {
9529
9699
  class MEscalaEvaluacion extends MBasicModel {
9530
9700
  constructor(e) {
9531
9701
  super();
9702
+ this.idEnterprise = 0;
9532
9703
  this.idEmpresa = 0;
9533
9704
  this.idEscala = 0;
9534
9705
  this.codigoEscala = '';
@@ -9537,7 +9708,8 @@ class MEscalaEvaluacion extends MBasicModel {
9537
9708
  this.valorFinalEscala = 0;
9538
9709
  this.detalles = [];
9539
9710
  if (e) {
9540
- this.idEmpresa = parseInt(e.id_empresa);
9711
+ this.idEnterprise = +e.id_enterprise;
9712
+ this.idEmpresa = +e.id_empresa;
9541
9713
  this.idEscala = parseInt(e.id_escala);
9542
9714
  this.codigoEscala = e.codesc;
9543
9715
  this.denominacionEscala = e.denesc;
@@ -9548,7 +9720,8 @@ class MEscalaEvaluacion extends MBasicModel {
9548
9720
  }
9549
9721
  dataInterface() {
9550
9722
  return {
9551
- id_empresa: this.idEmpresa.toString(),
9723
+ id_enterprise: this.idEnterprise.toString(),
9724
+ id_empresa: this.idEmpresa,
9552
9725
  id_escala: this.idEscala.toString(),
9553
9726
  codesc: this.codigoEscala,
9554
9727
  denesc: this.denominacionEscala,
@@ -9562,6 +9735,7 @@ class MEscalaEvaluacion extends MBasicModel {
9562
9735
  class MEstructuraOrganizativa extends MBasicModel {
9563
9736
  constructor(e) {
9564
9737
  super();
9738
+ this.idEnterprise = 0;
9565
9739
  this.idEmpresa = 0;
9566
9740
  this.idOrganigrama = 0;
9567
9741
  this.codigoEstructuraOrganizativa = '';
@@ -9595,7 +9769,8 @@ class MEstructuraOrganizativa extends MBasicModel {
9595
9769
  this.ubicacionZona = 0;
9596
9770
  this.ubicacionNoAplica = 0;
9597
9771
  if (e) {
9598
- this.idEmpresa = parseInt(e.id_empresa);
9772
+ this.idEnterprise = +e.id_enterprise;
9773
+ this.idEmpresa = +e.id_empresa;
9599
9774
  this.idOrganigrama = parseInt(e.id_organigrama);
9600
9775
  this.codigoEstructuraOrganizativa = e.codestorg;
9601
9776
  this.denominacionEstructuraOrganizativa = e.denestorg;
@@ -9631,7 +9806,8 @@ class MEstructuraOrganizativa extends MBasicModel {
9631
9806
  }
9632
9807
  dataInterface() {
9633
9808
  return {
9634
- id_empresa: this.idEmpresa.toString(),
9809
+ id_enterprise: this.idEnterprise.toString(),
9810
+ id_empresa: this.idEmpresa,
9635
9811
  id_organigrama: this.idOrganigrama.toString(),
9636
9812
  codestorg: this.codigoEstructuraOrganizativa,
9637
9813
  denestorg: this.denominacionEstructuraOrganizativa,
@@ -9670,6 +9846,7 @@ class MEstructuraOrganizativa extends MBasicModel {
9670
9846
  class MFamiliares extends MBasicModel {
9671
9847
  constructor(e) {
9672
9848
  super();
9849
+ this.idEnterprise = 0;
9673
9850
  this.idEmpresa = 0;
9674
9851
  this.idPersonal = 0;
9675
9852
  this.idFamiliar = 0;
@@ -9695,7 +9872,8 @@ class MFamiliares extends MBasicModel {
9695
9872
  this.Nexo = Nexofamiliar;
9696
9873
  this.Academico = NivelAcademicoFamiliar;
9697
9874
  if (e) {
9698
- this.idEmpresa = parseInt(e.id_empresa);
9875
+ this.idEnterprise = +e.id_enterprise;
9876
+ this.idEmpresa = +e.id_empresa;
9699
9877
  this.idPersonal = parseInt(e.id_personal);
9700
9878
  this.idFamiliar = parseInt(e.id_familiar);
9701
9879
  this.cedulaFamiliar = e.cedfam;
@@ -9724,7 +9902,8 @@ class MFamiliares extends MBasicModel {
9724
9902
  }
9725
9903
  dataInterface() {
9726
9904
  return {
9727
- id_empresa: this.idEmpresa.toString(),
9905
+ id_enterprise: this.idEnterprise.toString(),
9906
+ id_empresa: this.idEmpresa,
9728
9907
  id_personal: this.idPersonal.toString(),
9729
9908
  id_familiar: this.idFamiliar.toString(),
9730
9909
  cedfam: this.cedulaFamiliar,
@@ -9793,6 +9972,7 @@ class MFeriados extends MBasicModel {
9793
9972
  class MFideicomiso extends MBasicModel {
9794
9973
  constructor(e) {
9795
9974
  super();
9975
+ this.idEnterprise = 0;
9796
9976
  this.idEmpresa = 0;
9797
9977
  this.idPersonal = 0;
9798
9978
  this.idfideicomiso = 0;
@@ -9813,7 +9993,8 @@ class MFideicomiso extends MBasicModel {
9813
9993
  this.denominacionUbicacionFisica = '';
9814
9994
  this.codigoUbicacionFisica = '';
9815
9995
  if (e) {
9816
- this.idEmpresa = parseInt(e.id_empresa);
9996
+ this.idEnterprise = +e.id_enterprise;
9997
+ this.idEmpresa = +e.id_empresa;
9817
9998
  this.idPersonal = parseInt(e.id_personal);
9818
9999
  this.idfideicomiso = parseInt(e.id_fideicomiso);
9819
10000
  this.codigoFideicomiso = e.codfid;
@@ -9839,7 +10020,8 @@ class MFideicomiso extends MBasicModel {
9839
10020
  }
9840
10021
  dataInterface() {
9841
10022
  return {
9842
- id_empresa: this.idEmpresa.toString(),
10023
+ id_enterprise: this.idEnterprise.toString(),
10024
+ id_empresa: this.idEmpresa,
9843
10025
  id_personal: this.idPersonal.toString(),
9844
10026
  id_fideicomiso: this.idfideicomiso.toString(),
9845
10027
  codfid: this.codigoFideicomiso,
@@ -9861,6 +10043,7 @@ class MFideicomiso extends MBasicModel {
9861
10043
  class MConfiguracionFideicomiso extends MBasicModel {
9862
10044
  constructor(e) {
9863
10045
  super();
10046
+ this.idEnterprise = 0;
9864
10047
  this.idEmpresa = 0;
9865
10048
  this.idFideicomisoConfiguracion = 0;
9866
10049
  this.idDedicacion = 0;
@@ -9875,7 +10058,8 @@ class MConfiguracionFideicomiso extends MBasicModel {
9875
10058
  this.denominacionTipoPersonal = '';
9876
10059
  this.formulaFideicomiso = 'xxx';
9877
10060
  if (e) {
9878
- this.idEmpresa = parseInt(e.id_empresa);
10061
+ this.idEnterprise = +e.id_enterprise;
10062
+ this.idEmpresa = +e.id_empresa;
9879
10063
  this.idDedicacion = parseInt(e.id_dedicacion);
9880
10064
  this.idTipoPersonal = parseInt(e.id_tipopersonal);
9881
10065
  this.anioCursoFideicomiso = e.anocurfid;
@@ -9895,7 +10079,8 @@ class MConfiguracionFideicomiso extends MBasicModel {
9895
10079
  }
9896
10080
  dataInterface() {
9897
10081
  return {
9898
- id_empresa: this.idEmpresa.toString(),
10082
+ id_enterprise: this.idEnterprise.toString(),
10083
+ id_empresa: this.idEmpresa,
9899
10084
  id_fidconfig: this.idFideicomisoConfiguracion.toString(),
9900
10085
  id_dedicacion: this.idDedicacion.toString(),
9901
10086
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -9910,6 +10095,7 @@ class MConfiguracionFideicomiso extends MBasicModel {
9910
10095
  class MFideicomisoInteres extends MBasicModel {
9911
10096
  constructor(e) {
9912
10097
  super();
10098
+ this.idEnterprise = 0;
9913
10099
  this.idEmpresa = 0;
9914
10100
  this.idInteresFideicomiso = 0;
9915
10101
  this.mesInteres = 0;
@@ -9918,7 +10104,8 @@ class MFideicomisoInteres extends MBasicModel {
9918
10104
  this.fechaVigenciaGacetaInteres = '1900-01-01';
9919
10105
  this.montoTasaInteres = 0;
9920
10106
  if (e) {
9921
- this.idEmpresa = parseInt(e.id_empresa);
10107
+ this.idEnterprise = +e.id_enterprise;
10108
+ this.idEmpresa = +e.id_empresa;
9922
10109
  this.idInteresFideicomiso = parseInt(e.id_intfide);
9923
10110
  this.mesInteres = parseInt(e.mesint);
9924
10111
  this.anioInteres = parseInt(e.anoint);
@@ -9932,7 +10119,8 @@ class MFideicomisoInteres extends MBasicModel {
9932
10119
  }
9933
10120
  dataInterface() {
9934
10121
  return {
9935
- id_empresa: this.idEmpresa.toString(),
10122
+ id_enterprise: this.idEnterprise.toString(),
10123
+ id_empresa: this.idEmpresa,
9936
10124
  id_intfide: this.idInteresFideicomiso.toString(),
9937
10125
  mesint: this.mesInteres.toString(),
9938
10126
  anoint: this.anioInteres.toString(),
@@ -9945,6 +10133,7 @@ class MFideicomisoInteres extends MBasicModel {
9945
10133
  class MCalculoPrestacion extends MBasicModel {
9946
10134
  constructor(e = null) {
9947
10135
  super();
10136
+ this.idEnterprise = 0;
9948
10137
  this.idEmpresa = 0;
9949
10138
  this.mes = '';
9950
10139
  this.anio = '';
@@ -9953,7 +10142,8 @@ class MCalculoPrestacion extends MBasicModel {
9953
10142
  this.mesCalculado = '';
9954
10143
  this.anioCalculado = '';
9955
10144
  if (e) {
9956
- this.idEmpresa = parseInt(e.id_empresa);
10145
+ this.idEnterprise = +e.id_enterprise;
10146
+ this.idEmpresa = +e.id_empresa;
9957
10147
  this.mes = e.mes;
9958
10148
  this.anio = e.anio;
9959
10149
  this.cedulaDesde = e.cedula_desde;
@@ -9967,7 +10157,8 @@ class MCalculoPrestacion extends MBasicModel {
9967
10157
  }
9968
10158
  dataInterface() {
9969
10159
  return {
9970
- id_empresa: this.idEmpresa.toString(),
10160
+ id_enterprise: this.idEnterprise.toString(),
10161
+ id_empresa: this.idEmpresa,
9971
10162
  mes: this.mes,
9972
10163
  anio: this.anio,
9973
10164
  cedula_desde: this.cedulaDesde,
@@ -9980,6 +10171,7 @@ class MCalculoPrestacion extends MBasicModel {
9980
10171
  class MFideicomisoPeriodo extends MBasicModel {
9981
10172
  constructor(e = null) {
9982
10173
  super();
10174
+ this.idEnterprise = 0;
9983
10175
  this.idEmpresa = 0;
9984
10176
  this.idPersonal = 0;
9985
10177
  this.idNomina = 0;
@@ -10070,6 +10262,8 @@ class MFideicomisoPeriodo extends MBasicModel {
10070
10262
  class MFideicomisoPeriodoInteresCatalogo extends MBasicModel {
10071
10263
  constructor(e = null) {
10072
10264
  super();
10265
+ this.idEnterprise = 0;
10266
+ this.idEmpresa = 0;
10073
10267
  this.idPersonal = 0;
10074
10268
  this.codigoPersonal = '';
10075
10269
  this.cedulaPersonal = '';
@@ -10080,6 +10274,8 @@ class MFideicomisoPeriodoInteresCatalogo extends MBasicModel {
10080
10274
  this.denominacionEstatus = '';
10081
10275
  this.interes = [];
10082
10276
  if (e) {
10277
+ this.idEnterprise = +e.id_enterprise;
10278
+ this.idEmpresa = +e.id_empresa;
10083
10279
  this.idPersonal = +e.id_personal;
10084
10280
  this.codigoPersonal = e.codper;
10085
10281
  this.cedulaPersonal = e.cedper;
@@ -10107,6 +10303,7 @@ class MFideicomisoPeriodoInteresCatalogo extends MBasicModel {
10107
10303
  class MFideicomisoPeriodoInteres extends MBasicModel {
10108
10304
  constructor(e = null) {
10109
10305
  super();
10306
+ this.idEnterprise = 0;
10110
10307
  this.idEmpresa = 0;
10111
10308
  this.idPersonal = 0;
10112
10309
  this.idNomina = 0;
@@ -10180,6 +10377,7 @@ class MFideicomisoPeriodoInteres extends MBasicModel {
10180
10377
  class MFormacionAcademica extends MBasicModel {
10181
10378
  constructor(e) {
10182
10379
  super();
10380
+ this.idEnterprise = 0;
10183
10381
  this.idEmpresa = 0;
10184
10382
  this.idConcurso = 0;
10185
10383
  this.idConcursante = 0;
@@ -10192,7 +10390,8 @@ class MFormacionAcademica extends MBasicModel {
10192
10390
  this.tituloObtenido = '';
10193
10391
  this.yearAprobados = 0;
10194
10392
  if (e) {
10195
- this.idEmpresa = parseInt(e.id_empresa);
10393
+ this.idEnterprise = +e.id_enterprise;
10394
+ this.idEmpresa = +e.id_empresa;
10196
10395
  this.idConcurso = parseInt(e.id_concurso);
10197
10396
  this.idConcursante = parseInt(e.id_concursante);
10198
10397
  this.idEstudioConcursante = parseInt(e.id_estudiocon);
@@ -10207,7 +10406,8 @@ class MFormacionAcademica extends MBasicModel {
10207
10406
  }
10208
10407
  dataInterface() {
10209
10408
  return {
10210
- id_empresa: this.idEmpresa.toString(),
10409
+ id_enterprise: this.idEnterprise.toString(),
10410
+ id_empresa: this.idEmpresa,
10211
10411
  id_concurso: this.idConcurso.toString(),
10212
10412
  id_concursante: this.idConcursante.toString(),
10213
10413
  id_estudiocon: this.idEstudioConcursante.toString(),
@@ -10225,6 +10425,7 @@ class MFormacionAcademica extends MBasicModel {
10225
10425
  class MPrimaGrados extends MBasicModel {
10226
10426
  constructor(e = null) {
10227
10427
  super();
10428
+ this.idEnterprise = 0;
10228
10429
  this.idEmpresa = 0;
10229
10430
  this.idTabulador = 0;
10230
10431
  this.codigoGrado = '';
@@ -10234,7 +10435,8 @@ class MPrimaGrados extends MBasicModel {
10234
10435
  this.montoPrima = 0;
10235
10436
  this.IdDetallePrima = 0;
10236
10437
  if (e) {
10237
- this.idEmpresa = parseInt(e.id_empresa);
10438
+ this.idEnterprise = +e.id_enterprise;
10439
+ this.idEmpresa = +e.id_empresa;
10238
10440
  this.idTabulador = parseInt(e.id_tabulador);
10239
10441
  this.codigoGrado = e.codgra;
10240
10442
  this.codigoPaso = e.codpas;
@@ -10249,7 +10451,8 @@ class MPrimaGrados extends MBasicModel {
10249
10451
  }
10250
10452
  dataInterface() {
10251
10453
  return {
10252
- id_empresa: this.idEmpresa.toString(),
10454
+ id_enterprise: this.idEnterprise.toString(),
10455
+ id_empresa: this.idEmpresa,
10253
10456
  id_tabulador: this.idTabulador.toString(),
10254
10457
  codgra: this.codigoGrado,
10255
10458
  codpas: this.codigoPaso,
@@ -10264,6 +10467,7 @@ class MPrimaGrados extends MBasicModel {
10264
10467
  class MGrados extends MBasicModel {
10265
10468
  constructor(e = null) {
10266
10469
  super();
10470
+ this.idEnterprise = 0;
10267
10471
  this.idEmpresa = 0;
10268
10472
  this.idTabulador = 0;
10269
10473
  this.codigoGrado = 0;
@@ -10275,7 +10479,8 @@ class MGrados extends MBasicModel {
10275
10479
  this.IdDetalleGrado = 0;
10276
10480
  this.detallePrima = [];
10277
10481
  if (e) {
10278
- this.idEmpresa = parseInt(e.id_empresa);
10482
+ this.idEnterprise = +e.id_enterprise;
10483
+ this.idEmpresa = +e.id_empresa;
10279
10484
  this.idTabulador = parseInt(e.id_tabulador);
10280
10485
  this.codigoGrado = parseInt(e.codgra);
10281
10486
  this.codigoPaso = parseInt(e.codpas);
@@ -10289,7 +10494,8 @@ class MGrados extends MBasicModel {
10289
10494
  }
10290
10495
  dataInterface() {
10291
10496
  return {
10292
- id_empresa: this.idEmpresa.toString(),
10497
+ id_enterprise: this.idEnterprise.toString(),
10498
+ id_empresa: this.idEmpresa,
10293
10499
  id_tabulador: this.idTabulador.toString(),
10294
10500
  codgra: this.codigoGrado.toString(),
10295
10501
  codpas: this.codigoPaso.toString(),
@@ -10306,6 +10512,7 @@ class MGrados extends MBasicModel {
10306
10512
  class MPrimasConcepto extends MBasicModel {
10307
10513
  constructor(e = null) {
10308
10514
  super();
10515
+ this.idEnterprise = 0;
10309
10516
  this.idEmpresa = 0;
10310
10517
  this.idPrimaConcepto = 0;
10311
10518
  this.idNomina = 0;
@@ -10315,6 +10522,7 @@ class MPrimasConcepto extends MBasicModel {
10315
10522
  this.codigoConcepto = '';
10316
10523
  this.nombreConcepto = '';
10317
10524
  if (e) {
10525
+ this.idEnterprise = +e.id_enterprise;
10318
10526
  this.idEmpresa = +e.id_empresa;
10319
10527
  this.idPrimaConcepto = +e.id_primaconcepto;
10320
10528
  this.idNomina = +e.id_nomina;
@@ -10330,7 +10538,8 @@ class MPrimasConcepto extends MBasicModel {
10330
10538
  }
10331
10539
  dataInterface() {
10332
10540
  return {
10333
- id_empresa: this.idEmpresa.toString(),
10541
+ id_enterprise: this.idEnterprise.toString(),
10542
+ id_empresa: this.idEmpresa,
10334
10543
  id_primaconcepto: this.idPrimaConcepto.toString(),
10335
10544
  id_nomina: this.idNomina.toString(),
10336
10545
  id_concepto: this.idConcepto.toString(),
@@ -10345,6 +10554,7 @@ class MPrimasConcepto extends MBasicModel {
10345
10554
  class MRequisitosConcursantes extends MBasicModel {
10346
10555
  constructor(e = null) {
10347
10556
  super();
10557
+ this.idEnterprise = 0;
10348
10558
  this.idEmpresa = 0;
10349
10559
  this.idConcurso = 0;
10350
10560
  this.idConcursante = 0;
@@ -10355,7 +10565,8 @@ class MRequisitosConcursantes extends MBasicModel {
10355
10565
  this.requisitosEntregado = '';
10356
10566
  this.cantidadEntregado = 0;
10357
10567
  if (e) {
10358
- this.idEmpresa = parseInt(e.id_empresa);
10568
+ this.idEnterprise = +e.id_enterprise;
10569
+ this.idEmpresa = +e.id_empresa;
10359
10570
  this.idConcursante = parseInt(e.id_concurso);
10360
10571
  this.idConcursante = parseInt(e.id_concursante);
10361
10572
  this.idRequisitos = parseInt(e.id_reqcon);
@@ -10371,7 +10582,8 @@ class MRequisitosConcursantes extends MBasicModel {
10371
10582
  }
10372
10583
  dataInterface() {
10373
10584
  return {
10374
- id_empresa: this.idEmpresa.toString(),
10585
+ id_enterprise: this.idEnterprise.toString(),
10586
+ id_empresa: this.idEmpresa,
10375
10587
  id_concurso: this.idConcurso.toString(),
10376
10588
  id_concursante: this.idConcurso.toString(),
10377
10589
  id_reqcon: this.idRequisitos.toString(),
@@ -10387,6 +10599,7 @@ class MRequisitosConcursantes extends MBasicModel {
10387
10599
  class MRequisitosMinimos extends MBasicModel {
10388
10600
  constructor(e) {
10389
10601
  super();
10602
+ this.idEnterprise = 0;
10390
10603
  this.idEmpresa = 0;
10391
10604
  this.idConcurso = 0;
10392
10605
  this.idConcursante = 0;
@@ -10403,7 +10616,8 @@ class MRequisitosMinimos extends MBasicModel {
10403
10616
  this.items = [];
10404
10617
  this.eliminarDetalles = [];
10405
10618
  if (e) {
10406
- this.idEmpresa = parseInt(e.id_empresa);
10619
+ this.idEnterprise = +e.id_enterprise;
10620
+ this.idEmpresa = +e.id_empresa;
10407
10621
  this.idConcursante;
10408
10622
  this.codigoConcursante = e.codper;
10409
10623
  this.nombreConcursante = e.nomper + ' ' + e.apeper;
@@ -10424,7 +10638,8 @@ class MRequisitosMinimos extends MBasicModel {
10424
10638
  }
10425
10639
  dataInterface() {
10426
10640
  return {
10427
- id_empresa: this.idEmpresa.toString(),
10641
+ id_enterprise: this.idEnterprise.toString(),
10642
+ id_empresa: this.idEmpresa,
10428
10643
  id_tipoeval: this.idTipoEvaluacion.toString(),
10429
10644
  id_concurso: this.idConcurso.toString(),
10430
10645
  id_reqmin: this.IdRequisitosMinimos.toString(),
@@ -10445,6 +10660,7 @@ class MRequisitosMinimos extends MBasicModel {
10445
10660
  }
10446
10661
  class MDtRequisitosMinimos {
10447
10662
  constructor(e) {
10663
+ this.idEnterprise = 0;
10448
10664
  this.idEmpresa = 0;
10449
10665
  this.idConcurso = 0;
10450
10666
  this.fechaEvaluacion = '1900-01-01';
@@ -10458,7 +10674,8 @@ class MDtRequisitosMinimos {
10458
10674
  this.idDtRequisito = 0;
10459
10675
  this.idConcursante = 0;
10460
10676
  if (e) {
10461
- this.idEmpresa = parseInt(e.id_empresa);
10677
+ this.idEnterprise = +e.id_enterprise;
10678
+ this.idEmpresa = +e.id_empresa;
10462
10679
  this.idConcurso = parseInt(e.id_concurso);
10463
10680
  this.idConcursante = parseInt(e.id_concursante);
10464
10681
  this.fechaEvaluacion = this.fechaEvaluacion;
@@ -10474,7 +10691,8 @@ class MDtRequisitosMinimos {
10474
10691
  }
10475
10692
  dataInterface() {
10476
10693
  return {
10477
- id_empresa: this.idEmpresa.toString(),
10694
+ id_enterprise: this.idEnterprise.toString(),
10695
+ id_empresa: this.idEmpresa,
10478
10696
  id_concurso: this.idConcurso.toString(),
10479
10697
  id_tipoeval: this.idTipoEvaluacion.toString(),
10480
10698
  id_aspecto: this.idAspecto.toString(),
@@ -10493,6 +10711,7 @@ class MDtRequisitosMinimos {
10493
10711
  class MSalarioHistorico extends MBasicModel {
10494
10712
  constructor(e = null) {
10495
10713
  super();
10714
+ this.idEnterprise = 0;
10496
10715
  this.idEmpresa = 0;
10497
10716
  this.idPersonal = 0;
10498
10717
  this.idDedicacion = 0;
@@ -10512,7 +10731,8 @@ class MSalarioHistorico extends MBasicModel {
10512
10731
  this.denominacionDedicacion = '';
10513
10732
  this.denominacionTipoPersonal = '';
10514
10733
  if (e) {
10515
- this.idEmpresa = parseInt(e.id_empresa);
10734
+ this.idEnterprise = +e.id_enterprise;
10735
+ this.idEmpresa = +e.id_empresa;
10516
10736
  this.idPersonal = parseInt(e.id_personal);
10517
10737
  this.idDedicacion = parseInt(e.id_dedicacion);
10518
10738
  this.idTipoPersonal = parseInt(e.id_tipopersonal);
@@ -10534,7 +10754,8 @@ class MSalarioHistorico extends MBasicModel {
10534
10754
  }
10535
10755
  dataInterface() {
10536
10756
  return {
10537
- id_empresa: this.idEmpresa.toString(),
10757
+ id_enterprise: this.idEnterprise.toString(),
10758
+ id_empresa: this.idEmpresa,
10538
10759
  id_personal: this.idPersonal.toString(),
10539
10760
  id_dedicacion: this.idDedicacion.toString(),
10540
10761
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -10559,6 +10780,7 @@ class MSalarioHistorico extends MBasicModel {
10559
10780
  class MSolicitudEmpleo extends MBasicModel {
10560
10781
  constructor(e = null) {
10561
10782
  super();
10783
+ this.idEnterprise = 0;
10562
10784
  this.idEmpresa = 0;
10563
10785
  this.idSolicitudEmpleo = 0;
10564
10786
  this.numeroSolicitud = '';
@@ -10595,7 +10817,8 @@ class MSolicitudEmpleo extends MBasicModel {
10595
10817
  this.pesoSolicitante = 0;
10596
10818
  this.competenciaPerfilSolicitante = '';
10597
10819
  if (e) {
10598
- this.idEmpresa = parseInt(e.id_empresa);
10820
+ this.idEnterprise = +e.id_enterprise;
10821
+ this.idEmpresa = +e.id_empresa;
10599
10822
  this.idSolicitudEmpleo = parseInt(e.id_solempleo);
10600
10823
  this.numeroSolicitud = e.nrosol;
10601
10824
  this.cedulaSolicitante = e.cedsol;
@@ -10634,7 +10857,8 @@ class MSolicitudEmpleo extends MBasicModel {
10634
10857
  }
10635
10858
  dataInterface() {
10636
10859
  return {
10637
- id_empresa: this.idEmpresa.toString(),
10860
+ id_enterprise: this.idEnterprise.toString(),
10861
+ id_empresa: this.idEmpresa,
10638
10862
  id_solempleo: this.idSolicitudEmpleo.toString(),
10639
10863
  nrosol: this.numeroSolicitud,
10640
10864
  cedsol: this.cedulaSolicitante,
@@ -10676,6 +10900,7 @@ class MSolicitudEmpleo extends MBasicModel {
10676
10900
  class MTablaVacacionesPeriodo extends MBasicModel {
10677
10901
  constructor(e = null) {
10678
10902
  super();
10903
+ this.idEnterprise = 0;
10679
10904
  this.idEmpresa = 0;
10680
10905
  this.idTablaVaciones = 0;
10681
10906
  this.lapsoPeriodoVacacional = 0;
@@ -10685,7 +10910,8 @@ class MTablaVacacionesPeriodo extends MBasicModel {
10685
10910
  this.diaAdicionalBonoVacacional = 0;
10686
10911
  this.idPeriodo = 0;
10687
10912
  if (e) {
10688
- this.idEmpresa = parseInt(e.id_empresa);
10913
+ this.idEnterprise = +e.id_enterprise;
10914
+ this.idEmpresa = +e.id_empresa;
10689
10915
  this.idTablaVaciones = parseInt(e.id_tabvac);
10690
10916
  this.lapsoPeriodoVacacional = parseInt(e.lappervac);
10691
10917
  this.diaAdicionalVacaciones = parseInt(e.diadisvac);
@@ -10697,7 +10923,8 @@ class MTablaVacacionesPeriodo extends MBasicModel {
10697
10923
  }
10698
10924
  dataInterface() {
10699
10925
  return {
10700
- id_empresa: this.idEmpresa.toString(),
10926
+ id_enterprise: this.idEnterprise.toString(),
10927
+ id_empresa: this.idEmpresa,
10701
10928
  id_tabvac: this.idTablaVaciones.toString(),
10702
10929
  lappervac: this.lapsoPeriodoVacacional.toString(),
10703
10930
  diadisvac: this.diaAdicionalVacaciones.toString(),
@@ -10711,6 +10938,7 @@ class MTablaVacacionesPeriodo extends MBasicModel {
10711
10938
 
10712
10939
  class MTablaVacaciones {
10713
10940
  constructor(e = null) {
10941
+ this.idEnterprise = 0;
10714
10942
  this.idEmpresa = 0;
10715
10943
  this.idTablaVacaciones = 0;
10716
10944
  this.codigoTablaVacaciones = '';
@@ -10720,7 +10948,8 @@ class MTablaVacaciones {
10720
10948
  this.diaVacacionCalculado = false;
10721
10949
  this.periodos = [];
10722
10950
  if (e) {
10723
- this.idEmpresa = parseInt(e.id_empresa);
10951
+ this.idEnterprise = +e.id_enterprise;
10952
+ this.idEmpresa = +e.id_empresa;
10724
10953
  this.idTablaVacaciones = parseInt(e.id_tabvac);
10725
10954
  this.codigoTablaVacaciones = e.codtabvac;
10726
10955
  this.denominacionTablaVacaciones = e.dentabvac;
@@ -10750,7 +10979,8 @@ class MTablaVacaciones {
10750
10979
  dia = '1';
10751
10980
  }
10752
10981
  return {
10753
- id_empresa: this.idEmpresa.toString(),
10982
+ id_enterprise: this.idEnterprise.toString(),
10983
+ id_empresa: this.idEmpresa,
10754
10984
  id_tabvac: this.idTablaVacaciones.toString(),
10755
10985
  codtabvac: this.codigoTablaVacaciones,
10756
10986
  dentabvac: this.denominacionTablaVacaciones,
@@ -10765,6 +10995,7 @@ class MTablaVacaciones {
10765
10995
  class MTabulador extends MBasicModel {
10766
10996
  constructor(e = null) {
10767
10997
  super();
10998
+ this.idEnterprise = 0;
10768
10999
  this.idEmpresa = 0;
10769
11000
  this.idTabulador = -1;
10770
11001
  this.codigoTabulador = '';
@@ -10778,7 +11009,8 @@ class MTabulador extends MBasicModel {
10778
11009
  this.eliminarNomina = [];
10779
11010
  this.eliminarPrima = [];
10780
11011
  if (e) {
10781
- this.idEmpresa = parseInt(e.id_empresa);
11012
+ this.idEnterprise = +e.id_enterprise;
11013
+ this.idEmpresa = +e.id_empresa;
10782
11014
  this.idTabulador = parseInt(e.id_tabulador);
10783
11015
  this.codigoTabulador = e.codtab;
10784
11016
  this.descripcionTabulador = e.destab;
@@ -10795,7 +11027,8 @@ class MTabulador extends MBasicModel {
10795
11027
  }
10796
11028
  dataInterface() {
10797
11029
  return {
10798
- id_empresa: this.idEmpresa.toString(),
11030
+ id_enterprise: this.idEnterprise.toString(),
11031
+ id_empresa: this.idEmpresa,
10799
11032
  id_tabulador: this.idTabulador.toString(),
10800
11033
  codtab: this.codigoTabulador,
10801
11034
  destab: this.descripcionTabulador,
@@ -10811,6 +11044,7 @@ class MTabulador extends MBasicModel {
10811
11044
  }
10812
11045
  class MTabuladorNominas {
10813
11046
  constructor(e = null) {
11047
+ this.idEnterprise = 0;
10814
11048
  this.idEmpresa = 0;
10815
11049
  this.idNomina = 0;
10816
11050
  this.idTabulador = 0;
@@ -10826,7 +11060,8 @@ class MTabuladorNominas {
10826
11060
  this.editable = false;
10827
11061
  this.calculada = false;
10828
11062
  if (e) {
10829
- this.idEmpresa = parseInt(e.id_empresa);
11063
+ this.idEnterprise = +e.id_enterprise;
11064
+ this.idEmpresa = +e.id_empresa;
10830
11065
  this.idNomina = parseInt(e.id_nomina);
10831
11066
  this.idTabulador = parseInt(e.id_tabulador);
10832
11067
  this.codigoNomina = e.codnom;
@@ -10842,7 +11077,8 @@ class MTabuladorNominas {
10842
11077
  }
10843
11078
  dataInterface() {
10844
11079
  return {
10845
- id_empresa: this.idEmpresa.toString(),
11080
+ id_enterprise: this.idEnterprise.toString(),
11081
+ id_empresa: this.idEmpresa,
10846
11082
  id_nomina: this.idNomina.toString(),
10847
11083
  id_tabulador: this.idTabulador.toString(),
10848
11084
  id_dt_tabnom: this.idDtNomina.toString()
@@ -10853,6 +11089,7 @@ class MTabuladorNominas {
10853
11089
  class MTipoEvaluacion extends MBasicModel {
10854
11090
  constructor(e = null) {
10855
11091
  super();
11092
+ this.idEnterprise = 0;
10856
11093
  this.idEmpresa = 0;
10857
11094
  this.idTipoEvaluacion = 0;
10858
11095
  this.idEscala = 0;
@@ -10861,7 +11098,8 @@ class MTipoEvaluacion extends MBasicModel {
10861
11098
  this.codigoEscala = '';
10862
11099
  this.denominacionEscala = '';
10863
11100
  if (e) {
10864
- this.idEmpresa = parseInt(e.id_empresa);
11101
+ this.idEnterprise = +e.id_enterprise;
11102
+ this.idEmpresa = +e.id_empresa;
10865
11103
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
10866
11104
  this.idEscala = parseInt(e.id_escala);
10867
11105
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -10872,7 +11110,8 @@ class MTipoEvaluacion extends MBasicModel {
10872
11110
  }
10873
11111
  dataInterface() {
10874
11112
  return {
10875
- id_empresa: this.idEmpresa.toString(),
11113
+ id_enterprise: this.idEnterprise.toString(),
11114
+ id_empresa: this.idEmpresa,
10876
11115
  id_tipoeval: this.idTipoEvaluacion.toString(),
10877
11116
  id_escala: this.idEscala.toString(),
10878
11117
  codtipeval: this.codigoTipoEvaluacion,
@@ -10884,6 +11123,7 @@ class MTipoEvaluacion extends MBasicModel {
10884
11123
  }
10885
11124
  class MTipoEvaluacionAspecto {
10886
11125
  constructor(e = null) {
11126
+ this.idEnterprise = 0;
10887
11127
  this.idEmpresa = 0;
10888
11128
  this.idTipoEvaluacion = 0;
10889
11129
  this.idEscala = 0;
@@ -10893,7 +11133,8 @@ class MTipoEvaluacionAspecto {
10893
11133
  this.denominacionEscala = '';
10894
11134
  this.aspectos = [];
10895
11135
  if (e) {
10896
- this.idEmpresa = parseInt(e.id_empresa);
11136
+ this.idEnterprise = +e.id_enterprise;
11137
+ this.idEmpresa = +e.id_empresa;
10897
11138
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
10898
11139
  this.idEscala = parseInt(e.id_escala);
10899
11140
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -10905,7 +11146,8 @@ class MTipoEvaluacionAspecto {
10905
11146
  }
10906
11147
  dataInterface() {
10907
11148
  return {
10908
- id_empresa: this.idEmpresa.toString(),
11149
+ id_enterprise: this.idEnterprise.toString(),
11150
+ id_empresa: this.idEmpresa,
10909
11151
  id_tipoeval: this.idTipoEvaluacion.toString(),
10910
11152
  id_escala: this.idEscala.toString(),
10911
11153
  codtipeval: this.codigoTipoEvaluacion,
@@ -10920,6 +11162,7 @@ class MTipoEvaluacionAspecto {
10920
11162
  class MTiposEnfermedad extends MBasicModel {
10921
11163
  constructor(e = null) {
10922
11164
  super();
11165
+ this.idEnterprise = 0;
10923
11166
  this.idEmpresa = 0;
10924
11167
  this.idEnfermedad = 0;
10925
11168
  this.codigoEnfermedad = '';
@@ -10928,7 +11171,8 @@ class MTiposEnfermedad extends MBasicModel {
10928
11171
  this.riesgoLetal = '';
10929
11172
  this.observacionEnfermedad = '';
10930
11173
  if (e) {
10931
- this.idEmpresa = parseInt(e.id_empresa);
11174
+ this.idEnterprise = +e.id_enterprise;
11175
+ this.idEmpresa = +e.id_empresa;
10932
11176
  this.idEnfermedad = parseInt(e.id_enfermedad);
10933
11177
  this.codigoEnfermedad = e.codenf;
10934
11178
  this.denominacionEnfermedad = e.denenf;
@@ -10939,7 +11183,8 @@ class MTiposEnfermedad extends MBasicModel {
10939
11183
  }
10940
11184
  dataInterface() {
10941
11185
  return {
10942
- id_empresa: this.idEmpresa.toString(),
11186
+ id_enterprise: this.idEnterprise.toString(),
11187
+ id_empresa: this.idEmpresa,
10943
11188
  id_enfermedad: this.idEnfermedad.toString(),
10944
11189
  codenf: this.codigoEnfermedad,
10945
11190
  denenf: this.denominacionEnfermedad,
@@ -10953,6 +11198,7 @@ class MTiposEnfermedad extends MBasicModel {
10953
11198
  class MTrabajoAnterior extends MBasicModel {
10954
11199
  constructor(e = null) {
10955
11200
  super();
11201
+ this.idEnterprise = 0;
10956
11202
  this.idEmpresa = 0;
10957
11203
  this.idPersonal = 0;
10958
11204
  this.idTrabajoAnterior = 0;
@@ -10971,6 +11217,7 @@ class MTrabajoAnterior extends MBasicModel {
10971
11217
  this.codigoTrabajoAnterior = '';
10972
11218
  this.TipoEmpresa = TipoEmpresa;
10973
11219
  if (e) {
11220
+ this.idEnterprise = +e.id_enterprise;
10974
11221
  this.idEmpresa = +e.id_empresa;
10975
11222
  this.idPersonal = +e.id_personal;
10976
11223
  this.idTrabajoAnterior = +e.id_trabajoant;
@@ -10991,6 +11238,7 @@ class MTrabajoAnterior extends MBasicModel {
10991
11238
  }
10992
11239
  dataInterface() {
10993
11240
  return {
11241
+ id_enterprise: this.idEnterprise.toString(),
10994
11242
  id_empresa: this.idEmpresa,
10995
11243
  id_personal: this.idPersonal,
10996
11244
  id_trabajoant: this.idTrabajoAnterior,
@@ -11013,6 +11261,7 @@ class MTrabajoAnterior extends MBasicModel {
11013
11261
  class MUbicacionFisica extends MBasicModel {
11014
11262
  constructor(e = null) {
11015
11263
  super();
11264
+ this.idEnterprise = 0;
11016
11265
  this.idEmpresa = 0;
11017
11266
  this.idUbicacionFisica = 0;
11018
11267
  this.codigoUbicacionFisica = '';
@@ -11028,7 +11277,8 @@ class MUbicacionFisica extends MBasicModel {
11028
11277
  this.direccionUbicacionFisica = '';
11029
11278
  this.tiempoTrasladoUbicacionFisica = '';
11030
11279
  if (e) {
11031
- this.idEmpresa = parseInt(e.id_empresa);
11280
+ this.idEnterprise = +e.id_enterprise;
11281
+ this.idEmpresa = +e.id_empresa;
11032
11282
  this.idUbicacionFisica = parseInt(e.id_ubifis);
11033
11283
  this.codigoUbicacionFisica = e.codubifis;
11034
11284
  this.denominacionUbicacionFisica = e.denubifis;
@@ -11049,7 +11299,8 @@ class MUbicacionFisica extends MBasicModel {
11049
11299
  }
11050
11300
  dataInterface() {
11051
11301
  return {
11052
- id_empresa: this.idEmpresa.toString(),
11302
+ id_enterprise: this.idEnterprise.toString(),
11303
+ id_empresa: this.idEmpresa,
11053
11304
  id_ubifis: this.idUbicacionFisica.toString(),
11054
11305
  codubifis: this.codigoUbicacionFisica,
11055
11306
  denubifis: this.denominacionUbicacionFisica,
@@ -11070,6 +11321,7 @@ class MUbicacionFisica extends MBasicModel {
11070
11321
  class MVacacionesPersonal extends MBasicModel {
11071
11322
  constructor(e = null) {
11072
11323
  super();
11324
+ this.idEnterprise = 0;
11073
11325
  this.idEmpresa = 0;
11074
11326
  this.idPersonal = 0;
11075
11327
  this.idVacacionesPersonal = 0;
@@ -11104,7 +11356,8 @@ class MVacacionesPersonal extends MBasicModel {
11104
11356
  this.diasHabiles = 0;
11105
11357
  this.procesarFueraPeriodo = 0;
11106
11358
  if (e) {
11107
- this.idEmpresa = parseInt(e.id_empresa);
11359
+ this.idEnterprise = +e.id_enterprise;
11360
+ this.idEmpresa = +e.id_empresa;
11108
11361
  this.idPersonal = parseInt(e.id_personal);
11109
11362
  this.idVacacionesPersonal = parseInt(e.id_vacper);
11110
11363
  this.codigoVacaciones = parseInt(e.codvac);
@@ -11141,7 +11394,8 @@ class MVacacionesPersonal extends MBasicModel {
11141
11394
  }
11142
11395
  dataInterface() {
11143
11396
  return {
11144
- id_empresa: this.idEmpresa.toString(),
11397
+ id_enterprise: this.idEnterprise.toString(),
11398
+ id_empresa: this.idEmpresa,
11145
11399
  id_personal: this.idPersonal.toString(),
11146
11400
  id_vacper: this.idVacacionesPersonal.toString(),
11147
11401
  codvac: this.codigoVacaciones.toString(),
@@ -11181,6 +11435,7 @@ class MVacacionesPersonal extends MBasicModel {
11181
11435
  class MEncargaduria extends MBasicModel {
11182
11436
  constructor(e) {
11183
11437
  super();
11438
+ this.idEnterprise = 0;
11184
11439
  this.idEmpresa = 0;
11185
11440
  this.idPersonalNomina = 0;
11186
11441
  this.idEncargaduria = 0;
@@ -11222,7 +11477,8 @@ class MEncargaduria extends MBasicModel {
11222
11477
  this.denominacionNominaEncargado = '';
11223
11478
  this.denominacionEstatusEncargaduria = '';
11224
11479
  if (e) {
11225
- this.idEmpresa = parseInt(e.id_empresa);
11480
+ this.idEnterprise = +e.id_enterprise;
11481
+ this.idEmpresa = +e.id_empresa;
11226
11482
  this.idPersonalNomina = parseInt(e.id_personalnomina);
11227
11483
  this.idEncargaduria = parseInt(e.id_encargaduria);
11228
11484
  this.codigoEncargaduria = e.codenc;
@@ -11269,7 +11525,8 @@ class MEncargaduria extends MBasicModel {
11269
11525
  }
11270
11526
  dataInterface() {
11271
11527
  return {
11272
- id_empresa: this.idEmpresa.toString(),
11528
+ id_enterprise: this.idEnterprise.toString(),
11529
+ id_empresa: this.idEmpresa,
11273
11530
  id_personalnomina: this.idPersonalNomina.toString(),
11274
11531
  id_encargaduria: this.idEncargaduria.toString(),
11275
11532
  codenc: this.codigoEncargaduria,
@@ -11315,6 +11572,7 @@ class MEncargaduria extends MBasicModel {
11315
11572
  class MCodigoUnicoRac extends MBasicModel {
11316
11573
  constructor(e) {
11317
11574
  super();
11575
+ this.idEnterprise = 0;
11318
11576
  this.idEmpresa = 0;
11319
11577
  this.idCargoPersonal = 0;
11320
11578
  this.idNomina = 0;
@@ -11323,7 +11581,8 @@ class MCodigoUnicoRac extends MBasicModel {
11323
11581
  this.idCodigoUnicoRac = 0;
11324
11582
  this.denominacionEstatus = '';
11325
11583
  if (e) {
11326
- this.idEmpresa = parseInt(e.id_empresa);
11584
+ this.idEnterprise = +e.id_enterprise;
11585
+ this.idEmpresa = +e.id_empresa;
11327
11586
  this.idCargoPersonal = parseInt(e.id_carper);
11328
11587
  this.idNomina = parseInt(e.id_nomina);
11329
11588
  this.idCodigoUnicoRac = parseInt(e.id_codunirac);
@@ -11337,7 +11596,8 @@ class MCodigoUnicoRac extends MBasicModel {
11337
11596
  }
11338
11597
  dataInterface() {
11339
11598
  return {
11340
- id_empresa: this.idEmpresa.toString(),
11599
+ id_enterprise: this.idEnterprise.toString(),
11600
+ id_empresa: this.idEmpresa,
11341
11601
  id_carper: this.idCargoPersonal.toString(),
11342
11602
  id_nomina: this.idNomina.toString(),
11343
11603
  codunirac: this.codigoUnicoRac,
@@ -11350,6 +11610,7 @@ class MCodigoUnicoRac extends MBasicModel {
11350
11610
  class MPersonalJubilado extends MBasicModel {
11351
11611
  constructor(e) {
11352
11612
  super();
11613
+ this.idEnterprise = 0;
11353
11614
  this.idEmpresa = 0;
11354
11615
  this.idPersonal = 0;
11355
11616
  this.idJubilacion = 0;
@@ -11361,7 +11622,8 @@ class MPersonalJubilado extends MBasicModel {
11361
11622
  this.fechaFeVida = '1900-01-01';
11362
11623
  this.tipoJubilacion = 0;
11363
11624
  if (e) {
11364
- this.idEmpresa = parseInt(e.id_empresa);
11625
+ this.idEnterprise = +e.id_enterprise;
11626
+ this.idEmpresa = +e.id_empresa;
11365
11627
  this.idPersonal = parseInt(e.id_personal);
11366
11628
  this.idJubilacion = parseInt(e.id_jubilado);
11367
11629
  this.primeraRemuneracion = parseFloat(e.prirem);
@@ -11378,7 +11640,8 @@ class MPersonalJubilado extends MBasicModel {
11378
11640
  }
11379
11641
  dataInterface() {
11380
11642
  return {
11381
- id_empresa: this.idEmpresa.toString(),
11643
+ id_enterprise: this.idEnterprise.toString(),
11644
+ id_empresa: this.idEmpresa,
11382
11645
  id_personal: this.idPersonal.toString(),
11383
11646
  id_jubilado: this.idJubilacion.toString(),
11384
11647
  prirem: this.primeraRemuneracion.toString(),
@@ -11395,6 +11658,7 @@ class MPersonalJubilado extends MBasicModel {
11395
11658
  class MPermisos extends MBasicModel {
11396
11659
  constructor(e) {
11397
11660
  super();
11661
+ this.idEnterprise = 0;
11398
11662
  this.idEmpresa = 0;
11399
11663
  this.idPersonal = 0;
11400
11664
  this.idPermiso = 0;
@@ -11413,6 +11677,7 @@ class MPermisos extends MBasicModel {
11413
11677
  this.denominacionEnfermedad = '';
11414
11678
  this.TipoPermiso = TipoPermiso;
11415
11679
  if (e) {
11680
+ this.idEnterprise = +e.id_enterprise;
11416
11681
  this.idEmpresa = +e.id_empresa;
11417
11682
  this.idPersonal = +e.id_personal;
11418
11683
  this.idPermiso = +e.id_permiso;
@@ -11436,6 +11701,7 @@ class MPermisos extends MBasicModel {
11436
11701
  }
11437
11702
  dataInterface() {
11438
11703
  return {
11704
+ id_enterprise: this.idEnterprise.toString(),
11439
11705
  id_empresa: this.idEmpresa,
11440
11706
  id_personal: this.idPersonal,
11441
11707
  id_permiso: this.idPermiso,
@@ -11521,6 +11787,7 @@ class MPlantillasConstancia extends MBasicModel {
11521
11787
  class MImpuestoSobreRenta extends MBasicModel {
11522
11788
  constructor(e) {
11523
11789
  super();
11790
+ this.idEnterprise = 0;
11524
11791
  this.idEmpresa = 0;
11525
11792
  this.idPersonal = 0;
11526
11793
  this.idImpuestoSobreRenta = 0;
@@ -11540,6 +11807,7 @@ class MImpuestoSobreRenta extends MBasicModel {
11540
11807
  this.diciembre = 0;
11541
11808
  this.denominacionConcepto = '';
11542
11809
  if (e) {
11810
+ this.idEnterprise = +e.id_enterprise;
11543
11811
  this.idEmpresa = +e.id_empresa;
11544
11812
  this.idPersonal = +e.id_personal;
11545
11813
  this.idImpuestoSobreRenta = +e.id_isr;
@@ -11565,6 +11833,7 @@ class MImpuestoSobreRenta extends MBasicModel {
11565
11833
  }
11566
11834
  dataInterface() {
11567
11835
  return {
11836
+ id_enterprise: this.idEnterprise.toString(),
11568
11837
  id_empresa: this.idEmpresa,
11569
11838
  id_personal: this.idPersonal,
11570
11839
  id_isr: this.idImpuestoSobreRenta,
@@ -11590,6 +11859,7 @@ class MImpuestoSobreRenta extends MBasicModel {
11590
11859
  class MMetodoBanco extends MBasicModel {
11591
11860
  constructor(e = null) {
11592
11861
  super();
11862
+ this.idEnterprise = 0;
11593
11863
  this.idEmpresa = 0;
11594
11864
  this.idMetodoBanco = 0;
11595
11865
  this.id = 0;
@@ -11605,7 +11875,8 @@ class MMetodoBanco extends MBasicModel {
11605
11875
  this.numeroConvenio = '';
11606
11876
  this.activo = 0;
11607
11877
  if (e) {
11608
- this.idEmpresa = parseInt(e.id_empresa);
11878
+ this.idEnterprise = +e.id_enterprise;
11879
+ this.idEmpresa = +e.id_empresa;
11609
11880
  this.idMetodoBanco = parseInt(e.id_metbco);
11610
11881
  this.codigoMetodo = e.codmet;
11611
11882
  this.denominacionMetodo = e.denmet;
@@ -11626,7 +11897,8 @@ class MMetodoBanco extends MBasicModel {
11626
11897
  }
11627
11898
  dataInterface() {
11628
11899
  return {
11629
- id_empresa: this.idEmpresa.toString(),
11900
+ id_enterprise: this.idEnterprise.toString(),
11901
+ id_empresa: this.idEmpresa,
11630
11902
  id_metbco: this.idMetodoBanco.toString(),
11631
11903
  codmet: this.codigoMetodo,
11632
11904
  denmet: this.denominacionMetodo,
@@ -11646,6 +11918,7 @@ class MMetodoBanco extends MBasicModel {
11646
11918
  class MMetodos extends MBasicModel {
11647
11919
  constructor(e = null) {
11648
11920
  super();
11921
+ this.idEnterprise = 0;
11649
11922
  this.idEmpresa = 0;
11650
11923
  this.idMetodo = 0;
11651
11924
  this.codigoMetodo = '';
@@ -11656,7 +11929,8 @@ class MMetodos extends MBasicModel {
11656
11929
  this.montoDescuentoDia = 0;
11657
11930
  this.numeroTarjeta = '';
11658
11931
  if (e) {
11659
- this.idEmpresa = parseInt(e.id_empresa);
11932
+ this.idEnterprise = +e.id_enterprise;
11933
+ this.idEmpresa = +e.id_empresa;
11660
11934
  this.idMetodo = parseInt(e.id_metodo);
11661
11935
  this.codigoMetodo = e.codmet;
11662
11936
  this.denominacionMetodo = e.denmet;
@@ -11672,7 +11946,8 @@ class MMetodos extends MBasicModel {
11672
11946
  }
11673
11947
  dataInterface() {
11674
11948
  return {
11675
- id_empresa: this.idEmpresa.toString(),
11949
+ id_enterprise: this.idEnterprise.toString(),
11950
+ id_empresa: this.idEmpresa,
11676
11951
  id_metodo: this.idMetodo.toString(),
11677
11952
  codmet: this.codigoMetodo,
11678
11953
  denmet: this.denominacionMetodo,
@@ -11688,6 +11963,7 @@ class MMetodos extends MBasicModel {
11688
11963
  class MPrestamo extends MBasicModel {
11689
11964
  constructor(e = null) {
11690
11965
  super();
11966
+ this.idEnterprise = 0;
11691
11967
  this.idEmpresa = 0;
11692
11968
  this.idPersonal = 0;
11693
11969
  this.idPrestamo = 0;
@@ -11718,6 +11994,7 @@ class MPrestamo extends MBasicModel {
11718
11994
  this.periodos = [];
11719
11995
  this.amortizacion = [];
11720
11996
  if (e) {
11997
+ this.idEnterprise = +e.id_enterprise;
11721
11998
  this.idEmpresa = +e.id_empresa;
11722
11999
  this.idPrestamo = +e.id_prestamo;
11723
12000
  this.idPersonal = +e.id_personal;
@@ -11754,6 +12031,7 @@ class MPrestamo extends MBasicModel {
11754
12031
  }
11755
12032
  dataInterface() {
11756
12033
  return {
12034
+ id_enterprise: this.idEnterprise.toString(),
11757
12035
  id_empresa: this.idEmpresa,
11758
12036
  id_personal: this.idPersonal,
11759
12037
  id_prestamo: this.idPrestamo,
@@ -11812,6 +12090,7 @@ class MPrestamo extends MBasicModel {
11812
12090
  class MPrestamosPeriodo extends MBasicModel {
11813
12091
  constructor(e) {
11814
12092
  super();
12093
+ this.idEnterprise = 0;
11815
12094
  this.idEmpresa = 0;
11816
12095
  this.idPersonal = 0;
11817
12096
  this.idPrestamo = 0;
@@ -11822,6 +12101,7 @@ class MPrestamosPeriodo extends MBasicModel {
11822
12101
  this.montoCuota = 0;
11823
12102
  this.estatusCuota = 0;
11824
12103
  if (e) {
12104
+ this.idEnterprise = +e.id_enterprise;
11825
12105
  this.idEmpresa = +e.id_empresa;
11826
12106
  this.idPersonal = +e.id_personal;
11827
12107
  this.idPrestamo = +e.id_prestamo;
@@ -11840,6 +12120,7 @@ class MPrestamosPeriodo extends MBasicModel {
11840
12120
  }
11841
12121
  dataInterface() {
11842
12122
  return {
12123
+ id_enterprise: this.idEnterprise.toString(),
11843
12124
  id_empresa: this.idEmpresa,
11844
12125
  id_personal: this.idPersonal,
11845
12126
  id_prestamo: this.idPrestamo,
@@ -11863,6 +12144,7 @@ class MPrestamosPeriodo extends MBasicModel {
11863
12144
  class MPrestamoAmortizacion extends MBasicModel {
11864
12145
  constructor(e) {
11865
12146
  super();
12147
+ this.idEnterprise = 0;
11866
12148
  this.idEmpresa = 0;
11867
12149
  this.idPersonal = 0;
11868
12150
  this.idPrestamo = 0;
@@ -11872,6 +12154,7 @@ class MPrestamoAmortizacion extends MBasicModel {
11872
12154
  this.montoAmortizacion = 0;
11873
12155
  this.descripcionAmortizacion = '';
11874
12156
  if (e) {
12157
+ this.idEnterprise = +e.id_enterprise;
11875
12158
  this.idEmpresa = +e.id_empresa;
11876
12159
  this.idPersonal = +e.id_personal;
11877
12160
  this.idPrestamo = +e.id_prestamo;
@@ -11884,6 +12167,7 @@ class MPrestamoAmortizacion extends MBasicModel {
11884
12167
  }
11885
12168
  dataInterface() {
11886
12169
  return {
12170
+ id_enterprise: this.idEnterprise.toString(),
11887
12171
  id_empresa: this.idEmpresa,
11888
12172
  id_personal: this.idPersonal,
11889
12173
  id_prestamo: this.idPrestamo,
@@ -12350,6 +12634,7 @@ const moment$2 = require("moment");
12350
12634
  class MSnoLog extends MBasicModel {
12351
12635
  constructor(e) {
12352
12636
  super();
12637
+ this.idEnterprise = 0;
12353
12638
  this.idEmpresa = 0;
12354
12639
  this.idPersonal = 0;
12355
12640
  this.idAuditoriaPersonal = 0;
@@ -12365,6 +12650,7 @@ class MSnoLog extends MBasicModel {
12365
12650
  this.evento = '';
12366
12651
  this.campoPermitido = Campos;
12367
12652
  if (e) {
12653
+ this.idEnterprise = +e.id_enterprise;
12368
12654
  this.idEmpresa = +e.id_empresa;
12369
12655
  this.idPersonal = +e.id_personal;
12370
12656
  this.idAuditoriaPersonal = +e.id_auditoria_personal;
@@ -12385,7 +12671,8 @@ class MSnoLog extends MBasicModel {
12385
12671
  }
12386
12672
  dataInteface() {
12387
12673
  return {
12388
- id_empresa: this.idEmpresa.toString(),
12674
+ id_enterprise: this.idEnterprise.toString(),
12675
+ id_empresa: this.idEmpresa,
12389
12676
  id_personal: this.idPersonal.toString(),
12390
12677
  id_auditoria_personal: this.idAuditoriaPersonal.toString(),
12391
12678
  id_registro: this.idRegistro.toString(),
@@ -12402,8 +12689,10 @@ class MSnoLog extends MBasicModel {
12402
12689
  }
12403
12690
  }
12404
12691
 
12692
+ const moment$3 = require("moment");
12405
12693
  class MPlanHorario {
12406
12694
  constructor(e = null) {
12695
+ this.idEnterprise = 0;
12407
12696
  this.idEmpresa = 0;
12408
12697
  this.idPlanHorario = 0;
12409
12698
  this.idNomina = 0;
@@ -12417,6 +12706,7 @@ class MPlanHorario {
12417
12706
  this.denominacionNomina = '';
12418
12707
  this.periodos = [];
12419
12708
  if (e) {
12709
+ this.idEnterprise = +e.id_enterprise;
12420
12710
  this.idEmpresa = +e.id_empresa;
12421
12711
  this.idPlanHorario = +e.id_planhor;
12422
12712
  this.idNomina = e.id_nomina;
@@ -12435,6 +12725,7 @@ class MPlanHorario {
12435
12725
  }
12436
12726
  dataInterface() {
12437
12727
  return {
12728
+ id_enterprise: this.idEnterprise.toString(),
12438
12729
  id_empresa: this.idEmpresa,
12439
12730
  id_planhor: this.idPlanHorario,
12440
12731
  id_nomina: this.idNomina,
@@ -12450,6 +12741,7 @@ class MPlanHorario {
12450
12741
  }
12451
12742
  class MPeriodosPlan {
12452
12743
  constructor(e) {
12744
+ this.idEnterprise = 0;
12453
12745
  this.idEmpresa = 0;
12454
12746
  this.idPlanHorario = 0;
12455
12747
  this.denominacionPeriodoPlan = '';
@@ -12459,75 +12751,56 @@ class MPeriodosPlan {
12459
12751
  this.codigoPeriodoNomina = '';
12460
12752
  this.tipoFeriado = false;
12461
12753
  this.simboloFeriado = '';
12462
- this.horarios = [];
12463
- if (e) {
12464
- this.idEmpresa = +e.id_empresa;
12465
- this.idPlanHorario = +e.id_planhor;
12466
- this.denominacionPeriodoPlan = e.denperplan;
12467
- this.fechaPeriodoPlan = e.fecperplan;
12468
- this.idPeriodo = +e.id_periodo;
12469
- this.idPeriodoPlan = e.id_perplan;
12470
- this.codigoPeriodoNomina = e.codperi;
12471
- this.tipoFeriado = e.tipfer == '1' ? true : false;
12472
- if (this.tipoFeriado) {
12473
- this.simboloFeriado = 'check_small';
12474
- }
12475
- if (e.horarios) {
12476
- this.horarios = e.horarios.map(e => new MHorarioPeriodosPlan(e));
12477
- }
12478
- }
12479
- }
12480
- dataInterface() {
12481
- return {
12482
- id_empresa: this.idEmpresa,
12483
- id_planhor: this.idPlanHorario,
12484
- denperplan: this.denominacionPeriodoPlan,
12485
- fecperplan: this.fechaPeriodoPlan,
12486
- id_periodo: this.idPeriodo,
12487
- id_perplan: this.idPeriodoPlan,
12488
- tipfer: this.tipoFeriado ? '1' : '0',
12489
- horarios: this.horarios.map(function (e) { return e.dataInterface(); })
12490
- };
12491
- }
12492
- }
12493
- class MHorarioPeriodosPlan {
12494
- constructor(e) {
12495
- this.idEmpresa = 0;
12496
- this.idPlanHorario = 0;
12497
- this.idPeriodoPlan = 0;
12498
12754
  this.idHora = 0;
12499
12755
  this.incidencias = [];
12500
- this.descripcionHorario = '';
12501
- this.idDetalle = 0;
12502
12756
  this.codigoHorario = '';
12503
12757
  this.denominacionHorario = '';
12504
12758
  this.horaInicio = '';
12505
12759
  this.horaFinal = '';
12760
+ this.denomiacionFecha = '';
12761
+ this.dia = '';
12762
+ this.descripcionHorario = '';
12506
12763
  if (e) {
12507
- this.idEmpresa = e.id_empresa;
12764
+ this.idEnterprise = +e.id_enterprise;
12765
+ this.idEmpresa = +e.id_empresa;
12508
12766
  this.idPlanHorario = e.id_planhor;
12767
+ this.denominacionPeriodoPlan = e.denperplan;
12768
+ this.fechaPeriodoPlan = e.fecperplan;
12769
+ this.idPeriodo = e.id_periodo;
12509
12770
  this.idPeriodoPlan = e.id_perplan;
12771
+ this.codigoPeriodoNomina = e.codperi;
12772
+ this.tipoFeriado = e.tipfer == '1' ? true : false;
12773
+ moment$3.locale('es');
12774
+ let day = moment$3(this.fechaPeriodoPlan);
12775
+ let dia = moment$3.weekdays(day.day());
12776
+ this.denomiacionFecha = dia + ', ' + moment$3(this.fechaPeriodoPlan).format('DD-MM-YYYY');
12777
+ if (this.tipoFeriado && dia != 'domingo') {
12778
+ this.simboloFeriado = 'check_small';
12779
+ }
12510
12780
  this.idHora = e.id_hora;
12511
12781
  this.codigoHorario = e.codhor;
12512
12782
  this.denominacionHorario = e.denhor;
12513
- this.horaInicio = moment$3(e.horini, 'H:m:s').format('h:mm a');
12514
- this.horaFinal = moment$3(e.horfin, 'H:m:s').format('h:mm a');
12515
12783
  if (e.incidencias != '') {
12516
12784
  this.incidencias = e.incidencias.split(',');
12517
12785
  }
12518
12786
  ;
12519
- this.idDetalle = e.id_dt_horperplan;
12787
+ this.horaInicio = moment$3(e.horini, 'H:m:s').format('h:mm a');
12788
+ this.horaFinal = moment$3(e.horfin, 'H:m:s').format('h:mm a');
12520
12789
  this.descripcionHorario = this.codigoHorario + ' - ' + this.denominacionHorario + ' - ' + this.horaInicio + '-' + this.horaFinal;
12521
12790
  }
12522
12791
  }
12523
12792
  dataInterface() {
12524
12793
  return {
12794
+ id_enterprise: this.idEnterprise.toString(),
12525
12795
  id_empresa: this.idEmpresa,
12526
12796
  id_planhor: this.idPlanHorario,
12797
+ denperplan: this.denominacionPeriodoPlan,
12798
+ fecperplan: this.fechaPeriodoPlan,
12799
+ id_periodo: this.idPeriodo,
12527
12800
  id_perplan: this.idPeriodoPlan,
12801
+ tipfer: this.tipoFeriado ? '1' : '0',
12528
12802
  id_hora: this.idHora,
12529
12803
  incidencias: this.incidencias.length > 0 ? this.incidencias.join(',') : "",
12530
- id_dt_horperplan: this.idDetalle,
12531
12804
  };
12532
12805
  }
12533
12806
  }
@@ -12563,5 +12836,5 @@ class customPaginator extends MatPaginatorIntl {
12563
12836
  * Generated bundle index. Do not edit.
12564
12837
  */
12565
12838
 
12566
- export { Acciones, AppModule, CausaEgreso, ContabilizacionNomina, CurrencyService, Destino, EstadoCivil, Estatus, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, LetraRif, Longitud, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MArchivosTxt, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCambioEstatusPersonal, MCargaFamiliar, MCargaMasiva, MCargo, MCargoEstructuraOrganizativa, MCargosNominas, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MCodigoUnicoRac, MCommunity, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEnterprise, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MEstudiosConcursantes, MEstudiosRealizados, MExperienciaLaboral, MFamiliaConcursante, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFormacionInformal, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MHorario, MHorarioPeriodosPlan, MImpuestoSobreRenta, MItemsEvalucion, MLog, MMetodoBanco, MMetodos, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPeriodosPlan, MPermisos, MPersonal, MPersonalCuentaBanco, MPersonalJubilado, MPersonalNomina, MPlanHorario, MPlanUnicoCuenta, MPlantillasConstancia, MPrestacionesAntiguedad, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRArchivoTXT, MRConsolidadoConceptos, MRConstanciaTrabajo, MRango, MRequisitosConcursantes, MRequisitosConcursos, MRequisitosMinimos, MResultadosEvaluacion, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSnoLog, MSolicitudEmpleo, MSpecialty, MState, MSueldoMinimo, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDepositos, MTipoDocumentoCXP, MTipoEvaluacion, MTipoEvaluacionAspecto, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MVacacionesPersonal, Meses, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SigespService, Signo, SituacionPersonal, TipoBeneficiario, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator, AppComponent as ɵf, SharedModule as ɵg, CatalogoComponent as ɵh, ConfirmComponent as ɵj, IconComponent as ɵk, TableSelectComponent as ɵl, CatalogoEstructurasComponent as ɵm, CatalogoDobleInputComponent as ɵn, IsoCurrencyPipe as ɵo, CustonMaterialModule as ɵp };
12839
+ export { Acciones, AppModule, CausaEgreso, ContabilizacionNomina, CurrencyService, Destino, EstadoCivil, Estatus, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, LetraRif, Longitud, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MArchivosTxt, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCambioEstatusPersonal, MCargaFamiliar, MCargaMasiva, MCargo, MCargoEstructuraOrganizativa, MCargosNominas, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MCodigoUnicoRac, MCommunity, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEnterprise, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MEstudiosConcursantes, MEstudiosRealizados, MExperienciaLaboral, MFamiliaConcursante, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFormacionInformal, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MHorario, MImpuestoSobreRenta, MItemsEvalucion, MLog, MMetodoBanco, MMetodos, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPeriodosPlan, MPermisos, MPersonal, MPersonalCuentaBanco, MPersonalJubilado, MPersonalNomina, MPlanHorario, MPlanUnicoCuenta, MPlantillasConstancia, MPrestacionesAntiguedad, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRArchivoTXT, MRConsolidadoConceptos, MRConstanciaTrabajo, MRango, MRequisitosConcursantes, MRequisitosConcursos, MRequisitosMinimos, MResultadosEvaluacion, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSnoLog, MSolicitudEmpleo, MSpecialty, MState, MSueldoMinimo, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDepositos, MTipoDocumentoCXP, MTipoEvaluacion, MTipoEvaluacionAspecto, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MVacacionesPersonal, Meses, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SigespService, Signo, SituacionPersonal, TipoBeneficiario, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator, AppComponent as ɵf, SharedModule as ɵg, CatalogoComponent as ɵh, ConfirmComponent as ɵj, IconComponent as ɵk, TableSelectComponent as ɵl, CatalogoEstructurasComponent as ɵm, CatalogoDobleInputComponent as ɵn, IsoCurrencyPipe as ɵo, CustonMaterialModule as ɵp };
12567
12840
  //# sourceMappingURL=sigesp.js.map