Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : Giornaliero don. per tipo: corretto intestazione nel caso di riepilogo per prime donazioni git-svn-id: svn://10.65.10.50/trunk@8025 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
20057b7dd2
commit
bbd6d670d3
@ -106,10 +106,10 @@ protected:
|
||||
bool crea_colonne();
|
||||
bool crea_righe();
|
||||
void azzera_righe();
|
||||
void stampa_sezione(TString16 codsez, TString16 codsot);
|
||||
void stampa_punto(TString16 punto);
|
||||
void stampa_sezione(const TString16 codsez, const TString16 codsot);
|
||||
void stampa_punto(const TString16 punto);
|
||||
void stampa_tutto();
|
||||
void crea_intestazione();
|
||||
void crea_intestazione(const bool primedon = FALSE);
|
||||
public:
|
||||
TRiepilogoGiornaliero() {}
|
||||
|
||||
@ -193,7 +193,7 @@ bool TRiepilogoGiornaliero::menu(MENU_TAG m)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void TRiepilogoGiornaliero::crea_intestazione()
|
||||
void TRiepilogoGiornaliero::crea_intestazione(const bool primedon)
|
||||
{
|
||||
TPrintrow row;
|
||||
TString256 sep;
|
||||
@ -214,7 +214,14 @@ void TRiepilogoGiornaliero::crea_intestazione()
|
||||
row.put("Pag. @#", 70);
|
||||
printer().setheaderline(2, row);
|
||||
row.reset();
|
||||
printer().setheaderline(3, row);
|
||||
if (primedon)
|
||||
{
|
||||
sep = "RIEPILOGO PRIME DONAZIONI ";
|
||||
sep.center_just(80);
|
||||
row.put(sep);
|
||||
}
|
||||
printer().setheaderline(3, row);
|
||||
row.reset();
|
||||
sep = "Data ";
|
||||
TTable tdn("TDN");
|
||||
int pos = 27;
|
||||
@ -330,7 +337,7 @@ void TRiepilogoGiornaliero::azzera_righe()
|
||||
}
|
||||
}
|
||||
|
||||
void TRiepilogoGiornaliero::stampa_punto(TString16 punto)
|
||||
void TRiepilogoGiornaliero::stampa_punto(const TString16 punto)
|
||||
{
|
||||
TPrintrow row;
|
||||
TString256 rigastampa;
|
||||
@ -347,7 +354,7 @@ void TRiepilogoGiornaliero::stampa_punto(TString16 punto)
|
||||
stampa_tutto();
|
||||
}
|
||||
|
||||
void TRiepilogoGiornaliero::stampa_sezione(TString16 codsez, TString16 codsot)
|
||||
void TRiepilogoGiornaliero::stampa_sezione(const TString16 codsez, const TString16 codsot)
|
||||
{
|
||||
TPrintrow row;
|
||||
TString256 rigastampa;
|
||||
@ -383,6 +390,7 @@ void TRiepilogoGiornaliero::stampa_sezione(TString16 codsez, TString16 codsot)
|
||||
|
||||
void TRiepilogoGiornaliero::stampa_tutto()
|
||||
{
|
||||
crea_intestazione();
|
||||
TPrintrow row;
|
||||
TString256 rigastampa;
|
||||
TRigaG rigatotali(NULLDATE);
|
||||
@ -439,8 +447,9 @@ void TRiepilogoGiornaliero::stampa_tutto()
|
||||
printer().print(row);
|
||||
|
||||
if (_primedon)
|
||||
{
|
||||
{
|
||||
printer().formfeed();
|
||||
crea_intestazione(TRUE);
|
||||
rigatotali.azzera_valori();
|
||||
data = _dataini;
|
||||
while (data<=_datafin)
|
||||
|
Loading…
x
Reference in New Issue
Block a user