Patch level : 12.0 no-patch
Files correlati : ve2400.cpp Commento : Modificata lettura TArticolo_conai utilizzando la macro nuova
This commit is contained in:
parent
a4573da401
commit
cd175c490c
@ -1999,17 +1999,12 @@ void TAnagrafica_magazzino::fill_conai(const TString& codart, TSheet_field& fld_
|
||||
fld_con.hide();
|
||||
|
||||
TArticolo_conai ac(codart);
|
||||
auto mcon = ac.get_map();
|
||||
for(auto i = mcon.begin(); i != mcon.end(); ++i)
|
||||
FOR_EACH_CONAI_SOTTOCAT(ac, cat, sottocat)
|
||||
{
|
||||
const TString cat = i->first;
|
||||
for(auto j = i->second.begin(); j != i->second.end(); ++j)
|
||||
{
|
||||
TToken_string& row = fld_con.row(-1);
|
||||
row.add(cat);
|
||||
row.add(j->first);
|
||||
row.add(j->second);
|
||||
}
|
||||
TToken_string& row = fld_con.row(-1);
|
||||
row.add(cat.first);
|
||||
row.add(sottocat.first);
|
||||
row.add(sottocat.second);
|
||||
}
|
||||
|
||||
// Lo rimostro
|
||||
|
Loading…
x
Reference in New Issue
Block a user