sigesp 1.1.77-20251112 → 1.1.79-20251127
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/esm2020/lib/core/interfaces/Constantes.mjs +14 -1
- package/esm2020/lib/core/interfaces/IPlantillaIntegracion.mjs +2 -0
- package/esm2020/lib/core/models/SCG/MPlantillaIntegracion.model.mjs +114 -0
- package/esm2020/lib/sigesp.service.mjs +20 -1
- package/esm2020/public-api.mjs +3 -2
- package/fesm2015/sigesp.mjs +144 -1
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +144 -1
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/Constantes.d.ts +6 -0
- package/lib/core/interfaces/IPlantillaIntegracion.d.ts +37 -0
- package/lib/core/models/SCG/MPlantillaIntegracion.model.d.ts +42 -0
- package/lib/sigesp.service.d.ts +11 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -635,6 +635,19 @@ const DiasSemana = [
|
|
|
635
635
|
const TipoDiferencial = [
|
|
636
636
|
{ value: 1, descripcion: 'Centralizado' },
|
|
637
637
|
{ value: 2, descripcion: 'No Centralizada' },
|
|
638
|
+
];
|
|
639
|
+
const MetodoPlantillas = [
|
|
640
|
+
{ value: "SCG", name: 'Contable', tipo: 'ND' },
|
|
641
|
+
{ value: "SCG", name: 'Contable', tipo: 'NC' },
|
|
642
|
+
{ value: "SCG", name: 'Contable', tipo: 'DP' },
|
|
643
|
+
{ value: "SCG", name: 'Contable', tipo: 'RE' },
|
|
644
|
+
{ value: "SCG", name: 'Contable', tipo: 'CH' },
|
|
645
|
+
{ value: "SPG", name: 'Aplicaciones', tipo: 'ND' },
|
|
646
|
+
{ value: "SPG", name: 'Aplicaciones', tipo: 'RE' },
|
|
647
|
+
{ value: "SPG", name: 'Aplicaciones', tipo: 'CH' },
|
|
648
|
+
{ value: "SPI", name: 'Recursos', tipo: 'NC' },
|
|
649
|
+
{ value: "SPI", name: 'Recursos', tipo: 'DP' },
|
|
650
|
+
{ value: "LIN", name: 'Lineal', tipo: 'DES' },
|
|
638
651
|
];
|
|
639
652
|
|
|
640
653
|
class MPersonalNomina extends MBasicModel {
|
|
@@ -6701,6 +6714,118 @@ class MClient {
|
|
|
6701
6714
|
}
|
|
6702
6715
|
}
|
|
6703
6716
|
|
|
6717
|
+
class MPlantillaIntegracion extends MBasicModel {
|
|
6718
|
+
constructor(e) {
|
|
6719
|
+
super();
|
|
6720
|
+
this.idEmpresa = 0;
|
|
6721
|
+
this.idEnterprise = 0;
|
|
6722
|
+
this.idDocumento = 0;
|
|
6723
|
+
this.codigo = '';
|
|
6724
|
+
this.denominacionPlantilla = '';
|
|
6725
|
+
this.tipoPlantilla = '';
|
|
6726
|
+
this.metodoPlantilla = '';
|
|
6727
|
+
this.codigoSistema = '';
|
|
6728
|
+
this.idUnidadOrganizativa = 0;
|
|
6729
|
+
this.idCentroCosto = 0;
|
|
6730
|
+
this.idFuenteFinanciamiento = 0;
|
|
6731
|
+
this.idEp1 = 0;
|
|
6732
|
+
this.idEp2 = 0;
|
|
6733
|
+
this.idEp3 = 0;
|
|
6734
|
+
this.idEp4 = 0;
|
|
6735
|
+
this.idEp5 = 0;
|
|
6736
|
+
this.cuentaDebe = '';
|
|
6737
|
+
this.cuentaHaber = '';
|
|
6738
|
+
this.spgCuenta = '';
|
|
6739
|
+
this.vidaUtil = 0;
|
|
6740
|
+
this.idUnidad = 0;
|
|
6741
|
+
this.fechaRegistro = '';
|
|
6742
|
+
this.horaRegistro = '';
|
|
6743
|
+
this.idUsuarioRegistro = 0;
|
|
6744
|
+
this.codigoUnidadOrganizativa = '';
|
|
6745
|
+
this.denominacionUnidadOrganizativa = '';
|
|
6746
|
+
this.codigoCentroCosto = '';
|
|
6747
|
+
this.denominacionCentroCosto = '';
|
|
6748
|
+
this.codigoFuenteFinanciamiento = '';
|
|
6749
|
+
this.denominacionFuenteFinanciamiento = '';
|
|
6750
|
+
this.estructura = '';
|
|
6751
|
+
this.denominacionCuentaSpg = '';
|
|
6752
|
+
this.denominacionCuentaDebe = '';
|
|
6753
|
+
this.denominacionCuentaHaber = '';
|
|
6754
|
+
this.periodoFiscal = 0;
|
|
6755
|
+
this.denominacionMetodoPlantilla = '';
|
|
6756
|
+
if (e) {
|
|
6757
|
+
this.idEmpresa = +e.id_empresa;
|
|
6758
|
+
this.idEnterprise = +e.id_enterprise;
|
|
6759
|
+
this.periodoFiscal = +e.perfiscal;
|
|
6760
|
+
this.idDocumento = +e.id_documento;
|
|
6761
|
+
this.codigo = e.codigo;
|
|
6762
|
+
this.denominacionPlantilla = e.denpla;
|
|
6763
|
+
this.tipoPlantilla = e.tipplan;
|
|
6764
|
+
this.metodoPlantilla = e.metpla;
|
|
6765
|
+
this.codigoSistema = e.codsis;
|
|
6766
|
+
this.idUnidadOrganizativa = +e.id_fuefin;
|
|
6767
|
+
this.idCentroCosto = +e.id_cencos;
|
|
6768
|
+
this.idFuenteFinanciamiento = +e.id_fuefin;
|
|
6769
|
+
this.idEp1 = +e.id_ep5;
|
|
6770
|
+
this.idEp2 = +e.id_ep5;
|
|
6771
|
+
this.idEp3 = +e.id_ep5;
|
|
6772
|
+
this.idEp4 = +e.id_ep5;
|
|
6773
|
+
this.idEp5 = +e.id_ep5;
|
|
6774
|
+
this.cuentaDebe = e.sc_cuenta_debe;
|
|
6775
|
+
this.cuentaHaber = e.sc_cuenta_haber;
|
|
6776
|
+
this.spgCuenta = e.spg_cuenta;
|
|
6777
|
+
this.vidaUtil = +e.viduti;
|
|
6778
|
+
this.idUnidad = +e.id_uniadm;
|
|
6779
|
+
this.fechaRegistro = e.fecreg;
|
|
6780
|
+
this.horaRegistro = e.horreg;
|
|
6781
|
+
this.idUsuarioRegistro = +e.id_usureg;
|
|
6782
|
+
this.codigoUnidadOrganizativa = e.coduniadm;
|
|
6783
|
+
this.denominacionUnidadOrganizativa = e.denuniadm;
|
|
6784
|
+
this.codigoCentroCosto = e.codcencos;
|
|
6785
|
+
this.denominacionCentroCosto = e.dencencos;
|
|
6786
|
+
this.codigoFuenteFinanciamiento = e.codfuefin;
|
|
6787
|
+
this.denominacionFuenteFinanciamiento = e.denfuefin;
|
|
6788
|
+
this.estructura = e.estructura;
|
|
6789
|
+
this.denominacionCuentaSpg = e.denctaspg;
|
|
6790
|
+
this.denominacionCuentaDebe = e.denctadeb;
|
|
6791
|
+
this.denominacionCuentaHaber = e.denctahab;
|
|
6792
|
+
this.denominacionMetodoPlantilla = MetodoPlantillas.find(e => e.value == this.metodoPlantilla).name;
|
|
6793
|
+
}
|
|
6794
|
+
else {
|
|
6795
|
+
this.isNew = true;
|
|
6796
|
+
}
|
|
6797
|
+
}
|
|
6798
|
+
datainterface() {
|
|
6799
|
+
return {
|
|
6800
|
+
id_empresa: this.idEmpresa.toString(),
|
|
6801
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
6802
|
+
id_documento: this.idDocumento.toString(),
|
|
6803
|
+
codigo: this.codigo,
|
|
6804
|
+
codsis: this.codigoSistema,
|
|
6805
|
+
denpla: this.denominacionPlantilla,
|
|
6806
|
+
tipplan: this.tipoPlantilla,
|
|
6807
|
+
metpla: this.metodoPlantilla,
|
|
6808
|
+
id_uniadm: this.idUnidadOrganizativa.toString(),
|
|
6809
|
+
id_cencos: this.idCentroCosto.toString(),
|
|
6810
|
+
id_fuefin: this.idFuenteFinanciamiento.toString(),
|
|
6811
|
+
id_ep1: this.idEp1.toString(),
|
|
6812
|
+
id_ep2: this.idEp2.toString(),
|
|
6813
|
+
id_ep3: this.idEp3.toString(),
|
|
6814
|
+
id_ep4: this.idEp4.toString(),
|
|
6815
|
+
id_ep5: this.idEp5.toString(),
|
|
6816
|
+
sc_cuenta_debe: this.cuentaDebe,
|
|
6817
|
+
sc_cuenta_haber: this.cuentaHaber,
|
|
6818
|
+
spg_cuenta: this.spgCuenta,
|
|
6819
|
+
viduti: this.vidaUtil.toString(),
|
|
6820
|
+
id_unidad: this.idUnidad.toString(),
|
|
6821
|
+
fecreg: this.fechaRegistro,
|
|
6822
|
+
horreg: this.horaRegistro,
|
|
6823
|
+
id_usureg: this.idUsuarioRegistro.toString(),
|
|
6824
|
+
perfiscal: this.periodoFiscal.toString(),
|
|
6825
|
+
};
|
|
6826
|
+
}
|
|
6827
|
+
}
|
|
6828
|
+
|
|
6704
6829
|
class SigespService {
|
|
6705
6830
|
// public URL: string = "http://192.168.1.67/sigesp_php";
|
|
6706
6831
|
// usuarioActivo: MUsuario = {
|
|
@@ -8064,6 +8189,24 @@ class SigespService {
|
|
|
8064
8189
|
userHasRights(column) {
|
|
8065
8190
|
return this.http.get(`${this.URL}/dao/sss/derechos_usuario_dao.php?idComponent=${this.currentComponent.id}&column=${column}`, { headers: this.getHttpHeaders() });
|
|
8066
8191
|
}
|
|
8192
|
+
/**
|
|
8193
|
+
* @description Obtener las plantillas de integracion
|
|
8194
|
+
* @return Observable<IResponse>
|
|
8195
|
+
* @param fecha: fecha a comparar
|
|
8196
|
+
* @param lineaEmpresa: linea empresa del documento
|
|
8197
|
+
* @param periodoFiscal : fecha del periodo a evaluar '1900-01-01'
|
|
8198
|
+
* @author Dimaly Crespo
|
|
8199
|
+
* @fecha 27-11-2025
|
|
8200
|
+
*
|
|
8201
|
+
*/
|
|
8202
|
+
getPlantillaIntegracion(idEnterprise, sistema, periodoFiscal) {
|
|
8203
|
+
return this.http.get(`${this.URL}/dao/scg/plantilla_integracion.php?tipo=${'sistema'}&e=${idEnterprise}&sis=${sistema}&per=${periodoFiscal}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
8204
|
+
if (res.success) {
|
|
8205
|
+
res.data = res.data.map(e => new MPlantillaIntegracion(e));
|
|
8206
|
+
}
|
|
8207
|
+
return res;
|
|
8208
|
+
}));
|
|
8209
|
+
}
|
|
8067
8210
|
/**
|
|
8068
8211
|
* @description Retorna los headers para hacer las peticiones
|
|
8069
8212
|
* @params type: Tipo MIME permitido por defecto se toma application/json
|
|
@@ -14880,5 +15023,5 @@ class customPaginator extends MatPaginatorIntl {
|
|
|
14880
15023
|
* Generated bundle index. Do not edit.
|
|
14881
15024
|
*/
|
|
14882
15025
|
|
|
14883
|
-
export { Acciones, AppModule, CatalogoComponent, CatalogoDobleInputComponent, CatalogoEstructurasComponent, CausaEgreso, ConfirmComponent, ContabilizacionNomina, CurrencyService, Destino, DiasSemana, EstadoCivil, Estatus, EstatusCliente, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, IconComponent, IsoCurrencyPipe, 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, MDeductionProv, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MDocumentProv, 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, MProcesosNomina, 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, MUnidadAdministradoraCentral, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MUsuarioSistema, MVacacionesPersonal, Meses, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SharedModule, SigespService, Signo, SituacionPersonal, TableSelectComponent, TipoBeneficiario, TipoCargo, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoDiferencial, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator };
|
|
15026
|
+
export { Acciones, AppModule, CatalogoComponent, CatalogoDobleInputComponent, CatalogoEstructurasComponent, CausaEgreso, ConfirmComponent, ContabilizacionNomina, CurrencyService, Destino, DiasSemana, EstadoCivil, Estatus, EstatusCliente, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, IconComponent, IsoCurrencyPipe, 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, MDeductionProv, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MDocumentProv, 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, MPlantillaIntegracion, MPlantillasConstancia, MPrefijo, MPrestacionesAntiguedad, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProcedencia, MProcesosNomina, 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, MUnidadAdministradoraCentral, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MUsuarioSistema, MVacacionesPersonal, Meses, MetodoPlantillas, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SharedModule, SigespService, Signo, SituacionPersonal, TableSelectComponent, TipoBeneficiario, TipoCargo, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoDiferencial, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator };
|
|
14884
15027
|
//# sourceMappingURL=sigesp.mjs.map
|