@fluxhub/fluxhub-lib 1.0.380 → 1.0.382

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.
@@ -489,6 +489,19 @@ class UtilityService {
489
489
  this.app_s = app_s;
490
490
  this.simpleCrypt = new SimpleCrypt();
491
491
  }
492
+ /**
493
+ * @param {?} obj_value
494
+ * @param {?} combo_value
495
+ * @return {?}
496
+ */
497
+ check_value_combo(obj_value, combo_value) {
498
+ if (combo_value != null)
499
+ if (combo_value != '-1')
500
+ return combo_value;
501
+ if (obj_value != null)
502
+ return obj_value;
503
+ return combo_value;
504
+ }
492
505
  /**
493
506
  * @param {?} params
494
507
  * @return {?}
@@ -15851,9 +15864,9 @@ class dati_aggiuntivi {
15851
15864
  this.b_edit_before = this.b_edit;
15852
15865
  this.edit_b(false);
15853
15866
  /** @type {?} */
15854
- var arr = this.getfieldvalues();
15867
+ let arr = this.getfieldvalues();
15855
15868
  /** @type {?} */
15856
- var p = new QParam();
15869
+ let p = new QParam();
15857
15870
  p.sql = "insert_aggiuntivi";
15858
15871
  p.types = ['string', 'string'];
15859
15872
  p.values = [this.app_info.tabella_dati, this.id_documento];