@fluxhub/fluxhub-lib 10.0.298 → 10.0.300

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.
@@ -5495,10 +5495,10 @@ class fh_win_uploads {
5495
5495
  }
5496
5496
  ngAfterViewInit() {
5497
5497
  setTimeout(() => {
5498
- if (this.App == "") {
5499
- this.App = this.app_s.getState().wkf_doc_info.uiid_app;
5500
- this.K = this.app_s.getState().wkf_doc_info.uiid_doc;
5501
- }
5498
+ // if (this.App == "") {
5499
+ // this.App = this.app_s.getState().wkf_doc_info.uiid_app;
5500
+ // this.K = this.app_s.getState().wkf_doc_info.uiid_doc;
5501
+ //}
5502
5502
  this.init(this.App, this.K);
5503
5503
  });
5504
5504
  }
@@ -7206,6 +7206,10 @@ class wkfapp {
7206
7206
  }
7207
7207
  }
7208
7208
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical = "") {
7209
+ if (to == null)
7210
+ return;
7211
+ if (to == '')
7212
+ return;
7209
7213
  let p = new QParam();
7210
7214
  p.sql = "send_wkf_mail";
7211
7215
  p.values = [
@@ -13566,6 +13570,10 @@ class win_commenti {
13566
13570
  }, (err) => { });
13567
13571
  }
13568
13572
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
13573
+ if (to == null)
13574
+ return;
13575
+ if (to == '')
13576
+ return;
13569
13577
  let p = new QParam();
13570
13578
  p.sql = "send_wkf_mail";
13571
13579
  p.values = [
@@ -14150,6 +14158,10 @@ class win_log {
14150
14158
  });
14151
14159
  }
14152
14160
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
14161
+ if (to == null)
14162
+ return;
14163
+ if (to == '')
14164
+ return;
14153
14165
  let p = new QParam();
14154
14166
  p.sql = "send_wkf_mail";
14155
14167
  p.values = [
@@ -16733,6 +16745,16 @@ class dati_aggiuntivi {
16733
16745
  this.goto_edit_doc();
16734
16746
  }
16735
16747
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "", b_exit = true) {
16748
+ if (to == null) {
16749
+ if (b_exit)
16750
+ this.goto_edit_doc(notif_av);
16751
+ return;
16752
+ }
16753
+ if (to == '') {
16754
+ if (b_exit)
16755
+ this.goto_edit_doc(notif_av);
16756
+ return;
16757
+ }
16736
16758
  let p = new QParam();
16737
16759
  p.sql = "send_wkf_mail";
16738
16760
  //non notifico l'autore della approvazione
@@ -16897,7 +16919,7 @@ class dati_aggiuntivi {
16897
16919
  console.log('open_upload ', sovra_path, admin_role);
16898
16920
  let dialogRef = this.m_dialog.open(fh_win_uploads, {
16899
16921
  disableClose: true,
16900
- width: "90%", data: { 'admin_role': admin_role }
16922
+ width: "90%", data: { admin_role: admin_role, App: this.id_applicativo, K: this.id_documento }
16901
16923
  });
16902
16924
  setTimeout(() => {
16903
16925
  dialogRef.componentInstance.sovrascrivi_path = sovra_path;
@@ -20022,6 +20044,10 @@ class win_insert_commento {
20022
20044
  }, (err) => { });
20023
20045
  }
20024
20046
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
20047
+ if (to == null)
20048
+ return;
20049
+ if (to == '')
20050
+ return;
20025
20051
  let p = new QParam();
20026
20052
  p.sql = "send_wkf_mail";
20027
20053
  p.values = [
@@ -20760,6 +20786,10 @@ class win_commenti_v2 {
20760
20786
  }, (err) => { });
20761
20787
  }
20762
20788
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
20789
+ if (to == null)
20790
+ return;
20791
+ if (to == '')
20792
+ return;
20763
20793
  let p = new QParam();
20764
20794
  p.sql = "send_wkf_mail";
20765
20795
  p.values = [
@@ -21267,6 +21297,10 @@ class win_insert_commento_v2 {
21267
21297
  }, (err) => { });
21268
21298
  }
21269
21299
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
21300
+ if (to == null)
21301
+ return;
21302
+ if (to == '')
21303
+ return;
21270
21304
  let p = new QParam();
21271
21305
  p.sql = "send_wkf_mail";
21272
21306
  p.values = [
@@ -21589,6 +21623,10 @@ class win_log_v2 {
21589
21623
  });
21590
21624
  }
21591
21625
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "") {
21626
+ if (to == null)
21627
+ return;
21628
+ if (to == '')
21629
+ return;
21592
21630
  let p = new QParam();
21593
21631
  p.sql = "send_wkf_mail";
21594
21632
  p.values = [
@@ -23258,6 +23296,16 @@ class dati_aggiuntivi_v2 {
23258
23296
  }
23259
23297
  }
23260
23298
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av = true, ical = "", b_exit = true) {
23299
+ if (to == null) {
23300
+ if (b_exit)
23301
+ this.goto_edit_doc(notif_av);
23302
+ return;
23303
+ }
23304
+ if (to == '') {
23305
+ if (b_exit)
23306
+ this.goto_edit_doc(notif_av);
23307
+ return;
23308
+ }
23261
23309
  let p = new QParam();
23262
23310
  p.sql = "send_wkf_mail";
23263
23311
  //non notifico l'autore della approvazione
@@ -23418,7 +23466,7 @@ class dati_aggiuntivi_v2 {
23418
23466
  console.log('open_upload ', sovra_path, admin_role);
23419
23467
  let dialogRef = this.m_dialog.open(win_uploads_v2, {
23420
23468
  disableClose: true,
23421
- width: "90%", data: { 'admin_role': admin_role }
23469
+ width: "90%", data: { admin_role: admin_role, App: this.id_applicativo, K: this.id_documento }
23422
23470
  });
23423
23471
  setTimeout(() => {
23424
23472
  dialogRef.componentInstance.sovrascrivi_path = sovra_path;
@@ -25208,6 +25256,10 @@ class wkfapp_v2 {
25208
25256
  }
25209
25257
  }
25210
25258
  sendEMail_ex(mit, to, ogg, descri, idapp, iddoc, link, cc, nota, ical = "") {
25259
+ if (to == null)
25260
+ return;
25261
+ if (to == '')
25262
+ return;
25211
25263
  let p = new QParam();
25212
25264
  p.sql = "send_wkf_mail";
25213
25265
  p.values = [