softdinlibreriajs 1.0.7 → 1.0.9
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "softdinlibreriajs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Libreria Softdin",
|
|
5
5
|
"main": "src/",
|
|
6
6
|
"scripts": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"homepage": "https://github.com/SoftdinNomina/libreriaSoftdinJS#readme",
|
|
22
22
|
|
|
23
|
-
"_comments": "comando para ejecutar las veriosnes despues
|
|
23
|
+
"_comments": "comando para ejecutar las veriosnes despues debe cambiar la VERSION 1.0.5 por la que sigue despues ejecutar este comando npm publish"
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
|
|
@@ -86,7 +86,7 @@ class EnumConceptosCertificacion {
|
|
|
86
86
|
{ id: EnumConceptosCertificacion.DESCRIPCION_CONTRATO, code: "DESCRIPCION CONTRATO", description: '<<31>>' },
|
|
87
87
|
{ id: EnumConceptosCertificacion.PRESTACION_SERVICIO, code: "PRESTACION SERVICIO", description: '<<32>>' },
|
|
88
88
|
{ id: EnumConceptosCertificacion.MODALIDAD_CONTRATACION, code: "MODALIDAD CONTRATACION", description: '<<33>>' },
|
|
89
|
-
{ id: EnumConceptosCertificacion.
|
|
89
|
+
{ id: EnumConceptosCertificacion.PORCENTAJE_ARL, code: "PORCENTAJE ARL", description: '<<34>>' },
|
|
90
90
|
{ id: EnumConceptosCertificacion.CEDULA_REPRESENTANTE_LEGAL, code: "CEDULA REPRESENTANTE LEGAL", description: '<<35>>' },
|
|
91
91
|
{ id: EnumConceptosCertificacion.CCF, code: "CCF", description: '<<36>>' },
|
|
92
92
|
{ id: EnumConceptosCertificacion.FECHA_NACIMIENTO_LARGO, code: "FECHA NACIMIENTO LARGO", description: '<<37>>' },
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
class EnumModulosNovedades {
|
|
2
|
+
static AporteVoluntarioSeguridadSocial = 1;
|
|
3
|
+
static Embargos = 2;
|
|
4
|
+
static HorasExtras = 3;
|
|
5
|
+
static FondosAhorroRegistros = 4;
|
|
6
|
+
static FondosAhorroPago = 5;
|
|
7
|
+
static IngresosDescuentosConsecutivos = 6;
|
|
8
|
+
static NovedadesCargos = 7;
|
|
9
|
+
static BeneficioPersonal = 8;
|
|
10
|
+
static NovedadesSeguridadSocial = 9;
|
|
11
|
+
static NovedadesReteFuente = 10;
|
|
12
|
+
static OtrosIngresosDescuentos = 11;
|
|
13
|
+
static Pagos_Externos = 12;
|
|
14
|
+
static Prestamos = 13;
|
|
15
|
+
// static SaldosIniciales = 14;
|
|
16
|
+
|
|
17
|
+
static descriptions = [
|
|
18
|
+
{ id: EnumModulosNovedades.AporteVoluntarioSeguridadSocial, code: 'AVSS', description: 'Aporte Voluntario Seguridad Social' },
|
|
19
|
+
{ id: EnumModulosNovedades.Embargos, code: 'EMB', description: 'Embargos' },
|
|
20
|
+
{ id: EnumModulosNovedades.HorasExtras, code: 'HE', description: 'Horas Extras' },
|
|
21
|
+
{ id: EnumModulosNovedades.FondosAhorroRegistros, code: 'FAR', description: 'Fondos Ahorro Registros' },
|
|
22
|
+
{ id: EnumModulosNovedades.FondosAhorroPago, code: 'FAP', description: 'Fondos Ahorro Pago' },
|
|
23
|
+
{ id: EnumModulosNovedades.IncapacidadValorizada, code: 'IV', description: 'Incapacidad Valorizada' },
|
|
24
|
+
{ id: EnumModulosNovedades.IngresosDescuentosConsecutivos, code: 'IDC', description: 'Ingresos Descuentos Consecutivos' },
|
|
25
|
+
{ id: EnumModulosNovedades.NovedadesCargos, code: 'NC', description: 'Novedades Cargos' },
|
|
26
|
+
{ id: EnumModulosNovedades.BeneficioPersonal, code: 'BP', description: 'Beneficio Personal' },
|
|
27
|
+
{ id: EnumModulosNovedades.NovedadesSeguridadSocial, code: 'NSS', description: 'Novedades Seguridad Social' },
|
|
28
|
+
{ id: EnumModulosNovedades.NovedadesReteFuente, code: 'NRF', description: 'Novedades Rete Fuente' },
|
|
29
|
+
{ id: EnumModulosNovedades.OtrosIngresosDescuentos, code: 'OID', description: 'Otros Ingresos Descuentos' },
|
|
30
|
+
{ id: EnumModulosNovedades.Pagos_Externos, code: 'PE', description: 'Pagos Externos' },
|
|
31
|
+
{ id: EnumModulosNovedades.Prestamos, code: 'PRE', description: 'Prestamos' },
|
|
32
|
+
// { id: EnumModulosNovedades.SaldosIniciales, code: 'SI', description: 'Saldos Iniciales' },
|
|
33
|
+
];
|
|
34
|
+
|
|
35
|
+
static getById(id) {
|
|
36
|
+
return EnumModulosNovedades.descriptions.find(item => item.id === id) || null;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static getAll() {
|
|
40
|
+
return EnumModulosNovedades.descriptions;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
static getByDescription(description) {
|
|
44
|
+
return EnumModulosNovedades.descriptions.find(item => item.description === description) || null;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
module.exports = EnumModulosNovedades;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
class EnumTipoServicioSeguridadSocial {
|
|
2
2
|
static EPS = 1;
|
|
3
3
|
static AFP = 2;
|
|
4
|
-
static
|
|
4
|
+
static ARL = 3;
|
|
5
5
|
static CCF = 4;
|
|
6
6
|
static SENA = 5;
|
|
7
7
|
static ICBF = 6;
|
|
@@ -12,7 +12,7 @@ class EnumTipoServicioSeguridadSocial {
|
|
|
12
12
|
static descriptions = [
|
|
13
13
|
{ id: EnumTipoServicioSeguridadSocial.EPS, code: 'EPS', description: 'EPS' },
|
|
14
14
|
{ id: EnumTipoServicioSeguridadSocial.AFP, code: 'AFP', description: 'AFP' },
|
|
15
|
-
{ id: EnumTipoServicioSeguridadSocial.
|
|
15
|
+
{ id: EnumTipoServicioSeguridadSocial.ARL, code: 'ARL', description: 'ARL' },
|
|
16
16
|
{ id: EnumTipoServicioSeguridadSocial.CCF, code: 'CCF', description: 'CCF' },
|
|
17
17
|
{ id: EnumTipoServicioSeguridadSocial.SENA, code: 'SENA', description: 'SENA' },
|
|
18
18
|
{ id: EnumTipoServicioSeguridadSocial.ICBF, code: 'ICBF', description: 'ICBF' },
|