sigesp 1.1.23-20241113 → 1.1.24-20241113
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/CuentaEgresos.mjs +1 -1
- package/esm2020/lib/core/interfaces/Presupuesto.mjs +1 -1
- package/esm2020/lib/core/models/SPG/administrativeUnit.model.mjs +6 -6
- package/esm2020/lib/core/models/SPG/expensiveAccount.model.mjs +15 -25
- package/esm2020/lib/sigesp.service.mjs +3 -3
- package/fesm2015/sigesp.mjs +21 -31
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +21 -31
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/CuentaEgresos.d.ts +8 -2
- package/lib/core/interfaces/Presupuesto.d.ts +5 -5
- package/lib/core/models/SPG/expensiveAccount.model.d.ts +7 -7
- package/lib/sigesp.service.d.ts +1 -1
- package/package.json +1 -1
package/fesm2015/sigesp.mjs
CHANGED
|
@@ -2038,7 +2038,7 @@ class MFuenteFinanciamiento extends MBasicModel {
|
|
|
2038
2038
|
}
|
|
2039
2039
|
|
|
2040
2040
|
class MCuentaEgresos extends MBasicModel {
|
|
2041
|
-
constructor(cuenta
|
|
2041
|
+
constructor(cuenta) {
|
|
2042
2042
|
super();
|
|
2043
2043
|
this.idEmpresa = 0;
|
|
2044
2044
|
this.idEnterprise = 0;
|
|
@@ -2047,7 +2047,6 @@ class MCuentaEgresos extends MBasicModel {
|
|
|
2047
2047
|
this.denominacion = '';
|
|
2048
2048
|
this.cuenta = '';
|
|
2049
2049
|
this.cuentaContable = '------------';
|
|
2050
|
-
this.cuentaONCOP = '------------';
|
|
2051
2050
|
this.clasificador = '------------';
|
|
2052
2051
|
this.referencia = '';
|
|
2053
2052
|
this.aumento = 0;
|
|
@@ -2074,17 +2073,18 @@ class MCuentaEgresos extends MBasicModel {
|
|
|
2074
2073
|
this.idEP3 = 0;
|
|
2075
2074
|
this.idEP4 = 0;
|
|
2076
2075
|
this.idEP5 = 0;
|
|
2077
|
-
this.
|
|
2078
|
-
this.
|
|
2079
|
-
this.
|
|
2080
|
-
this.
|
|
2081
|
-
this.
|
|
2076
|
+
this.codigoEp1 = '';
|
|
2077
|
+
this.codigoEp2 = '';
|
|
2078
|
+
this.codigoEp3 = '';
|
|
2079
|
+
this.codigoEp4 = '';
|
|
2080
|
+
this.codigoEp5 = '';
|
|
2082
2081
|
this.estructura = '';
|
|
2083
2082
|
this.selected = false;
|
|
2084
2083
|
this.isNew = false;
|
|
2085
2084
|
this.error = false;
|
|
2086
2085
|
this.status = '';
|
|
2087
2086
|
this.id = 0;
|
|
2087
|
+
this.denominacionEstructura = '';
|
|
2088
2088
|
if (cuenta) {
|
|
2089
2089
|
this.idEmpresa = parseInt(cuenta.id_empresa);
|
|
2090
2090
|
this.idEnterprise = +cuenta.id_enterprise;
|
|
@@ -2115,30 +2115,20 @@ class MCuentaEgresos extends MBasicModel {
|
|
|
2115
2115
|
this.noviembre = parseFloat(cuenta.noviembre);
|
|
2116
2116
|
this.diciembre = parseFloat(cuenta.diciembre);
|
|
2117
2117
|
this.clasificador = cuenta.codcuecla;
|
|
2118
|
-
this.cuentaONCOP = cuenta.cueoncop;
|
|
2119
2118
|
this.idEP1 = parseInt(cuenta.id_ep1);
|
|
2120
2119
|
this.idEP2 = parseInt(cuenta.id_ep2);
|
|
2121
2120
|
this.idEP3 = parseInt(cuenta.id_ep3);
|
|
2122
2121
|
this.idEP4 = parseInt(cuenta.id_ep4);
|
|
2123
2122
|
this.idEP5 = parseInt(cuenta.id_ep5);
|
|
2124
2123
|
this.id = cuenta.id_del_spgcta ? parseInt(cuenta.id_del_spgcta) : 0;
|
|
2125
|
-
this.codestpro1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
|
|
2126
|
-
this.codestpro2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
|
|
2127
|
-
this.codestpro3 = cuenta.estructura ? cuenta.estructura.codestpro3 : '';
|
|
2128
|
-
this.codestpro4 = cuenta.estructura ? cuenta.estructura.codestpro4 : '';
|
|
2129
|
-
this.codestpro5 = cuenta.estructura ? cuenta.estructura.codestpro5 : '';
|
|
2130
|
-
if (cuenta.estructura && level) {
|
|
2131
|
-
if (level == 3) {
|
|
2132
|
-
this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}`;
|
|
2133
|
-
}
|
|
2134
|
-
else if (level == 4) {
|
|
2135
|
-
this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}`;
|
|
2136
|
-
}
|
|
2137
|
-
else {
|
|
2138
|
-
this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}-${this.codestpro5}`;
|
|
2139
|
-
}
|
|
2140
|
-
}
|
|
2141
2124
|
this.isNew = false;
|
|
2125
|
+
this.codigoEp1 = cuenta.codestpro1,
|
|
2126
|
+
this.codigoEp2 = cuenta.codestpro2,
|
|
2127
|
+
this.codigoEp3 = cuenta.codestpro3,
|
|
2128
|
+
this.codigoEp4 = cuenta.codestpro4,
|
|
2129
|
+
this.codigoEp5 = cuenta.codestpro5,
|
|
2130
|
+
this.estructura = cuenta.estructura;
|
|
2131
|
+
this.denominacionEstructura = cuenta.denestructura;
|
|
2142
2132
|
}
|
|
2143
2133
|
else {
|
|
2144
2134
|
this.isNew = true;
|
|
@@ -3880,11 +3870,11 @@ class MEstructuras extends MBasicModel {
|
|
|
3880
3870
|
this.idEp5 = parseInt(dt.id_ep5);
|
|
3881
3871
|
this.monto = parseFloat(dt.monto);
|
|
3882
3872
|
this.estatus = dt.status;
|
|
3883
|
-
this.codigoEep1 = dt.
|
|
3884
|
-
this.codigoEep2 = dt.
|
|
3885
|
-
this.codigoEep3 = dt.
|
|
3886
|
-
this.codigoEep4 = dt.
|
|
3887
|
-
this.codigoEep5 = dt.
|
|
3873
|
+
this.codigoEep1 = dt.codestpro1;
|
|
3874
|
+
this.codigoEep2 = dt.codestpro1;
|
|
3875
|
+
this.codigoEep3 = dt.codestpro1;
|
|
3876
|
+
this.codigoEep4 = dt.codestpro1;
|
|
3877
|
+
this.codigoEep5 = dt.codestpro1;
|
|
3888
3878
|
this.denominacionEstructura = dt.denestructura;
|
|
3889
3879
|
this.denominacion5 = dt.denestpro5;
|
|
3890
3880
|
this.denominacion3 = dt.denestpro3;
|
|
@@ -7344,8 +7334,8 @@ class SigespService {
|
|
|
7344
7334
|
}
|
|
7345
7335
|
});
|
|
7346
7336
|
}
|
|
7347
|
-
getExpenseAccounts(idEnterprise, periodoFiscal) {
|
|
7348
|
-
return this.http.get(`${this.URL}/dao/spg/cuentas_egresos_dao.php?e=${idEnterprise}&periodo=${periodoFiscal}`, { headers: this.getHttpHeaders() })
|
|
7337
|
+
getExpenseAccounts(idEnterprise, periodoFiscal, estatus) {
|
|
7338
|
+
return this.http.get(`${this.URL}/dao/spg/cuentas_egresos_dao.php?e=${idEnterprise}&periodo=${periodoFiscal}&est=${estatus}`, { headers: this.getHttpHeaders() })
|
|
7349
7339
|
.pipe(map((res) => res.data.map(element => new MCuentaEgresos(element))));
|
|
7350
7340
|
}
|
|
7351
7341
|
/**
|