@fluxhub/fluxhub-lib 10.0.719 → 10.0.721

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.
@@ -24911,7 +24911,7 @@ class dati_aggiuntivi_v2 {
24911
24911
  }
24912
24912
  return 0;
24913
24913
  });
24914
- const dialogRef = this.m_dialog.open(win_assegna_a, { 'disableClose': true, width: '99%', data: {
24914
+ const dialogRef = this.m_dialog.open(win_assegna_a, { 'disableClose': true, width: '800px', data: {
24915
24915
  title: this.tsr.instant('Conferma Assegnazione'),
24916
24916
  lbl: '',
24917
24917
  commento_default: '',
@@ -24921,11 +24921,11 @@ class dati_aggiuntivi_v2 {
24921
24921
  } });
24922
24922
  dialogRef.afterClosed().subscribe(result => {
24923
24923
  if (result) {
24924
- if (result.arrsel.lenght == 0) {
24924
+ if (result.arrsel.length == 0) {
24925
24925
  this.alert("Impossibile riassegnare", 1);
24926
24926
  return;
24927
24927
  }
24928
- console.log(' result.arrsel ', result.arrsel);
24928
+ // console.log(' result.arrsel ', result.arrsel);
24929
24929
  let arr_new_arr = '';
24930
24930
  this.m_obj.autori = '';
24931
24931
  this.m_obj.pers_int = '';
@@ -24971,8 +24971,30 @@ class dati_aggiuntivi_v2 {
24971
24971
  values: [this.id_applicativo, this.user_idp, 'DOCUMENTO RIASSEGNATO', 'DOCUMENTO RIASSEGNATO A: ' + arr_new_arr, this.id_documento],
24972
24972
  types: ['string', 'string', 'string', 'string', 'string'], names: [] }).subscribe((data) => {
24973
24973
  });
24974
- if (result.op == 'C')
24974
+ if (result.op == 'C') {
24975
24975
  this.update_status(true, this.respingi_enabled, this.in_carico, this.b_assengna_a, 18);
24976
+ }
24977
+ if (result.op == 'A') {
24978
+ this.sendEMail_ex(this.user_idp, arr_new_arr, this.app_info.descrizione_breve +
24979
+ ", Ti è stato assegnato il documento numero: " +
24980
+ this.m_obj.codice +
24981
+ " " +
24982
+ this.getTitle() +
24983
+ " - " +
24984
+ this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
24985
+ this.getLvlDescri(String(this.m_liv), this.m_statox) +
24986
+ "<br>" +
24987
+ this.m_statox +
24988
+ "<br>" +
24989
+ this.getDescri(), this.id_applicativo, this.id_documento, this.app_info.COMPANY_SITE_ROOT +
24990
+ "#/" +
24991
+ this.app_info.modulo_swf +
24992
+ "/" +
24993
+ this.id_applicativo +
24994
+ "/" +
24995
+ this.id_documento +
24996
+ "/edit", this.m_obj.codice, "", true, "", false);
24997
+ }
24976
24998
  /* else
24977
24999
  this.sendEMail_ex(
24978
25000
  this.user_idp,