@fluxhub/fluxhub-lib 19.0.170 → 19.0.172

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.
@@ -28432,6 +28432,7 @@ class win_commenti_v2 {
28432
28432
  notifica_commenti_obbl = 0;
28433
28433
  not_comm = false;
28434
28434
  not_comm_disabled = false;
28435
+ nota_privata = false;
28435
28436
  commenti_list = [];
28436
28437
  nota = '';
28437
28438
  title = 'COMMENTI';
@@ -28605,14 +28606,15 @@ class win_commenti_v2 {
28605
28606
  ok_op(sdest = '') {
28606
28607
  if (this.b_ins) {
28607
28608
  let p = new QParam();
28608
- p.sql = 'INSERT_WKF_COMMENTO_M';
28609
- p.types = ['string', 'string', 'string', 'string', 'string'];
28609
+ p.sql = 'INSERT_WKF_COMMENTO_NOTA';
28610
+ p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
28610
28611
  p.values = [
28611
28612
  this.m_appService.getState().wkf_doc_info.uiid_app,
28612
28613
  this.m_appService.getState().wkf_doc_info.uiid_doc,
28613
28614
  this.nota,
28614
28615
  this.m_appService.getState().wkf_doc_info.curr_user,
28615
28616
  sdest,
28617
+ this.nota_privata ? 'N' : 'C',
28616
28618
  ];
28617
28619
  let ok_op = false;
28618
28620
  this._dataService.doQuery(p).subscribe((data) => {
@@ -28753,6 +28755,9 @@ class win_commenti_v2 {
28753
28755
  "
28754
28756
  >{{ 'Notifica Interessati' | translate }}
28755
28757
  </mat-checkbox>
28758
+ <mat-checkbox [(ngModel)]="nota_privata">
28759
+ {{ 'Nota privata' | translate }}
28760
+ </mat-checkbox>
28756
28761
  </div>
28757
28762
  </div>
28758
28763
 
@@ -28795,9 +28800,9 @@ class win_commenti_v2 {
28795
28800
  <td style="text-align:center">
28796
28801
  <mat-icon
28797
28802
  *ngIf="
28798
- i == 0 &&
28799
28803
  app.creatore ==
28800
- m_appService.getState().wkf_doc_info.curr_user
28804
+ m_appService.getState().wkf_doc_info.curr_user &&
28805
+ (app.tipo === 'N' || i == 0)
28801
28806
  "
28802
28807
  (click)="edit_comm(app)"
28803
28808
  >edit
@@ -28867,6 +28872,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
28867
28872
  "
28868
28873
  >{{ 'Notifica Interessati' | translate }}
28869
28874
  </mat-checkbox>
28875
+ <mat-checkbox [(ngModel)]="nota_privata">
28876
+ {{ 'Nota privata' | translate }}
28877
+ </mat-checkbox>
28870
28878
  </div>
28871
28879
  </div>
28872
28880
 
@@ -28909,9 +28917,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
28909
28917
  <td style="text-align:center">
28910
28918
  <mat-icon
28911
28919
  *ngIf="
28912
- i == 0 &&
28913
28920
  app.creatore ==
28914
- m_appService.getState().wkf_doc_info.curr_user
28921
+ m_appService.getState().wkf_doc_info.curr_user &&
28922
+ (app.tipo === 'N' || i == 0)
28915
28923
  "
28916
28924
  (click)="edit_comm(app)"
28917
28925
  >edit