sigesp 0.9.86-20231105 → 0.9.88-20231115
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 +315 -126
- 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/Banco.js +1 -1
- package/esm2015/lib/core/interfaces/Presupuesto.js +1 -1
- package/esm2015/lib/core/interfaces/Tributos.js +1 -1
- package/esm2015/lib/core/models/SPG/administrativeUnit.model.js +63 -1
- package/esm2015/lib/core/models/SPG/fuenteFinanciamiento.model.js +23 -7
- package/esm2015/lib/core/models/STB/MCargosAdicionales.js +84 -0
- package/esm2015/lib/sigesp.service.js +21 -4
- package/esm2015/public-api.js +3 -2
- package/fesm2015/sigesp.js +299 -124
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Banco.d.ts +3 -0
- package/lib/core/interfaces/Presupuesto.d.ts +38 -0
- package/lib/core/interfaces/Tributos.d.ts +25 -0
- package/lib/core/models/SPG/administrativeUnit.model.d.ts +42 -2
- package/lib/core/models/SPG/fuenteFinanciamiento.model.d.ts +4 -2
- package/lib/core/models/STB/MCargosAdicionales.d.ts +31 -0
- package/lib/sigesp.service.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +5 -4
- package/sigesp.metadata.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -2226,16 +2226,33 @@
|
|
|
2226
2226
|
return MUsuarioCentroCosto;
|
|
2227
2227
|
}(MBasicModel));
|
|
2228
2228
|
|
|
2229
|
-
var MFuenteFinanciamiento = /** @class */ (function () {
|
|
2229
|
+
var MFuenteFinanciamiento = /** @class */ (function (_super) {
|
|
2230
|
+
__extends(MFuenteFinanciamiento, _super);
|
|
2230
2231
|
function MFuenteFinanciamiento(fuente) {
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2232
|
+
var _this = _super.call(this) || this;
|
|
2233
|
+
if (fuente) {
|
|
2234
|
+
_this.codigoFuenteFinanciamiento = fuente.codfuefin;
|
|
2235
|
+
_this.denominacionFuenteFinanciamiento = fuente.denfuefin;
|
|
2236
|
+
_this.explicacionFuenteFinanciamiento = fuente.expfuefin;
|
|
2237
|
+
_this.idEmpresa = fuente.id_empresa;
|
|
2238
|
+
_this.codigo = fuente.codigoftefin;
|
|
2239
|
+
}
|
|
2240
|
+
else {
|
|
2241
|
+
_this.isNew = true;
|
|
2242
|
+
}
|
|
2243
|
+
return _this;
|
|
2236
2244
|
}
|
|
2245
|
+
MFuenteFinanciamiento.prototype.dataInterface = function () {
|
|
2246
|
+
return {
|
|
2247
|
+
codfuefin: this.codigoFuenteFinanciamiento,
|
|
2248
|
+
denfuefin: this.denominacionFuenteFinanciamiento,
|
|
2249
|
+
expfuefin: this.explicacionFuenteFinanciamiento,
|
|
2250
|
+
id_empresa: this.idEmpresa,
|
|
2251
|
+
codigoftefin: this.codigo,
|
|
2252
|
+
};
|
|
2253
|
+
};
|
|
2237
2254
|
return MFuenteFinanciamiento;
|
|
2238
|
-
}());
|
|
2255
|
+
}(MBasicModel));
|
|
2239
2256
|
|
|
2240
2257
|
var MCuentaEgresos = /** @class */ (function () {
|
|
2241
2258
|
function MCuentaEgresos(cuenta) {
|
|
@@ -3800,6 +3817,7 @@
|
|
|
3800
3817
|
_this.centroCosto = '';
|
|
3801
3818
|
_this.id = 0;
|
|
3802
3819
|
_this.denominacionUnidadCentral = '';
|
|
3820
|
+
_this.estructuras = [];
|
|
3803
3821
|
if (unidad) {
|
|
3804
3822
|
_this.idEmpresa = unidad.id_empresa;
|
|
3805
3823
|
_this.idEnterprise = unidad.id_enterprise;
|
|
@@ -3810,6 +3828,7 @@
|
|
|
3810
3828
|
_this.centroCosto = unidad.codcencos;
|
|
3811
3829
|
_this.id = unidad.id_uniadm;
|
|
3812
3830
|
_this.denominacionUnidadCentral = unidad.denuac;
|
|
3831
|
+
_this.estructuras = unidad.estructuras.map(function (e) { return new MEstructuras(e); });
|
|
3813
3832
|
}
|
|
3814
3833
|
else {
|
|
3815
3834
|
_this.isNew = true;
|
|
@@ -3826,9 +3845,74 @@
|
|
|
3826
3845
|
estemireq: this.emiteRequisicion,
|
|
3827
3846
|
codcencos: this.centroCosto,
|
|
3828
3847
|
id_uniadm: this.id,
|
|
3848
|
+
estructuras: this.estructuras.map(function (e) { return e.dataInterface(); }),
|
|
3829
3849
|
};
|
|
3830
3850
|
};
|
|
3831
3851
|
return MAdministrativeUnit;
|
|
3852
|
+
}(MBasicModel));
|
|
3853
|
+
var MEstructuras = /** @class */ (function (_super) {
|
|
3854
|
+
__extends(MEstructuras, _super);
|
|
3855
|
+
function MEstructuras(dt) {
|
|
3856
|
+
var _this = _super.call(this) || this;
|
|
3857
|
+
_this.fuentes = [];
|
|
3858
|
+
if (dt) {
|
|
3859
|
+
_this.cuentaContable = dt.cuentacontable;
|
|
3860
|
+
_this.cuentaPresupuestaria = dt.cuentapresupuestaria;
|
|
3861
|
+
_this.denominacion = dt.denominacion;
|
|
3862
|
+
_this.estructura = dt.estructura;
|
|
3863
|
+
_this.fuentes = dt.fuentes.map(function (e) { return new MFuenteFinanciamiento(e); });
|
|
3864
|
+
_this.idEp1 = parseInt(dt.id_ep1);
|
|
3865
|
+
_this.idEp2 = parseInt(dt.id_ep2);
|
|
3866
|
+
_this.idEp3 = parseInt(dt.id_ep3);
|
|
3867
|
+
_this.idEp4 = parseInt(dt.id_ep4);
|
|
3868
|
+
_this.idEp5 = parseInt(dt.id_ep5);
|
|
3869
|
+
_this.monto = parseFloat(dt.monto);
|
|
3870
|
+
_this.estatus = dt.status;
|
|
3871
|
+
_this.codigoEep1 = dt.codeep1;
|
|
3872
|
+
_this.codigoEep2 = dt.codeep2;
|
|
3873
|
+
_this.codigoEep3 = dt.codeep3;
|
|
3874
|
+
_this.codigoEep4 = dt.codeep4;
|
|
3875
|
+
_this.codigoEep5 = dt.codeep5;
|
|
3876
|
+
_this.denominacionEstructura = dt.denestructura;
|
|
3877
|
+
_this.denominacion5 = dt.status;
|
|
3878
|
+
_this.denominacion3 = dt.status;
|
|
3879
|
+
_this.idDtUni = parseInt(dt.id_dt_uniadm);
|
|
3880
|
+
_this.idUnidadAdministrativa = parseInt(dt.id_uniadm);
|
|
3881
|
+
}
|
|
3882
|
+
return _this;
|
|
3883
|
+
}
|
|
3884
|
+
MEstructuras.prototype.dataInterface = function () {
|
|
3885
|
+
return {
|
|
3886
|
+
id_ep1: this.idEp1.toString(),
|
|
3887
|
+
id_ep2: this.idEp2.toString(),
|
|
3888
|
+
id_ep3: this.idEp3.toString(),
|
|
3889
|
+
id_ep4: this.idEp4.toString(),
|
|
3890
|
+
id_ep5: this.idEp5.toString(),
|
|
3891
|
+
id_dt_uniadm: this.idDtUni.toString(),
|
|
3892
|
+
id_uniadm: this.idUnidadAdministrativa.toString(),
|
|
3893
|
+
};
|
|
3894
|
+
};
|
|
3895
|
+
return MEstructuras;
|
|
3896
|
+
}(MBasicModel));
|
|
3897
|
+
var MCuentasSpSC = /** @class */ (function (_super) {
|
|
3898
|
+
__extends(MCuentasSpSC, _super);
|
|
3899
|
+
function MCuentasSpSC(dt) {
|
|
3900
|
+
var _this = _super.call(this) || this;
|
|
3901
|
+
if (dt) {
|
|
3902
|
+
_this.codioCentroCosto = dt.codcencos;
|
|
3903
|
+
_this.codigoFFMostrar = dt.codigoftefin;
|
|
3904
|
+
_this.codigoUnidadAdministradora = dt.coduniadm;
|
|
3905
|
+
_this.denominacionCuenta = dt.denominacion;
|
|
3906
|
+
_this.estructura = dt.estructura;
|
|
3907
|
+
_this.cuentaContable = dt.cuentacontable;
|
|
3908
|
+
_this.cuentaPresupuestaria = dt.cuentapresupuestaria;
|
|
3909
|
+
_this.estatusClasificacion = dt.estcla;
|
|
3910
|
+
_this.denominacionEstatusClasificacion = dt.denestcla;
|
|
3911
|
+
_this.tipo = dt.tipo;
|
|
3912
|
+
}
|
|
3913
|
+
return _this;
|
|
3914
|
+
}
|
|
3915
|
+
return MCuentasSpSC;
|
|
3832
3916
|
}(MBasicModel));
|
|
3833
3917
|
|
|
3834
3918
|
var MComponent = /** @class */ (function (_super) {
|
|
@@ -6355,6 +6439,209 @@
|
|
|
6355
6439
|
return MExchangeRate;
|
|
6356
6440
|
}(MBasicModel));
|
|
6357
6441
|
|
|
6442
|
+
var MCargosAdicionales = /** @class */ (function (_super) {
|
|
6443
|
+
__extends(MCargosAdicionales, _super);
|
|
6444
|
+
//public estadoTipoPresupuesto: string = "E"
|
|
6445
|
+
function MCargosAdicionales(charge) {
|
|
6446
|
+
var _this = _super.call(this) || this;
|
|
6447
|
+
_this.isNew = false;
|
|
6448
|
+
_this.error = false;
|
|
6449
|
+
_this.idEmpresa = 0;
|
|
6450
|
+
_this.id = 0;
|
|
6451
|
+
_this.codigo = "";
|
|
6452
|
+
_this.denominacion = "";
|
|
6453
|
+
_this.codigoEstruraPresupuestaria = '';
|
|
6454
|
+
_this.porcentaje = 0;
|
|
6455
|
+
_this.formula = "";
|
|
6456
|
+
_this.tipo = 0;
|
|
6457
|
+
_this.cuenta = "";
|
|
6458
|
+
_this.idEp1 = 0;
|
|
6459
|
+
_this.idEp2 = 0;
|
|
6460
|
+
_this.idEp3 = 0;
|
|
6461
|
+
_this.idEp4 = 0;
|
|
6462
|
+
_this.idEp5 = 0;
|
|
6463
|
+
_this.denominacionCuenta = '';
|
|
6464
|
+
_this.idUnidadOrganizativa = 0;
|
|
6465
|
+
_this.codigoUnidadOrganizativa = '';
|
|
6466
|
+
_this.denominacionUnidadOrganizativa = '';
|
|
6467
|
+
_this.codigoCentroCosto = '---';
|
|
6468
|
+
_this.denominacionCentroCosto = '';
|
|
6469
|
+
_this.codigoFuenteFinanciamiento = 0;
|
|
6470
|
+
_this.codigoFuenteFinanciamientoMostrar = '';
|
|
6471
|
+
_this.denominacionFuenteFinanciamiento = '';
|
|
6472
|
+
if (charge) {
|
|
6473
|
+
_this.idEmpresa = parseInt(charge.id_empresa);
|
|
6474
|
+
_this.id = parseInt(charge.id_cargoadi);
|
|
6475
|
+
_this.codigo = charge.codcar;
|
|
6476
|
+
_this.denominacion = charge.dencar;
|
|
6477
|
+
_this.codigoEstruraPresupuestaria = charge.codestpre;
|
|
6478
|
+
_this.porcentaje = parseFloat(charge.porcar);
|
|
6479
|
+
_this.formula = charge.formula;
|
|
6480
|
+
_this.tipo = parseInt(charge.tipo);
|
|
6481
|
+
_this.cuenta = charge.cuenta;
|
|
6482
|
+
_this.idEp1 = +charge.id_ep1;
|
|
6483
|
+
_this.idEp2 = +charge.id_ep2;
|
|
6484
|
+
_this.idEp3 = +charge.id_ep3;
|
|
6485
|
+
_this.idEp4 = +charge.id_ep4;
|
|
6486
|
+
_this.idEp5 = +charge.id_ep5;
|
|
6487
|
+
_this.denominacionCuenta = charge.dencuenta;
|
|
6488
|
+
_this.denominacionCuenta = charge.dencuenta;
|
|
6489
|
+
_this.idUnidadOrganizativa = +charge.id_uniadm;
|
|
6490
|
+
_this.codigoUnidadOrganizativa = charge.coduniadm;
|
|
6491
|
+
_this.denominacionUnidadOrganizativa = charge.denuniadm;
|
|
6492
|
+
_this.codigoCentroCosto = charge.codcencos;
|
|
6493
|
+
_this.denominacionCentroCosto = charge.dencencos;
|
|
6494
|
+
_this.codigoFuenteFinanciamiento = +charge.codfuefin;
|
|
6495
|
+
_this.codigoFuenteFinanciamientoMostrar = charge.codigoftefin;
|
|
6496
|
+
_this.denominacionFuenteFinanciamiento = charge.denfuefin;
|
|
6497
|
+
}
|
|
6498
|
+
else {
|
|
6499
|
+
_this.isNew = true;
|
|
6500
|
+
}
|
|
6501
|
+
return _this;
|
|
6502
|
+
}
|
|
6503
|
+
MCargosAdicionales.prototype.dataInterface = function () {
|
|
6504
|
+
return {
|
|
6505
|
+
id_empresa: this.idEmpresa.toString(),
|
|
6506
|
+
id_cargoadi: this.id.toString(),
|
|
6507
|
+
codcar: this.codigo,
|
|
6508
|
+
dencar: this.denominacion,
|
|
6509
|
+
codestpre: this.codigoEstruraPresupuestaria,
|
|
6510
|
+
porcar: this.porcentaje.toString(),
|
|
6511
|
+
formula: this.formula,
|
|
6512
|
+
tipo: this.tipo.toString(),
|
|
6513
|
+
cuenta: this.cuenta,
|
|
6514
|
+
id_ep1: this.idEp1.toString(),
|
|
6515
|
+
id_ep2: this.idEp2.toString(),
|
|
6516
|
+
id_ep3: this.idEp3.toString(),
|
|
6517
|
+
id_ep4: this.idEp4.toString(),
|
|
6518
|
+
id_ep5: this.idEp5.toString(),
|
|
6519
|
+
dencuenta: this.denominacionCuenta,
|
|
6520
|
+
codfuefin: this.codigoFuenteFinanciamiento.toString(),
|
|
6521
|
+
id_uniadm: this.idUnidadOrganizativa.toString(),
|
|
6522
|
+
codcencos: this.codigoCentroCosto,
|
|
6523
|
+
};
|
|
6524
|
+
};
|
|
6525
|
+
return MCargosAdicionales;
|
|
6526
|
+
}(MBasicModel));
|
|
6527
|
+
|
|
6528
|
+
var MClient = /** @class */ (function () {
|
|
6529
|
+
function MClient(e) {
|
|
6530
|
+
var _this = this;
|
|
6531
|
+
this.idEmpresa = 0;
|
|
6532
|
+
this.idCliente = 0;
|
|
6533
|
+
this.idCategoria = 0;
|
|
6534
|
+
this.idVendedor = 0;
|
|
6535
|
+
this.estatusTipoCliente = 0;
|
|
6536
|
+
this.codigo = '';
|
|
6537
|
+
this.cedulaRifCliente = '';
|
|
6538
|
+
this.nombreCliente = '';
|
|
6539
|
+
this.direccionCliente = '';
|
|
6540
|
+
this.telefonoClientePrincipal = '';
|
|
6541
|
+
this.telefonoClienteSecundario = '';
|
|
6542
|
+
this.fechaRegistroCliente = '';
|
|
6543
|
+
this.emailCliente = '';
|
|
6544
|
+
this.estatusCliente = '';
|
|
6545
|
+
this.cedulaRepresentante = '';
|
|
6546
|
+
this.nombreRepresentante = '';
|
|
6547
|
+
this.emailRepresentante = '';
|
|
6548
|
+
this.comentario = '';
|
|
6549
|
+
this.codigoPais = '';
|
|
6550
|
+
this.codigoEstado = '';
|
|
6551
|
+
this.codigoMunicipio = '';
|
|
6552
|
+
this.codigoParroquia = '';
|
|
6553
|
+
this.codigoPostal = '';
|
|
6554
|
+
this.nompreApellidoContato = '';
|
|
6555
|
+
this.ubicacionContacto = '';
|
|
6556
|
+
this.telelefonoContacto = '';
|
|
6557
|
+
this.emailContacto = '';
|
|
6558
|
+
this.aplicarCuentaPorCobrar = 0;
|
|
6559
|
+
this.descripcionParroquia = '';
|
|
6560
|
+
this.descripcionMunicipio = '';
|
|
6561
|
+
this.descripcionEstado = '';
|
|
6562
|
+
this.descripcionPais = '';
|
|
6563
|
+
this.clienteEspecial = 0;
|
|
6564
|
+
this.limiteCredito = 0;
|
|
6565
|
+
this.denominacionEstataus = '';
|
|
6566
|
+
if (e) {
|
|
6567
|
+
this.idEmpresa = e.id_empresa;
|
|
6568
|
+
this.idCliente = e.id_cliente;
|
|
6569
|
+
this.idCategoria = e.id_categoria;
|
|
6570
|
+
this.idVendedor = e.id_vendedor;
|
|
6571
|
+
this.estatusTipoCliente = e.esttipcli;
|
|
6572
|
+
this.codigo = e.codigo;
|
|
6573
|
+
this.cedulaRifCliente = e.cedrifcli;
|
|
6574
|
+
this.nombreCliente = e.nomcli;
|
|
6575
|
+
this.direccionCliente = e.dircli;
|
|
6576
|
+
this.telefonoClientePrincipal = e.telclipri;
|
|
6577
|
+
this.telefonoClienteSecundario = e.telclisec;
|
|
6578
|
+
this.fechaRegistroCliente = e.fecregcli;
|
|
6579
|
+
this.emailCliente = e.emacli;
|
|
6580
|
+
this.estatusCliente = e.estcli;
|
|
6581
|
+
this.cedulaRepresentante = e.cedrep;
|
|
6582
|
+
this.nombreRepresentante = e.nomrep;
|
|
6583
|
+
this.emailRepresentante = e.emarep;
|
|
6584
|
+
this.comentario = e.comentario;
|
|
6585
|
+
this.codigoPais = e.codpai;
|
|
6586
|
+
this.codigoEstado = e.codest;
|
|
6587
|
+
this.codigoMunicipio = e.codmun;
|
|
6588
|
+
this.codigoParroquia = e.codpar;
|
|
6589
|
+
this.codigoPostal = e.codpos;
|
|
6590
|
+
this.nompreApellidoContato = e.nomapecon;
|
|
6591
|
+
this.ubicacionContacto = e.ubicon;
|
|
6592
|
+
this.telelefonoContacto = e.telcon;
|
|
6593
|
+
this.emailContacto = e.emacon;
|
|
6594
|
+
this.aplicarCuentaPorCobrar = e.aplicarcxc;
|
|
6595
|
+
this.descripcionParroquia = e.despar;
|
|
6596
|
+
this.descripcionMunicipio = e.desmun;
|
|
6597
|
+
this.descripcionEstado = e.desest;
|
|
6598
|
+
this.descripcionPais = e.despai;
|
|
6599
|
+
this.clienteEspecial = e.cliesp;
|
|
6600
|
+
this.limiteCredito = e.limitecredito;
|
|
6601
|
+
this.denominacionEstataus = EstatusCliente.find(function (e) { return e.value = _this.estatusCliente; }).denominacion;
|
|
6602
|
+
}
|
|
6603
|
+
}
|
|
6604
|
+
MClient.prototype.dataInterface = function () {
|
|
6605
|
+
return {
|
|
6606
|
+
id_empresa: this.idEmpresa,
|
|
6607
|
+
id_cliente: this.idCliente,
|
|
6608
|
+
id_categoria: this.idCategoria,
|
|
6609
|
+
id_vendedor: this.idVendedor,
|
|
6610
|
+
codigo: this.codigo,
|
|
6611
|
+
cedrifcli: this.cedulaRifCliente,
|
|
6612
|
+
nomcli: this.nombreCliente,
|
|
6613
|
+
dircli: this.direccionCliente,
|
|
6614
|
+
telclipri: this.telefonoClientePrincipal,
|
|
6615
|
+
telclisec: this.telefonoClienteSecundario,
|
|
6616
|
+
fecregcli: this.fechaRegistroCliente,
|
|
6617
|
+
emacli: this.emailCliente,
|
|
6618
|
+
estcli: this.estatusCliente,
|
|
6619
|
+
cedrep: this.cedulaRepresentante,
|
|
6620
|
+
nomrep: this.nombreCliente,
|
|
6621
|
+
emarep: this.emailRepresentante,
|
|
6622
|
+
comentario: this.comentario,
|
|
6623
|
+
codpai: this.codigoPais,
|
|
6624
|
+
codest: this.codigoEstado,
|
|
6625
|
+
codmun: this.codigoMunicipio,
|
|
6626
|
+
codpar: this.codigoParroquia,
|
|
6627
|
+
codpos: this.codigoPostal,
|
|
6628
|
+
nomapecon: this.nompreApellidoContato,
|
|
6629
|
+
ubicon: this.ubicacionContacto,
|
|
6630
|
+
telcon: this.telelefonoContacto,
|
|
6631
|
+
emacon: this.emailContacto,
|
|
6632
|
+
aplicarcxc: this.aplicarCuentaPorCobrar,
|
|
6633
|
+
despar: this.descripcionPais,
|
|
6634
|
+
desmun: this.descripcionMunicipio,
|
|
6635
|
+
desest: this.descripcionEstado,
|
|
6636
|
+
despai: this.descripcionPais,
|
|
6637
|
+
cliesp: this.clienteEspecial,
|
|
6638
|
+
limitecredito: this.limiteCredito,
|
|
6639
|
+
esttipcli: this.estatusTipoCliente,
|
|
6640
|
+
};
|
|
6641
|
+
};
|
|
6642
|
+
return MClient;
|
|
6643
|
+
}());
|
|
6644
|
+
|
|
6358
6645
|
var SigespService = /** @class */ (function () {
|
|
6359
6646
|
// public URL: string = "http://192.168.1.67/sigesp_php";
|
|
6360
6647
|
// usuarioActivo: MUsuario = {
|
|
@@ -8463,7 +8750,7 @@
|
|
|
8463
8750
|
var body = [];
|
|
8464
8751
|
sno.forEach(function (e) { body.push(e.dataInteface()); });
|
|
8465
8752
|
return this.http.post(this.URL + "/dao/sno/seguridad_dao.php?", body, { headers: this.getHttpHeaders() })
|
|
8466
|
-
.pipe(operators.
|
|
8753
|
+
.pipe(operators.map(function (res) { return res; }));
|
|
8467
8754
|
};
|
|
8468
8755
|
/**
|
|
8469
8756
|
* @description Obtiene los tipos de depositos *
|
|
@@ -8475,13 +8762,29 @@
|
|
|
8475
8762
|
* @date 23-11-2022
|
|
8476
8763
|
*/
|
|
8477
8764
|
SigespService.prototype.getDepositType = function (procede, idArticulo, idUsuario) {
|
|
8478
|
-
return this.http.get(this.URL + "/dao/siv/catalogo_parametrizado_dao.php?get=" + procede + "&id=" + idArticulo + "&i=" + idUsuario, { headers: this.getHttpHeaders() }).pipe(operators.
|
|
8765
|
+
return this.http.get(this.URL + "/dao/siv/catalogo_parametrizado_dao.php?get=" + procede + "&id=" + idArticulo + "&i=" + idUsuario, { headers: this.getHttpHeaders() }).pipe(operators.map(function (res) {
|
|
8479
8766
|
if (res.success) {
|
|
8480
8767
|
res.data = res.data.map(function (e) { return new MTipoDepositos(e); });
|
|
8481
8768
|
}
|
|
8482
8769
|
return res;
|
|
8483
8770
|
}));
|
|
8484
8771
|
};
|
|
8772
|
+
/**
|
|
8773
|
+
* @description Obtiene Cargos Adicionales *
|
|
8774
|
+
* @param tipo : one,default
|
|
8775
|
+
* @param id : id del cargo
|
|
8776
|
+
* @returns
|
|
8777
|
+
* @author Dimaly Crespo
|
|
8778
|
+
* @date 13-11-2022
|
|
8779
|
+
*/
|
|
8780
|
+
SigespService.prototype.getCargosAdicionales = function (tipo, id) {
|
|
8781
|
+
return this.http.get(this.URL + "/dao/stb/cargos_adicionales_dao.php?tipo=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.map(function (res) {
|
|
8782
|
+
if (res.success) {
|
|
8783
|
+
res.data = res.data.map(function (e) { return new MCargosAdicionales(e); });
|
|
8784
|
+
}
|
|
8785
|
+
return res;
|
|
8786
|
+
}));
|
|
8787
|
+
};
|
|
8485
8788
|
return SigespService;
|
|
8486
8789
|
}());
|
|
8487
8790
|
SigespService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function SigespService_Factory() { return new SigespService(i0__namespace.ɵɵinject(i1__namespace.HttpClient), i0__namespace.ɵɵinject(i2__namespace.MatDialog), i0__namespace.ɵɵinject(i3__namespace.ToastrService)); }, token: SigespService, providedIn: "root" });
|
|
@@ -9092,123 +9395,6 @@
|
|
|
9092
9395
|
return MClauseModality;
|
|
9093
9396
|
}(MBasicModel));
|
|
9094
9397
|
|
|
9095
|
-
var MClient = /** @class */ (function () {
|
|
9096
|
-
function MClient(e) {
|
|
9097
|
-
var _this = this;
|
|
9098
|
-
this.idEmpresa = 0;
|
|
9099
|
-
this.idCliente = 0;
|
|
9100
|
-
this.idCategoria = 0;
|
|
9101
|
-
this.idVendedor = 0;
|
|
9102
|
-
this.estatusTipoCliente = 0;
|
|
9103
|
-
this.codigo = '';
|
|
9104
|
-
this.cedulaRifCliente = '';
|
|
9105
|
-
this.nombreCliente = '';
|
|
9106
|
-
this.direccionCliente = '';
|
|
9107
|
-
this.telefonoClientePrincipal = '';
|
|
9108
|
-
this.telefonoClienteSecundario = '';
|
|
9109
|
-
this.fechaRegistroCliente = '';
|
|
9110
|
-
this.emailCliente = '';
|
|
9111
|
-
this.estatusCliente = '';
|
|
9112
|
-
this.cedulaRepresentante = '';
|
|
9113
|
-
this.nombreRepresentante = '';
|
|
9114
|
-
this.emailRepresentante = '';
|
|
9115
|
-
this.comentario = '';
|
|
9116
|
-
this.codigoPais = '';
|
|
9117
|
-
this.codigoEstado = '';
|
|
9118
|
-
this.codigoMunicipio = '';
|
|
9119
|
-
this.codigoParroquia = '';
|
|
9120
|
-
this.codigoPostal = '';
|
|
9121
|
-
this.nompreApellidoContato = '';
|
|
9122
|
-
this.ubicacionContacto = '';
|
|
9123
|
-
this.telelefonoContacto = '';
|
|
9124
|
-
this.emailContacto = '';
|
|
9125
|
-
this.aplicarCuentaPorCobrar = 0;
|
|
9126
|
-
this.descripcionParroquia = '';
|
|
9127
|
-
this.descripcionMunicipio = '';
|
|
9128
|
-
this.descripcionEstado = '';
|
|
9129
|
-
this.descripcionPais = '';
|
|
9130
|
-
this.clienteEspecial = 0;
|
|
9131
|
-
this.limiteCredito = 0;
|
|
9132
|
-
this.denominacionEstataus = '';
|
|
9133
|
-
if (e) {
|
|
9134
|
-
this.idEmpresa = e.id_empresa;
|
|
9135
|
-
this.idCliente = e.id_cliente;
|
|
9136
|
-
this.idCategoria = e.id_categoria;
|
|
9137
|
-
this.idVendedor = e.id_vendedor;
|
|
9138
|
-
this.estatusTipoCliente = e.esttipcli;
|
|
9139
|
-
this.codigo = e.codigo;
|
|
9140
|
-
this.cedulaRifCliente = e.cedrifcli;
|
|
9141
|
-
this.nombreCliente = e.nomcli;
|
|
9142
|
-
this.direccionCliente = e.dircli;
|
|
9143
|
-
this.telefonoClientePrincipal = e.telclipri;
|
|
9144
|
-
this.telefonoClienteSecundario = e.telclisec;
|
|
9145
|
-
this.fechaRegistroCliente = e.fecregcli;
|
|
9146
|
-
this.emailCliente = e.emacli;
|
|
9147
|
-
this.estatusCliente = e.estcli;
|
|
9148
|
-
this.cedulaRepresentante = e.cedrep;
|
|
9149
|
-
this.nombreRepresentante = e.nomrep;
|
|
9150
|
-
this.emailRepresentante = e.emarep;
|
|
9151
|
-
this.comentario = e.comentario;
|
|
9152
|
-
this.codigoPais = e.codpai;
|
|
9153
|
-
this.codigoEstado = e.codest;
|
|
9154
|
-
this.codigoMunicipio = e.codmun;
|
|
9155
|
-
this.codigoParroquia = e.codpar;
|
|
9156
|
-
this.codigoPostal = e.codpos;
|
|
9157
|
-
this.nompreApellidoContato = e.nomapecon;
|
|
9158
|
-
this.ubicacionContacto = e.ubicon;
|
|
9159
|
-
this.telelefonoContacto = e.telcon;
|
|
9160
|
-
this.emailContacto = e.emacon;
|
|
9161
|
-
this.aplicarCuentaPorCobrar = e.aplicarcxc;
|
|
9162
|
-
this.descripcionParroquia = e.despar;
|
|
9163
|
-
this.descripcionMunicipio = e.desmun;
|
|
9164
|
-
this.descripcionEstado = e.desest;
|
|
9165
|
-
this.descripcionPais = e.despai;
|
|
9166
|
-
this.clienteEspecial = e.cliesp;
|
|
9167
|
-
this.limiteCredito = e.limitecredito;
|
|
9168
|
-
this.denominacionEstataus = EstatusCliente.find(function (e) { return e.value = _this.estatusCliente; }).denominacion;
|
|
9169
|
-
}
|
|
9170
|
-
}
|
|
9171
|
-
MClient.prototype.dataInterface = function () {
|
|
9172
|
-
return {
|
|
9173
|
-
id_empresa: this.idEmpresa,
|
|
9174
|
-
id_cliente: this.idCliente,
|
|
9175
|
-
id_categoria: this.idCategoria,
|
|
9176
|
-
id_vendedor: this.idVendedor,
|
|
9177
|
-
codigo: this.codigo,
|
|
9178
|
-
cedrifcli: this.cedulaRifCliente,
|
|
9179
|
-
nomcli: this.nombreCliente,
|
|
9180
|
-
dircli: this.direccionCliente,
|
|
9181
|
-
telclipri: this.telefonoClientePrincipal,
|
|
9182
|
-
telclisec: this.telefonoClienteSecundario,
|
|
9183
|
-
fecregcli: this.fechaRegistroCliente,
|
|
9184
|
-
emacli: this.emailCliente,
|
|
9185
|
-
estcli: this.estatusCliente,
|
|
9186
|
-
cedrep: this.cedulaRepresentante,
|
|
9187
|
-
nomrep: this.nombreCliente,
|
|
9188
|
-
emarep: this.emailRepresentante,
|
|
9189
|
-
comentario: this.comentario,
|
|
9190
|
-
codpai: this.codigoPais,
|
|
9191
|
-
codest: this.codigoEstado,
|
|
9192
|
-
codmun: this.codigoMunicipio,
|
|
9193
|
-
codpar: this.codigoParroquia,
|
|
9194
|
-
codpos: this.codigoPostal,
|
|
9195
|
-
nomapecon: this.nompreApellidoContato,
|
|
9196
|
-
ubicon: this.ubicacionContacto,
|
|
9197
|
-
telcon: this.telelefonoContacto,
|
|
9198
|
-
emacon: this.emailContacto,
|
|
9199
|
-
aplicarcxc: this.aplicarCuentaPorCobrar,
|
|
9200
|
-
despar: this.descripcionPais,
|
|
9201
|
-
desmun: this.descripcionMunicipio,
|
|
9202
|
-
desest: this.descripcionEstado,
|
|
9203
|
-
despai: this.descripcionPais,
|
|
9204
|
-
cliesp: this.clienteEspecial,
|
|
9205
|
-
limitecredito: this.limiteCredito,
|
|
9206
|
-
esttipcli: this.estatusTipoCliente,
|
|
9207
|
-
};
|
|
9208
|
-
};
|
|
9209
|
-
return MClient;
|
|
9210
|
-
}());
|
|
9211
|
-
|
|
9212
9398
|
var MGroup = /** @class */ (function (_super) {
|
|
9213
9399
|
__extends(MGroup, _super);
|
|
9214
9400
|
function MGroup(group) {
|
|
@@ -14915,6 +15101,7 @@
|
|
|
14915
15101
|
exports.MCargaMasiva = MCargaMasiva;
|
|
14916
15102
|
exports.MCargo = MCargo;
|
|
14917
15103
|
exports.MCargoEstructuraOrganizativa = MCargoEstructuraOrganizativa;
|
|
15104
|
+
exports.MCargosAdicionales = MCargosAdicionales;
|
|
14918
15105
|
exports.MCargosNominas = MCargosNominas;
|
|
14919
15106
|
exports.MCargosPersonal = MCargosPersonal;
|
|
14920
15107
|
exports.MCentroCosto = MCentroCosto;
|
|
@@ -14953,6 +15140,7 @@
|
|
|
14953
15140
|
exports.MCuentaIngresos = MCuentaIngresos;
|
|
14954
15141
|
exports.MCuentaInstitucional = MCuentaInstitucional;
|
|
14955
15142
|
exports.MCuentaPresupuesto = MCuentaPresupuesto;
|
|
15143
|
+
exports.MCuentasSpSC = MCuentasSpSC;
|
|
14956
15144
|
exports.MDedicacion = MDedicacion;
|
|
14957
15145
|
exports.MDeduction = MDeduction;
|
|
14958
15146
|
exports.MDeductionType = MDeductionType;
|
|
@@ -14975,6 +15163,7 @@
|
|
|
14975
15163
|
exports.MEstructuraPresupuestariaOne = MEstructuraPresupuestariaOne;
|
|
14976
15164
|
exports.MEstructuraPresupuestariaThree = MEstructuraPresupuestariaThree;
|
|
14977
15165
|
exports.MEstructuraPresupuestariaTwo = MEstructuraPresupuestariaTwo;
|
|
15166
|
+
exports.MEstructuras = MEstructuras;
|
|
14978
15167
|
exports.MEstudiosConcursantes = MEstudiosConcursantes;
|
|
14979
15168
|
exports.MEstudiosRealizados = MEstudiosRealizados;
|
|
14980
15169
|
exports.MExchangeRate = MExchangeRate;
|