@fluxhub/fluxhub-lib 10.0.756 → 10.0.757

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.
@@ -1814,7 +1814,7 @@
1814
1814
  if (this.force_en)
1815
1815
  this.upc.init(this.App, this.K, this.m_p_cod_doc, this.m_p_section, 'Attachment Description', this.m_p_system_type, this.m_programma_da_eseguire);
1816
1816
  else
1817
- this.upc.init(this.App, this.K, this.m_p_cod_doc, this.m_p_section, 'Descrizione Allegato', this.m_p_system_type, this.m_programma_da_eseguire);
1817
+ this.upc.init(this.App, this.K, this.m_p_cod_doc, this.m_p_section, this.tsr.instant('Descrizione Allegato'), this.m_p_system_type, this.m_programma_da_eseguire);
1818
1818
  this.b_initt = true;
1819
1819
  this.ref_allegato();
1820
1820
  };
@@ -23501,7 +23501,7 @@
23501
23501
  " non presenta utenti partecipanti validi", 1);
23502
23502
  return;
23503
23503
  }
23504
- if (this.transizione_info.manual_assignment == 1) {
23504
+ if (this.transizione_info.manual_assignment == 1 || o.pre_assegna_man == 1) {
23505
23505
  var att_autor_1 = [];
23506
23506
  //console.log('this.m_obj.creatore ',this.m_obj.creatore);
23507
23507
  if (this.m_obj.creatore != null)
@@ -23530,6 +23530,7 @@
23530
23530
  comm_notrequired: o.comments_opt,
23531
23531
  utenti: arrAutori,
23532
23532
  user_sel: o.pre_assegna_req == 0 ? [] : att_autor_1,
23533
+ pre_assegna_man: o.pre_assegna_man == 1
23533
23534
  },
23534
23535
  });
23535
23536
  dialogRef.afterClosed().subscribe(function (result) {
@@ -23539,7 +23540,10 @@
23539
23540
  _this.update_status(true, true, null, null, 5);
23540
23541
  return;
23541
23542
  }
23542
- _this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota, _this.transizione_info.create_ver, null);
23543
+ if (o.pre_assegna_man != 1)
23544
+ _this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota, _this.transizione_info.create_ver, null);
23545
+ else
23546
+ _this.exec_wkf(o, _this.nlevel, arrAutori, result.nota, _this.transizione_info.create_ver, result.arrsel);
23543
23547
  });
23544
23548
  }
23545
23549
  else {
@@ -23903,6 +23907,7 @@
23903
23907
  dati_aggiuntivi_v2.prototype.exec_wkf = function (trans, liv, arrdest, comm, crea_ver, assegnati_paralleli) {
23904
23908
  var _this = this;
23905
23909
  if (crea_ver === void 0) { crea_ver = false; }
23910
+ console.log('exec_wkf trans ', trans, ' liv ', liv, ' arrdest ', arrdest, ' comm ', comm, ' crea_ver ', crea_ver, ' assegnati_paralleli ', assegnati_paralleli);
23906
23911
  var dev_mode = false;
23907
23912
  if (this.app_s.dev_mode != null)
23908
23913
  if (this.app_s.dev_mode == "1")