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_colonne();
|
||||||
bool crea_righe();
|
bool crea_righe();
|
||||||
void azzera_righe();
|
void azzera_righe();
|
||||||
void stampa_sezione(TString16 codsez, TString16 codsot);
|
void stampa_sezione(const TString16 codsez, const TString16 codsot);
|
||||||
void stampa_punto(TString16 punto);
|
void stampa_punto(const TString16 punto);
|
||||||
void stampa_tutto();
|
void stampa_tutto();
|
||||||
void crea_intestazione();
|
void crea_intestazione(const bool primedon = FALSE);
|
||||||
public:
|
public:
|
||||||
TRiepilogoGiornaliero() {}
|
TRiepilogoGiornaliero() {}
|
||||||
|
|
||||||
@ -193,7 +193,7 @@ bool TRiepilogoGiornaliero::menu(MENU_TAG m)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void TRiepilogoGiornaliero::crea_intestazione()
|
void TRiepilogoGiornaliero::crea_intestazione(const bool primedon)
|
||||||
{
|
{
|
||||||
TPrintrow row;
|
TPrintrow row;
|
||||||
TString256 sep;
|
TString256 sep;
|
||||||
@ -214,7 +214,14 @@ void TRiepilogoGiornaliero::crea_intestazione()
|
|||||||
row.put("Pag. @#", 70);
|
row.put("Pag. @#", 70);
|
||||||
printer().setheaderline(2, row);
|
printer().setheaderline(2, row);
|
||||||
row.reset();
|
row.reset();
|
||||||
|
if (primedon)
|
||||||
|
{
|
||||||
|
sep = "RIEPILOGO PRIME DONAZIONI ";
|
||||||
|
sep.center_just(80);
|
||||||
|
row.put(sep);
|
||||||
|
}
|
||||||
printer().setheaderline(3, row);
|
printer().setheaderline(3, row);
|
||||||
|
row.reset();
|
||||||
sep = "Data ";
|
sep = "Data ";
|
||||||
TTable tdn("TDN");
|
TTable tdn("TDN");
|
||||||
int pos = 27;
|
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;
|
TPrintrow row;
|
||||||
TString256 rigastampa;
|
TString256 rigastampa;
|
||||||
@ -347,7 +354,7 @@ void TRiepilogoGiornaliero::stampa_punto(TString16 punto)
|
|||||||
stampa_tutto();
|
stampa_tutto();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TRiepilogoGiornaliero::stampa_sezione(TString16 codsez, TString16 codsot)
|
void TRiepilogoGiornaliero::stampa_sezione(const TString16 codsez, const TString16 codsot)
|
||||||
{
|
{
|
||||||
TPrintrow row;
|
TPrintrow row;
|
||||||
TString256 rigastampa;
|
TString256 rigastampa;
|
||||||
@ -383,6 +390,7 @@ void TRiepilogoGiornaliero::stampa_sezione(TString16 codsez, TString16 codsot)
|
|||||||
|
|
||||||
void TRiepilogoGiornaliero::stampa_tutto()
|
void TRiepilogoGiornaliero::stampa_tutto()
|
||||||
{
|
{
|
||||||
|
crea_intestazione();
|
||||||
TPrintrow row;
|
TPrintrow row;
|
||||||
TString256 rigastampa;
|
TString256 rigastampa;
|
||||||
TRigaG rigatotali(NULLDATE);
|
TRigaG rigatotali(NULLDATE);
|
||||||
@ -441,6 +449,7 @@ void TRiepilogoGiornaliero::stampa_tutto()
|
|||||||
if (_primedon)
|
if (_primedon)
|
||||||
{
|
{
|
||||||
printer().formfeed();
|
printer().formfeed();
|
||||||
|
crea_intestazione(TRUE);
|
||||||
rigatotali.azzera_valori();
|
rigatotali.azzera_valori();
|
||||||
data = _dataini;
|
data = _dataini;
|
||||||
while (data<=_datafin)
|
while (data<=_datafin)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user