@fluxhub/fluxhub-lib 1.0.315 → 1.0.317

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.
@@ -15094,7 +15094,6 @@ class dati_aggiuntivi {
15094
15094
  if (this.nlevel != null)
15095
15095
  if (this.nlevel.descri_livello != null)
15096
15096
  this.m_oper = this.m_oper + " -> " + this.nlevel.descri_livello;
15097
- console.log('ccan ', ccan);
15098
15097
  /** @type {?} */
15099
15098
  let p = new QParam();
15100
15099
  p.sql = "doWKF";
@@ -15848,9 +15847,10 @@ class dati_aggiuntivi {
15848
15847
  /**
15849
15848
  * @param {?} lvlb
15850
15849
  * @param {?=} can
15850
+ * @param {?=} b_send_email
15851
15851
  * @return {?}
15852
15852
  */
15853
- setForceJump(lvlb, can = "") {
15853
+ setForceJump(lvlb, can = "", b_send_email = true) {
15854
15854
  /** @type {?} */
15855
15855
  let s = "";
15856
15856
  /** @type {?} */
@@ -15914,6 +15914,15 @@ class dati_aggiuntivi {
15914
15914
  err => {
15915
15915
  this.alert("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI", 1);
15916
15916
  }));
15917
+ p = new QParam();
15918
+ p.sql = "exec_app_workflow";
15919
+ p.values = [this.app_info.codice_documento, this.id_documento, '' + this.m_obj.stato, '' + lvlb, this.user_idp];
15920
+ this.m_wkf.doQuery(p).subscribe((/**
15921
+ * @param {?} data
15922
+ * @return {?}
15923
+ */
15924
+ data => {
15925
+ }));
15917
15926
  /** @type {?} */
15918
15927
  var p = new QParam();
15919
15928
  p.sql = "UPDATE_WKF_DOCUMENTOV3_NS";
@@ -15940,7 +15949,11 @@ class dati_aggiuntivi {
15940
15949
  err => {
15941
15950
  this.alert("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI", 1);
15942
15951
  }));
15943
- this.goto_edit_doc();
15952
+ if (b_send_email) {
15953
+ this.sendEMail_ex(this.user_idp, s, this.app_info.descrizione_breve + ", Ti è stato assegnato il documento numero: " + this.m_obj.codice + " " + this.getTitle(), "<br>Attività:" + this.getLvlDescri(String(this.m_liv), this.m_statox) + "<br>" + this.m_statox + "<br>" + this.getDescri(), this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, "");
15954
+ }
15955
+ else
15956
+ this.goto_edit_doc();
15944
15957
  return "OK";
15945
15958
  }
15946
15959
  /**