@fluxhub/fluxhub-lib 10.0.503 → 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.
@@ -17153,26 +17153,6 @@ class dati_aggiuntivi {
17153
17153
  this.m_lettori = this.m_lettori + this.livs[i].idp;
17154
17154
  }
17155
17155
  }
17156
- if (this.nlevel.livello >= 900) {
17157
- let ltn = this.getLvlInfo(this.nlevel.livello);
17158
- /*
17159
- if(ltn!=null){
17160
-
17161
- if(ltn.crea_revisione==1)
17162
- myRPC.archivia_revisioni(id_applicativo, id_documento,user.IDP.toUpperCase(), m_obj.codice);
17163
- }
17164
- */
17165
- this.doEnd(this.nlevel.livello);
17166
- let p = new QParam();
17167
- p.sql = "UPDATE_DATA_CHIUSURA";
17168
- p.values = [this.id_applicativo, this.id_documento];
17169
- p.types = ["string", "string"];
17170
- this.m_dataService.doQuery(p).subscribe((data) => {
17171
- if (data != null)
17172
- if (data.result_msg == "OK") {
17173
- }
17174
- });
17175
- }
17176
17156
  let ccan = "$$";
17177
17157
  for (let i = 0; i < this.livs.length; i++) {
17178
17158
  if (this.livs[i].livello == this.clevel.livello &&
@@ -17262,22 +17242,42 @@ class dati_aggiuntivi {
17262
17242
  let ok_op = false;
17263
17243
  if (data != null)
17264
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) => { });
17265
17276
  }
17266
17277
  });
17267
- p = new QParam();
17268
- p.sql = "exec_app_workflow";
17269
- p.values = [
17270
- this.app_info.codice_documento,
17271
- this.id_documento,
17272
- "" + this.clevel.livello,
17273
- "" + this.nlevel.livello,
17274
- this.user_idp,
17275
- ];
17276
- let ok_op = false;
17277
- this.m_wkf.doQuery(p).subscribe((data) => { });
17278
17278
  let ical = null;
17279
17279
  let comm = "";
17280
- console.log('QUI COMMMM');
17280
+ // console.log('QUI COMMMM');
17281
17281
  if (this.nota != "")
17282
17282
  comm = "<br>Commento: <br>" + this.nota;
17283
17283
  if (this.nlevel.ical == 1) {