sigesp 0.9.82-20231024 → 0.9.83-20230111
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 +144 -99
- 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/CuentaInstitucional.js +1 -1
- package/esm2015/lib/core/models/SCG/IncomeAccount.js +4 -2
- package/esm2015/lib/core/models/SCG/cuentaInstitucional.model.js +58 -23
- package/esm2015/lib/sigesp.service.js +7 -1
- package/fesm2015/sigesp.js +64 -23
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/CuentaInstitucional.d.ts +2 -0
- package/lib/core/models/SCG/IncomeAccount.d.ts +2 -1
- package/lib/core/models/SCG/cuentaInstitucional.model.d.ts +7 -2
- package/lib/sigesp.service.d.ts +1 -0
- package/package.json +1 -1
- package/sigesp.metadata.json +1 -1
package/fesm2015/sigesp.js
CHANGED
|
@@ -1120,29 +1120,63 @@ class MCuentaPresupuesto {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
}
|
|
1122
1122
|
|
|
1123
|
-
class MCuentaInstitucional {
|
|
1123
|
+
class MCuentaInstitucional extends MBasicModel {
|
|
1124
1124
|
constructor(institucional) {
|
|
1125
|
-
|
|
1126
|
-
this.
|
|
1127
|
-
this.
|
|
1128
|
-
this.
|
|
1129
|
-
this.
|
|
1130
|
-
this.
|
|
1131
|
-
this.
|
|
1132
|
-
this.
|
|
1133
|
-
this.
|
|
1134
|
-
this.
|
|
1135
|
-
this.
|
|
1136
|
-
this.
|
|
1137
|
-
this.
|
|
1138
|
-
this.
|
|
1139
|
-
this.
|
|
1140
|
-
this.
|
|
1141
|
-
this.
|
|
1142
|
-
this.
|
|
1143
|
-
this.
|
|
1144
|
-
this.
|
|
1145
|
-
this.
|
|
1125
|
+
super();
|
|
1126
|
+
this.cuenta = '';
|
|
1127
|
+
this.cueproacu = '';
|
|
1128
|
+
this.denominacion = '';
|
|
1129
|
+
this.enero = '';
|
|
1130
|
+
this.febrero = '';
|
|
1131
|
+
this.marzo = '';
|
|
1132
|
+
this.abril = '';
|
|
1133
|
+
this.mayo = '';
|
|
1134
|
+
this.junio = '';
|
|
1135
|
+
this.julio = '';
|
|
1136
|
+
this.agosto = '';
|
|
1137
|
+
this.septiembre = '';
|
|
1138
|
+
this.octubre = '';
|
|
1139
|
+
this.noviembre = '';
|
|
1140
|
+
this.diciembre = '';
|
|
1141
|
+
this.asignado = '';
|
|
1142
|
+
this.distribuir = '';
|
|
1143
|
+
this.status = '';
|
|
1144
|
+
this.idEmpresa = '';
|
|
1145
|
+
this.nivel = '';
|
|
1146
|
+
this.referencia = '';
|
|
1147
|
+
this.denominacionCuentaProvisionAcumulada = '';
|
|
1148
|
+
this.denominacionCuentaReferencia = '';
|
|
1149
|
+
this.denominacionEstatus = '';
|
|
1150
|
+
this.isNew = false;
|
|
1151
|
+
if (institucional) {
|
|
1152
|
+
this.cuenta = institucional.sc_cuenta;
|
|
1153
|
+
this.cueproacu = institucional.cueproacu;
|
|
1154
|
+
this.denominacion = institucional.denominacion;
|
|
1155
|
+
this.enero = institucional.enero;
|
|
1156
|
+
this.febrero = institucional.febrero;
|
|
1157
|
+
this.marzo = institucional.marzo;
|
|
1158
|
+
this.abril = institucional.abril;
|
|
1159
|
+
this.mayo = institucional.mayo;
|
|
1160
|
+
this.junio = institucional.junio;
|
|
1161
|
+
this.julio = institucional.julio;
|
|
1162
|
+
this.agosto = institucional.agosto;
|
|
1163
|
+
this.septiembre = institucional.septiembre;
|
|
1164
|
+
this.octubre = institucional.octubre;
|
|
1165
|
+
this.noviembre = institucional.noviembre;
|
|
1166
|
+
this.diciembre = institucional.diciembre;
|
|
1167
|
+
this.asignado = institucional.asignado;
|
|
1168
|
+
this.distribuir = institucional.distribuir;
|
|
1169
|
+
this.status = institucional.estatus;
|
|
1170
|
+
this.idEmpresa = institucional.id_empresa;
|
|
1171
|
+
this.nivel = institucional.nivel;
|
|
1172
|
+
this.referencia = institucional.referencia;
|
|
1173
|
+
this.denominacionCuentaProvisionAcumulada = institucional.dencueproacu;
|
|
1174
|
+
this.denominacionCuentaReferencia = institucional.denctareferecia;
|
|
1175
|
+
institucional.estatus == 'C' ? this.denominacionEstatus = 'Movimiento' : this.denominacionEstatus = 'Totalizadora';
|
|
1176
|
+
}
|
|
1177
|
+
else {
|
|
1178
|
+
this.isNew = true;
|
|
1179
|
+
}
|
|
1146
1180
|
}
|
|
1147
1181
|
}
|
|
1148
1182
|
|
|
@@ -2265,8 +2299,9 @@ class MComprobantePresupuestarioIngresos {
|
|
|
2265
2299
|
}
|
|
2266
2300
|
// TERMINAR EL MODELO
|
|
2267
2301
|
|
|
2268
|
-
class MCuentaIngresos {
|
|
2302
|
+
class MCuentaIngresos extends MBasicModel {
|
|
2269
2303
|
constructor(cuenta = null, isNew = false) {
|
|
2304
|
+
super();
|
|
2270
2305
|
this.idEmpresa = null;
|
|
2271
2306
|
this.nivel = null;
|
|
2272
2307
|
this.denominacion = '';
|
|
@@ -6400,6 +6435,12 @@ class SigespService {
|
|
|
6400
6435
|
}
|
|
6401
6436
|
return false;
|
|
6402
6437
|
}
|
|
6438
|
+
onlyNumbers2(event) {
|
|
6439
|
+
if (!isNaN(+event.key) || event.keyCode == 32 || event.keyCode == 8 || event.keyCode == 46) {
|
|
6440
|
+
return true;
|
|
6441
|
+
}
|
|
6442
|
+
return false;
|
|
6443
|
+
}
|
|
6403
6444
|
/**
|
|
6404
6445
|
* @description Permite (a-z A-Z á-ú ñÑ üÜ ',.) que se escriban numeros en el input (Usar en keypress)
|
|
6405
6446
|
* @param event Evento del teclado
|