@fluxhub/fluxhub-lib 10.0.672 → 10.0.674

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.
@@ -24853,6 +24853,7 @@ class dati_aggiuntivi_v2 {
24853
24853
  console.log(' result.arrsel ', result.arrsel);
24854
24854
  let arr_new_arr = '';
24855
24855
  this.m_obj.autori = '';
24856
+ this.m_obj.pers_int = '';
24856
24857
  let b_edit = false;
24857
24858
  result.arrsel.map((v) => {
24858
24859
  if (arr_new_arr != '')
@@ -24862,6 +24863,9 @@ class dati_aggiuntivi_v2 {
24862
24863
  if (this.m_obj.autori != '')
24863
24864
  this.m_obj.autori = this.m_obj.autori + ',';
24864
24865
  this.m_obj.autori = this.m_obj.autori + v.username;
24866
+ if (this.m_obj.pers_int != '')
24867
+ this.m_obj.pers_int = this.m_obj.pers_int + ',';
24868
+ this.m_obj.pers_int = this.m_obj.pers_int + v.cognome + ' ' + v.nome;
24865
24869
  }
24866
24870
  if (v.username == this.app_info.user)
24867
24871
  b_edit = true;
@@ -24882,8 +24886,8 @@ class dati_aggiuntivi_v2 {
24882
24886
  this.update_status(b_edit, true, this.in_carico, this.b_assenza_a, 19);
24883
24887
  let p = new QParam();
24884
24888
  p.sql = "UPDATE_WKF_DOC_AUTHOR";
24885
- p.values = [this.id_applicativo, this.id_documento, this.m_obj.autori];
24886
- p.types = ["string", "string", "string"];
24889
+ p.values = [this.id_applicativo, this.id_documento, this.m_obj.autori, this.m_obj.pers_int];
24890
+ p.types = ["string", "string", "string", "string"];
24887
24891
  this.m_dataService.doQuery(p).subscribe((data) => {
24888
24892
  if (data != null)
24889
24893
  if (data.result_msg == "OK") {
@@ -24892,26 +24896,39 @@ class dati_aggiuntivi_v2 {
24892
24896
  types: ['string', 'string', 'string', 'string', 'string'], names: [] }).subscribe((data) => {
24893
24897
  });
24894
24898
  if (result.op == 'C')
24895
- this.sendEMail_ex(this.user_idp, arr_new_arr, this.app_info.descrizione_breve +
24896
- ", Ti è stato assegnato il documento numero: " +
24897
- this.m_obj.codice +
24898
- " " +
24899
- this.getTitle() +
24900
- " - " +
24901
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
24902
- this.getLvlDescri(String(this.m_liv), this.m_statox) +
24903
- "<br>" +
24904
- this.m_statox +
24905
- "<br>" +
24906
- this.getDescri(), this.id_applicativo, this.id_documento, this.app_info.COMPANY_SITE_ROOT +
24907
- "#/" +
24908
- this.app_info.modulo_swf +
24909
- "/" +
24910
- this.id_applicativo +
24911
- "/" +
24912
- this.id_documento +
24913
- "/edit", this.m_obj.codice, "", true, "", false);
24914
- }
24899
+ this.update_status(true, this.respingi_enabled, this.in_carico, this.b_assenza_a, 18);
24900
+ /* else
24901
+ this.sendEMail_ex(
24902
+ this.user_idp,
24903
+ arr_new_arr,
24904
+ this.app_info.descrizione_breve +
24905
+ ", Ti è stato assegnato il documento numero: " +
24906
+ this.m_obj.codice +
24907
+ " " +
24908
+ this.getTitle() +
24909
+ " - " +
24910
+ this.getLvlDescri(String(this.m_liv), this.m_statox),
24911
+ "<br>Attività:" +
24912
+ this.getLvlDescri(String(this.m_liv), this.m_statox) +
24913
+ "<br>" +
24914
+ this.m_statox +
24915
+ "<br>" +
24916
+ this.getDescri(),
24917
+ this.id_applicativo,
24918
+ this.id_documento,
24919
+ this.app_info.COMPANY_SITE_ROOT +
24920
+ "#/" +
24921
+ this.app_info.modulo_swf +
24922
+ "/" +
24923
+ this.id_applicativo +
24924
+ "/" +
24925
+ this.id_documento +
24926
+ "/edit",
24927
+ this.m_obj.codice,
24928
+ "",
24929
+ true,
24930
+ "",false
24931
+ );*/ }
24915
24932
  });
24916
24933
  }
24917
24934
  });