@fluxhub/fluxhub-lib 10.0.699 → 10.0.700

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.
@@ -25448,7 +25448,14 @@ class dati_aggiuntivi_v2 {
25448
25448
  if (this.m_obj.assegnati_paralleli.split(',').length != 1)
25449
25449
  if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
25450
25450
  this.b_assenza_a = true;
25451
- this.update_status(false, null, null, this.b_assenza_a, 14);
25451
+ this.in_carico = false;
25452
+ if (this.m_obj.autori == null)
25453
+ this.in_carico = true;
25454
+ else if (this.m_obj.autori == '')
25455
+ this.in_carico = true;
25456
+ else if (this.m_obj.autori.split(',').length != 1)
25457
+ this.in_carico = true;
25458
+ this.update_status(false, null, this.b_assenza_a && this.in_carico, this.b_assenza_a, 14);
25452
25459
  this.save_to_app_state();
25453
25460
  let p = new QParam();
25454
25461
  p.sql = "SELECT_WLIVELLIV2_2";