@fluxhub/fluxhub-lib 11.0.17 → 11.0.18

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.
@@ -24198,6 +24198,7 @@ class win_assegna_a {
24198
24198
  this.title = "";
24199
24199
  this.comm_notrequired = 0;
24200
24200
  this.prendi_in_carico = true;
24201
+ this.in_carico = true;
24201
24202
  this.all_users = [];
24202
24203
  if (data != null) {
24203
24204
  if (data.commento_default != null)
@@ -24208,6 +24209,8 @@ class win_assegna_a {
24208
24209
  this.title = data.title;
24209
24210
  if (data.lbl != null)
24210
24211
  this.lbl = data.lbl;
24212
+ if (data.in_carico != null)
24213
+ this.in_carico = data.in_carico;
24211
24214
  if (data.only_riassegna != null) {
24212
24215
  if (data.only_riassegna) {
24213
24216
  this.op = 'A';
@@ -24281,9 +24284,9 @@ win_assegna_a.decorators = [
24281
24284
  <div fxLayout="row" fxLayoutAlign="start center" fxFlexGap="5px" fxFlex="100" [hidden]="hide_row_cmd">
24282
24285
  <div style="width:100px;font-weight:bold">Operazione:*</div>
24283
24286
  <mat-radio-group [(ngModel)]="op">
24284
- <mat-radio-button value="L">LIBERA</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24287
+ <mat-radio-button [hidden]="!in_carico" value="L">LIBERA</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24285
24288
  <mat-radio-button value="A">RIASSEGNA A</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24286
- <mat-radio-button [hidden]="!prendi_in_carico" value="C">PRENDI IN CARICO</mat-radio-button>
24289
+ <mat-radio-button [hidden]="!prendi_in_carico || in_carico" value="C">PRENDI IN CARICO</mat-radio-button>
24287
24290
  </mat-radio-group>
24288
24291
  </div>
24289
24292
  <div style="width:100%;height:450px" [hidden]="op!='A'">
@@ -24995,7 +24998,7 @@ class dati_aggiuntivi_v2 {
24995
24998
  });
24996
24999
  }*/
24997
25000
  }
24998
- assegna_a() {
25001
+ assegna_a(in_carico) {
24999
25002
  let arx = this.m_obj.assegnati_paralleli.split(",");
25000
25003
  let arrAutori = [];
25001
25004
  for (let x = 0; x < arx.length; x++)
@@ -25024,7 +25027,7 @@ class dati_aggiuntivi_v2 {
25024
25027
  commento_default: "",
25025
25028
  comm_notrequired: "",
25026
25029
  utenti: arrAutori,
25027
- prendi_in_carico: this.m_obj.autori != this.app_s.user,
25030
+ prendi_in_carico: this.m_obj.autori != this.app_s.user, in_carico: in_carico
25028
25031
  },
25029
25032
  });
25030
25033
  dialogRef.afterClosed().subscribe((result) => {
@@ -26506,7 +26509,7 @@ class wkf_header_bar_v2 {
26506
26509
  prendi_in_carico() { this.button_clicked.emit('prendi_in_c'); if (this.dt_agg != null)
26507
26510
  this.dt_agg.prendi_in_carico(); }
26508
26511
  evt_assegna_a() { this.button_clicked.emit('assegna_a'); if (this.dt_agg != null)
26509
- this.dt_agg.assegna_a(); }
26512
+ this.dt_agg.assegna_a(this.dt_agg.in_carico); }
26510
26513
  respingi() { this.button_clicked.emit('respingi'); if (this.dt_agg != null)
26511
26514
  this.dt_agg.respingi(); }
26512
26515
  procedi() { this.button_clicked.emit('procedi'); if (this.dt_agg != null)