sigesp 0.9.57-20230905 → 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 +72 -14
- 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/models/CFG/Empresa.model.js +53 -3
- package/esm2015/lib/core/models/CFG/comunidad.model.js +19 -12
- package/esm2015/lib/sigesp.service.js +1 -1
- package/fesm2015/sigesp.js +69 -13
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/models/CFG/Empresa.model.d.ts +1 -0
- package/lib/core/models/CFG/comunidad.model.d.ts +2 -1
- package/package.json +1 -1
- package/sigesp.metadata.json +1 -1
package/fesm2015/sigesp.js
CHANGED
|
@@ -2994,8 +2994,8 @@ class MServiceCharge extends MBasicModel {
|
|
|
2994
2994
|
}
|
|
2995
2995
|
|
|
2996
2996
|
class MEmpresa extends MBasicModel {
|
|
2997
|
-
constructor() {
|
|
2998
|
-
super(
|
|
2997
|
+
constructor(e) {
|
|
2998
|
+
super();
|
|
2999
2999
|
this.idEmpresa = 0;
|
|
3000
3000
|
this.rif = '';
|
|
3001
3001
|
this.nit = '';
|
|
@@ -3041,6 +3041,56 @@ class MEmpresa extends MBasicModel {
|
|
|
3041
3041
|
this.codigoFuenteFinanciamintoMostrar = '';
|
|
3042
3042
|
this.codigoCentroCosto = '';
|
|
3043
3043
|
this.estructuraPresupuestaria = '';
|
|
3044
|
+
if (e) {
|
|
3045
|
+
this.idEmpresa = +e.id_empresa;
|
|
3046
|
+
this.rif = e.rifemp;
|
|
3047
|
+
this.nit = e.nitemp;
|
|
3048
|
+
this.nombre = e.nomemp;
|
|
3049
|
+
this.titulo = e.titemp;
|
|
3050
|
+
this.direccion = e.diremp;
|
|
3051
|
+
this.telefono = e.telemp;
|
|
3052
|
+
this.fax = e.faxemp;
|
|
3053
|
+
this.email = e.emaemp;
|
|
3054
|
+
this.paginaWeb = e.webemp;
|
|
3055
|
+
this.CIIU = e.ciiuemp;
|
|
3056
|
+
this.numeroLicencia = e.numlic;
|
|
3057
|
+
this.codigoPostal = e.codpos;
|
|
3058
|
+
this.codigoPais = e.codpai;
|
|
3059
|
+
this.codigoEstado = e.codest;
|
|
3060
|
+
this.codigoMunicipio = e.codmun;
|
|
3061
|
+
this.codigoParroquia = e.codpar;
|
|
3062
|
+
this.codigoComunidad = e.codmun;
|
|
3063
|
+
this.codigoMoneda = e.codmon;
|
|
3064
|
+
this.nombreRepresentanteLegal = e.nomrepleg;
|
|
3065
|
+
this.cedulaRepresentanteLegal = e.cedrepleg;
|
|
3066
|
+
this.telefonoRepresentanteLegal = e.telrepleg;
|
|
3067
|
+
this.carreraRepresentanteLegal = e.carrepleg;
|
|
3068
|
+
this.telefonoOficinaRepresentanteLegal = e.telrepleg;
|
|
3069
|
+
this.periodoFiscal = e.perfiscal;
|
|
3070
|
+
this.numeroSeguroSocial = e.nroivss;
|
|
3071
|
+
this.estatusPresupuesto = e.presupuesto == '1';
|
|
3072
|
+
this.descripcionPais = e.despai;
|
|
3073
|
+
this.descripcionEstado = e.desest;
|
|
3074
|
+
this.descripcionMunicipio = e.desmun;
|
|
3075
|
+
this.descripcionParroquia = e.despar;
|
|
3076
|
+
this.descripcionComunidad = e.descom;
|
|
3077
|
+
this.cuentaDiferencialCambiario = e.cuenta_diferencial;
|
|
3078
|
+
this.idEP1 = +e.id_ep1;
|
|
3079
|
+
this.idEP2 = +e.id_ep2;
|
|
3080
|
+
this.idEP3 = +e.id_ep3;
|
|
3081
|
+
this.idEP4 = +e.id_ep4;
|
|
3082
|
+
this.idEP5 = +e.id_ep5;
|
|
3083
|
+
this.codigoFuenteFinanciaminto = +e.codfuefin;
|
|
3084
|
+
this.idUnidadAdministrativa = +e.id_uniadm;
|
|
3085
|
+
this.denominacionUnidadAdministrativa = e.denuniadm;
|
|
3086
|
+
this.codigoUnidadAdministrativa = e.coduniadm;
|
|
3087
|
+
this.codigoFuenteFinanciamintoMostrar = e.codigoftefin;
|
|
3088
|
+
this.codigoCentroCosto = e.codcencos;
|
|
3089
|
+
this.estructuraPresupuestaria = e.estpre;
|
|
3090
|
+
}
|
|
3091
|
+
else {
|
|
3092
|
+
this.isNew = true;
|
|
3093
|
+
}
|
|
3044
3094
|
}
|
|
3045
3095
|
dataInterface() {
|
|
3046
3096
|
return {
|
|
@@ -5557,18 +5607,24 @@ class MTipoDepositos extends MBasicModel {
|
|
|
5557
5607
|
}
|
|
5558
5608
|
}
|
|
5559
5609
|
|
|
5560
|
-
class MComunidad {
|
|
5610
|
+
class MComunidad extends MBasicModel {
|
|
5561
5611
|
constructor(comunidad) {
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5612
|
+
super();
|
|
5613
|
+
if (comunidad) {
|
|
5614
|
+
this.codestado = comunidad.codestado;
|
|
5615
|
+
this.codigo = comunidad.codigo;
|
|
5616
|
+
this.codmunicipio = comunidad.codmunicipio;
|
|
5617
|
+
this.codparroquia = comunidad.codparroquia;
|
|
5618
|
+
this.comunidad = comunidad.comunidad;
|
|
5619
|
+
this.estado = comunidad.estado;
|
|
5620
|
+
this.municipio = comunidad.municipio;
|
|
5621
|
+
this.pais = comunidad.pais;
|
|
5622
|
+
this.parroquia = comunidad.parroquia;
|
|
5623
|
+
this.prefijo = comunidad.prefijo;
|
|
5624
|
+
}
|
|
5625
|
+
else {
|
|
5626
|
+
this.isNew = true;
|
|
5627
|
+
}
|
|
5572
5628
|
}
|
|
5573
5629
|
}
|
|
5574
5630
|
|