@fluxhub/fluxhub-lib 1.0.315 → 1.0.316

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.
@@ -15793,7 +15793,6 @@ var dati_aggiuntivi = /** @class */ (function () {
15793
15793
  if (this.nlevel != null)
15794
15794
  if (this.nlevel.descri_livello != null)
15795
15795
  this.m_oper = this.m_oper + " -> " + this.nlevel.descri_livello;
15796
- console.log('ccan ', ccan);
15797
15796
  /** @type {?} */
15798
15797
  var p = new QParam();
15799
15798
  p.sql = "doWKF";
@@ -16658,16 +16657,19 @@ var dati_aggiuntivi = /** @class */ (function () {
16658
16657
  /**
16659
16658
  * @param {?} lvlb
16660
16659
  * @param {?=} can
16660
+ * @param {?=} b_send_email
16661
16661
  * @return {?}
16662
16662
  */
16663
16663
  dati_aggiuntivi.prototype.setForceJump = /**
16664
16664
  * @param {?} lvlb
16665
16665
  * @param {?=} can
16666
+ * @param {?=} b_send_email
16666
16667
  * @return {?}
16667
16668
  */
16668
- function (lvlb, can) {
16669
+ function (lvlb, can, b_send_email) {
16669
16670
  var _this = this;
16670
16671
  if (can === void 0) { can = ""; }
16672
+ if (b_send_email === void 0) { b_send_email = true; }
16671
16673
  /** @type {?} */
16672
16674
  var s = "";
16673
16675
  /** @type {?} */
@@ -16757,7 +16759,11 @@ var dati_aggiuntivi = /** @class */ (function () {
16757
16759
  function (err) {
16758
16760
  _this.alert("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI", 1);
16759
16761
  }));
16760
- this.goto_edit_doc();
16762
+ if (b_send_email) {
16763
+ 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, "");
16764
+ }
16765
+ else
16766
+ this.goto_edit_doc();
16761
16767
  return "OK";
16762
16768
  };
16763
16769
  /**