Esplosione tab
git-svn-id: svn://10.65.10.50/trunk@4821 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4a3996b65d
commit
b328065d69
@ -26,7 +26,7 @@ void TForm_stampemg::gruppogiac(TForm_item &cf, TToken_string &s)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
levname << ' ' << _giaclev->name(livello) ;
|
levname << ' ' << _giaclev->name(livello) ;
|
||||||
valore=_giacgrp->decode(_giaclev->build_tabcode(relation()->lfile(LF_MAG).get("LIVELLO"),livello));
|
valore=_giaclev->group_descr(relation()->lfile(LF_MAG).get("LIVELLO"),livello);
|
||||||
if (valore.empty())
|
if (valore.empty())
|
||||||
valore=UNKNOWN_NAME;
|
valore=UNKNOWN_NAME;
|
||||||
cf.set(levname << ' ' << valore);
|
cf.set(levname << ' ' << valore);
|
||||||
@ -38,7 +38,7 @@ void TForm_stampemg::gruppoart(TForm_item &cf, TToken_string &s)
|
|||||||
int lv=atoi(s.get());
|
int lv=atoi(s.get());
|
||||||
TString valore;
|
TString valore;
|
||||||
|
|
||||||
valore=_artgrp->decode(_artlev->build_tabcode(relation()->lfile(LF_ANAMAG).get("CODART"),lv));
|
valore=_artlev->group_descr(relation()->lfile(LF_ANAMAG).get("CODART"),lv);
|
||||||
if (valore.not_empty())
|
if (valore.not_empty())
|
||||||
cf.set(valore);
|
cf.set(valore);
|
||||||
else
|
else
|
||||||
@ -222,10 +222,8 @@ bool TForm_stampemg::setdettaglio(bool show, int fromlivart,int livart,int froml
|
|||||||
TForm_stampemg::TForm_stampemg(const char *name,const char *code)
|
TForm_stampemg::TForm_stampemg(const char *name,const char *code)
|
||||||
: TForm(name,code)
|
: TForm(name,code)
|
||||||
{
|
{
|
||||||
_giaclev= new TMag_livelli("FCG");
|
_giaclev= new TCodgiac_livelli();
|
||||||
_artlev= new TMag_livelli("FCA");
|
_artlev= new TCodart_livelli();
|
||||||
_giacgrp= new TDecoder("GCG");
|
|
||||||
_artgrp= new TDecoder("GCA");
|
|
||||||
_fromlivgiac=_tolivgiac=0;
|
_fromlivgiac=_tolivgiac=0;
|
||||||
_fromlivart=_tolivart=0;
|
_fromlivart=_tolivart=0;
|
||||||
}
|
}
|
||||||
@ -233,6 +231,4 @@ TForm_stampemg::~TForm_stampemg()
|
|||||||
{
|
{
|
||||||
delete _giaclev;
|
delete _giaclev;
|
||||||
delete _artlev;
|
delete _artlev;
|
||||||
delete _giacgrp;
|
|
||||||
delete _artgrp;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user