From fc2de58aeb9543b2f0f596f7a961e46c3d43e720 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 10 Jul 2015 14:58:12 +0000 Subject: [PATCH] Ritocchi 12.0 git-svn-id: svn://10.65.10.50/branches/R_10_00@23128 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- sc/sc2200.cpp | 12 ++++++------ sc/sc2201.cpp | 11 +++-------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/sc/sc2200.cpp b/sc/sc2200.cpp index 47916f9d7..1ef0d4ca4 100755 --- a/sc/sc2200.cpp +++ b/sc/sc2200.cpp @@ -620,7 +620,7 @@ bool TStampaScadenzario::preprocess_page(int file, int counter) _protiva.format("%5ld",row.get_long(PART_PROTIVA)); *_descrizione = row.get(PART_DESCR); _codval = row.get(PART_CODVAL); - //Per indicare che non e' indicata la valuta o e' LIRA (se la stampa in valuta is disabled) + //Per indicare che non e' indicata la valuta o e' Euro (se la stampa in valuta is disabled) if (_codval.empty() || !_stvaluta) _codval = " "; if (_descrizione->items() == 0) // Se sulla partita non c'e' descrizione allora va leggerla sulla causale. *_descrizione = cache().get(LF_CAUSALI, row.get(PART_CODCAUS), CAU_DESCR); @@ -1232,7 +1232,7 @@ void TStampaScadenzario::print_header() set_header(soh++,FR("@28gRif.@38gData@47gData@56gDescrizione@77gCod.@91g%s"),(const char*)s1); set_header(soh++,FR("Codice@7gRagione sociale@28gpartita@38gscad.@47gRegistr." "@56gDocumento@77gPag.@86gRata@91g%s@96gVal." - "@103gImp. in sca.@119gImp. pagati@135gRimesse dir.@151gRi.ba./Tratte@171gBonifici@190gAltri@197gBlc"), (const char*)s2); + "@103gImp. rata@119gImp. pagati@135gRimesse dir.@151gRi.ba./Tratte@171gBonifici@190gAltri@197gBlc"), (const char*)s2); set_header(soh++,FR("@28gData@38gN. doc.@47gProt.IVA")); set_header(soh++,(const char *)rw); break; @@ -1249,17 +1249,17 @@ void TStampaScadenzario::print_header() set_header (soh++,FR("@bAgente: %s %s@r"),(const char*)_codag,(const char*)_m->get(F_CODAG_D)); if (_tipopag != 0) { - TList_field& fld_tipopag = (TList_field&) _m->field(F_TIPOPAG); + TList_field& fld_tipopag = _m->lfield(F_TIPOPAG); TToken_string pagam(fld_tipopag.get_values()); set_header (soh++,FR("@bTipo pagamento: %d %s@r"),_tipopag, (const char*)pagam.get(_tipopag)); } rw.fill('_'); set_header(soh++, (const char *) rw); - set_header(soh++,FR("@33gRif.@43gData@53gData@82gCd/Tp")); - set_header(soh++,FR("Gr. Co. So.@16gDescrizione@33gpartita@43gscadenza@53gRegistr." + set_header(soh++,HR("@33gRif.@43gData@53gData@82gCd/Tp")); + set_header(soh++,HR("Gr. Co. So.@16gDescrizione@33gpartita@43gscadenza@53gRegistr." "@61gDescrizione@82gPag.@89gRata@96gVal." - "@103gImp. in sca.@119gImp. pagati@135gRimesse dir.@151gRi.ba./Tratte@171gBonifici@190gAltri@197gBlc")); + "@103gImp. rata@119gImp. pagati@135gRimesse dir.@151gRi.ba./Tratte@171gBonifici@190gAltri@197gBlc")); set_header(soh++,FR("@36gData e Nr doc. @54gProt. IVA")); set_header(soh++,(const char *)rw); diff --git a/sc/sc2201.cpp b/sc/sc2201.cpp index 2b05e4dac..4f6ea42dd 100755 --- a/sc/sc2201.cpp +++ b/sc/sc2201.cpp @@ -1,15 +1,10 @@ -#ifndef __UTILITY_H +#include "sc2201.h" + #include -#endif - -#ifndef __PCONTI_H -#include -#endif - #include #include -#include "sc2201.h" +#include /////////////////////////////////////////////////////////////////////////////// // TSelection_ext_mask //