Correzioni ai mastrini
git-svn-id: svn://10.65.10.50/trunk@1316 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3f587f9bc8
commit
6b65f69796
@ -79,7 +79,7 @@ class TListaMov_application : public TPrintapp
|
|||||||
TBit_array _err;
|
TBit_array _err;
|
||||||
TDate _data_ini, _data_fin, _datareg, _data_prec, _datacomp;
|
TDate _data_ini, _data_fin, _datareg, _data_prec, _datacomp;
|
||||||
TString _descr, _descr_doc, _descr_causale;
|
TString _descr, _descr_doc, _descr_causale;
|
||||||
TString _tipo_ini, _masc, _causale;
|
TString _tipo_ini, _masc, _causale, _app;
|
||||||
TString _causale_ini, _causale_fin, _registro,_registro_ini, _registro_fin;
|
TString _causale_ini, _causale_fin, _registro,_registro_ini, _registro_fin;
|
||||||
TString _tipoatt, _tipo_elenco,_tipo_clifo_prec,_cod,_tipoelsucc;
|
TString _tipoatt, _tipo_elenco,_tipo_clifo_prec,_cod,_tipoelsucc;
|
||||||
TString _appoggio, _tipodoc, _tipodocumento;
|
TString _appoggio, _tipodoc, _tipodocumento;
|
||||||
@ -322,7 +322,12 @@ void TListaMov_application::compila_comuni()
|
|||||||
_comuni->read();
|
_comuni->read();
|
||||||
if (_comuni->bad())
|
if (_comuni->bad())
|
||||||
_comuni->curr().zero();
|
_comuni->curr().zero();
|
||||||
//_dencom = _comuni->get(COM_DENCOM);
|
//modifica del 26/04/1995
|
||||||
|
_dencom = _comuni->get(COM_DENCOM);
|
||||||
|
if (!_dencom.empty())
|
||||||
|
_app = "Com";
|
||||||
|
else _app = "Loc";
|
||||||
|
//fine modifica
|
||||||
_provcom = _comuni->get(COM_PROVCOM);
|
_provcom = _comuni->get(COM_PROVCOM);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -862,7 +867,7 @@ void TListaMov_application::stampa_intestazione()
|
|||||||
else
|
else
|
||||||
set_row (2, "@b@121gAllegato SI");
|
set_row (2, "@b@121gAllegato SI");
|
||||||
set_row (3, "@b@54gCap #5t", &_capcf);
|
set_row (3, "@b@54gCap #5t", &_capcf);
|
||||||
set_row (3,"@b@64gLoc #.20t", &_dencom);
|
set_row (3,"@b@64g%s #.20t", (const char*)_app, &_dencom);
|
||||||
set_row (3,"@b@89gPr #.5t", &_provcom);
|
set_row (3,"@b@89gPr #.5t", &_provcom);
|
||||||
set_row (3, "@b@98gC.F. #16t", &_cofi);
|
set_row (3, "@b@98gC.F. #16t", &_cofi);
|
||||||
if (_alleg == 0)
|
if (_alleg == 0)
|
||||||
@ -1110,7 +1115,7 @@ bool TListaMov_application::preprocess_page(int file,int counter)
|
|||||||
if (_tipo_elenco != _tipo_clifo_prec && _tipo_clifo_prec != "")
|
if (_tipo_elenco != _tipo_clifo_prec && _tipo_clifo_prec != "")
|
||||||
printer().formfeed();
|
printer().formfeed();
|
||||||
|
|
||||||
TLocalisamfile & file = cur->file(LF_MOV);
|
TLocalisamfile& file = cur->file(LF_MOV);
|
||||||
TRectype da (file.curr());
|
TRectype da (file.curr());
|
||||||
TRectype a (file.curr());
|
TRectype a (file.curr());
|
||||||
da.zero();
|
da.zero();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user