Aggiunta stampa localita'
git-svn-id: svn://10.65.10.50/trunk@1381 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4d64f7d25c
commit
3b7a9f52df
@ -176,6 +176,7 @@ void TAnaprint_app::preprocess_etichette()
|
|||||||
_civ = get_field(LF_ANAG,"CIVCORR");
|
_civ = get_field(LF_ANAG,"CIVCORR");
|
||||||
_stato = look_tab("%STA",get_field(LF_ANAG,"STATOCORR"));
|
_stato = look_tab("%STA",get_field(LF_ANAG,"STATOCORR"));
|
||||||
_cap = get_field(LF_ANAG,"CAPCORR");
|
_cap = get_field(LF_ANAG,"CAPCORR");
|
||||||
|
_loc = get_field(LF_ANAG,"LOCCORR");
|
||||||
_com = cc.get("DENCOM");
|
_com = cc.get("DENCOM");
|
||||||
_prov = cc.get("PROVCOM");
|
_prov = cc.get("PROVCOM");
|
||||||
if (_cap.empty())
|
if (_cap.empty())
|
||||||
@ -189,6 +190,7 @@ void TAnaprint_app::preprocess_etichette()
|
|||||||
_stato = "" ; // look_tab("%STA",get_field(LF_ANAG,"STATORF"));
|
_stato = "" ; // look_tab("%STA",get_field(LF_ANAG,"STATORF"));
|
||||||
_cap = get_field(LF_ANAG,"CAPRF");
|
_cap = get_field(LF_ANAG,"CAPRF");
|
||||||
cc = look_com(get_field(LF_ANAG,"COMRF"));
|
cc = look_com(get_field(LF_ANAG,"COMRF"));
|
||||||
|
_loc = "";
|
||||||
_com = cc.get("DENCOM");
|
_com = cc.get("DENCOM");
|
||||||
_prov = cc.get("PROVCOM");
|
_prov = cc.get("PROVCOM");
|
||||||
if (_cap.empty())
|
if (_cap.empty())
|
||||||
@ -202,6 +204,7 @@ void TAnaprint_app::preprocess_etichette()
|
|||||||
_stato = ""; //look_tab("%STA",get_field(LF_ANAG,"STATORES"));
|
_stato = ""; //look_tab("%STA",get_field(LF_ANAG,"STATORES"));
|
||||||
_cap = get_field(LF_ANAG,"CAPRES");
|
_cap = get_field(LF_ANAG,"CAPRES");
|
||||||
cc = look_com(get_field(LF_ANAG,"COMRES"));
|
cc = look_com(get_field(LF_ANAG,"COMRES"));
|
||||||
|
_loc = "";
|
||||||
_com = cc.get("DENCOM");
|
_com = cc.get("DENCOM");
|
||||||
_prov = cc.get("PROVCOM");
|
_prov = cc.get("PROVCOM");
|
||||||
if (_cap.empty())
|
if (_cap.empty())
|
||||||
|
@ -41,7 +41,7 @@ class TAnaprint_app : public TPrintapp
|
|||||||
bool _is_piv, _is_cod;
|
bool _is_piv, _is_cod;
|
||||||
bool* _frpos;
|
bool* _frpos;
|
||||||
TString _cod, _cofi, _name, _surname, _address,
|
TString _cod, _cofi, _name, _surname, _address,
|
||||||
_cap, _prov, _com, _civ, _stato, _phone;
|
_cap, _prov, _loc, _com, _civ, _stato, _phone;
|
||||||
TString16 _sex;
|
TString16 _sex;
|
||||||
|
|
||||||
int _ana_link, _dit_link;
|
int _ana_link, _dit_link;
|
||||||
|
@ -56,8 +56,8 @@ void TAnaprint_app::set_scheda_anagiu()
|
|||||||
(const char*)b);
|
(const char*)b);
|
||||||
|
|
||||||
set_row(15,"");
|
set_row(15,"");
|
||||||
set_row(16,"Corrispondenza@20gIndirizzo @35s",
|
set_row(16,"Corrispondenza@20gIndirizzo @35s @35s",
|
||||||
FLD(LF_ANAG,"INDCORR"));
|
FLD(LF_ANAG,"INDCORR"), FLD(LF_ANAG, "LOCCORR"));
|
||||||
|
|
||||||
com = current_cursor()->curr(LF_ANAG).get("COMCORR");
|
com = current_cursor()->curr(LF_ANAG).get("COMCORR");
|
||||||
cc = look_com(com);
|
cc = look_com(com);
|
||||||
@ -225,8 +225,8 @@ void TAnaprint_app::set_scheda_anafis()
|
|||||||
);
|
);
|
||||||
|
|
||||||
set_row(15,"");
|
set_row(15,"");
|
||||||
set_row(16,"Corrispondenza@20gIndirizzo @s",
|
set_row(16,"Corrispondenza@20gIndirizzo @s @s",
|
||||||
FLD(LF_ANAG,"INDCORR"));
|
FLD(LF_ANAG,"INDCORR"), FLD(LF_ANAG, "LOCCORR"));
|
||||||
|
|
||||||
com = current_cursor()->curr(LF_ANAG).get("COMCORR");
|
com = current_cursor()->curr(LF_ANAG).get("COMCORR");
|
||||||
cc = look_com(com);
|
cc = look_com(com);
|
||||||
@ -836,8 +836,8 @@ void TAnaprint_app::set_etichette()
|
|||||||
}
|
}
|
||||||
|
|
||||||
set_row(_ind_row,TString(format("@%dg#t #t", _ind_col)), &_address, &_civ);
|
set_row(_ind_row,TString(format("@%dg#t #t", _ind_col)), &_address, &_civ);
|
||||||
set_row(_ind_row+1, TString(format("@%dg#t #t #t", _ind_col)),
|
set_row(_ind_row+1, TString(format("@%dg#t #t #t #t", _ind_col)),
|
||||||
&_cap, &_com, &_prov);
|
&_loc, &_cap, &_com, &_prov);
|
||||||
|
|
||||||
if (!_stato.empty())
|
if (!_stato.empty())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user