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/fesm2020/sigesp.mjs
CHANGED
|
@@ -2031,7 +2031,7 @@ class MFuenteFinanciamiento extends MBasicModel {
|
|
|
2031
2031
|
}
|
|
2032
2032
|
|
|
2033
2033
|
class MCuentaEgresos extends MBasicModel {
|
|
2034
|
-
constructor(cuenta
|
|
2034
|
+
constructor(cuenta) {
|
|
2035
2035
|
super();
|
|
2036
2036
|
this.idEmpresa = 0;
|
|
2037
2037
|
this.idEnterprise = 0;
|
|
@@ -2040,7 +2040,6 @@ class MCuentaEgresos extends MBasicModel {
|
|
|
2040
2040
|
this.denominacion = '';
|
|
2041
2041
|
this.cuenta = '';
|
|
2042
2042
|
this.cuentaContable = '------------';
|
|
2043
|
-
this.cuentaONCOP = '------------';
|
|
2044
2043
|
this.clasificador = '------------';
|
|
2045
2044
|
this.referencia = '';
|
|
2046
2045
|
this.aumento = 0;
|
|
@@ -2067,17 +2066,18 @@ class MCuentaEgresos extends MBasicModel {
|
|
|
2067
2066
|
this.idEP3 = 0;
|
|
2068
2067
|
this.idEP4 = 0;
|
|
2069
2068
|
this.idEP5 = 0;
|
|
2070
|
-
this.
|
|
2071
|
-
this.
|
|
2072
|
-
this.
|
|
2073
|
-
this.
|
|
2074
|
-
this.
|
|
2069
|
+
this.codigoEp1 = '';
|
|
2070
|
+
this.codigoEp2 = '';
|
|
2071
|
+
this.codigoEp3 = '';
|
|
2072
|
+
this.codigoEp4 = '';
|
|
2073
|
+
this.codigoEp5 = '';
|
|
2075
2074
|
this.estructura = '';
|
|
2076
2075
|
this.selected = false;
|
|
2077
2076
|
this.isNew = false;
|
|
2078
2077
|
this.error = false;
|
|
2079
2078
|
this.status = '';
|
|
2080
2079
|
this.id = 0;
|
|
2080
|
+
this.denominacionEstructura = '';
|
|
2081
2081
|
if (cuenta) {
|
|
2082
2082
|
this.idEmpresa = parseInt(cuenta.id_empresa);
|
|
2083
2083
|
this.idEnterprise = +cuenta.id_enterprise;
|
|
@@ -2108,30 +2108,20 @@ class MCuentaEgresos extends MBasicModel {
|
|
|
2108
2108
|
this.noviembre = parseFloat(cuenta.noviembre);
|
|
2109
2109
|
this.diciembre = parseFloat(cuenta.diciembre);
|
|
2110
2110
|
this.clasificador = cuenta.codcuecla;
|
|
2111
|
-
this.cuentaONCOP = cuenta.cueoncop;
|
|
2112
2111
|
this.idEP1 = parseInt(cuenta.id_ep1);
|
|
2113
2112
|
this.idEP2 = parseInt(cuenta.id_ep2);
|
|
2114
2113
|
this.idEP3 = parseInt(cuenta.id_ep3);
|
|
2115
2114
|
this.idEP4 = parseInt(cuenta.id_ep4);
|
|
2116
2115
|
this.idEP5 = parseInt(cuenta.id_ep5);
|
|
2117
2116
|
this.id = cuenta.id_del_spgcta ? parseInt(cuenta.id_del_spgcta) : 0;
|
|
2118
|
-
this.codestpro1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
|
|
2119
|
-
this.codestpro2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
|
|
2120
|
-
this.codestpro3 = cuenta.estructura ? cuenta.estructura.codestpro3 : '';
|
|
2121
|
-
this.codestpro4 = cuenta.estructura ? cuenta.estructura.codestpro4 : '';
|
|
2122
|
-
this.codestpro5 = cuenta.estructura ? cuenta.estructura.codestpro5 : '';
|
|
2123
|
-
if (cuenta.estructura && level) {
|
|
2124
|
-
if (level == 3) {
|
|
2125
|
-
this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}`;
|
|
2126
|
-
}
|
|
2127
|
-
else if (level == 4) {
|
|
2128
|
-
this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}`;
|
|
2129
|
-
}
|
|
2130
|
-
else {
|
|
2131
|
-
this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}-${this.codestpro5}`;
|
|
2132
|
-
}
|
|
2133
|
-
}
|
|
2134
2117
|
this.isNew = false;
|
|
2118
|
+
this.codigoEp1 = cuenta.codestpro1,
|
|
2119
|
+
this.codigoEp2 = cuenta.codestpro2,
|
|
2120
|
+
this.codigoEp3 = cuenta.codestpro3,
|
|
2121
|
+
this.codigoEp4 = cuenta.codestpro4,
|
|
2122
|
+
this.codigoEp5 = cuenta.codestpro5,
|
|
2123
|
+
this.estructura = cuenta.estructura;
|
|
2124
|
+
this.denominacionEstructura = cuenta.denestructura;
|
|
2135
2125
|
}
|
|
2136
2126
|
else {
|
|
2137
2127
|
this.isNew = true;
|
|
@@ -3869,11 +3859,11 @@ class MEstructuras extends MBasicModel {
|
|
|
3869
3859
|
this.idEp5 = parseInt(dt.id_ep5);
|
|
3870
3860
|
this.monto = parseFloat(dt.monto);
|
|
3871
3861
|
this.estatus = dt.status;
|
|
3872
|
-
this.codigoEep1 = dt.
|
|
3873
|
-
this.codigoEep2 = dt.
|
|
3874
|
-
this.codigoEep3 = dt.
|
|
3875
|
-
this.codigoEep4 = dt.
|
|
3876
|
-
this.codigoEep5 = dt.
|
|
3862
|
+
this.codigoEep1 = dt.codestpro1;
|
|
3863
|
+
this.codigoEep2 = dt.codestpro1;
|
|
3864
|
+
this.codigoEep3 = dt.codestpro1;
|
|
3865
|
+
this.codigoEep4 = dt.codestpro1;
|
|
3866
|
+
this.codigoEep5 = dt.codestpro1;
|
|
3877
3867
|
this.denominacionEstructura = dt.denestructura;
|
|
3878
3868
|
this.denominacion5 = dt.denestpro5;
|
|
3879
3869
|
this.denominacion3 = dt.denestpro3;
|
|
@@ -7317,8 +7307,8 @@ class SigespService {
|
|
|
7317
7307
|
return this.openCatalogoGenerico(["cuenta", "denominacion", "provStatus"], titulo, filteredAccounts, ["Cuenta", "Denominación", "Estado"], ancho);
|
|
7318
7308
|
}
|
|
7319
7309
|
}
|
|
7320
|
-
getExpenseAccounts(idEnterprise, periodoFiscal) {
|
|
7321
|
-
return this.http.get(`${this.URL}/dao/spg/cuentas_egresos_dao.php?e=${idEnterprise}&periodo=${periodoFiscal}`, { headers: this.getHttpHeaders() })
|
|
7310
|
+
getExpenseAccounts(idEnterprise, periodoFiscal, estatus) {
|
|
7311
|
+
return this.http.get(`${this.URL}/dao/spg/cuentas_egresos_dao.php?e=${idEnterprise}&periodo=${periodoFiscal}&est=${estatus}`, { headers: this.getHttpHeaders() })
|
|
7322
7312
|
.pipe(map((res) => res.data.map(element => new MCuentaEgresos(element))));
|
|
7323
7313
|
}
|
|
7324
7314
|
/**
|