tolto utilizzo file lfalici
git-svn-id: svn://10.65.10.50/trunk@3870 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
242cf6fbee
commit
872be6a79c
@ -27,7 +27,6 @@ class BA6200_application : public TPrintapp
|
|||||||
TString _codistat, _uffreg;
|
TString _codistat, _uffreg;
|
||||||
int _uffiidd1, _uffiidd2, _uffiidd3, _uffiva1, _uffiva2, _uffiva3;
|
int _uffiidd1, _uffiidd2, _uffiidd3, _uffiva1, _uffiva2, _uffiva3;
|
||||||
int _uffconc, _uffcserv, _uffesprov, _uffescom, _terrmon;
|
int _uffconc, _uffcserv, _uffesprov, _uffescom, _terrmon;
|
||||||
bool _stampa_alici;
|
|
||||||
TDate _data_stampa;
|
TDate _data_stampa;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@ -126,19 +125,6 @@ bool BA6200_application::preprocess_page(int file, int counter)
|
|||||||
else
|
else
|
||||||
return FALSE;
|
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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -170,12 +156,9 @@ bool BA6200_application::set_print(int)
|
|||||||
_data_stampa = _msk->get (F_DATA);
|
_data_stampa = _msk->get (F_DATA);
|
||||||
int scelta = _msk->get_int (F_SCELTA);
|
int scelta = _msk->get_int (F_SCELTA);
|
||||||
_provcom_msk = _msk->get (F_PROVCOM);
|
_provcom_msk = _msk->get (F_PROVCOM);
|
||||||
_stampa_alici = _msk->get_bool(F_STAMPAALICI);
|
|
||||||
|
|
||||||
reset_files();
|
reset_files();
|
||||||
add_file(LF_COMUNI);
|
add_file(LF_COMUNI);
|
||||||
if (_stampa_alici)
|
|
||||||
add_file(LF_ALICI);
|
|
||||||
|
|
||||||
if (scelta == 1)
|
if (scelta == 1)
|
||||||
{
|
{
|
||||||
@ -262,7 +245,6 @@ void BA6200_application::crea_intestazione()
|
|||||||
bool BA6200_application::user_create()
|
bool BA6200_application::user_create()
|
||||||
{
|
{
|
||||||
_rel = new TRelation (LF_COMUNI);
|
_rel = new TRelation (LF_COMUNI);
|
||||||
_rel->add(LF_ALICI, "COM=COM");
|
|
||||||
|
|
||||||
_cur1 = add_cursor(new TCursor(_rel,"",1));
|
_cur1 = add_cursor(new TCursor(_rel,"",1));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user