sigesp 1.1.10-20241003 → 1.1.11-20241003
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/sigesp.service.mjs +11 -57
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/sigesp.mjs +26 -73
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +26 -71
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/sigesp.service.d.ts +5 -28
- package/package.json +1 -1
- package/public-api.d.ts +2 -2
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -1627,22 +1627,6 @@ class MConfiguracionSCG extends MBasicModel {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
}
|
|
1629
1629
|
|
|
1630
|
-
class MPlanUnicoCuenta extends MBasicModel {
|
|
1631
|
-
constructor(plan) {
|
|
1632
|
-
super();
|
|
1633
|
-
if (plan) {
|
|
1634
|
-
this.denominacion = plan.denominacion;
|
|
1635
|
-
this.cuenta = plan.sc_cuenta;
|
|
1636
|
-
}
|
|
1637
|
-
}
|
|
1638
|
-
dataInterface() {
|
|
1639
|
-
return {
|
|
1640
|
-
denominacion: this.denominacion,
|
|
1641
|
-
sc_cuenta: this.cuenta,
|
|
1642
|
-
};
|
|
1643
|
-
}
|
|
1644
|
-
}
|
|
1645
|
-
|
|
1646
1630
|
class IconComponent {
|
|
1647
1631
|
constructor() { }
|
|
1648
1632
|
ngOnInit() {
|
|
@@ -7012,37 +6996,19 @@ class SigespService {
|
|
|
7012
6996
|
getFuenteFinanciamiento() {
|
|
7013
6997
|
return this.http.get(`${this.URL}/dao/spg/fuente_financiamiento_dao.php`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => resp.data.map(element => new MFuenteFinanciamiento(element))));
|
|
7014
6998
|
}
|
|
7015
|
-
/**
|
|
7016
|
-
* @description Obtiene los centros de costo
|
|
7017
|
-
* @return Observable<MCentroCosto[]>
|
|
7018
|
-
* @author Miguel Ramírez
|
|
7019
|
-
* @param id:idusurio o id del ecntro de costo
|
|
7020
|
-
* modificado 28-12-2022
|
|
7021
|
-
*/
|
|
7022
|
-
getCentroCosto(tipo = null, id) {
|
|
7023
|
-
return this.http.get(`${this.URL}/dao/scg/centro_costo_dao.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => resp.data.map(element => new MCentroCosto(element))));
|
|
7024
|
-
}
|
|
7025
6999
|
/**
|
|
7026
7000
|
* @description Obtiene los centros de costo
|
|
7027
7001
|
* @return Observable<IResponse>
|
|
7028
|
-
*
|
|
7002
|
+
* modificado 28-12-2022
|
|
7029
7003
|
*/
|
|
7030
|
-
|
|
7031
|
-
return this.http.get(`${this.URL}/dao/scg/centro_costo_dao.php`, { headers: this.getHttpHeaders() }).pipe(
|
|
7004
|
+
getCentroCosto(tipo, idEnterprise, periodoFiscal) {
|
|
7005
|
+
return this.http.get(`${this.URL}/dao/scg/centro_costo_dao.php?tipo=${tipo}&e=${idEnterprise}&periodo=${periodoFiscal}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7032
7006
|
if (res.success) {
|
|
7033
7007
|
res.data = res.data.map(element => new MCentroCosto(element));
|
|
7034
7008
|
}
|
|
7035
7009
|
return res;
|
|
7036
7010
|
}));
|
|
7037
7011
|
}
|
|
7038
|
-
getUserCostCenters(codigo) {
|
|
7039
|
-
return this.http.get(`${this.URL}/dao/scg/centro_costo_usuario_dao.php?codigo=${codigo}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7040
|
-
if (res.success) {
|
|
7041
|
-
res.data = res.data.map(element => new MUsuarioCentroCosto(element));
|
|
7042
|
-
}
|
|
7043
|
-
return res;
|
|
7044
|
-
}));
|
|
7045
|
-
}
|
|
7046
7012
|
/**
|
|
7047
7013
|
* @description Abre el dialog de checkks
|
|
7048
7014
|
* @param columns Columnas que va a tener la tabla
|
|
@@ -7074,33 +7040,6 @@ class SigespService {
|
|
|
7074
7040
|
});
|
|
7075
7041
|
return dialogRef.afterClosed().toPromise();
|
|
7076
7042
|
}
|
|
7077
|
-
/**
|
|
7078
|
-
* @description Abre el dialog de las comunidades
|
|
7079
|
-
* @return Promise<MPlanUnicoCuenta>
|
|
7080
|
-
* @author Miguel Ramírez
|
|
7081
|
-
*/
|
|
7082
|
-
async openDialogPlanUnicoCuentas() {
|
|
7083
|
-
let planes = await this.getListadoPLanUnicoCuentas().toPromise();
|
|
7084
|
-
let dialogRef = this.dialog.open(CatalogoComponent, {
|
|
7085
|
-
data: {
|
|
7086
|
-
columns: ['cuenta', 'denominacion'],
|
|
7087
|
-
columnNames: ['cuenta', 'denominación'],
|
|
7088
|
-
title: 'Catálogo de Plan de Cuentas Géneral',
|
|
7089
|
-
dataSource: planes
|
|
7090
|
-
},
|
|
7091
|
-
width: '1000px',
|
|
7092
|
-
maxHeight: '90vh'
|
|
7093
|
-
});
|
|
7094
|
-
return dialogRef.afterClosed().toPromise();
|
|
7095
|
-
}
|
|
7096
|
-
/**
|
|
7097
|
-
* @description Obtiene el listado del plan único de cuentas
|
|
7098
|
-
* @return Observable<MplanUnicoCuenta[]>
|
|
7099
|
-
* @author Miguel Ramírez
|
|
7100
|
-
*/
|
|
7101
|
-
getListadoPLanUnicoCuentas() {
|
|
7102
|
-
return this.http.get(`${this.URL}/dao/scg/plan_unico_dao.php`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => resp.data.map(element => new MPlanUnicoCuenta(element))));
|
|
7103
|
-
}
|
|
7104
7043
|
/**
|
|
7105
7044
|
* @description Obtiene la configuración de SCG
|
|
7106
7045
|
* @return Observable<MConfiguracionSCG[]>
|
|
@@ -7402,8 +7341,8 @@ class SigespService {
|
|
|
7402
7341
|
* @return Promise<McuentaInstitucional>
|
|
7403
7342
|
* @author Miguel Ramírez
|
|
7404
7343
|
*/
|
|
7405
|
-
async openDialogCuentasInstitucionales() {
|
|
7406
|
-
let accounts = await this.getCuentasInstitucionales().toPromise();
|
|
7344
|
+
async openDialogCuentasInstitucionales(idEnterprise, periodoFical) {
|
|
7345
|
+
let accounts = await this.getCuentasInstitucionales(idEnterprise, periodoFical).toPromise();
|
|
7407
7346
|
let dialogRef = this.dialog.open(CatalogoComponent, {
|
|
7408
7347
|
data: {
|
|
7409
7348
|
columns: ['cuenta', 'denominacion'],
|
|
@@ -7421,8 +7360,8 @@ class SigespService {
|
|
|
7421
7360
|
* @return Observable<MCuentaInstitucional[]>
|
|
7422
7361
|
* @author Miguel Ramírez
|
|
7423
7362
|
*/
|
|
7424
|
-
getCuentasInstitucionales(inventory) {
|
|
7425
|
-
return this.http.get(`${this.URL}/dao/scg/cuentas_dao.php${(inventory) ? '?inventory=true' : ''}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => resp.data.map(element => new MCuentaInstitucional(element))));
|
|
7363
|
+
getCuentasInstitucionales(idEnterprise, periodoFical, inventory) {
|
|
7364
|
+
return this.http.get(`${this.URL}/dao/scg/cuentas_dao.php${(inventory) ? '?inventory=true' : ''}&e=${idEnterprise}&periodo=${periodoFical}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => resp.data.map(element => new MCuentaInstitucional(element))));
|
|
7426
7365
|
}
|
|
7427
7366
|
/**
|
|
7428
7367
|
* @description Abre el dialog de las cuentas de presupuesto (Recursos y Egresos)
|
|
@@ -7744,8 +7683,8 @@ class SigespService {
|
|
|
7744
7683
|
* @return Observable<MUsuarioPrefijo[]>
|
|
7745
7684
|
* @author Carlos Albornoz
|
|
7746
7685
|
*/
|
|
7747
|
-
getUserPrefix(filter = null, code = null) {
|
|
7748
|
-
return this.http.get(`${this.URL}/dao/cfg/control_numero_dao.php${filter ? `?filter=${filter}&code=${code}` : ''}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7686
|
+
getUserPrefix(filter = null, code = null, idEnterprise, periodo) {
|
|
7687
|
+
return this.http.get(`${this.URL}/dao/cfg/control_numero_dao.php${filter ? `?filter=${filter}&code=${code}&e=${idEnterprise}&periodo=${periodo}` : ''}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7749
7688
|
if (res.success) {
|
|
7750
7689
|
res.data = res.data.map(e => new MUsuarioPrefijo(e));
|
|
7751
7690
|
}
|
|
@@ -9160,6 +9099,22 @@ class MUnidadAdministradoraCentral extends MBasicModel {
|
|
|
9160
9099
|
}
|
|
9161
9100
|
}
|
|
9162
9101
|
|
|
9102
|
+
class MPlanUnicoCuenta extends MBasicModel {
|
|
9103
|
+
constructor(plan) {
|
|
9104
|
+
super();
|
|
9105
|
+
if (plan) {
|
|
9106
|
+
this.denominacion = plan.denominacion;
|
|
9107
|
+
this.cuenta = plan.sc_cuenta;
|
|
9108
|
+
}
|
|
9109
|
+
}
|
|
9110
|
+
dataInterface() {
|
|
9111
|
+
return {
|
|
9112
|
+
denominacion: this.denominacion,
|
|
9113
|
+
sc_cuenta: this.cuenta,
|
|
9114
|
+
};
|
|
9115
|
+
}
|
|
9116
|
+
}
|
|
9117
|
+
|
|
9163
9118
|
class MAccountMarriage extends MBasicModel {
|
|
9164
9119
|
constructor(marriage) {
|
|
9165
9120
|
super();
|
|
@@ -14670,5 +14625,5 @@ class customPaginator extends MatPaginatorIntl {
|
|
|
14670
14625
|
* Generated bundle index. Do not edit.
|
|
14671
14626
|
*/
|
|
14672
14627
|
|
|
14673
|
-
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, 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, 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,
|
|
14628
|
+
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, 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, 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, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator };
|
|
14674
14629
|
//# sourceMappingURL=sigesp.mjs.map
|