sigesp 0.9.56-20230904 → 0.9.58-20230906
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 +76 -17
- 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/core/interfaces/Usuario.js +1 -1
- package/esm2015/lib/core/models/CFG/Empresa.model.js +53 -3
- package/esm2015/lib/core/models/CFG/comunidad.model.js +19 -12
- package/esm2015/lib/core/models/SSS/user.model.js +5 -4
- package/fesm2015/sigesp.js +73 -16
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Usuario.d.ts +1 -0
- package/lib/core/models/CFG/Empresa.model.d.ts +1 -0
- package/lib/core/models/CFG/comunidad.model.d.ts +2 -1
- package/lib/core/models/SSS/user.model.d.ts +1 -0
- package/package.json +1 -1
- package/sigesp.metadata.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -984,11 +984,12 @@
|
|
|
984
984
|
_this.procede = user.procede;
|
|
985
985
|
_this.codsis = user.codsis;
|
|
986
986
|
_this.foto = user.foto;
|
|
987
|
-
_this.id =
|
|
987
|
+
_this.id = +user.id_usuario;
|
|
988
988
|
_this.interface = user;
|
|
989
|
-
_this.nomina =
|
|
990
|
-
_this.periodo =
|
|
989
|
+
_this.nomina = +user.nomina;
|
|
990
|
+
_this.periodo = +user.periodo;
|
|
991
991
|
_this.carpeta = user.carpeta;
|
|
992
|
+
_this.sistema = user.sistema;
|
|
992
993
|
}
|
|
993
994
|
else {
|
|
994
995
|
_this.isNew = true;
|
|
@@ -3433,8 +3434,8 @@
|
|
|
3433
3434
|
|
|
3434
3435
|
var MEmpresa = /** @class */ (function (_super) {
|
|
3435
3436
|
__extends(MEmpresa, _super);
|
|
3436
|
-
function MEmpresa() {
|
|
3437
|
-
var _this = _super.
|
|
3437
|
+
function MEmpresa(e) {
|
|
3438
|
+
var _this = _super.call(this) || this;
|
|
3438
3439
|
_this.idEmpresa = 0;
|
|
3439
3440
|
_this.rif = '';
|
|
3440
3441
|
_this.nit = '';
|
|
@@ -3480,6 +3481,56 @@
|
|
|
3480
3481
|
_this.codigoFuenteFinanciamintoMostrar = '';
|
|
3481
3482
|
_this.codigoCentroCosto = '';
|
|
3482
3483
|
_this.estructuraPresupuestaria = '';
|
|
3484
|
+
if (e) {
|
|
3485
|
+
_this.idEmpresa = +e.id_empresa;
|
|
3486
|
+
_this.rif = e.rifemp;
|
|
3487
|
+
_this.nit = e.nitemp;
|
|
3488
|
+
_this.nombre = e.nomemp;
|
|
3489
|
+
_this.titulo = e.titemp;
|
|
3490
|
+
_this.direccion = e.diremp;
|
|
3491
|
+
_this.telefono = e.telemp;
|
|
3492
|
+
_this.fax = e.faxemp;
|
|
3493
|
+
_this.email = e.emaemp;
|
|
3494
|
+
_this.paginaWeb = e.webemp;
|
|
3495
|
+
_this.CIIU = e.ciiuemp;
|
|
3496
|
+
_this.numeroLicencia = e.numlic;
|
|
3497
|
+
_this.codigoPostal = e.codpos;
|
|
3498
|
+
_this.codigoPais = e.codpai;
|
|
3499
|
+
_this.codigoEstado = e.codest;
|
|
3500
|
+
_this.codigoMunicipio = e.codmun;
|
|
3501
|
+
_this.codigoParroquia = e.codpar;
|
|
3502
|
+
_this.codigoComunidad = e.codmun;
|
|
3503
|
+
_this.codigoMoneda = e.codmon;
|
|
3504
|
+
_this.nombreRepresentanteLegal = e.nomrepleg;
|
|
3505
|
+
_this.cedulaRepresentanteLegal = e.cedrepleg;
|
|
3506
|
+
_this.telefonoRepresentanteLegal = e.telrepleg;
|
|
3507
|
+
_this.carreraRepresentanteLegal = e.carrepleg;
|
|
3508
|
+
_this.telefonoOficinaRepresentanteLegal = e.telrepleg;
|
|
3509
|
+
_this.periodoFiscal = e.perfiscal;
|
|
3510
|
+
_this.numeroSeguroSocial = e.nroivss;
|
|
3511
|
+
_this.estatusPresupuesto = e.presupuesto == '1';
|
|
3512
|
+
_this.descripcionPais = e.despai;
|
|
3513
|
+
_this.descripcionEstado = e.desest;
|
|
3514
|
+
_this.descripcionMunicipio = e.desmun;
|
|
3515
|
+
_this.descripcionParroquia = e.despar;
|
|
3516
|
+
_this.descripcionComunidad = e.descom;
|
|
3517
|
+
_this.cuentaDiferencialCambiario = e.cuenta_diferencial;
|
|
3518
|
+
_this.idEP1 = +e.id_ep1;
|
|
3519
|
+
_this.idEP2 = +e.id_ep2;
|
|
3520
|
+
_this.idEP3 = +e.id_ep3;
|
|
3521
|
+
_this.idEP4 = +e.id_ep4;
|
|
3522
|
+
_this.idEP5 = +e.id_ep5;
|
|
3523
|
+
_this.codigoFuenteFinanciaminto = +e.codfuefin;
|
|
3524
|
+
_this.idUnidadAdministrativa = +e.id_uniadm;
|
|
3525
|
+
_this.denominacionUnidadAdministrativa = e.denuniadm;
|
|
3526
|
+
_this.codigoUnidadAdministrativa = e.coduniadm;
|
|
3527
|
+
_this.codigoFuenteFinanciamintoMostrar = e.codigoftefin;
|
|
3528
|
+
_this.codigoCentroCosto = e.codcencos;
|
|
3529
|
+
_this.estructuraPresupuestaria = e.estpre;
|
|
3530
|
+
}
|
|
3531
|
+
else {
|
|
3532
|
+
_this.isNew = true;
|
|
3533
|
+
}
|
|
3483
3534
|
return _this;
|
|
3484
3535
|
}
|
|
3485
3536
|
MEmpresa.prototype.dataInterface = function () {
|
|
@@ -6062,21 +6113,29 @@
|
|
|
6062
6113
|
return MTipoDepositos;
|
|
6063
6114
|
}(MBasicModel));
|
|
6064
6115
|
|
|
6065
|
-
var MComunidad = /** @class */ (function () {
|
|
6116
|
+
var MComunidad = /** @class */ (function (_super) {
|
|
6117
|
+
__extends(MComunidad, _super);
|
|
6066
6118
|
function MComunidad(comunidad) {
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6119
|
+
var _this = _super.call(this) || this;
|
|
6120
|
+
if (comunidad) {
|
|
6121
|
+
_this.codestado = comunidad.codestado;
|
|
6122
|
+
_this.codigo = comunidad.codigo;
|
|
6123
|
+
_this.codmunicipio = comunidad.codmunicipio;
|
|
6124
|
+
_this.codparroquia = comunidad.codparroquia;
|
|
6125
|
+
_this.comunidad = comunidad.comunidad;
|
|
6126
|
+
_this.estado = comunidad.estado;
|
|
6127
|
+
_this.municipio = comunidad.municipio;
|
|
6128
|
+
_this.pais = comunidad.pais;
|
|
6129
|
+
_this.parroquia = comunidad.parroquia;
|
|
6130
|
+
_this.prefijo = comunidad.prefijo;
|
|
6131
|
+
}
|
|
6132
|
+
else {
|
|
6133
|
+
_this.isNew = true;
|
|
6134
|
+
}
|
|
6135
|
+
return _this;
|
|
6077
6136
|
}
|
|
6078
6137
|
return MComunidad;
|
|
6079
|
-
}());
|
|
6138
|
+
}(MBasicModel));
|
|
6080
6139
|
|
|
6081
6140
|
var MExchangeRate = /** @class */ (function (_super) {
|
|
6082
6141
|
__extends(MExchangeRate, _super);
|