Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            : Sblocco sospesi: stampa totale generale solo se diverso dal totale parziale


git-svn-id: svn://10.65.10.50/trunk@6689 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
cris 1998-05-25 13:19:32 +00:00
parent 79e63f68be
commit b1833f5883

View File

@ -80,23 +80,31 @@ void TSbloccoSospesi::fine_stampa()
if (_totale > 0) if (_totale > 0)
{ {
if (_totale != _contatore) if (_totale != _contatore)
{
set_footer(3,"TOTALE SOGGETTI SBLOCCATI %d", _totale); set_footer(3,"TOTALE SOGGETTI SBLOCCATI %d", _totale);
printer().formfeed();
}
} }
else else
{
set_footer(3,"NON CI SONO SOGGETTI SOSPESI DA SBLOCCARE"); set_footer(3,"NON CI SONO SOGGETTI SOSPESI DA SBLOCCARE");
printer().formfeed(); printer().formfeed();
}
reset_footer(); reset_footer();
} }
void TSbloccoSospesi::footer_sezione() void TSbloccoSospesi::footer_sezione()
{ {
reset_footer(); if (_contatore > 0)
TString sep(80); {
sep.fill('-'); reset_footer();
set_footer(2, (const char *) sep); TString sep(80);
set_footer(3,"TOTALE SOGGETTI STAMPATI %d", _contatore); sep.fill('-');
printer().formfeed(); set_footer(2, (const char *) sep);
reset_footer(); set_footer(3,"TOTALE SOGGETTI STAMPATI %d", _contatore);
printer().formfeed();
reset_footer();
}
} }
void TSbloccoSospesi::filtra_sezioni() void TSbloccoSospesi::filtra_sezioni()