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.
@@ -1832,6 +1832,8 @@ class MConfigurationSPG {
1832
1832
  this.editable = false;
1833
1833
  this.codigoEnterprise = '';
1834
1834
  this.denominacionEnterprise = '';
1835
+ this.cuentaContableDiferencial = '';
1836
+ this.denominacionCuentaContableDiferencial = '';
1835
1837
  if (configuration) {
1836
1838
  this.idEnterprise = +configuration.id_enterprise;
1837
1839
  this.periodoFiscal = +configuration.perfiscal;
@@ -1872,11 +1874,13 @@ class MConfigurationSPG {
1872
1874
  this.denominacionFuenteFinanciaminto = configuration.denfuefin;
1873
1875
  this.codigoFuenteFinanciaminto = configuration.codigoftefin;
1874
1876
  this.denominacionCentroCosto = configuration.dencencos;
1875
- this.codigoCentroCosto = configuration.denominacion;
1877
+ this.codigoCentroCosto = configuration.codcencos;
1876
1878
  this.estructuraPresupuestaria = configuration.estpre;
1877
1879
  this.editable = configuration.editable == '0';
1878
1880
  this.codigoEnterprise = configuration.codigo;
1879
1881
  this.denominacionEnterprise = configuration.titulo;
1882
+ this.cuentaContableDiferencial = configuration.sc_cuenta;
1883
+ this.denominacionCuentaContableDiferencial = configuration.denominacion;
1880
1884
  }
1881
1885
  }
1882
1886
  dataInteface() {
@@ -6338,6 +6342,7 @@ class MTipoDepositos extends MBasicModel {
6338
6342
  constructor(e) {
6339
6343
  super();
6340
6344
  this.idEmpresa = 0;
6345
+ this.idEnterprise = 0;
6341
6346
  this.idTipoDeposito = 0;
6342
6347
  this.codigoTipoDeposito = '';
6343
6348
  this.denominacionTipoDeposito = '';
@@ -6354,7 +6359,8 @@ class MTipoDepositos extends MBasicModel {
6354
6359
  this.relacion = '';
6355
6360
  if (e) {
6356
6361
  this.idEmpresa = parseInt(e.id_empresa);
6357
- this.idTipoDeposito = parseInt(e.id_tipoalmacen);
6362
+ this.idEnterprise = +e.id_enterprise;
6363
+ this.idTipoDeposito = parseInt(e.id_tipodeposito);
6358
6364
  this.codigoTipoDeposito = e.codtipalm;
6359
6365
  this.idDeposito = parseInt(e.id_deposito);
6360
6366
  this.idCentroLogistico = parseInt(e.id_cenlog);
@@ -6376,7 +6382,8 @@ class MTipoDepositos extends MBasicModel {
6376
6382
  dataInterface() {
6377
6383
  return {
6378
6384
  id_empresa: this.idEmpresa.toString(),
6379
- id_tipoalmacen: this.idTipoDeposito.toString(),
6385
+ id_enterprise: this.idEnterprise.toString(),
6386
+ id_tipodeposito: this.idTipoDeposito.toString(),
6380
6387
  codtipalm: this.codigoTipoDeposito,
6381
6388
  dentipalm: this.denominacionTipoDeposito,
6382
6389
  existencia: this.existencia.toString(),
@@ -7350,7 +7357,7 @@ class SigespService {
7350
7357
  * @author Carlos Albornoz
7351
7358
  * @params filtro: Indica bajo que parametros se va a filtrar el catalogo
7352
7359
  */
7353
- async openCatalogoCuentasPresuspuesto(titulo, filtro = null, ancho = '1000px', idEnterprise, periodoFiscal) {
7360
+ async openCatalogoCuentasPresuspuesto(titulo, idEnterprise, periodoFiscal, filtro = null, ancho = '1000px') {
7354
7361
  let cuentas = [];
7355
7362
  await this.getCuentasPresupuesto(idEnterprise, periodoFiscal).toPromise().then((res) => {
7356
7363
  cuentas = res;