sigesp 0.9.49-20230719 → 0.9.50-20230809
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 +9 -54
- 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 +3 -51
- package/esm2015/lib/sigesp.service.js +8 -4
- package/fesm2015/sigesp.js +9 -53
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/models/CFG/Empresa.model.d.ts +0 -1
- package/lib/sigesp.service.d.ts +1 -1
- package/package.json +1 -1
- package/sigesp.metadata.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -3391,9 +3391,8 @@
|
|
|
3391
3391
|
|
|
3392
3392
|
var MEmpresa = /** @class */ (function (_super) {
|
|
3393
3393
|
__extends(MEmpresa, _super);
|
|
3394
|
-
function MEmpresa(
|
|
3395
|
-
|
|
3396
|
-
var _this = _super.call(this) || this;
|
|
3394
|
+
function MEmpresa() {
|
|
3395
|
+
var _this = _super.apply(this, __spread(arguments)) || this;
|
|
3397
3396
|
_this.idEmpresa = 0;
|
|
3398
3397
|
_this.rif = '';
|
|
3399
3398
|
_this.nit = '';
|
|
@@ -3439,54 +3438,6 @@
|
|
|
3439
3438
|
_this.codigoFuenteFinanciamintoMostrar = '';
|
|
3440
3439
|
_this.codigoCentroCosto = '';
|
|
3441
3440
|
_this.estructuraPresupuestaria = '';
|
|
3442
|
-
if (emp) {
|
|
3443
|
-
_this.idEmpresa = parseInt(emp.id_empresa);
|
|
3444
|
-
_this.rif = emp.rifemp;
|
|
3445
|
-
_this.nit = emp.nitemp;
|
|
3446
|
-
_this.nombre = emp.nomemp;
|
|
3447
|
-
_this.titulo = emp.titemp;
|
|
3448
|
-
_this.direccion = emp.diremp;
|
|
3449
|
-
_this.telefono = emp.telemp;
|
|
3450
|
-
_this.fax = emp.faxemp;
|
|
3451
|
-
_this.email = emp.emaemp;
|
|
3452
|
-
_this.paginaWeb = emp.webemp;
|
|
3453
|
-
_this.CIIU = emp.ciiuemp;
|
|
3454
|
-
_this.numeroLicencia = emp.numlic;
|
|
3455
|
-
_this.codigoPostal = emp.codpos;
|
|
3456
|
-
_this.codigoPais = emp.codpai;
|
|
3457
|
-
_this.codigoEstado = emp.codest;
|
|
3458
|
-
_this.codigoMunicipio = emp.codmun;
|
|
3459
|
-
_this.codigoParroquia = emp.codpar;
|
|
3460
|
-
_this.codigoComunidad = emp.codcom;
|
|
3461
|
-
_this.codigoMoneda = emp.codmon;
|
|
3462
|
-
_this.nombreRepresentanteLegal = emp.nomrepleg;
|
|
3463
|
-
_this.cedulaRepresentanteLegal = emp.cedrepleg;
|
|
3464
|
-
_this.telefonoRepresentanteLegal = emp.telrepleg;
|
|
3465
|
-
_this.carreraRepresentanteLegal = emp.carrepleg;
|
|
3466
|
-
_this.telefonoOficinaRepresentanteLegal = emp.telofirep;
|
|
3467
|
-
_this.periodoFiscal = emp.perfiscal;
|
|
3468
|
-
_this.numeroSeguroSocial = emp.nroivss;
|
|
3469
|
-
_this.estatusPresupuesto = emp.presupuesto == '1' ? true : false;
|
|
3470
|
-
_this.descripcionPais = emp.despai;
|
|
3471
|
-
_this.descripcionEstado = emp.desest;
|
|
3472
|
-
_this.descripcionMunicipio = emp.desmun;
|
|
3473
|
-
_this.descripcionParroquia = emp.despar;
|
|
3474
|
-
_this.descripcionComunidad = emp.descom;
|
|
3475
|
-
_this.cuentaDiferencialCambiario;
|
|
3476
|
-
_this.cuentaDiferencialCambiario = emp.cuenta_diferencial;
|
|
3477
|
-
_this.idEP1 = +emp.id_ep1;
|
|
3478
|
-
_this.idEP2 = +emp.id_ep2;
|
|
3479
|
-
_this.idEP3 = +emp.id_ep3;
|
|
3480
|
-
_this.idEP4 = +emp.id_ep4;
|
|
3481
|
-
_this.idEP5 = +emp.id_ep5;
|
|
3482
|
-
_this.codigoFuenteFinanciaminto = +emp.codfuefin;
|
|
3483
|
-
_this.idUnidadAdministrativa = +emp.id_uniadm;
|
|
3484
|
-
_this.denominacionUnidadAdministrativa = emp.denuniadm;
|
|
3485
|
-
_this.codigoUnidadAdministrativa = emp.coduniadm;
|
|
3486
|
-
_this.codigoFuenteFinanciamintoMostrar = emp.codigoftefin;
|
|
3487
|
-
_this.codigoCentroCosto = emp.codcencos;
|
|
3488
|
-
_this.estructuraPresupuestaria = emp.estpre;
|
|
3489
|
-
}
|
|
3490
3441
|
return _this;
|
|
3491
3442
|
}
|
|
3492
3443
|
MEmpresa.prototype.dataInterface = function () {
|
|
@@ -7663,7 +7614,7 @@
|
|
|
7663
7614
|
SigespService.prototype.getCompany = function (tipo, id) {
|
|
7664
7615
|
return this.http.get(this.URL + "/dao/cfg/empresas_dao.php?tipo=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
7665
7616
|
if (res.success) {
|
|
7666
|
-
res.data = res.data.map(function (e) { return new MEmpresa(
|
|
7617
|
+
res.data = res.data.map(function (e) { return new MEmpresa(); });
|
|
7667
7618
|
}
|
|
7668
7619
|
return res;
|
|
7669
7620
|
}));
|
|
@@ -7969,11 +7920,15 @@
|
|
|
7969
7920
|
* @description obtiene el personal segun filtro
|
|
7970
7921
|
* @return Observable<IResponse>
|
|
7971
7922
|
* @date 15-11-2021
|
|
7972
|
-
* @param tipo: valores ['catalogo','default','nomina']
|
|
7923
|
+
* @param tipo: valores ['catalogo','default','nomina','responsables']
|
|
7973
7924
|
* @params dato:object {nombre:string, apellido:string, cedula.string} use para la opcion 'catalogo'
|
|
7974
7925
|
*/
|
|
7975
7926
|
SigespService.prototype.getPersonal = function (tipo, dato) {
|
|
7976
|
-
|
|
7927
|
+
var cadena = '';
|
|
7928
|
+
if (dato) {
|
|
7929
|
+
cadena = "cedula=${dato.cedula}&nombre=${dato.nombre}&apellido=${dato.apellido}&expediente=${dato.expediente}&idTipo=${dato.tipo}";
|
|
7930
|
+
}
|
|
7931
|
+
return this.http.get(this.URL + "/dao/sno/personal_dao.php?\n tipo=" + tipo + "&cadena", { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
7977
7932
|
if (res.success) {
|
|
7978
7933
|
res.data = res.data.map(function (e) { return new MPersonal(e); });
|
|
7979
7934
|
}
|