From 870c3b85d11913380261da02ab99b75ba12064ec Mon Sep 17 00:00:00 2001 From: Alessandro Bonazzi Date: Sun, 17 Oct 2021 10:08:10 +0200 Subject: [PATCH] Patch level : 12.0 1086 Files correlati : ci1300ab.rep ci1300bb.rep ci1300a.rep ci1300a.msk ci1300b.rep ci1.exe Commento : Aggiunti report per beneficiario alla stampa ore per risorsa/attrezzatura aggiunto logo del beneficiario sintassi da mettere nel prescript del campo immagine : LOGO_BENEF #THIS ! L'Id dell'immagine deve essere LOGO+ --- src/ci/ci1300.cpp | 18 ++++++- src/ci/ci1300ab.rep | 127 ++++++++++++++++++++++++++++++-------------- src/ci/ci1300bb.rep | 10 ++-- 3 files changed, 109 insertions(+), 46 deletions(-) diff --git a/src/ci/ci1300.cpp b/src/ci/ci1300.cpp index 6330dc452..630853f6a 100755 --- a/src/ci/ci1300.cpp +++ b/src/ci/ci1300.cpp @@ -44,7 +44,7 @@ size_t TRil_ore_ris_report::get_usr_words(TString_array& words) const const char* const name[] = { - "LOGO_BENEF", NULL + "LOGO_LAVORO", "LOGO_BENEF", NULL }; ((TRil_ore_ris_report*)this)->_first_msg = words.items(); // Calcola il primo numero disponibile @@ -68,7 +68,7 @@ bool TRil_ore_ris_report::execute_usr_word(unsigned int opcode, TVariant_stack& case 0: { TToken_string key("C"); - TString id("LOGO"); + TString id("LOGO_LAV"); id << _codtpl; stack.push(id); @@ -79,6 +79,20 @@ bool TRil_ore_ris_report::execute_usr_word(unsigned int opcode, TVariant_stack& execute_usr_word(21, stack); } break; + case 1: + { + TToken_string key("C"); + TString id("LOGO_BENEF"); + + id << _codtpl; + stack.push(id); + key.add(_codcf); + stack.push(CLI_OGGETTI); + stack.push(key); + stack.push(LF_CLIFO); + execute_usr_word(21, stack); + } + break; default: ok = false; break; } diff --git a/src/ci/ci1300ab.rep b/src/ci/ci1300ab.rep index 42abba825..784cc4e04 100644 --- a/src/ci/ci1300ab.rep +++ b/src/ci/ci1300ab.rep @@ -52,6 +52,9 @@
  • +