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/fesm2015/sigesp.js
CHANGED
|
@@ -1878,13 +1878,28 @@ class MUsuarioCentroCosto extends MBasicModel {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
}
|
|
1880
1880
|
|
|
1881
|
-
class MFuenteFinanciamiento {
|
|
1881
|
+
class MFuenteFinanciamiento extends MBasicModel {
|
|
1882
1882
|
constructor(fuente) {
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1883
|
+
super();
|
|
1884
|
+
if (fuente) {
|
|
1885
|
+
this.codigoFuenteFinanciamiento = fuente.codfuefin;
|
|
1886
|
+
this.denominacionFuenteFinanciamiento = fuente.denfuefin;
|
|
1887
|
+
this.explicacionFuenteFinanciamiento = fuente.expfuefin;
|
|
1888
|
+
this.idEmpresa = fuente.id_empresa;
|
|
1889
|
+
this.codigo = fuente.codigoftefin;
|
|
1890
|
+
}
|
|
1891
|
+
else {
|
|
1892
|
+
this.isNew = true;
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
dataInterface() {
|
|
1896
|
+
return {
|
|
1897
|
+
codfuefin: this.codigoFuenteFinanciamiento,
|
|
1898
|
+
denfuefin: this.denominacionFuenteFinanciamiento,
|
|
1899
|
+
expfuefin: this.explicacionFuenteFinanciamiento,
|
|
1900
|
+
id_empresa: this.idEmpresa,
|
|
1901
|
+
codigoftefin: this.codigo,
|
|
1902
|
+
};
|
|
1888
1903
|
}
|
|
1889
1904
|
}
|
|
1890
1905
|
|
|
@@ -3361,6 +3376,7 @@ class MAdministrativeUnit extends MBasicModel {
|
|
|
3361
3376
|
this.centroCosto = '';
|
|
3362
3377
|
this.id = 0;
|
|
3363
3378
|
this.denominacionUnidadCentral = '';
|
|
3379
|
+
this.estructuras = [];
|
|
3364
3380
|
if (unidad) {
|
|
3365
3381
|
this.idEmpresa = unidad.id_empresa;
|
|
3366
3382
|
this.idEnterprise = unidad.id_enterprise;
|
|
@@ -3371,6 +3387,7 @@ class MAdministrativeUnit extends MBasicModel {
|
|
|
3371
3387
|
this.centroCosto = unidad.codcencos;
|
|
3372
3388
|
this.id = unidad.id_uniadm;
|
|
3373
3389
|
this.denominacionUnidadCentral = unidad.denuac;
|
|
3390
|
+
this.estructuras = unidad.estructuras.map(e => new MEstructuras(e));
|
|
3374
3391
|
}
|
|
3375
3392
|
else {
|
|
3376
3393
|
this.isNew = true;
|
|
@@ -3386,8 +3403,67 @@ class MAdministrativeUnit extends MBasicModel {
|
|
|
3386
3403
|
estemireq: this.emiteRequisicion,
|
|
3387
3404
|
codcencos: this.centroCosto,
|
|
3388
3405
|
id_uniadm: this.id,
|
|
3406
|
+
estructuras: this.estructuras.map(function (e) { return e.dataInterface(); }),
|
|
3407
|
+
};
|
|
3408
|
+
}
|
|
3409
|
+
}
|
|
3410
|
+
class MEstructuras extends MBasicModel {
|
|
3411
|
+
constructor(dt) {
|
|
3412
|
+
super();
|
|
3413
|
+
this.fuentes = [];
|
|
3414
|
+
if (dt) {
|
|
3415
|
+
this.cuentaContable = dt.cuentacontable;
|
|
3416
|
+
this.cuentaPresupuestaria = dt.cuentapresupuestaria;
|
|
3417
|
+
this.denominacion = dt.denominacion;
|
|
3418
|
+
this.estructura = dt.estructura;
|
|
3419
|
+
this.fuentes = dt.fuentes.map(e => new MFuenteFinanciamiento(e));
|
|
3420
|
+
this.idEp1 = parseInt(dt.id_ep1);
|
|
3421
|
+
this.idEp2 = parseInt(dt.id_ep2);
|
|
3422
|
+
this.idEp3 = parseInt(dt.id_ep3);
|
|
3423
|
+
this.idEp4 = parseInt(dt.id_ep4);
|
|
3424
|
+
this.idEp5 = parseInt(dt.id_ep5);
|
|
3425
|
+
this.monto = parseFloat(dt.monto);
|
|
3426
|
+
this.estatus = dt.status;
|
|
3427
|
+
this.codigoEep1 = dt.codeep1;
|
|
3428
|
+
this.codigoEep2 = dt.codeep2;
|
|
3429
|
+
this.codigoEep3 = dt.codeep3;
|
|
3430
|
+
this.codigoEep4 = dt.codeep4;
|
|
3431
|
+
this.codigoEep5 = dt.codeep5;
|
|
3432
|
+
this.denominacionEstructura = dt.denestructura;
|
|
3433
|
+
this.denominacion5 = dt.status;
|
|
3434
|
+
this.denominacion3 = dt.status;
|
|
3435
|
+
this.idDtUni = parseInt(dt.id_dt_uniadm);
|
|
3436
|
+
this.idUnidadAdministrativa = parseInt(dt.id_uniadm);
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
dataInterface() {
|
|
3440
|
+
return {
|
|
3441
|
+
id_ep1: this.idEp1.toString(),
|
|
3442
|
+
id_ep2: this.idEp2.toString(),
|
|
3443
|
+
id_ep3: this.idEp3.toString(),
|
|
3444
|
+
id_ep4: this.idEp4.toString(),
|
|
3445
|
+
id_ep5: this.idEp5.toString(),
|
|
3446
|
+
id_dt_uniadm: this.idDtUni.toString(),
|
|
3447
|
+
id_uniadm: this.idUnidadAdministrativa.toString(),
|
|
3389
3448
|
};
|
|
3390
3449
|
}
|
|
3450
|
+
}
|
|
3451
|
+
class MCuentasSpSC extends MBasicModel {
|
|
3452
|
+
constructor(dt) {
|
|
3453
|
+
super();
|
|
3454
|
+
if (dt) {
|
|
3455
|
+
this.codioCentroCosto = dt.codcencos;
|
|
3456
|
+
this.codigoFFMostrar = dt.codigoftefin;
|
|
3457
|
+
this.codigoUnidadAdministradora = dt.coduniadm;
|
|
3458
|
+
this.denominacionCuenta = dt.denominacion;
|
|
3459
|
+
this.estructura = dt.estructura;
|
|
3460
|
+
this.cuentaContable = dt.cuentacontable;
|
|
3461
|
+
this.cuentaPresupuestaria = dt.cuentapresupuestaria;
|
|
3462
|
+
this.estatusClasificacion = dt.estcla;
|
|
3463
|
+
this.denominacionEstatusClasificacion = dt.denestcla;
|
|
3464
|
+
this.tipo = dt.tipo;
|
|
3465
|
+
}
|
|
3466
|
+
}
|
|
3391
3467
|
}
|
|
3392
3468
|
|
|
3393
3469
|
class MComponent extends MBasicModel {
|
|
@@ -5834,6 +5910,204 @@ class MExchangeRate extends MBasicModel {
|
|
|
5834
5910
|
}
|
|
5835
5911
|
}
|
|
5836
5912
|
|
|
5913
|
+
class MCargosAdicionales extends MBasicModel {
|
|
5914
|
+
//public estadoTipoPresupuesto: string = "E"
|
|
5915
|
+
constructor(charge) {
|
|
5916
|
+
super();
|
|
5917
|
+
this.isNew = false;
|
|
5918
|
+
this.error = false;
|
|
5919
|
+
this.idEmpresa = 0;
|
|
5920
|
+
this.id = 0;
|
|
5921
|
+
this.codigo = "";
|
|
5922
|
+
this.denominacion = "";
|
|
5923
|
+
this.codigoEstruraPresupuestaria = '';
|
|
5924
|
+
this.porcentaje = 0;
|
|
5925
|
+
this.formula = "";
|
|
5926
|
+
this.tipo = 0;
|
|
5927
|
+
this.cuenta = "";
|
|
5928
|
+
this.idEp1 = 0;
|
|
5929
|
+
this.idEp2 = 0;
|
|
5930
|
+
this.idEp3 = 0;
|
|
5931
|
+
this.idEp4 = 0;
|
|
5932
|
+
this.idEp5 = 0;
|
|
5933
|
+
this.denominacionCuenta = '';
|
|
5934
|
+
this.idUnidadOrganizativa = 0;
|
|
5935
|
+
this.codigoUnidadOrganizativa = '';
|
|
5936
|
+
this.denominacionUnidadOrganizativa = '';
|
|
5937
|
+
this.codigoCentroCosto = '---';
|
|
5938
|
+
this.denominacionCentroCosto = '';
|
|
5939
|
+
this.codigoFuenteFinanciamiento = 0;
|
|
5940
|
+
this.codigoFuenteFinanciamientoMostrar = '';
|
|
5941
|
+
this.denominacionFuenteFinanciamiento = '';
|
|
5942
|
+
if (charge) {
|
|
5943
|
+
this.idEmpresa = parseInt(charge.id_empresa);
|
|
5944
|
+
this.id = parseInt(charge.id_cargoadi);
|
|
5945
|
+
this.codigo = charge.codcar;
|
|
5946
|
+
this.denominacion = charge.dencar;
|
|
5947
|
+
this.codigoEstruraPresupuestaria = charge.codestpre;
|
|
5948
|
+
this.porcentaje = parseFloat(charge.porcar);
|
|
5949
|
+
this.formula = charge.formula;
|
|
5950
|
+
this.tipo = parseInt(charge.tipo);
|
|
5951
|
+
this.cuenta = charge.cuenta;
|
|
5952
|
+
this.idEp1 = +charge.id_ep1;
|
|
5953
|
+
this.idEp2 = +charge.id_ep2;
|
|
5954
|
+
this.idEp3 = +charge.id_ep3;
|
|
5955
|
+
this.idEp4 = +charge.id_ep4;
|
|
5956
|
+
this.idEp5 = +charge.id_ep5;
|
|
5957
|
+
this.denominacionCuenta = charge.dencuenta;
|
|
5958
|
+
this.denominacionCuenta = charge.dencuenta;
|
|
5959
|
+
this.idUnidadOrganizativa = +charge.id_uniadm;
|
|
5960
|
+
this.codigoUnidadOrganizativa = charge.coduniadm;
|
|
5961
|
+
this.denominacionUnidadOrganizativa = charge.denuniadm;
|
|
5962
|
+
this.codigoCentroCosto = charge.codcencos;
|
|
5963
|
+
this.denominacionCentroCosto = charge.dencencos;
|
|
5964
|
+
this.codigoFuenteFinanciamiento = +charge.codfuefin;
|
|
5965
|
+
this.codigoFuenteFinanciamientoMostrar = charge.codigoftefin;
|
|
5966
|
+
this.denominacionFuenteFinanciamiento = charge.denfuefin;
|
|
5967
|
+
}
|
|
5968
|
+
else {
|
|
5969
|
+
this.isNew = true;
|
|
5970
|
+
}
|
|
5971
|
+
}
|
|
5972
|
+
dataInterface() {
|
|
5973
|
+
return {
|
|
5974
|
+
id_empresa: this.idEmpresa.toString(),
|
|
5975
|
+
id_cargoadi: this.id.toString(),
|
|
5976
|
+
codcar: this.codigo,
|
|
5977
|
+
dencar: this.denominacion,
|
|
5978
|
+
codestpre: this.codigoEstruraPresupuestaria,
|
|
5979
|
+
porcar: this.porcentaje.toString(),
|
|
5980
|
+
formula: this.formula,
|
|
5981
|
+
tipo: this.tipo.toString(),
|
|
5982
|
+
cuenta: this.cuenta,
|
|
5983
|
+
id_ep1: this.idEp1.toString(),
|
|
5984
|
+
id_ep2: this.idEp2.toString(),
|
|
5985
|
+
id_ep3: this.idEp3.toString(),
|
|
5986
|
+
id_ep4: this.idEp4.toString(),
|
|
5987
|
+
id_ep5: this.idEp5.toString(),
|
|
5988
|
+
dencuenta: this.denominacionCuenta,
|
|
5989
|
+
codfuefin: this.codigoFuenteFinanciamiento.toString(),
|
|
5990
|
+
id_uniadm: this.idUnidadOrganizativa.toString(),
|
|
5991
|
+
codcencos: this.codigoCentroCosto,
|
|
5992
|
+
};
|
|
5993
|
+
}
|
|
5994
|
+
}
|
|
5995
|
+
|
|
5996
|
+
class MClient {
|
|
5997
|
+
constructor(e) {
|
|
5998
|
+
this.idEmpresa = 0;
|
|
5999
|
+
this.idCliente = 0;
|
|
6000
|
+
this.idCategoria = 0;
|
|
6001
|
+
this.idVendedor = 0;
|
|
6002
|
+
this.estatusTipoCliente = 0;
|
|
6003
|
+
this.codigo = '';
|
|
6004
|
+
this.cedulaRifCliente = '';
|
|
6005
|
+
this.nombreCliente = '';
|
|
6006
|
+
this.direccionCliente = '';
|
|
6007
|
+
this.telefonoClientePrincipal = '';
|
|
6008
|
+
this.telefonoClienteSecundario = '';
|
|
6009
|
+
this.fechaRegistroCliente = '';
|
|
6010
|
+
this.emailCliente = '';
|
|
6011
|
+
this.estatusCliente = '';
|
|
6012
|
+
this.cedulaRepresentante = '';
|
|
6013
|
+
this.nombreRepresentante = '';
|
|
6014
|
+
this.emailRepresentante = '';
|
|
6015
|
+
this.comentario = '';
|
|
6016
|
+
this.codigoPais = '';
|
|
6017
|
+
this.codigoEstado = '';
|
|
6018
|
+
this.codigoMunicipio = '';
|
|
6019
|
+
this.codigoParroquia = '';
|
|
6020
|
+
this.codigoPostal = '';
|
|
6021
|
+
this.nompreApellidoContato = '';
|
|
6022
|
+
this.ubicacionContacto = '';
|
|
6023
|
+
this.telelefonoContacto = '';
|
|
6024
|
+
this.emailContacto = '';
|
|
6025
|
+
this.aplicarCuentaPorCobrar = 0;
|
|
6026
|
+
this.descripcionParroquia = '';
|
|
6027
|
+
this.descripcionMunicipio = '';
|
|
6028
|
+
this.descripcionEstado = '';
|
|
6029
|
+
this.descripcionPais = '';
|
|
6030
|
+
this.clienteEspecial = 0;
|
|
6031
|
+
this.limiteCredito = 0;
|
|
6032
|
+
this.denominacionEstataus = '';
|
|
6033
|
+
if (e) {
|
|
6034
|
+
this.idEmpresa = e.id_empresa;
|
|
6035
|
+
this.idCliente = e.id_cliente;
|
|
6036
|
+
this.idCategoria = e.id_categoria;
|
|
6037
|
+
this.idVendedor = e.id_vendedor;
|
|
6038
|
+
this.estatusTipoCliente = e.esttipcli;
|
|
6039
|
+
this.codigo = e.codigo;
|
|
6040
|
+
this.cedulaRifCliente = e.cedrifcli;
|
|
6041
|
+
this.nombreCliente = e.nomcli;
|
|
6042
|
+
this.direccionCliente = e.dircli;
|
|
6043
|
+
this.telefonoClientePrincipal = e.telclipri;
|
|
6044
|
+
this.telefonoClienteSecundario = e.telclisec;
|
|
6045
|
+
this.fechaRegistroCliente = e.fecregcli;
|
|
6046
|
+
this.emailCliente = e.emacli;
|
|
6047
|
+
this.estatusCliente = e.estcli;
|
|
6048
|
+
this.cedulaRepresentante = e.cedrep;
|
|
6049
|
+
this.nombreRepresentante = e.nomrep;
|
|
6050
|
+
this.emailRepresentante = e.emarep;
|
|
6051
|
+
this.comentario = e.comentario;
|
|
6052
|
+
this.codigoPais = e.codpai;
|
|
6053
|
+
this.codigoEstado = e.codest;
|
|
6054
|
+
this.codigoMunicipio = e.codmun;
|
|
6055
|
+
this.codigoParroquia = e.codpar;
|
|
6056
|
+
this.codigoPostal = e.codpos;
|
|
6057
|
+
this.nompreApellidoContato = e.nomapecon;
|
|
6058
|
+
this.ubicacionContacto = e.ubicon;
|
|
6059
|
+
this.telelefonoContacto = e.telcon;
|
|
6060
|
+
this.emailContacto = e.emacon;
|
|
6061
|
+
this.aplicarCuentaPorCobrar = e.aplicarcxc;
|
|
6062
|
+
this.descripcionParroquia = e.despar;
|
|
6063
|
+
this.descripcionMunicipio = e.desmun;
|
|
6064
|
+
this.descripcionEstado = e.desest;
|
|
6065
|
+
this.descripcionPais = e.despai;
|
|
6066
|
+
this.clienteEspecial = e.cliesp;
|
|
6067
|
+
this.limiteCredito = e.limitecredito;
|
|
6068
|
+
this.denominacionEstataus = EstatusCliente.find(e => e.value = this.estatusCliente).denominacion;
|
|
6069
|
+
}
|
|
6070
|
+
}
|
|
6071
|
+
dataInterface() {
|
|
6072
|
+
return {
|
|
6073
|
+
id_empresa: this.idEmpresa,
|
|
6074
|
+
id_cliente: this.idCliente,
|
|
6075
|
+
id_categoria: this.idCategoria,
|
|
6076
|
+
id_vendedor: this.idVendedor,
|
|
6077
|
+
codigo: this.codigo,
|
|
6078
|
+
cedrifcli: this.cedulaRifCliente,
|
|
6079
|
+
nomcli: this.nombreCliente,
|
|
6080
|
+
dircli: this.direccionCliente,
|
|
6081
|
+
telclipri: this.telefonoClientePrincipal,
|
|
6082
|
+
telclisec: this.telefonoClienteSecundario,
|
|
6083
|
+
fecregcli: this.fechaRegistroCliente,
|
|
6084
|
+
emacli: this.emailCliente,
|
|
6085
|
+
estcli: this.estatusCliente,
|
|
6086
|
+
cedrep: this.cedulaRepresentante,
|
|
6087
|
+
nomrep: this.nombreCliente,
|
|
6088
|
+
emarep: this.emailRepresentante,
|
|
6089
|
+
comentario: this.comentario,
|
|
6090
|
+
codpai: this.codigoPais,
|
|
6091
|
+
codest: this.codigoEstado,
|
|
6092
|
+
codmun: this.codigoMunicipio,
|
|
6093
|
+
codpar: this.codigoParroquia,
|
|
6094
|
+
codpos: this.codigoPostal,
|
|
6095
|
+
nomapecon: this.nompreApellidoContato,
|
|
6096
|
+
ubicon: this.ubicacionContacto,
|
|
6097
|
+
telcon: this.telelefonoContacto,
|
|
6098
|
+
emacon: this.emailContacto,
|
|
6099
|
+
aplicarcxc: this.aplicarCuentaPorCobrar,
|
|
6100
|
+
despar: this.descripcionPais,
|
|
6101
|
+
desmun: this.descripcionMunicipio,
|
|
6102
|
+
desest: this.descripcionEstado,
|
|
6103
|
+
despai: this.descripcionPais,
|
|
6104
|
+
cliesp: this.clienteEspecial,
|
|
6105
|
+
limitecredito: this.limiteCredito,
|
|
6106
|
+
esttipcli: this.estatusTipoCliente,
|
|
6107
|
+
};
|
|
6108
|
+
}
|
|
6109
|
+
}
|
|
6110
|
+
|
|
5837
6111
|
class SigespService {
|
|
5838
6112
|
// public URL: string = "http://192.168.1.67/sigesp_php";
|
|
5839
6113
|
// usuarioActivo: MUsuario = {
|
|
@@ -7798,7 +8072,7 @@ class SigespService {
|
|
|
7798
8072
|
let body = [];
|
|
7799
8073
|
sno.forEach(e => { body.push(e.dataInteface()); });
|
|
7800
8074
|
return this.http.post(`${this.URL}/dao/sno/seguridad_dao.php?`, body, { headers: this.getHttpHeaders() })
|
|
7801
|
-
.pipe(
|
|
8075
|
+
.pipe(map((res) => { return res; }));
|
|
7802
8076
|
}
|
|
7803
8077
|
/**
|
|
7804
8078
|
* @description Obtiene los tipos de depositos *
|
|
@@ -7810,13 +8084,29 @@ class SigespService {
|
|
|
7810
8084
|
* @date 23-11-2022
|
|
7811
8085
|
*/
|
|
7812
8086
|
getDepositType(procede, idArticulo, idUsuario) {
|
|
7813
|
-
return this.http.get(`${this.URL}/dao/siv/catalogo_parametrizado_dao.php?get=${procede}&id=${idArticulo}&i=${idUsuario}`, { headers: this.getHttpHeaders() }).pipe(
|
|
8087
|
+
return this.http.get(`${this.URL}/dao/siv/catalogo_parametrizado_dao.php?get=${procede}&id=${idArticulo}&i=${idUsuario}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7814
8088
|
if (res.success) {
|
|
7815
8089
|
res.data = res.data.map(e => new MTipoDepositos(e));
|
|
7816
8090
|
}
|
|
7817
8091
|
return res;
|
|
7818
8092
|
}));
|
|
7819
8093
|
}
|
|
8094
|
+
/**
|
|
8095
|
+
* @description Obtiene Cargos Adicionales *
|
|
8096
|
+
* @param tipo : one,default
|
|
8097
|
+
* @param id : id del cargo
|
|
8098
|
+
* @returns
|
|
8099
|
+
* @author Dimaly Crespo
|
|
8100
|
+
* @date 13-11-2022
|
|
8101
|
+
*/
|
|
8102
|
+
getCargosAdicionales(tipo, id) {
|
|
8103
|
+
return this.http.get(`${this.URL}/dao/stb/cargos_adicionales_dao.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
8104
|
+
if (res.success) {
|
|
8105
|
+
res.data = res.data.map(e => new MCargosAdicionales(e));
|
|
8106
|
+
}
|
|
8107
|
+
return res;
|
|
8108
|
+
}));
|
|
8109
|
+
}
|
|
7820
8110
|
}
|
|
7821
8111
|
SigespService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SigespService_Factory() { return new SigespService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i2.MatDialog), i0.ɵɵinject(i3.ToastrService)); }, token: SigespService, providedIn: "root" });
|
|
7822
8112
|
SigespService.decorators = [
|
|
@@ -8377,121 +8667,6 @@ class MClauseModality extends MBasicModel {
|
|
|
8377
8667
|
}
|
|
8378
8668
|
}
|
|
8379
8669
|
|
|
8380
|
-
class MClient {
|
|
8381
|
-
constructor(e) {
|
|
8382
|
-
this.idEmpresa = 0;
|
|
8383
|
-
this.idCliente = 0;
|
|
8384
|
-
this.idCategoria = 0;
|
|
8385
|
-
this.idVendedor = 0;
|
|
8386
|
-
this.estatusTipoCliente = 0;
|
|
8387
|
-
this.codigo = '';
|
|
8388
|
-
this.cedulaRifCliente = '';
|
|
8389
|
-
this.nombreCliente = '';
|
|
8390
|
-
this.direccionCliente = '';
|
|
8391
|
-
this.telefonoClientePrincipal = '';
|
|
8392
|
-
this.telefonoClienteSecundario = '';
|
|
8393
|
-
this.fechaRegistroCliente = '';
|
|
8394
|
-
this.emailCliente = '';
|
|
8395
|
-
this.estatusCliente = '';
|
|
8396
|
-
this.cedulaRepresentante = '';
|
|
8397
|
-
this.nombreRepresentante = '';
|
|
8398
|
-
this.emailRepresentante = '';
|
|
8399
|
-
this.comentario = '';
|
|
8400
|
-
this.codigoPais = '';
|
|
8401
|
-
this.codigoEstado = '';
|
|
8402
|
-
this.codigoMunicipio = '';
|
|
8403
|
-
this.codigoParroquia = '';
|
|
8404
|
-
this.codigoPostal = '';
|
|
8405
|
-
this.nompreApellidoContato = '';
|
|
8406
|
-
this.ubicacionContacto = '';
|
|
8407
|
-
this.telelefonoContacto = '';
|
|
8408
|
-
this.emailContacto = '';
|
|
8409
|
-
this.aplicarCuentaPorCobrar = 0;
|
|
8410
|
-
this.descripcionParroquia = '';
|
|
8411
|
-
this.descripcionMunicipio = '';
|
|
8412
|
-
this.descripcionEstado = '';
|
|
8413
|
-
this.descripcionPais = '';
|
|
8414
|
-
this.clienteEspecial = 0;
|
|
8415
|
-
this.limiteCredito = 0;
|
|
8416
|
-
this.denominacionEstataus = '';
|
|
8417
|
-
if (e) {
|
|
8418
|
-
this.idEmpresa = e.id_empresa;
|
|
8419
|
-
this.idCliente = e.id_cliente;
|
|
8420
|
-
this.idCategoria = e.id_categoria;
|
|
8421
|
-
this.idVendedor = e.id_vendedor;
|
|
8422
|
-
this.estatusTipoCliente = e.esttipcli;
|
|
8423
|
-
this.codigo = e.codigo;
|
|
8424
|
-
this.cedulaRifCliente = e.cedrifcli;
|
|
8425
|
-
this.nombreCliente = e.nomcli;
|
|
8426
|
-
this.direccionCliente = e.dircli;
|
|
8427
|
-
this.telefonoClientePrincipal = e.telclipri;
|
|
8428
|
-
this.telefonoClienteSecundario = e.telclisec;
|
|
8429
|
-
this.fechaRegistroCliente = e.fecregcli;
|
|
8430
|
-
this.emailCliente = e.emacli;
|
|
8431
|
-
this.estatusCliente = e.estcli;
|
|
8432
|
-
this.cedulaRepresentante = e.cedrep;
|
|
8433
|
-
this.nombreRepresentante = e.nomrep;
|
|
8434
|
-
this.emailRepresentante = e.emarep;
|
|
8435
|
-
this.comentario = e.comentario;
|
|
8436
|
-
this.codigoPais = e.codpai;
|
|
8437
|
-
this.codigoEstado = e.codest;
|
|
8438
|
-
this.codigoMunicipio = e.codmun;
|
|
8439
|
-
this.codigoParroquia = e.codpar;
|
|
8440
|
-
this.codigoPostal = e.codpos;
|
|
8441
|
-
this.nompreApellidoContato = e.nomapecon;
|
|
8442
|
-
this.ubicacionContacto = e.ubicon;
|
|
8443
|
-
this.telelefonoContacto = e.telcon;
|
|
8444
|
-
this.emailContacto = e.emacon;
|
|
8445
|
-
this.aplicarCuentaPorCobrar = e.aplicarcxc;
|
|
8446
|
-
this.descripcionParroquia = e.despar;
|
|
8447
|
-
this.descripcionMunicipio = e.desmun;
|
|
8448
|
-
this.descripcionEstado = e.desest;
|
|
8449
|
-
this.descripcionPais = e.despai;
|
|
8450
|
-
this.clienteEspecial = e.cliesp;
|
|
8451
|
-
this.limiteCredito = e.limitecredito;
|
|
8452
|
-
this.denominacionEstataus = EstatusCliente.find(e => e.value = this.estatusCliente).denominacion;
|
|
8453
|
-
}
|
|
8454
|
-
}
|
|
8455
|
-
dataInterface() {
|
|
8456
|
-
return {
|
|
8457
|
-
id_empresa: this.idEmpresa,
|
|
8458
|
-
id_cliente: this.idCliente,
|
|
8459
|
-
id_categoria: this.idCategoria,
|
|
8460
|
-
id_vendedor: this.idVendedor,
|
|
8461
|
-
codigo: this.codigo,
|
|
8462
|
-
cedrifcli: this.cedulaRifCliente,
|
|
8463
|
-
nomcli: this.nombreCliente,
|
|
8464
|
-
dircli: this.direccionCliente,
|
|
8465
|
-
telclipri: this.telefonoClientePrincipal,
|
|
8466
|
-
telclisec: this.telefonoClienteSecundario,
|
|
8467
|
-
fecregcli: this.fechaRegistroCliente,
|
|
8468
|
-
emacli: this.emailCliente,
|
|
8469
|
-
estcli: this.estatusCliente,
|
|
8470
|
-
cedrep: this.cedulaRepresentante,
|
|
8471
|
-
nomrep: this.nombreCliente,
|
|
8472
|
-
emarep: this.emailRepresentante,
|
|
8473
|
-
comentario: this.comentario,
|
|
8474
|
-
codpai: this.codigoPais,
|
|
8475
|
-
codest: this.codigoEstado,
|
|
8476
|
-
codmun: this.codigoMunicipio,
|
|
8477
|
-
codpar: this.codigoParroquia,
|
|
8478
|
-
codpos: this.codigoPostal,
|
|
8479
|
-
nomapecon: this.nompreApellidoContato,
|
|
8480
|
-
ubicon: this.ubicacionContacto,
|
|
8481
|
-
telcon: this.telelefonoContacto,
|
|
8482
|
-
emacon: this.emailContacto,
|
|
8483
|
-
aplicarcxc: this.aplicarCuentaPorCobrar,
|
|
8484
|
-
despar: this.descripcionPais,
|
|
8485
|
-
desmun: this.descripcionMunicipio,
|
|
8486
|
-
desest: this.descripcionEstado,
|
|
8487
|
-
despai: this.descripcionPais,
|
|
8488
|
-
cliesp: this.clienteEspecial,
|
|
8489
|
-
limitecredito: this.limiteCredito,
|
|
8490
|
-
esttipcli: this.estatusTipoCliente,
|
|
8491
|
-
};
|
|
8492
|
-
}
|
|
8493
|
-
}
|
|
8494
|
-
|
|
8495
8670
|
class MGroup extends MBasicModel {
|
|
8496
8671
|
constructor(group) {
|
|
8497
8672
|
super();
|
|
@@ -13847,5 +14022,5 @@ class customPaginator extends MatPaginatorIntl {
|
|
|
13847
14022
|
* Generated bundle index. Do not edit.
|
|
13848
14023
|
*/
|
|
13849
14024
|
|
|
13850
|
-
export { Acciones, AppModule, CausaEgreso, ContabilizacionNomina, CurrencyService, Destino, EstadoCivil, Estatus, EstatusCliente, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, LetraRif, Longitud, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MArchivosTxt, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCambioEstatusPersonal, MCargaFamiliar, MCargaMasiva, MCargo, MCargoEstructuraOrganizativa, MCargosNominas, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MClient, MCodigoUnicoRac, MCommunity, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEnterprise, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MEstudiosConcursantes, MEstudiosRealizados, MExchangeRate, MExperienciaLaboral, MFamiliaConcursante, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFormacionInformal, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MHorario, MImpuestoSobreRenta, MItemsEvalucion, MLog, MMetodoBanco, MMetodos, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPeriodosPlan, MPermisos, MPersonal, MPersonalCuentaBanco, MPersonalJubilado, MPersonalNomina, MPlanHorario, MPlanUnicoCuenta, MPlantillasConstancia, MPrefijo, MPrestacionesAntiguedad, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProcedencia, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRArchivoTXT, MRConsolidadoConceptos, MRConstanciaTrabajo, MRango, MRequisitosConcursantes, MRequisitosConcursos, MRequisitosMinimos, MResultadosEvaluacion, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSnoLog, MSolicitudEmpleo, MSpecialty, MState, MSueldoMinimo, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDepositos, MTipoDocumentoCXP, MTipoEvaluacion, MTipoEvaluacionAspecto, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioCentroCosto, MUsuarioPrefijo, MUsuarioSistema, MVacacionesPersonal, Meses, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SigespService, Signo, SituacionPersonal, TipoBeneficiario, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator, AppComponent as ɵg, SharedModule as ɵh, CatalogoComponent as ɵi, ConfirmComponent as ɵk, IconComponent as ɵl, TableSelectComponent as ɵm, CatalogoEstructurasComponent as ɵn, CatalogoDobleInputComponent as ɵo, IsoCurrencyPipe as ɵp, CustonMaterialModule as ɵq };
|
|
14025
|
+
export { Acciones, AppModule, CausaEgreso, ContabilizacionNomina, CurrencyService, Destino, EstadoCivil, Estatus, EstatusCliente, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, LetraRif, Longitud, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MArchivosTxt, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCambioEstatusPersonal, MCargaFamiliar, MCargaMasiva, MCargo, MCargoEstructuraOrganizativa, MCargosAdicionales, MCargosNominas, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MClient, MCodigoUnicoRac, MCommunity, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MCuentasSpSC, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEnterprise, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MEstructuras, MEstudiosConcursantes, MEstudiosRealizados, MExchangeRate, MExperienciaLaboral, MFamiliaConcursante, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFormacionInformal, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MHorario, MImpuestoSobreRenta, MItemsEvalucion, MLog, MMetodoBanco, MMetodos, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPeriodosPlan, MPermisos, MPersonal, MPersonalCuentaBanco, MPersonalJubilado, MPersonalNomina, MPlanHorario, MPlanUnicoCuenta, MPlantillasConstancia, MPrefijo, MPrestacionesAntiguedad, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProcedencia, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRArchivoTXT, MRConsolidadoConceptos, MRConstanciaTrabajo, MRango, MRequisitosConcursantes, MRequisitosConcursos, MRequisitosMinimos, MResultadosEvaluacion, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSnoLog, MSolicitudEmpleo, MSpecialty, MState, MSueldoMinimo, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDepositos, MTipoDocumentoCXP, MTipoEvaluacion, MTipoEvaluacionAspecto, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioCentroCosto, MUsuarioPrefijo, MUsuarioSistema, MVacacionesPersonal, Meses, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SigespService, Signo, SituacionPersonal, TipoBeneficiario, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator, AppComponent as ɵg, SharedModule as ɵh, CatalogoComponent as ɵi, ConfirmComponent as ɵk, IconComponent as ɵl, TableSelectComponent as ɵm, CatalogoEstructurasComponent as ɵn, CatalogoDobleInputComponent as ɵo, IsoCurrencyPipe as ɵp, CustonMaterialModule as ɵq };
|
|
13851
14026
|
//# sourceMappingURL=sigesp.js.map
|