tolto utilizzo file lfalici

git-svn-id: svn://10.65.10.50/trunk@3870 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
paola 1996-11-05 15:12:53 +00:00
parent 242cf6fbee
commit 872be6a79c

View File

@ -27,7 +27,6 @@ class BA6200_application : public TPrintapp
TString _codistat, _uffreg;
int _uffiidd1, _uffiidd2, _uffiidd3, _uffiva1, _uffiva2, _uffiva3;
int _uffconc, _uffcserv, _uffesprov, _uffescom, _terrmon;
bool _stampa_alici;
TDate _data_stampa;
protected:
@ -126,19 +125,6 @@ bool BA6200_application::preprocess_page(int file, int counter)
else
return FALSE;
}
else
if (file == LF_ALICI)
{
if (_rel->lfile().get("STATO").empty())
{
int i = 1;
if (first)
set_row (i++,"@7gI.C.I. @15gAnno@21gAliquota@31gDetrazioni", FLD(LF_ALICI, "ANNO"), FLD(LF_ALICI, "ALIQ", "##,###"));
set_row (i,"@15g@n@23g@pn@30g@pn", FLD(LF_ALICI, "ANNO", "####"), FLD(LF_ALICI, "ALIQ", "##,###"), FLD(LF_ALICI,"DETR","###.###.###"));
first = FALSE;
}
else return FALSE;
}
return TRUE;
}
@ -170,12 +156,9 @@ bool BA6200_application::set_print(int)
_data_stampa = _msk->get (F_DATA);
int scelta = _msk->get_int (F_SCELTA);
_provcom_msk = _msk->get (F_PROVCOM);
_stampa_alici = _msk->get_bool(F_STAMPAALICI);
reset_files();
add_file(LF_COMUNI);
if (_stampa_alici)
add_file(LF_ALICI);
if (scelta == 1)
{
@ -262,7 +245,6 @@ void BA6200_application::crea_intestazione()
bool BA6200_application::user_create()
{
_rel = new TRelation (LF_COMUNI);
_rel->add(LF_ALICI, "COM=COM");
_cur1 = add_cursor(new TCursor(_rel,"",1));