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

View File

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