@fluxhub/fluxhub-lib 1.0.262 → 1.0.264

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.
@@ -10066,7 +10066,7 @@
10066
10066
  };
10067
10067
  win_assegna.decorators = [
10068
10068
  { type: i0.Component, args: [{
10069
- template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\">\n\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br *ngIf=\"!comm_notrequired\"><br *ngIf=\"!comm_notrequired\"><br *ngIf=\"!comm_notrequired\">\n <mat-form-field [hidden]=\"comm_notrequired\">\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;\n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
10069
+ template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n <div mat-dialog-content style=\"min-width:700px\">\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <div *ngIf=\"!comm_notrequired\">\n <br><br><br>\n <mat-form-field>\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;\n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
10070
10070
  }] }
10071
10071
  ];
10072
10072
  /** @nocollapse */
@@ -15449,14 +15449,6 @@
15449
15449
  if (arrAutori[i].idp != null && arrAutori[i].username == null)
15450
15450
  arrAutori[i].username = arrAutori[i].idp;
15451
15451
  }
15452
- dialogRef.componentInstance.commento_hidden = false;
15453
- dialogRef.componentInstance.comm_notrequired = false;
15454
- if (this.os_r.commenti_opzionali != null)
15455
- if (this.os_r.commenti_opzionali != 0) {
15456
- dialogRef.componentInstance.commento_hidden = true;
15457
- dialogRef.componentInstance.comm_notrequired = true;
15458
- }
15459
- console.log('dialogRef.componentInstance ', dialogRef.componentInstance);
15460
15452
  dialogRef.componentInstance.arrAutori = arrAutori;
15461
15453
  dialogRef.componentInstance.title = "Riassegnazione documento: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
15462
15454
  dialogRef.afterClosed().subscribe(( /**
@@ -16554,7 +16546,7 @@
16554
16546
  }
16555
16547
  else {
16556
16548
  this.app_s.getState().wkf_doc_info.title = 'Assegnazione';
16557
- if (this.clevel.commenti_opzionali == 1)
16549
+ if (this.nlevel.commenti_opzionali == 1)
16558
16550
  this.app_s.getState().wkf_doc_info.comm_notrequired = true;
16559
16551
  else
16560
16552
  this.app_s.getState().wkf_doc_info.comm_notrequired = false;
@@ -16575,6 +16567,11 @@
16575
16567
  var dialogRef = this.m_dialog.open(win_assegna, {
16576
16568
  disableClose: true
16577
16569
  });
16570
+ if (this.nlevel.commenti_opzionali == 1)
16571
+ dialogRef.componentInstance.comm_notrequired = true;
16572
+ else
16573
+ dialogRef.componentInstance.comm_notrequired = false;
16574
+ console.log('dialogRef.componentInstance.comm_notrequired ', dialogRef.componentInstance.comm_notrequired);
16578
16575
  dialogRef.afterClosed().subscribe(( /**
16579
16576
  * @param {?} result
16580
16577
  * @return {?}