sigesp 1.1.35-20241216 → 1.1.38-20250103
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/ConfigurationSPG.mjs +1 -1
- package/esm2020/lib/core/interfaces/ITipoDepositos.mjs +1 -1
- package/esm2020/lib/core/models/SIV/MTipoDepositos.model.mjs +6 -3
- package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +6 -2
- package/esm2020/lib/sigesp.service.mjs +2 -2
- package/fesm2015/sigesp.mjs +11 -4
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +11 -4
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/ConfigurationSPG.d.ts +3 -1
- package/lib/core/interfaces/ITipoDepositos.d.ts +2 -1
- package/lib/core/models/SIV/MTipoDepositos.model.d.ts +1 -0
- package/lib/core/models/SPG/configurationSPG.model.d.ts +2 -0
- package/lib/sigesp.service.d.ts +1 -1
- package/package.json +1 -1
package/fesm2015/sigesp.mjs
CHANGED
|
@@ -1839,6 +1839,8 @@ class MConfigurationSPG {
|
|
|
1839
1839
|
this.editable = false;
|
|
1840
1840
|
this.codigoEnterprise = '';
|
|
1841
1841
|
this.denominacionEnterprise = '';
|
|
1842
|
+
this.cuentaContableDiferencial = '';
|
|
1843
|
+
this.denominacionCuentaContableDiferencial = '';
|
|
1842
1844
|
if (configuration) {
|
|
1843
1845
|
this.idEnterprise = +configuration.id_enterprise;
|
|
1844
1846
|
this.periodoFiscal = +configuration.perfiscal;
|
|
@@ -1879,11 +1881,13 @@ class MConfigurationSPG {
|
|
|
1879
1881
|
this.denominacionFuenteFinanciaminto = configuration.denfuefin;
|
|
1880
1882
|
this.codigoFuenteFinanciaminto = configuration.codigoftefin;
|
|
1881
1883
|
this.denominacionCentroCosto = configuration.dencencos;
|
|
1882
|
-
this.codigoCentroCosto = configuration.
|
|
1884
|
+
this.codigoCentroCosto = configuration.codcencos;
|
|
1883
1885
|
this.estructuraPresupuestaria = configuration.estpre;
|
|
1884
1886
|
this.editable = configuration.editable == '0';
|
|
1885
1887
|
this.codigoEnterprise = configuration.codigo;
|
|
1886
1888
|
this.denominacionEnterprise = configuration.titulo;
|
|
1889
|
+
this.cuentaContableDiferencial = configuration.sc_cuenta;
|
|
1890
|
+
this.denominacionCuentaContableDiferencial = configuration.denominacion;
|
|
1887
1891
|
}
|
|
1888
1892
|
}
|
|
1889
1893
|
dataInteface() {
|
|
@@ -6349,6 +6353,7 @@ class MTipoDepositos extends MBasicModel {
|
|
|
6349
6353
|
constructor(e) {
|
|
6350
6354
|
super();
|
|
6351
6355
|
this.idEmpresa = 0;
|
|
6356
|
+
this.idEnterprise = 0;
|
|
6352
6357
|
this.idTipoDeposito = 0;
|
|
6353
6358
|
this.codigoTipoDeposito = '';
|
|
6354
6359
|
this.denominacionTipoDeposito = '';
|
|
@@ -6365,7 +6370,8 @@ class MTipoDepositos extends MBasicModel {
|
|
|
6365
6370
|
this.relacion = '';
|
|
6366
6371
|
if (e) {
|
|
6367
6372
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
6368
|
-
this.
|
|
6373
|
+
this.idEnterprise = +e.id_enterprise;
|
|
6374
|
+
this.idTipoDeposito = parseInt(e.id_tipodeposito);
|
|
6369
6375
|
this.codigoTipoDeposito = e.codtipalm;
|
|
6370
6376
|
this.idDeposito = parseInt(e.id_deposito);
|
|
6371
6377
|
this.idCentroLogistico = parseInt(e.id_cenlog);
|
|
@@ -6387,7 +6393,8 @@ class MTipoDepositos extends MBasicModel {
|
|
|
6387
6393
|
dataInterface() {
|
|
6388
6394
|
return {
|
|
6389
6395
|
id_empresa: this.idEmpresa.toString(),
|
|
6390
|
-
|
|
6396
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
6397
|
+
id_tipodeposito: this.idTipoDeposito.toString(),
|
|
6391
6398
|
codtipalm: this.codigoTipoDeposito,
|
|
6392
6399
|
dentipalm: this.denominacionTipoDeposito,
|
|
6393
6400
|
existencia: this.existencia.toString(),
|
|
@@ -7377,7 +7384,7 @@ class SigespService {
|
|
|
7377
7384
|
* @author Carlos Albornoz
|
|
7378
7385
|
* @params filtro: Indica bajo que parametros se va a filtrar el catalogo
|
|
7379
7386
|
*/
|
|
7380
|
-
openCatalogoCuentasPresuspuesto(titulo, filtro = null, ancho = '1000px'
|
|
7387
|
+
openCatalogoCuentasPresuspuesto(titulo, idEnterprise, periodoFiscal, filtro = null, ancho = '1000px') {
|
|
7381
7388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7382
7389
|
let cuentas = [];
|
|
7383
7390
|
yield this.getCuentasPresupuesto(idEnterprise, periodoFiscal).toPromise().then((res) => {
|