From 1c0b82f5720c7734fbb279b638c4069220063fb0 Mon Sep 17 00:00:00 2001 From: cris Date: Tue, 31 Mar 1998 08:02:52 +0000 Subject: [PATCH] Patch level : Files correlati : Ricompilazione Demo : [ ] Commento : Stampa di controllo donazioni: aggiunto periodo di riferimento in footer stampa git-svn-id: svn://10.65.10.50/trunk@6465 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- at/at6300.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/at/at6300.cpp b/at/at6300.cpp index 0e1bed097..5efc60862 100755 --- a/at/at6300.cpp +++ b/at/at6300.cpp @@ -217,7 +217,14 @@ void TControlloDonazioni::footer_stampa() TString sep(80); sep.fill('-'); set_footer(1, (const char *) sep); - set_footer(2,"TOTALE DONAZIONI %d", _contatore); + if (_dataini == _datafin) + set_footer(2,"TOTALE DONAZIONI DEL %s %d", _dataini.string(), _contatore); + else + { + TString d1 = _dataini.string(); + TString d2 = _datafin.string(); + set_footer(2,"TOTALE DONAZIONI DAL %s AL %s %d", (const char*)d1, (const char*)d2, _contatore); + } if (_riepfinale) { TString16 valore;