Patch level : at
Files correlati : at7.exe Ricompilazione Demo : [ ] Commento : sistemato stampa tessere complessive (aggiorna solo se richiesto) git-svn-id: svn://10.65.10.50/trunk@11270 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6535e4db78
commit
1b4cfe220b
@ -247,9 +247,9 @@ bool TStampaTessere::preprocess_page(int file, int counter)
|
||||
_contatore++;
|
||||
_totfinestampa++;
|
||||
}
|
||||
const int totdon = sogg.get_int(SOG_TOTDON);
|
||||
if (_tipostampa == tessere)
|
||||
{
|
||||
const int totdon = sogg.get_int(SOG_TOTDON);
|
||||
const TDate dataultima = sogg.get(SOG_DATAULTDON);
|
||||
_riepilogodon = "";
|
||||
if (totdon != 0)
|
||||
@ -259,17 +259,14 @@ bool TStampaTessere::preprocess_page(int file, int counter)
|
||||
_riepilogodon << " n.";
|
||||
_riepilogodon << totdon;
|
||||
}
|
||||
if (_aggiorna)
|
||||
{
|
||||
sogg.put(SOG_T_STAMPATA,TRUE);
|
||||
TString16 catdon = sogg.get(SOG_CATDON);
|
||||
if ((totdon >= _numdon2) && (catdon == _catini2) && _sttess2)
|
||||
sogg.put(SOG_CATDON, _catfin2);
|
||||
sogg.rewrite();
|
||||
}
|
||||
}
|
||||
if (_aggiorna)
|
||||
{
|
||||
sogg.put(SOG_T_STAMPATA,TRUE);
|
||||
TString16 catdon = sogg.get(SOG_CATDON);
|
||||
if ((totdon >= _numdon2) && (catdon == _catini2) && _sttess2)
|
||||
sogg.put(SOG_CATDON, _catfin2);
|
||||
sogg.rewrite();
|
||||
TLocalisamfile atropera(LF_ATROPERA);
|
||||
atropera.zero();
|
||||
atropera.put(ROP_PROGOPE, _progope);
|
||||
|
Loading…
x
Reference in New Issue
Block a user