softdinlibreriajs 1.0.13 → 12.0.22
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.
package/package.json
CHANGED
|
@@ -30,8 +30,8 @@ class EnumConceptosCertificacion {
|
|
|
30
30
|
static DESCRIPCION_CARGO = 29;
|
|
31
31
|
static SALARIO_LETRAS = 30;
|
|
32
32
|
static DESCRIPCION_CONTRATO = 31;
|
|
33
|
-
static
|
|
34
|
-
static
|
|
33
|
+
static CONTRATACION = 32;
|
|
34
|
+
static TIPO_DE_CONTRATACION = 33;
|
|
35
35
|
static PORCENTAJE_ARL = 34;
|
|
36
36
|
static CEDULA_REPRESENTANTE_LEGAL = 35;
|
|
37
37
|
static CCF = 36;
|
|
@@ -53,58 +53,58 @@ class EnumConceptosCertificacion {
|
|
|
53
53
|
static TEL_EMERGENCIA = 52;
|
|
54
54
|
|
|
55
55
|
static descriptions = [
|
|
56
|
-
{ id: EnumConceptosCertificacion.NIT,
|
|
57
|
-
{ id: EnumConceptosCertificacion.RAZON_SOCIAL,
|
|
58
|
-
{ id: EnumConceptosCertificacion.SIGLA,
|
|
59
|
-
{ id: EnumConceptosCertificacion.REPRESENTANTE_LEGAL,
|
|
60
|
-
{ id: EnumConceptosCertificacion.TIPO_IDENTIFICACION,
|
|
61
|
-
{ id: EnumConceptosCertificacion.IDENTIFICACION,
|
|
62
|
-
{ id: EnumConceptosCertificacion.LUGAR_EXPEDICION,
|
|
63
|
-
{ id: EnumConceptosCertificacion.APELLIDOS_NOMBRES,
|
|
64
|
-
{ id: EnumConceptosCertificacion.CARGO,
|
|
65
|
-
{ id: EnumConceptosCertificacion.SALARIO,
|
|
66
|
-
{ id: EnumConceptosCertificacion.FECHA_PERIODO_INICIO_LARGO,
|
|
67
|
-
{ id: EnumConceptosCertificacion.FECHA_PERIODO_INICIO_CORTO,
|
|
68
|
-
{ id: EnumConceptosCertificacion.FECHA_PERIODO_FINAL_LARGO,
|
|
69
|
-
{ id: EnumConceptosCertificacion.FECHA_PERIODO_FINAL_CORTO,
|
|
70
|
-
{ id: EnumConceptosCertificacion.SUCURSAL,
|
|
71
|
-
{ id: EnumConceptosCertificacion.SEDE,
|
|
72
|
-
{ id: EnumConceptosCertificacion.DIVISION,
|
|
73
|
-
{ id: EnumConceptosCertificacion.TIPO_CONTRATO,
|
|
74
|
-
{ id: EnumConceptosCertificacion.AREA_TRABAJO,
|
|
75
|
-
{ id: EnumConceptosCertificacion.BANCO,
|
|
76
|
-
{ id: EnumConceptosCertificacion.TIPO_CUENTA_BANCARIA,
|
|
77
|
-
{ id: EnumConceptosCertificacion.CUENTA_BANCARIA,
|
|
78
|
-
{ id: EnumConceptosCertificacion.EPS,
|
|
79
|
-
{ id: EnumConceptosCertificacion.AFP,
|
|
80
|
-
{ id: EnumConceptosCertificacion.CESANTIAS,
|
|
81
|
-
{ id: EnumConceptosCertificacion.MOTIVO_RETIRO,
|
|
82
|
-
{ id: EnumConceptosCertificacion.FECHA_ACTUAL_LARGO,
|
|
83
|
-
{ id: EnumConceptosCertificacion.FECHA_ACTUAL_CORTO,
|
|
84
|
-
{ id: EnumConceptosCertificacion.DESCRIPCION_CARGO,
|
|
85
|
-
{ id: EnumConceptosCertificacion.SALARIO_LETRAS,
|
|
86
|
-
{ id: EnumConceptosCertificacion.DESCRIPCION_CONTRATO,
|
|
87
|
-
{ id: EnumConceptosCertificacion.
|
|
88
|
-
{ id: EnumConceptosCertificacion.
|
|
89
|
-
{ id: EnumConceptosCertificacion.PORCENTAJE_ARL,
|
|
90
|
-
{ id: EnumConceptosCertificacion.CEDULA_REPRESENTANTE_LEGAL,
|
|
91
|
-
{ id: EnumConceptosCertificacion.CCF,
|
|
92
|
-
{ id: EnumConceptosCertificacion.FECHA_NACIMIENTO_LARGO,
|
|
93
|
-
{ id: EnumConceptosCertificacion.FECHA_NACIMIENTO_CORTO,
|
|
94
|
-
{ id: EnumConceptosCertificacion.BARRIO,
|
|
95
|
-
{ id: EnumConceptosCertificacion.DIRECCION_RESIDENCIAL,
|
|
96
|
-
{ id: EnumConceptosCertificacion.LUGAR_NACIMIENTO,
|
|
97
|
-
{ id: EnumConceptosCertificacion.OBJETIVO_CONTRATO,
|
|
98
|
-
{ id: EnumConceptosCertificacion.RETEFUENTE_PROCEDIMIENTO,
|
|
99
|
-
{ id: EnumConceptosCertificacion.BONIFICACION_HS,
|
|
100
|
-
{ id: EnumConceptosCertificacion.CONSECUTIVO_CONTRATO,
|
|
101
|
-
{ id: EnumConceptosCertificacion.PERIODO_PRUEBA,
|
|
102
|
-
{ id: EnumConceptosCertificacion.SALARIO_DIA,
|
|
103
|
-
{ id: EnumConceptosCertificacion.DURACION_CONTRATO,
|
|
104
|
-
{ id: EnumConceptosCertificacion.TELEFONO,
|
|
105
|
-
{ id: EnumConceptosCertificacion.CELULAR,
|
|
106
|
-
{ id: EnumConceptosCertificacion.EMAIL,
|
|
107
|
-
{ id: EnumConceptosCertificacion.TEL_EMERGENCIA,
|
|
56
|
+
{ id: EnumConceptosCertificacion.NIT, description2: "NIT", code: "<<01>>", description: "<<01>> NIT" },
|
|
57
|
+
{ id: EnumConceptosCertificacion.RAZON_SOCIAL, description2: "RAZON SOCIAL", code: "<<02>>", description: "<<02>> RAZON SOCIAL" },
|
|
58
|
+
{ id: EnumConceptosCertificacion.SIGLA, description2: "SIGLA", code: "<<03>>", description: "<<03>> SIGLA" },
|
|
59
|
+
{ id: EnumConceptosCertificacion.REPRESENTANTE_LEGAL, description2: "REPRESENTANTE LEGAL", code: "<<04>>", description: "<<04>> REPRESENTANTE LEGAL" },
|
|
60
|
+
{ id: EnumConceptosCertificacion.TIPO_IDENTIFICACION, description2: "TIPO IDENTIFICACION", code: "<<05>>", description: "<<05>> TIPO IDENTIFICACION" },
|
|
61
|
+
{ id: EnumConceptosCertificacion.IDENTIFICACION, description2: "IDENTIFICACION", code: "<<06>>", description: "<<06>> IDENTIFICACION" },
|
|
62
|
+
{ id: EnumConceptosCertificacion.LUGAR_EXPEDICION, description2: "LUGAR EXPEDICION", code: "<<07>>", description: "<<07>> LUGAR EXPEDICION" },
|
|
63
|
+
{ id: EnumConceptosCertificacion.APELLIDOS_NOMBRES, description2: "APELLIDOS NOMBRES", code: "<<08>>", description: "<<08>> APELLIDOS NOMBRES" },
|
|
64
|
+
{ id: EnumConceptosCertificacion.CARGO, description2: "CARGO", code: "<<09>>", description: "<<09>> CARGO" },
|
|
65
|
+
{ id: EnumConceptosCertificacion.SALARIO, description2: "SALARIO", code: "<<10>>", description: "<<10>> SALARIO" },
|
|
66
|
+
{ id: EnumConceptosCertificacion.FECHA_PERIODO_INICIO_LARGO, description2: "FECHA PERIODO INICIO LARGO", code: "<<11>>", description: "<<11>> FECHA PERIODO INICIO LARGO" },
|
|
67
|
+
{ id: EnumConceptosCertificacion.FECHA_PERIODO_INICIO_CORTO, description2: "FECHA PERIODO INICIO CORTO", code: "<<12>>", description: "<<12>> FECHA PERIODO INICIO CORTO" },
|
|
68
|
+
{ id: EnumConceptosCertificacion.FECHA_PERIODO_FINAL_LARGO, description2: "FECHA PERIODO FINAL LARGO", code: "<<13>>", description: "<<13>> FECHA PERIODO FINAL LARGO" },
|
|
69
|
+
{ id: EnumConceptosCertificacion.FECHA_PERIODO_FINAL_CORTO, description2: "FECHA PERIODO FINAL CORTO", code: "<<14>>", description: "<<14>> FECHA PERIODO FINAL CORTO" },
|
|
70
|
+
{ id: EnumConceptosCertificacion.SUCURSAL, description2: "SUCURSAL", code: "<<15>>", description: "<<15>> SUCURSAL" },
|
|
71
|
+
{ id: EnumConceptosCertificacion.SEDE, description2: "SEDE", code: "<<16>>", description: "<<16>> SEDE" },
|
|
72
|
+
{ id: EnumConceptosCertificacion.DIVISION, description2: "DIVISION", code: "<<17>>", description: "<<17>> DIVISION" },
|
|
73
|
+
{ id: EnumConceptosCertificacion.TIPO_CONTRATO, description2: "TIPO CONTRATO", code: "<<18>>", description: "<<18>> TIPO CONTRATO" },
|
|
74
|
+
{ id: EnumConceptosCertificacion.AREA_TRABAJO, description2: "AREA TRABAJO", code: "<<19>>", description: "<<19>> AREA TRABAJO" },
|
|
75
|
+
{ id: EnumConceptosCertificacion.BANCO, description2: "BANCO", code: "<<20>>", description: "<<20>> BANCO" },
|
|
76
|
+
{ id: EnumConceptosCertificacion.TIPO_CUENTA_BANCARIA, description2: "TIPO CUENTA BANCARIA", code: "<<21>>", description: "<<21>> TIPO CUENTA BANCARIA" },
|
|
77
|
+
{ id: EnumConceptosCertificacion.CUENTA_BANCARIA, description2: "CUENTA BANCARIA", code: "<<22>>", description: "<<22>> CUENTA BANCARIA" },
|
|
78
|
+
{ id: EnumConceptosCertificacion.EPS, description2: "EPS", code: "<<23>>", description: "<<23>> EPS" },
|
|
79
|
+
{ id: EnumConceptosCertificacion.AFP, description2: "AFP", code: "<<24>>", description: "<<24>> AFP" },
|
|
80
|
+
{ id: EnumConceptosCertificacion.CESANTIAS, description2: "CESANTIAS", code: "<<25>>", description: "<<25>> CESANTIAS" },
|
|
81
|
+
{ id: EnumConceptosCertificacion.MOTIVO_RETIRO, description2: "MOTIVO RETIRO", code: "<<26>>", description: "<<26>> MOTIVO RETIRO" },
|
|
82
|
+
{ id: EnumConceptosCertificacion.FECHA_ACTUAL_LARGO, description2: "FECHA ACTUAL LARGO", code: "<<27>>", description: "<<27>> FECHA ACTUAL LARGO" },
|
|
83
|
+
{ id: EnumConceptosCertificacion.FECHA_ACTUAL_CORTO, description2: "FECHA ACTUAL CORTO", code: "<<27>>", description: "<<27>> FECHA ACTUAL CORTO" },
|
|
84
|
+
{ id: EnumConceptosCertificacion.DESCRIPCION_CARGO, description2: "DESCRIPCION CARGO", code: "<<29>>", description: "<<29>> DESCRIPCION CARGO" },
|
|
85
|
+
{ id: EnumConceptosCertificacion.SALARIO_LETRAS, description2: "SALARIO LETRAS", code: "<<30>>", description: "<<30>> SALARIO LETRAS" },
|
|
86
|
+
{ id: EnumConceptosCertificacion.DESCRIPCION_CONTRATO, description2: "DESCRIPCION CONTRATO", code: "<<31>>", description: "<<31>> DESCRIPCION CONTRATO" },
|
|
87
|
+
{ id: EnumConceptosCertificacion.CONTRATACION, description2: "CONTRATACION", code: "<<32>>", description: "<<32>> CONTRATACION" },
|
|
88
|
+
{ id: EnumConceptosCertificacion.TIPO_DE_CONTRATACION, description2: "TIPO_DE CONTRATACION", code: "<<33>>", description: "<<33>> TIPO_DE CONTRATACION" },
|
|
89
|
+
{ id: EnumConceptosCertificacion.PORCENTAJE_ARL, description2: "PORCENTAJE ARL", code: "<<34>>", description: "<<34>> PORCENTAJE ARL" },
|
|
90
|
+
{ id: EnumConceptosCertificacion.CEDULA_REPRESENTANTE_LEGAL, description2: "CEDULA REPRESENTANTE LEGAL", code: "<<35>>", description: "<<35>> CEDULA REPRESENTANTE LEGAL" },
|
|
91
|
+
{ id: EnumConceptosCertificacion.CCF, description2: "CCF", code: "<<36>>", description: "<<36>> CCF" },
|
|
92
|
+
{ id: EnumConceptosCertificacion.FECHA_NACIMIENTO_LARGO, description2: "FECHA NACIMIENTO LARGO", code: "<<37>>", description: "<<37>> FECHA NACIMIENTO LARGO" },
|
|
93
|
+
{ id: EnumConceptosCertificacion.FECHA_NACIMIENTO_CORTO, description2: "FECHA NACIMIENTO CORTO", code: "<<38>>", description: "<<38>> FECHA NACIMIENTO CORTO" },
|
|
94
|
+
{ id: EnumConceptosCertificacion.BARRIO, description2: "BARRIO", code: "<<39>>", description: "<<39>> BARRIO" },
|
|
95
|
+
{ id: EnumConceptosCertificacion.DIRECCION_RESIDENCIAL, description2: "DIRECCION RESIDENCIAL", code: "<<40>>", description: "<<40>> DIRECCION RESIDENCIAL" },
|
|
96
|
+
{ id: EnumConceptosCertificacion.LUGAR_NACIMIENTO, description2: "LUGAR NACIMIENTO", code: "<<41>>", description: "<<41>> LUGAR NACIMIENTO" },
|
|
97
|
+
{ id: EnumConceptosCertificacion.OBJETIVO_CONTRATO, description2: "OBJETIVO CONTRATO", code: "<<42>>", description: "<<42>> OBJETIVO CONTRATO" },
|
|
98
|
+
{ id: EnumConceptosCertificacion.RETEFUENTE_PROCEDIMIENTO, description2: "RETEFUENTE PROCEDIMIENTO", code: "<<43>>", description: "<<43>> RETEFUENTE PROCEDIMIENTO" },
|
|
99
|
+
{ id: EnumConceptosCertificacion.BONIFICACION_HS, description2: "BONIFICACION HS", code: "<<44>>", description: "<<44>> BONIFICACION HS" },
|
|
100
|
+
{ id: EnumConceptosCertificacion.CONSECUTIVO_CONTRATO, description2: "CONSECUTIVO CONTRATO", code: "<<45>>", description: "<<45>> CONSECUTIVO CONTRATO" },
|
|
101
|
+
{ id: EnumConceptosCertificacion.PERIODO_PRUEBA, description2: "PERIODO PRUEBA", code: "<<46>>", description: "<<46>> PERIODO PRUEBA" },
|
|
102
|
+
{ id: EnumConceptosCertificacion.SALARIO_DIA, description2: "SALARIO DIA", code: "<<47>>", description: "<<47>> SALARIO DIA" },
|
|
103
|
+
{ id: EnumConceptosCertificacion.DURACION_CONTRATO, description2: "DURACION CONTRATO", code: "<<48>>", description: "<<48>> DURACION CONTRATO" },
|
|
104
|
+
{ id: EnumConceptosCertificacion.TELEFONO, description2: "TELEFONO", code: "<<49>>", description: "<<49>> TELEFONO" },
|
|
105
|
+
{ id: EnumConceptosCertificacion.CELULAR, description2: "CELULAR", code: "<<50>>", description: "<<50>> CELULAR" },
|
|
106
|
+
{ id: EnumConceptosCertificacion.EMAIL, description2: "EMAIL", code: "<<51>>", description: "<<51>> EMAIL" },
|
|
107
|
+
{ id: EnumConceptosCertificacion.TEL_EMERGENCIA, description2: "TEL EMERGENCIA", code: "<<52>>", description: "<<52>> TEL EMERGENCIA" }
|
|
108
108
|
];
|
|
109
109
|
|
|
110
110
|
static getById(id) {
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
class EnumModulosNovedades {
|
|
2
|
+
static APORTE_VOLUNTARIO_SEGURIDAD_SOCIAL = 1;
|
|
3
|
+
static BENEFICIO_PERSONAL = 2;
|
|
4
|
+
static EMBARGOS = 3;
|
|
5
|
+
static FONDOS_AHORRO_PAGO = 4;
|
|
6
|
+
static FONDOS_AHORRO_REGISTROS = 5;
|
|
7
|
+
static HORAS_EXTRAS = 6;
|
|
8
|
+
static INGRESOS_DESCUENTOS_CONSECUTIVOS = 7;
|
|
9
|
+
static NOVEDADES_CARGOS = 8;
|
|
10
|
+
static NOVEDADES_RETE_FUENTE = 9;
|
|
11
|
+
static NOVEDADES_SEGURIDAD_SOCIAL = 10;
|
|
12
|
+
static OTROS_INGRESOS_DESCUENTOS = 11;
|
|
13
|
+
static PAGOS_EXTERNOS = 12;
|
|
14
|
+
static PAGO_LABOR = 13;
|
|
15
|
+
static PAGO_PRODUCCION = 14;
|
|
16
|
+
static PRESTAMOS = 15;
|
|
17
|
+
|
|
18
|
+
static descriptions = [
|
|
19
|
+
{ id: EnumModulosNovedades.APORTE_VOLUNTARIO_SEGURIDAD_SOCIAL, code: 'APORTE_VOLUNTARIO_SEGURIDAD_SOCIAL', description: 'Aporte Voluntario Seguridad Social' },
|
|
20
|
+
{ id: EnumModulosNovedades.BENEFICIO_PERSONAL, code: 'BENEFICIO_PERSONAL', description: 'Beneficio Personal' },
|
|
21
|
+
{ id: EnumModulosNovedades.EMBARGOS, code: 'EMBARGOS', description: 'Embargos' },
|
|
22
|
+
{ id: EnumModulosNovedades.FONDOS_AHORRO_PAGO, code: 'FONDOS_AHORRO_PAGO', description: 'Fondos Ahorro Pago' },
|
|
23
|
+
{ id: EnumModulosNovedades.FONDOS_AHORRO_REGISTROS, code: 'FONDOS_AHORRO_REGISTROS', description: 'Fondos Ahorro Registros' },
|
|
24
|
+
{ id: EnumModulosNovedades.HORAS_EXTRAS, code: 'HORAS_EXTRAS', description: 'Horas Extras' },
|
|
25
|
+
{ id: EnumModulosNovedades.INGRESOS_DESCUENTOS_CONSECUTIVOS, code: 'INGRESOS_DESCUENTOS_CONSECUTIVOS', description: 'Ingresos Descuentos Consecutivos' },
|
|
26
|
+
{ id: EnumModulosNovedades.NOVEDADES_CARGOS, code: 'NOVEDADES_CARGOS', description: 'Novedades Cargos' },
|
|
27
|
+
{ id: EnumModulosNovedades.NOVEDADES_RETE_FUENTE, code: 'NOVEDADES_RETE_FUENTE', description: 'Novedades Rete Fuente' },
|
|
28
|
+
{ id: EnumModulosNovedades.NOVEDADES_SEGURIDAD_SOCIAL, code: 'NOVEDADES_SEGURIDAD_SOCIAL', description: 'Novedades Seguridad Social' },
|
|
29
|
+
{ id: EnumModulosNovedades.OTROS_INGRESOS_DESCUENTOS, code: 'OTROS_INGRESOS_DESCUENTOS', description: 'Otros Ingresos Descuentos' },
|
|
30
|
+
{ id: EnumModulosNovedades.PAGOS_EXTERNOS, code: 'PAGOS_EXTERNOS', description: 'Pagos Externos' },
|
|
31
|
+
{ id: EnumModulosNovedades.PAGO_LABOR, code: 'PAGO_LABOR', description: 'Pago Labor' },
|
|
32
|
+
{ id: EnumModulosNovedades.PAGO_PRODUCCION, code: 'PAGO_PRODUCCION', description: 'Pago Producción' },
|
|
33
|
+
{ id: EnumModulosNovedades.PRESTAMOS, code: 'PRESTAMOS', description: 'Préstamos' }
|
|
34
|
+
];
|
|
35
|
+
|
|
36
|
+
static getById(id) {
|
|
37
|
+
return EnumModulosNovedades.descriptions.find(item => item.id === id) || null;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static getAll() {
|
|
41
|
+
return EnumModulosNovedades.descriptions;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static getByDescription(description) {
|
|
45
|
+
return EnumModulosNovedades.descriptions.find(item => item.description === description) || null;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
module.exports = EnumModulosNovedades;
|
|
50
|
+
|