sigesp 0.8.68-220203 → 0.8.71-220304
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/bundles/sigesp.umd.js +69 -5
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/app/app.module.js +1 -1
- package/esm2015/lib/core/interfaces/Nomina.js +1 -1
- package/esm2015/lib/core/interfaces/RecursosHumanos.js +1 -1
- package/esm2015/lib/core/models/CFG/comunidad.model.js +15 -0
- package/esm2015/lib/core/models/CFG/locations.model.js +122 -0
- package/esm2015/lib/core/models/RPC/clasification.model.js +14 -0
- package/esm2015/lib/core/models/RPC/configuracionRPC.model.js +23 -0
- package/esm2015/lib/core/models/RPC/document.model.js +16 -0
- package/esm2015/lib/core/models/RPC/proveedores.model.js +9 -0
- package/esm2015/lib/core/models/RPC/providerBeneficiary.model.js +154 -0
- package/esm2015/lib/core/models/RPC/specialty.model.js +12 -0
- package/esm2015/lib/core/models/SCG/IncomeAccount.js +81 -0
- package/esm2015/lib/core/models/SCG/accountMarriage.model.js +11 -0
- package/esm2015/lib/core/models/SCG/centroCosto.model.js +7 -0
- package/esm2015/lib/core/models/SCG/configuracionSCG.model.js +169 -0
- package/esm2015/lib/core/models/SCG/cuentaInstitucional.model.js +26 -0
- package/esm2015/lib/core/models/SCG/planUnicoCuenta.model.js +7 -0
- package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +6 -7
- package/esm2015/lib/core/models/SNO/MPeriodoNomina.model.js +1 -1
- package/esm2015/lib/core/models/SNO/MPersonal.model.js +5 -1
- package/esm2015/lib/core/models/SNO/MPersonalJubilado.model.js +46 -0
- package/esm2015/lib/core/models/SNO/MPersonalNomina.model.js +9 -2
- package/esm2015/lib/core/models/SNO/MUbicacionFisica.model.js +4 -1
- package/esm2015/lib/core/models/SOC/charge.model.js +63 -0
- package/esm2015/lib/core/models/SOC/clause.model.js +25 -0
- package/esm2015/lib/core/models/SOC/clauseModality.model.js +29 -0
- package/esm2015/lib/core/models/SOC/configuracionSOC.model.js +56 -0
- package/esm2015/lib/core/models/SOC/service.model.js +40 -0
- package/esm2015/lib/core/models/SOC/serviceType.model.js +22 -0
- package/esm2015/lib/core/models/SPG/comprobantePresupuestario.model.js +47 -0
- package/esm2015/lib/core/models/SPG/configurationSPG.model.js +55 -0
- package/esm2015/lib/core/models/SPG/cuentaPresupuesto.model.js +13 -0
- package/esm2015/lib/core/models/SPG/estructuraPresupuestaria.model.js +132 -0
- package/esm2015/lib/core/models/SPG/expensiveAccount.model.js +40 -0
- package/esm2015/lib/core/models/SPG/fuenteFinanciamiento.model.js +10 -0
- package/esm2015/lib/core/models/SPG/incomeStructureAccount.model.js +81 -0
- package/esm2015/lib/core/models/SPG/organizationType.model.js +12 -0
- package/esm2015/lib/core/models/SSS/group.model.js +2 -2
- package/esm2015/lib/core/models/SSS/securityConfiguration.model.js +20 -0
- package/esm2015/lib/core/models/SSS/sistema.js +15 -0
- package/esm2015/lib/core/models/SSS/user.model.js +21 -0
- package/esm2015/lib/core/models/SSS/userDetail.model.js +66 -0
- package/esm2015/lib/core/models/SSS/userPrefix.model.js +11 -0
- package/esm2015/lib/core/models/STB/deduction.model.js +78 -0
- package/esm2015/lib/core/models/STB/deductionType.model.js +20 -0
- package/esm2015/lib/core/models/STB/moneda.model.js +27 -0
- package/esm2015/lib/core/models/STB/unidadTributaria.model.js +14 -0
- package/esm2015/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.js +1 -1
- package/esm2015/lib/sigesp.service.js +32 -32
- package/esm2015/lib/validation.service.js +1 -1
- package/esm2015/public-api.js +54 -44
- package/esm2015/sigesp.js +1 -1
- package/fesm2015/sigesp.js +64 -6
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +3 -0
- package/lib/core/interfaces/RecursosHumanos.d.ts +14 -0
- package/lib/core/models/{comunidad.model.d.ts → CFG/comunidad.model.d.ts} +1 -1
- package/lib/core/models/{locations.model.d.ts → CFG/locations.model.d.ts} +2 -2
- package/lib/core/models/{clasification.model.d.ts → RPC/clasification.model.d.ts} +1 -1
- package/lib/core/models/{configuracionRPC.model.d.ts → RPC/configuracionRPC.model.d.ts} +1 -1
- package/lib/core/models/{document.model.d.ts → RPC/document.model.d.ts} +1 -1
- package/lib/core/models/{proveedores.model.d.ts → RPC/proveedores.model.d.ts} +1 -1
- package/lib/core/models/{providerBeneficiary.model.d.ts → RPC/providerBeneficiary.model.d.ts} +2 -2
- package/lib/core/models/{specialty.model.d.ts → RPC/specialty.model.d.ts} +1 -1
- package/lib/core/models/{IncomeAccount.d.ts → SCG/IncomeAccount.d.ts} +1 -1
- package/lib/core/models/{accountMarriage.model.d.ts → SCG/accountMarriage.model.d.ts} +1 -1
- package/lib/core/models/{centroCosto.model.d.ts → SCG/centroCosto.model.d.ts} +1 -1
- package/lib/core/models/{configuracionSCG.model.d.ts → SCG/configuracionSCG.model.d.ts} +2 -2
- package/lib/core/models/{cuentaInstitucional.model.d.ts → SCG/cuentaInstitucional.model.d.ts} +1 -1
- package/lib/core/models/{planUnicoCuenta.model.d.ts → SCG/planUnicoCuenta.model.d.ts} +1 -1
- package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +3 -2
- package/lib/core/models/SNO/MPersonal.model.d.ts +2 -0
- package/lib/core/models/SNO/MPersonalJubilado.model.d.ts +16 -0
- package/lib/core/models/SNO/MPersonalNomina.model.d.ts +2 -0
- package/lib/core/models/{charge.model.d.ts → SOC/charge.model.d.ts} +2 -2
- package/lib/core/models/{clause.model.d.ts → SOC/clause.model.d.ts} +2 -2
- package/lib/core/models/{clauseModality.model.d.ts → SOC/clauseModality.model.d.ts} +2 -2
- package/lib/core/models/{configuracionSOC.model.d.ts → SOC/configuracionSOC.model.d.ts} +2 -2
- package/lib/core/models/{service.model.d.ts → SOC/service.model.d.ts} +3 -3
- package/lib/core/models/{serviceType.model.d.ts → SOC/serviceType.model.d.ts} +2 -2
- package/lib/core/models/{comprobantePresupuestario.model.d.ts → SPG/comprobantePresupuestario.model.d.ts} +1 -1
- package/lib/core/models/{configurationSPG.model.d.ts → SPG/configurationSPG.model.d.ts} +2 -2
- package/lib/core/models/{cuentaPresupuesto.model.d.ts → SPG/cuentaPresupuesto.model.d.ts} +1 -1
- package/lib/core/models/{estructuraPresupuestaria.model.d.ts → SPG/estructuraPresupuestaria.model.d.ts} +1 -1
- package/lib/core/models/{expensiveAccount.model.d.ts → SPG/expensiveAccount.model.d.ts} +1 -1
- package/lib/core/models/{fuenteFinanciamiento.model.d.ts → SPG/fuenteFinanciamiento.model.d.ts} +1 -1
- package/lib/core/models/{incomeStructureAccount.model.d.ts → SPG/incomeStructureAccount.model.d.ts} +1 -1
- package/lib/core/models/{organizationType.model.d.ts → SPG/organizationType.model.d.ts} +1 -1
- package/lib/core/models/SSS/group.model.d.ts +1 -1
- package/lib/core/models/{securityConfiguration.model.d.ts → SSS/securityConfiguration.model.d.ts} +2 -2
- package/lib/core/models/{sistema.d.ts → SSS/sistema.d.ts} +1 -1
- package/lib/core/models/{user.model.d.ts → SSS/user.model.d.ts} +1 -1
- package/lib/core/models/{userDetail.model.d.ts → SSS/userDetail.model.d.ts} +3 -3
- package/lib/core/models/{userPrefix.model.d.ts → SSS/userPrefix.model.d.ts} +1 -1
- package/lib/core/models/{deduction.model.d.ts → STB/deduction.model.d.ts} +2 -2
- package/lib/core/models/{deductionType.model.d.ts → STB/deductionType.model.d.ts} +2 -2
- package/lib/core/models/{moneda.model.d.ts → STB/moneda.model.d.ts} +1 -1
- package/lib/core/models/{unidadTributaria.model.d.ts → STB/unidadTributaria.model.d.ts} +1 -1
- package/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.d.ts +1 -1
- package/lib/sigesp.service.d.ts +18 -18
- package/lib/validation.service.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +46 -44
- package/sigesp.d.ts +13 -12
- package/sigesp.metadata.json +1 -1
- package/esm2015/lib/core/models/IncomeAccount.js +0 -81
- package/esm2015/lib/core/models/accountMarriage.model.js +0 -11
- package/esm2015/lib/core/models/centroCosto.model.js +0 -7
- package/esm2015/lib/core/models/charge.model.js +0 -63
- package/esm2015/lib/core/models/clasification.model.js +0 -14
- package/esm2015/lib/core/models/clause.model.js +0 -25
- package/esm2015/lib/core/models/clauseModality.model.js +0 -29
- package/esm2015/lib/core/models/comprobantePresupuestario.model.js +0 -47
- package/esm2015/lib/core/models/comunidad.model.js +0 -15
- package/esm2015/lib/core/models/configuracionRPC.model.js +0 -23
- package/esm2015/lib/core/models/configuracionSCG.model.js +0 -169
- package/esm2015/lib/core/models/configuracionSOC.model.js +0 -56
- package/esm2015/lib/core/models/configurationSPG.model.js +0 -55
- package/esm2015/lib/core/models/cuentaInstitucional.model.js +0 -26
- package/esm2015/lib/core/models/cuentaPresupuesto.model.js +0 -13
- package/esm2015/lib/core/models/deduction.model.js +0 -78
- package/esm2015/lib/core/models/deductionType.model.js +0 -20
- package/esm2015/lib/core/models/document.model.js +0 -16
- package/esm2015/lib/core/models/estructuraPresupuestaria.model.js +0 -132
- package/esm2015/lib/core/models/expensiveAccount.model.js +0 -40
- package/esm2015/lib/core/models/fuenteFinanciamiento.model.js +0 -10
- package/esm2015/lib/core/models/incomeStructureAccount.model.js +0 -81
- package/esm2015/lib/core/models/locations.model.js +0 -122
- package/esm2015/lib/core/models/moneda.model.js +0 -27
- package/esm2015/lib/core/models/organizationType.model.js +0 -12
- package/esm2015/lib/core/models/planUnicoCuenta.model.js +0 -7
- package/esm2015/lib/core/models/proveedores.model.js +0 -9
- package/esm2015/lib/core/models/providerBeneficiary.model.js +0 -154
- package/esm2015/lib/core/models/securityConfiguration.model.js +0 -20
- package/esm2015/lib/core/models/service.model.js +0 -40
- package/esm2015/lib/core/models/serviceType.model.js +0 -22
- package/esm2015/lib/core/models/sistema.js +0 -15
- package/esm2015/lib/core/models/specialty.model.js +0 -12
- package/esm2015/lib/core/models/unidadTributaria.model.js +0 -14
- package/esm2015/lib/core/models/user.model.js +0 -21
- package/esm2015/lib/core/models/userDetail.model.js +0 -66
- package/esm2015/lib/core/models/userPrefix.model.js +0 -11
package/bundles/sigesp.umd.js
CHANGED
|
@@ -434,6 +434,8 @@
|
|
|
434
434
|
_this.denominacionEstatus = '';
|
|
435
435
|
_this.nombreCompleto = '';
|
|
436
436
|
_this.nominaRac = 0;
|
|
437
|
+
_this.estatausPersonal = '';
|
|
438
|
+
_this.montoPension = 0;
|
|
437
439
|
if (e) {
|
|
438
440
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
439
441
|
_this.idPersonalNomina = parseInt(e.id_personalnomina);
|
|
@@ -513,15 +515,20 @@
|
|
|
513
515
|
_this.denominacionEstatus = e.staper == '3' ? 'EGRESADO' : 'SUSPENDIDO';
|
|
514
516
|
_this.apellidoPersonal = e.apeper;
|
|
515
517
|
_this.nombreCompleto = _this.nombrePersonal + ' ' + _this.apellidoPersonal;
|
|
518
|
+
_this.estatausPersonal = e.estper;
|
|
519
|
+
_this.montoPension = +e.monpen;
|
|
516
520
|
_this.nominaRac = parseInt(e.racnom);
|
|
517
521
|
if (_this.nominaRac == 0) {
|
|
518
522
|
_this.idTabulador = 0;
|
|
519
523
|
_this.codigoPaso = '0';
|
|
520
524
|
_this.codigoGrado = '0';
|
|
521
525
|
}
|
|
522
|
-
if (_this.idTabulador
|
|
526
|
+
if (_this.idTabulador >= 0 && _this.nominaRac == 1) {
|
|
523
527
|
_this.sueldoPersonal = _this.montoSaldoGrado;
|
|
524
528
|
}
|
|
529
|
+
if (_this.estatausPersonal == '2') {
|
|
530
|
+
_this.sueldoPersonal = _this.montoPension;
|
|
531
|
+
}
|
|
525
532
|
if (_this.idAgencia > 0) {
|
|
526
533
|
_this.codigoBanco = e.codban;
|
|
527
534
|
_this.nombreBanco = e.nomban;
|
|
@@ -3668,6 +3675,7 @@
|
|
|
3668
3675
|
_this.denominacionCuentaContable = '';
|
|
3669
3676
|
_this.idPeriodoNomina = 0;
|
|
3670
3677
|
_this.idPeriodoRestablecerNomina = 0;
|
|
3678
|
+
_this.estatusIncidencia = 0;
|
|
3671
3679
|
_this.periodosNomina = [];
|
|
3672
3680
|
if (e) {
|
|
3673
3681
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
@@ -3729,6 +3737,7 @@
|
|
|
3729
3737
|
_this.denominacionCodigoFuenteFinanciamiento = e.codigoftefin + ' - ' + e.denfuefin;
|
|
3730
3738
|
_this.denominacionCuentaContable = e.denctacont;
|
|
3731
3739
|
_this.nombreProveedor = e.nompro;
|
|
3740
|
+
_this.estatusIncidencia = parseInt(e.estincidencia);
|
|
3732
3741
|
_this.periodosNomina = e.periodos.map(function (e) { return new MPeriodoNomina(e); });
|
|
3733
3742
|
_this.idPeriodoNomina = parseInt(e.id_periodoactual);
|
|
3734
3743
|
_this.idPeriodoRestablecerNomina = parseInt(e.id_perresnom);
|
|
@@ -3804,6 +3813,7 @@
|
|
|
3804
3813
|
nompro: this.nombreProveedor,
|
|
3805
3814
|
id_periodoactual: this.idPeriodoNomina.toString(),
|
|
3806
3815
|
id_perresnom: this.idPeriodoRestablecerNomina.toString(),
|
|
3816
|
+
estincidencia: this.estatusIncidencia.toString(),
|
|
3807
3817
|
periodos: this.periodosNomina.map((function (e) { return e.dataInterface(); })),
|
|
3808
3818
|
};
|
|
3809
3819
|
};
|
|
@@ -3847,10 +3857,6 @@
|
|
|
3847
3857
|
var _this = this;
|
|
3848
3858
|
return this.periodosNomina.findIndex(function (e) { return e.codigoPeriodo == _this.periodoActualNomina; });
|
|
3849
3859
|
};
|
|
3850
|
-
// public idPeriodoActual():number{
|
|
3851
|
-
// let i = this.indice();
|
|
3852
|
-
// return this.periodosNomina[i].idPeriodo;
|
|
3853
|
-
// }
|
|
3854
3860
|
/**
|
|
3855
3861
|
* @returns Fecha final de la nomina
|
|
3856
3862
|
*/
|
|
@@ -4185,6 +4191,8 @@
|
|
|
4185
4191
|
_this.nombreParroquia = '';
|
|
4186
4192
|
_this.nombrePaisNacimiento = '';
|
|
4187
4193
|
_this.nombreEstadoNacimiento = '';
|
|
4194
|
+
_this.codigoProfesion = '';
|
|
4195
|
+
_this.denominacionProfesion = '';
|
|
4188
4196
|
if (p) {
|
|
4189
4197
|
_this.idEmpresa = +p.id_empresa;
|
|
4190
4198
|
_this.idPersonal = +p.id_personal;
|
|
@@ -4295,6 +4303,8 @@
|
|
|
4295
4303
|
_this.nombreParroquia = p.despar;
|
|
4296
4304
|
_this.nombreEstadoNacimiento = p.desest_nac;
|
|
4297
4305
|
_this.nombrePaisNacimiento = p.despai_nac;
|
|
4306
|
+
_this.codigoProfesion = p.codpro;
|
|
4307
|
+
_this.denominacionProfesion = p.denpro;
|
|
4298
4308
|
}
|
|
4299
4309
|
else {
|
|
4300
4310
|
_this.isNew = true;
|
|
@@ -9877,6 +9887,9 @@
|
|
|
9877
9887
|
_this.direccionUbicacionFisica = e.dirubifis;
|
|
9878
9888
|
_this.tiempoTrasladoUbicacionFisica = e.tietras;
|
|
9879
9889
|
}
|
|
9890
|
+
else {
|
|
9891
|
+
_this.isNew = true;
|
|
9892
|
+
}
|
|
9880
9893
|
return _this;
|
|
9881
9894
|
}
|
|
9882
9895
|
MUbicacionFisica.prototype.dataInterface = function () {
|
|
@@ -10187,6 +10200,54 @@
|
|
|
10187
10200
|
return MCodigoUnicoRac;
|
|
10188
10201
|
}(MBasicModel));
|
|
10189
10202
|
|
|
10203
|
+
var MPersonalJubilado = /** @class */ (function (_super) {
|
|
10204
|
+
__extends(MPersonalJubilado, _super);
|
|
10205
|
+
function MPersonalJubilado(e) {
|
|
10206
|
+
var _this = _super.call(this) || this;
|
|
10207
|
+
_this.idEmpresa = 0;
|
|
10208
|
+
_this.idPersonal = 0;
|
|
10209
|
+
_this.idJubilacion = 0;
|
|
10210
|
+
_this.primeraRemuneracion = 0;
|
|
10211
|
+
_this.subTotal = 0;
|
|
10212
|
+
_this.porcentajeRemuneracion = 0;
|
|
10213
|
+
_this.montoPension = 0;
|
|
10214
|
+
_this.ultimaRemuneracion = 0;
|
|
10215
|
+
_this.fechaFeVida = '1900-01-01';
|
|
10216
|
+
_this.tipoJubilacion = 0;
|
|
10217
|
+
if (e) {
|
|
10218
|
+
_this.idEmpresa = parseInt(e.id_empresa);
|
|
10219
|
+
_this.idPersonal = parseInt(e.id_personal);
|
|
10220
|
+
_this.idJubilacion = parseInt(e.id_jubilado);
|
|
10221
|
+
_this.primeraRemuneracion = parseFloat(e.prirem);
|
|
10222
|
+
_this.subTotal = parseFloat(e.subtot);
|
|
10223
|
+
_this.porcentajeRemuneracion = parseFloat(e.porpen);
|
|
10224
|
+
_this.montoPension = parseFloat(e.monpen);
|
|
10225
|
+
_this.ultimaRemuneracion = parseFloat(e.ultrem);
|
|
10226
|
+
_this.fechaFeVida = e.fecvida;
|
|
10227
|
+
_this.tipoJubilacion = parseInt(e.tipjub);
|
|
10228
|
+
}
|
|
10229
|
+
else {
|
|
10230
|
+
_this.isNew = true;
|
|
10231
|
+
}
|
|
10232
|
+
return _this;
|
|
10233
|
+
}
|
|
10234
|
+
MPersonalJubilado.prototype.dataInterface = function () {
|
|
10235
|
+
return {
|
|
10236
|
+
id_empresa: this.idEmpresa.toString(),
|
|
10237
|
+
id_personal: this.idPersonal.toString(),
|
|
10238
|
+
id_jubilado: this.idJubilacion.toString(),
|
|
10239
|
+
prirem: this.primeraRemuneracion.toString(),
|
|
10240
|
+
subtot: this.subTotal.toString(),
|
|
10241
|
+
porpen: this.porcentajeRemuneracion.toString(),
|
|
10242
|
+
monpen: this.montoPension.toString(),
|
|
10243
|
+
ultrem: this.ultimaRemuneracion.toString(),
|
|
10244
|
+
fecvida: this.fechaFeVida.toString(),
|
|
10245
|
+
tipjub: this.tipoJubilacion.toString(),
|
|
10246
|
+
};
|
|
10247
|
+
};
|
|
10248
|
+
return MPersonalJubilado;
|
|
10249
|
+
}(MBasicModel));
|
|
10250
|
+
|
|
10190
10251
|
var customPaginator = /** @class */ (function (_super) {
|
|
10191
10252
|
__extends(customPaginator, _super);
|
|
10192
10253
|
function customPaginator() {
|
|
@@ -10249,6 +10310,8 @@
|
|
|
10249
10310
|
exports.MComponete = MComponete;
|
|
10250
10311
|
exports.MComprobantePresupuestarioEgresos = MComprobantePresupuestarioEgresos;
|
|
10251
10312
|
exports.MComprobantePresupuestarioIngresos = MComprobantePresupuestarioIngresos;
|
|
10313
|
+
exports.MComunidad = MComunidad;
|
|
10314
|
+
exports.MConceptoRetencion = MConceptoRetencion;
|
|
10252
10315
|
exports.MConceptoVacaciones = MConceptoVacaciones;
|
|
10253
10316
|
exports.MConceptosCXP = MConceptosCXP;
|
|
10254
10317
|
exports.MConceptosNomina = MConceptosNomina;
|
|
@@ -10307,6 +10370,7 @@
|
|
|
10307
10370
|
exports.MParish = MParish;
|
|
10308
10371
|
exports.MPeriodoNomina = MPeriodoNomina;
|
|
10309
10372
|
exports.MPersonal = MPersonal;
|
|
10373
|
+
exports.MPersonalJubilado = MPersonalJubilado;
|
|
10310
10374
|
exports.MPersonalNomina = MPersonalNomina;
|
|
10311
10375
|
exports.MPlanUnicoCuenta = MPlanUnicoCuenta;
|
|
10312
10376
|
exports.MPrimaGrados = MPrimaGrados;
|