Corretto doppia stampa totale se si sblocca una sola sezione in sblocco

sospesi


git-svn-id: svn://10.65.10.50/trunk@6170 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
cris 1998-02-11 15:34:14 +00:00
parent f34b64b81f
commit eb8bca54f7

View File

@ -76,7 +76,10 @@ void TSbloccoSospesi::fine_stampa()
sep.fill('-'); sep.fill('-');
set_footer(2, (const char *) sep); set_footer(2, (const char *) sep);
if (_totale > 0) if (_totale > 0)
{
if (_totale != _contatore)
set_footer(3,"TOTALE SOGGETTI SBLOCCATI %d", _totale); set_footer(3,"TOTALE SOGGETTI SBLOCCATI %d", _totale);
}
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();