@fluxhub/fluxhub-lib 10.0.755 → 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
  };
@@ -21825,6 +21825,11 @@
21825
21825
  this.m_obj.v +
21826
21826
  " - " +
21827
21827
  this.tsr.instant(this.m_obj.stat_stato));
21828
+ this.reset_form(this.tsr.instant(this.app_info.descrizione_breve) +
21829
+ " " +
21830
+ this.m_obj.codice +
21831
+ " - " +
21832
+ this.tsr.instant(this.m_obj.stat_stato));
21828
21833
  this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
21829
21834
  };
21830
21835
  dati_aggiuntivi.prototype.onResize = function (event) { };
@@ -23496,7 +23501,7 @@
23496
23501
  " non presenta utenti partecipanti validi", 1);
23497
23502
  return;
23498
23503
  }
23499
- if (this.transizione_info.manual_assignment == 1) {
23504
+ if (this.transizione_info.manual_assignment == 1 || o.pre_assegna_man == 1) {
23500
23505
  var att_autor_1 = [];
23501
23506
  //console.log('this.m_obj.creatore ',this.m_obj.creatore);
23502
23507
  if (this.m_obj.creatore != null)
@@ -23525,6 +23530,7 @@
23525
23530
  comm_notrequired: o.comments_opt,
23526
23531
  utenti: arrAutori,
23527
23532
  user_sel: o.pre_assegna_req == 0 ? [] : att_autor_1,
23533
+ pre_assegna_man: o.pre_assegna_man == 1
23528
23534
  },
23529
23535
  });
23530
23536
  dialogRef.afterClosed().subscribe(function (result) {
@@ -23534,7 +23540,10 @@
23534
23540
  _this.update_status(true, true, null, null, 5);
23535
23541
  return;
23536
23542
  }
23537
- _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);
23538
23547
  });
23539
23548
  }
23540
23549
  else {
@@ -23898,6 +23907,7 @@
23898
23907
  dati_aggiuntivi_v2.prototype.exec_wkf = function (trans, liv, arrdest, comm, crea_ver, assegnati_paralleli) {
23899
23908
  var _this = this;
23900
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);
23901
23911
  var dev_mode = false;
23902
23912
  if (this.app_s.dev_mode != null)
23903
23913
  if (this.app_s.dev_mode == "1")