@fluxhub/fluxhub-lib 10.0.546 → 10.0.548

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.
@@ -16829,6 +16829,7 @@ class dati_aggiuntivi {
16829
16829
  this.b_respingi = false;
16830
16830
  this.limite_salto_after = -1;
16831
16831
  this.respingi_enabled = false;
16832
+ this.email_bloccate = false;
16832
16833
  this.appo_livs = null;
16833
16834
  this.oper = "";
16834
16835
  this.b_edit_before = false;
@@ -17759,6 +17760,11 @@ class dati_aggiuntivi {
17759
17760
  this.goto_edit_doc(notif_av);
17760
17761
  return;
17761
17762
  }
17763
+ if (this.email_bloccate) {
17764
+ if (b_exit)
17765
+ this.goto_edit_doc(notif_av);
17766
+ return;
17767
+ }
17762
17768
  let p = new QParam();
17763
17769
  p.sql = "send_wkf_mail";
17764
17770
  //non notifico l'autore della approvazione
@@ -23828,6 +23834,7 @@ class dati_aggiuntivi_v2 {
23828
23834
  this.transizione_info = {};
23829
23835
  this.respingi_enabled = false;
23830
23836
  this.ttw = 0;
23837
+ this.email_bloccate = false;
23831
23838
  this.oper = "";
23832
23839
  this.b_edit_before = false;
23833
23840
  this.all_c = 0;
@@ -24548,6 +24555,11 @@ class dati_aggiuntivi_v2 {
24548
24555
  this.goto_edit_doc(notif_av);
24549
24556
  return;
24550
24557
  }
24558
+ if (this.email_bloccate) {
24559
+ if (b_exit)
24560
+ this.goto_edit_doc(notif_av);
24561
+ return;
24562
+ }
24551
24563
  let p = new QParam();
24552
24564
  p.sql = "send_wkf_mail";
24553
24565
  //non notifico l'autore della approvazione
@@ -24736,6 +24748,7 @@ class dati_aggiuntivi_v2 {
24736
24748
  });
24737
24749
  }
24738
24750
  save_agg() {
24751
+ this.before_save();
24739
24752
  this.b_edit_before = this.b_edit && this.b_rip_pulsanti;
24740
24753
  this.edit_b(false);
24741
24754
  let arr = this.getfieldvalues();
@@ -24807,7 +24820,7 @@ class dati_aggiuntivi_v2 {
24807
24820
  ok_insert_aggiuntivi() {
24808
24821
  if (!this.btnprocedi) {
24809
24822
  this.alert("DOCUMENTO SALVATO", 0);
24810
- this.saved_event();
24823
+ this.after_save();
24811
24824
  this.edit_b(this.b_edit_before);
24812
24825
  if (!this.b_edit && !this.btnprocedi)
24813
24826
  this.m_router.navigate([
@@ -25358,7 +25371,8 @@ class dati_aggiuntivi_v2 {
25358
25371
  }
25359
25372
  }
25360
25373
  }
25361
- saved_event() { }
25374
+ after_save() { }
25375
+ before_save() { }
25362
25376
  edit_doc() {
25363
25377
  this.load_document();
25364
25378
  }