@fluxhub/fluxhub-lib 10.0.502 → 10.0.504

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.
@@ -13176,16 +13176,14 @@ class FHNumericFieldComponent {
13176
13176
  }
13177
13177
  }
13178
13178
  click_select_allf(element) {
13179
- setTimeout(() => {
13180
- if (!this.b_already_f)
13181
- this.el.nativeElement.select();
13182
- this.b_already_f = true;
13183
- setTimeout(() => { this.b_already_f = false; }, 1000);
13184
- }, 200);
13179
+ this.select_allf(element);
13185
13180
  }
13186
13181
  select_allf(element) {
13182
+ console.log('this.b_already_f ', this.b_already_f);
13187
13183
  if (!this.b_already_f)
13188
13184
  this.el.nativeElement.select();
13185
+ else
13186
+ console.log('SALTO FOCUS ALL');
13189
13187
  this.b_already_f = true;
13190
13188
  setTimeout(() => { this.b_already_f = false; }, 1000);
13191
13189
  }
@@ -17155,26 +17153,6 @@ class dati_aggiuntivi {
17155
17153
  this.m_lettori = this.m_lettori + this.livs[i].idp;
17156
17154
  }
17157
17155
  }
17158
- if (this.nlevel.livello >= 900) {
17159
- let ltn = this.getLvlInfo(this.nlevel.livello);
17160
- /*
17161
- if(ltn!=null){
17162
-
17163
- if(ltn.crea_revisione==1)
17164
- myRPC.archivia_revisioni(id_applicativo, id_documento,user.IDP.toUpperCase(), m_obj.codice);
17165
- }
17166
- */
17167
- this.doEnd(this.nlevel.livello);
17168
- let p = new QParam();
17169
- p.sql = "UPDATE_DATA_CHIUSURA";
17170
- p.values = [this.id_applicativo, this.id_documento];
17171
- p.types = ["string", "string"];
17172
- this.m_dataService.doQuery(p).subscribe((data) => {
17173
- if (data != null)
17174
- if (data.result_msg == "OK") {
17175
- }
17176
- });
17177
- }
17178
17156
  let ccan = "$$";
17179
17157
  for (let i = 0; i < this.livs.length; i++) {
17180
17158
  if (this.livs[i].livello == this.clevel.livello &&
@@ -17264,22 +17242,42 @@ class dati_aggiuntivi {
17264
17242
  let ok_op = false;
17265
17243
  if (data != null)
17266
17244
  if (data.result_msg == "OK") {
17245
+ if (this.nlevel.livello >= 900) {
17246
+ // let ltn: any = this.getLvlInfo(this.nlevel.livello);
17247
+ /*
17248
+ if(ltn!=null){
17249
+
17250
+ if(ltn.crea_revisione==1)
17251
+ myRPC.archivia_revisioni(id_applicativo, id_documento,user.IDP.toUpperCase(), m_obj.codice);
17252
+ }
17253
+ */
17254
+ this.doEnd(this.nlevel.livello);
17255
+ let p = new QParam();
17256
+ p.sql = "UPDATE_DATA_CHIUSURA";
17257
+ p.values = [this.id_applicativo, this.id_documento];
17258
+ p.types = ["string", "string"];
17259
+ this.m_dataService.doQuery(p).subscribe((data) => {
17260
+ if (data != null)
17261
+ if (data.result_msg == "OK") {
17262
+ }
17263
+ });
17264
+ }
17265
+ p = new QParam();
17266
+ p.sql = "exec_app_workflow";
17267
+ p.values = [
17268
+ this.app_info.codice_documento,
17269
+ this.id_documento,
17270
+ "" + this.clevel.livello,
17271
+ "" + this.nlevel.livello,
17272
+ this.user_idp,
17273
+ ];
17274
+ let ok_op = false;
17275
+ this.m_wkf.doQuery(p).subscribe((data) => { });
17267
17276
  }
17268
17277
  });
17269
- p = new QParam();
17270
- p.sql = "exec_app_workflow";
17271
- p.values = [
17272
- this.app_info.codice_documento,
17273
- this.id_documento,
17274
- "" + this.clevel.livello,
17275
- "" + this.nlevel.livello,
17276
- this.user_idp,
17277
- ];
17278
- let ok_op = false;
17279
- this.m_wkf.doQuery(p).subscribe((data) => { });
17280
17278
  let ical = null;
17281
17279
  let comm = "";
17282
- console.log('QUI COMMMM');
17280
+ // console.log('QUI COMMMM');
17283
17281
  if (this.nota != "")
17284
17282
  comm = "<br>Commento: <br>" + this.nota;
17285
17283
  if (this.nlevel.ical == 1) {
@@ -17375,7 +17373,6 @@ class dati_aggiuntivi {
17375
17373
  this.m_statox +
17376
17374
  "<br>" +
17377
17375
  this.getDescri() +
17378
- "<br>Commenti:" +
17379
17376
  comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17380
17377
  "#/" +
17381
17378
  this.app_info.modulo_swf +
@@ -17408,7 +17405,8 @@ class dati_aggiuntivi {
17408
17405
  else
17409
17406
  obj_mail_body = this.getDescri().split('NOSTD|').join('');
17410
17407
  if (this.nlevel.oggetto_email == null)
17411
- this.sendEMail_ex(this.user_idp, this.m_danotificare, obj_mail, obj_mail_body, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17408
+ this.sendEMail_ex(this.user_idp, this.m_danotificare, obj_mail, obj_mail_body +
17409
+ comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17412
17410
  "#/" +
17413
17411
  this.app_info.modulo_swf +
17414
17412
  "/" +
@@ -17417,7 +17415,8 @@ class dati_aggiuntivi {
17417
17415
  this.id_documento +
17418
17416
  "/edit", this.m_obj.codice, this.nota, true, ical);
17419
17417
  else if (this.nlevel.oggetto_email == "")
17420
- this.sendEMail_ex(this.user_idp, this.m_danotificare, obj_mail, obj_mail_body, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17418
+ this.sendEMail_ex(this.user_idp, this.m_danotificare, obj_mail, obj_mail_body +
17419
+ comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17421
17420
  "#/" +
17422
17421
  this.app_info.modulo_swf +
17423
17422
  "/" +