@fluxhub/fluxhub-lib 10.0.671 → 10.0.673

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.
@@ -24073,6 +24073,7 @@ class win_assegna_a {
24073
24073
  this.all_users.map((v) => { if (v.username == this.m_appService.user)
24074
24074
  o.arrsel = [v]; });
24075
24075
  }
24076
+ o.op = this.op;
24076
24077
  this.dialogRef.close(o);
24077
24078
  }
24078
24079
  ngAfterViewInit() { }
@@ -24869,6 +24870,7 @@ class dati_aggiuntivi_v2 {
24869
24870
  if (this.m_obj.autori != null)
24870
24871
  if (this.m_obj.autori.split(',').length != 1)
24871
24872
  this.in_carico = true;
24873
+ console.log(this.m_obj.autori, this.in_carico);
24872
24874
  this.b_assenza_a = false;
24873
24875
  if (this.m_obj.assegnati_paralleli != null)
24874
24876
  if (this.m_obj.assegnati_paralleli.split(',').length != 1)
@@ -24889,25 +24891,28 @@ class dati_aggiuntivi_v2 {
24889
24891
  values: [this.id_applicativo, this.user_idp, 'DOCUMENTO RIASSEGNATO', 'DOCUMENTO RIASSEGNATO A: ' + arr_new_arr, this.id_documento],
24890
24892
  types: ['string', 'string', 'string', 'string', 'string'], names: [] }).subscribe((data) => {
24891
24893
  });
24892
- this.sendEMail_ex(this.user_idp, arr_new_arr, this.app_info.descrizione_breve +
24893
- ", Ti è stato assegnato il documento numero: " +
24894
- this.m_obj.codice +
24895
- " " +
24896
- this.getTitle() +
24897
- " - " +
24898
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
24899
- this.getLvlDescri(String(this.m_liv), this.m_statox) +
24900
- "<br>" +
24901
- this.m_statox +
24902
- "<br>" +
24903
- this.getDescri(), this.id_applicativo, this.id_documento, this.app_info.COMPANY_SITE_ROOT +
24904
- "#/" +
24905
- this.app_info.modulo_swf +
24906
- "/" +
24907
- this.id_applicativo +
24908
- "/" +
24909
- this.id_documento +
24910
- "/edit", this.m_obj.codice, "", true, "", false);
24894
+ if (result.op == 'C')
24895
+ this.update_status(true, this.respingi_enabled, this.in_carico, this.b_assenza_a, 18);
24896
+ else
24897
+ this.sendEMail_ex(this.user_idp, arr_new_arr, this.app_info.descrizione_breve +
24898
+ ", Ti è stato assegnato il documento numero: " +
24899
+ this.m_obj.codice +
24900
+ " " +
24901
+ this.getTitle() +
24902
+ " - " +
24903
+ this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
24904
+ this.getLvlDescri(String(this.m_liv), this.m_statox) +
24905
+ "<br>" +
24906
+ this.m_statox +
24907
+ "<br>" +
24908
+ this.getDescri(), this.id_applicativo, this.id_documento, this.app_info.COMPANY_SITE_ROOT +
24909
+ "#/" +
24910
+ this.app_info.modulo_swf +
24911
+ "/" +
24912
+ this.id_applicativo +
24913
+ "/" +
24914
+ this.id_documento +
24915
+ "/edit", this.m_obj.codice, "", true, "", false);
24911
24916
  }
24912
24917
  });
24913
24918
  }