@fluxhub/fluxhub-lib 10.0.681 → 10.0.683

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.
@@ -4640,6 +4640,8 @@ class fh_win_user_picker {
4640
4640
  if (this.users_list != null)
4641
4641
  for (var i = 0; i < this.users_list.length; i++)
4642
4642
  this.users_list_sel.push(this.users_list[i]);
4643
+ if (this.users_list != null)
4644
+ this.lista_utenti = JSON.parse(JSON.stringify(this.users_list));
4643
4645
  }
4644
4646
  });
4645
4647
  }
@@ -21787,6 +21789,7 @@ class win_assegna_v2 {
21787
21789
  this.nota_commento = "";
21788
21790
  this.title = "";
21789
21791
  this.comm_notrequired = 0;
21792
+ this.user_sel = [];
21790
21793
  if (data != null) {
21791
21794
  if (data.commento_default != null)
21792
21795
  this.nota = data.commento_default;
@@ -21798,6 +21801,8 @@ class win_assegna_v2 {
21798
21801
  this.lbl = data.lbl;
21799
21802
  if (data.utenti != null)
21800
21803
  this.arrAutori = data.utenti;
21804
+ if (data.user_sel != null)
21805
+ this.user_sel = data.user_sel;
21801
21806
  }
21802
21807
  this.title = this._trs.instant("ASSEGNA DOCUMENTO");
21803
21808
  for (let i = 0; i < this.arrAutori.length; i++) {
@@ -21859,6 +21864,7 @@ win_assegna_v2.decorators = [
21859
21864
  #up
21860
21865
  [users_list]="arrAutori"
21861
21866
  [vis_buttons]="false"
21867
+ [user_sel]="user_sel"
21862
21868
  ></FHPickUsers>
21863
21869
  </div>
21864
21870
  <div *ngIf="comm_notrequired != 1">
@@ -23529,6 +23535,7 @@ win_riassegna_select_user_v2.decorators = [
23529
23535
  #up
23530
23536
  [users_list]="arrAutori"
23531
23537
  [vis_buttons]="false"
23538
+
23532
23539
  ></FHPickUsers>
23533
23540
  </div>
23534
23541
 
@@ -24693,6 +24700,14 @@ class dati_aggiuntivi_v2 {
24693
24700
  return;
24694
24701
  }
24695
24702
  if (this.transizione_info.manual_assignment == 1) {
24703
+ let att_autor = {};
24704
+ if (this.m_obj.creatore != null)
24705
+ if (this.m_obj.creatore != '')
24706
+ arrAutori.map((v) => {
24707
+ if (v.idp == this.m_obj.creatore) {
24708
+ att_autor.push(v);
24709
+ }
24710
+ });
24696
24711
  arrAutori = arrAutori.sort((n1, n2) => {
24697
24712
  if (n1.nc > n2.nc) {
24698
24713
  return 1;
@@ -24709,7 +24724,8 @@ class dati_aggiuntivi_v2 {
24709
24724
  lbl: o.description,
24710
24725
  commento_default: '',
24711
24726
  comm_notrequired: o.comments_opt,
24712
- utenti: arrAutori
24727
+ utenti: arrAutori,
24728
+ user_sel: o.pre_assegna_req == 0 ? [] : att_autor
24713
24729
  },
24714
24730
  });
24715
24731
  dialogRef.afterClosed().subscribe((result) => {