Ritocchi 12.0

git-svn-id: svn://10.65.10.50/branches/R_10_00@23128 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2015-07-10 14:58:12 +00:00
parent 013ae1d657
commit fc2de58aeb
2 changed files with 9 additions and 14 deletions

View File

@ -620,7 +620,7 @@ bool TStampaScadenzario::preprocess_page(int file, int counter)
_protiva.format("%5ld",row.get_long(PART_PROTIVA)); _protiva.format("%5ld",row.get_long(PART_PROTIVA));
*_descrizione = row.get(PART_DESCR); *_descrizione = row.get(PART_DESCR);
_codval = row.get(PART_CODVAL); _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 (_codval.empty() || !_stvaluta) _codval = " ";
if (_descrizione->items() == 0) // Se sulla partita non c'e' descrizione allora va leggerla sulla causale. 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); *_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("@28gRif.@38gData@47gData@56gDescrizione@77gCod.@91g%s"),(const char*)s1);
set_header(soh++,FR("Codice@7gRagione sociale@28gpartita@38gscad.@47gRegistr." set_header(soh++,FR("Codice@7gRagione sociale@28gpartita@38gscad.@47gRegistr."
"@56gDocumento@77gPag.@86gRata@91g%s@96gVal." "@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++,FR("@28gData@38gN. doc.@47gProt.IVA"));
set_header(soh++,(const char *)rw); set_header(soh++,(const char *)rw);
break; 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)); set_header (soh++,FR("@bAgente: %s %s@r"),(const char*)_codag,(const char*)_m->get(F_CODAG_D));
if (_tipopag != 0) 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()); TToken_string pagam(fld_tipopag.get_values());
set_header (soh++,FR("@bTipo pagamento: %d %s@r"),_tipopag, (const char*)pagam.get(_tipopag)); set_header (soh++,FR("@bTipo pagamento: %d %s@r"),_tipopag, (const char*)pagam.get(_tipopag));
} }
rw.fill('_'); rw.fill('_');
set_header(soh++, (const char *) rw); set_header(soh++, (const char *) rw);
set_header(soh++,FR("@33gRif.@43gData@53gData@82gCd/Tp")); set_header(soh++,HR("@33gRif.@43gData@53gData@82gCd/Tp"));
set_header(soh++,FR("Gr. Co. So.@16gDescrizione@33gpartita@43gscadenza@53gRegistr." set_header(soh++,HR("Gr. Co. So.@16gDescrizione@33gpartita@43gscadenza@53gRegistr."
"@61gDescrizione@82gPag.@89gRata@96gVal." "@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++,FR("@36gData e Nr doc. @54gProt. IVA"));
set_header(soh++,(const char *)rw); set_header(soh++,(const char *)rw);

View File

@ -1,15 +1,10 @@
#ifndef __UTILITY_H #include "sc2201.h"
#include <utility.h> #include <utility.h>
#endif
#ifndef __PCONTI_H
#include <pconti.h>
#endif
#include <defmask.h> #include <defmask.h>
#include <diction.h> #include <diction.h>
#include "sc2201.h" #include <pconti.h>
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// TSelection_ext_mask // // TSelection_ext_mask //