sigesp 0.9.89-20231124 → 0.9.91-20231211

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.
@@ -3836,7 +3836,9 @@
3836
3836
  _this.centroCosto = unidad.codcencos;
3837
3837
  _this.id = unidad.id_uniadm;
3838
3838
  _this.denominacionUnidadCentral = unidad.denuac;
3839
- _this.estructuras = unidad.estructuras.map(function (e) { return new MEstructuras(e); });
3839
+ if (unidad.estructuras) {
3840
+ _this.estructuras = unidad.estructuras.map(function (e) { return new MEstructuras(e); });
3841
+ }
3840
3842
  }
3841
3843
  else {
3842
3844
  _this.isNew = true;
@@ -7612,7 +7614,7 @@
7612
7614
  title: 'Catálogo de plan de cuenta institucional',
7613
7615
  dataSource: accounts
7614
7616
  },
7615
- width: '450px',
7617
+ width: '800px',
7616
7618
  maxHeight: '90vh'
7617
7619
  });
7618
7620
  return [2 /*return*/, dialogRef.afterClosed().toPromise()];
@@ -8932,6 +8934,9 @@
8932
8934
  CurrencyService.prototype.checkCurrency = function (e, number, currency) {
8933
8935
  return this.validateCurrency(e, number, currency.separadorDecimal, currency.decimales);
8934
8936
  };
8937
+ CurrencyService.prototype.checkCurrencyAlt = function (e, number, currency) {
8938
+ return this.validateCurrency(e, number, currency.separadorDecimal, currency.decimalesAlternos);
8939
+ };
8935
8940
  return CurrencyService;
8936
8941
  }());
8937
8942
  CurrencyService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CurrencyService_Factory() { return new CurrencyService(); }, token: CurrencyService, providedIn: "root" });