Eliminati commenti

git-svn-id: svn://10.65.10.50/trunk@779 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
nik 1994-12-20 13:25:15 +00:00
parent 82a019707e
commit b59e29d6d1

@ -1626,18 +1626,18 @@ bool CG4400_application::preprocess_page(int file, int counter)
for (int m = _stampa_mese; m > 0 && m < _datareg.month(); m++)
{
if (!_st_liq[m])
//if (stampo_liquidazione(m))
{
_datareg = format("01/%02d/%4d", m, _annoes); //serve per la preprocess_header
_intesta_liq = TRUE;
TFilename t;
t.temp();
send_message('L',t, m);
if (m > 1) printer().formfeed();
merge_export_file(t,FALSE,TRUE);
_intesta_liq = FALSE;
_st_liq[m] = TRUE;
}
if (stampo_liquidazione(m))
{
_datareg = format("01/%02d/%4d", m, _annoes); //serve per la preprocess_header
_intesta_liq = TRUE;
TFilename t;
t.temp();
send_message('L',t, m);
if (m > 1) printer().formfeed();
merge_export_file(t,FALSE,TRUE);
_intesta_liq = FALSE;
_st_liq[m] = TRUE;
}
}
_datareg = mov.get_date(MOV_DATAREG);
@ -2053,18 +2053,18 @@ print_action CG4400_application::postprocess_page (int file, int counter)
reset_print();
if (_tipo_stampa != 1)
//if (stampo_liquidazione(_datareg.month()))
{
_st_liq[_datareg.month()] = TRUE;
_intesta_liq = TRUE;
printer().formfeed();
TFilename t;
t.temp();
send_message('L',t, _datareg.month()); //stampa liquidazione
merge_export_file(t,FALSE,TRUE);
_intesta_liq = FALSE;
//if (_tipo_stampa != 1) aggiorna_reg();
}
if (stampo_liquidazione(_datareg.month()))
{
_st_liq[_datareg.month()] = TRUE;
_intesta_liq = TRUE;
printer().formfeed();
TFilename t;
t.temp();
send_message('L',t, _datareg.month()); //stampa liquidazione
merge_export_file(t,FALSE,TRUE);
_intesta_liq = FALSE;
//if (_tipo_stampa != 1) aggiorna_reg();
}
}
if (!counter)
{
@ -2296,18 +2296,18 @@ else
printer().open();
for (int m = limite; m > 0 && m <= _fino_a_mese; m++)
{
//if (stampo_liquidazione(m))
{
_datareg = format("01/%02d/%4d", m, _annoes); //serve per la preprocess_header
_intesta_liq = TRUE;
TFilename t;
t.temp();
send_message('L',t, m);
if (m > 1) printer().formfeed();
merge_export_file(t,FALSE,TRUE);
_intesta_liq = FALSE;
}
}
if (stampo_liquidazione(m))
{
_datareg = format("01/%02d/%4d", m, _annoes); //serve per la preprocess_header
_intesta_liq = TRUE;
TFilename t;
t.temp();
send_message('L',t, m);
if (m > 1) printer().formfeed();
merge_export_file(t,FALSE,TRUE);
_intesta_liq = FALSE;
}
}
printer().close();
}
if (_tipo_stampa == 3 && _rif_vid)
@ -2435,18 +2435,18 @@ else
printer().open();
for (int m = limite; m > 0 && m <= _fino_a_mese; m++)
{
//if (stampo_liquidazione(m))
{
_datareg = format("01/%02d/%4d", m, _annoes); //serve per la preprocess_header
_intesta_liq = TRUE;
TFilename t;
t.temp();
send_message('L',t, m);
if (m > 1) printer().formfeed();
merge_export_file(t,FALSE,TRUE);
_intesta_liq = FALSE;
}
}
if (stampo_liquidazione(m))
{
_datareg = format("01/%02d/%4d", m, _annoes); //serve per la preprocess_header
_intesta_liq = TRUE;
TFilename t;
t.temp();
send_message('L',t, m);
if (m > 1) printer().formfeed();
merge_export_file(t,FALSE,TRUE);
_intesta_liq = FALSE;
}
}
printer().close();
//if (_tipo_stampa != 1) aggiorna_reg();
}