From bbf74531158f7ef3fcbe6592890cf76403398c1d Mon Sep 17 00:00:00 2001 From: Alessandro Bonazzi Date: Thu, 14 Oct 2021 13:26:21 +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/include/report.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/include/report.cpp b/src/include/report.cpp index af78a4871..040775329 100755 --- a/src/include/report.cpp +++ b/src/include/report.cpp @@ -3217,6 +3217,16 @@ void TReport::msg_firm(TVariant_stack& stack) cf.set(valore); return; } + if (in == "INTEST") + { + TString intest(ditta.get(NDT_RAGSOC)); + + intest << " Partita IVA " << anag.get("PAIV") << "\n" + << anag.get(is_fisc ? ANA_INDRF : ANA_INDRES) << " " + << anag.get(is_fisc ? ANA_CIVRF : ANA_CIVRES) << " " + << comune.get(COM_DENCOM) << " (" << comune.get(COM_PROVCOM) << ")"; + cf.set(intest); + } } // Scrive in var il codice del campo, con o senza sezione nel prefisso