Patch level : 12.0 612
Files correlati : Commento : tp0.exe Sistemato calcolo peso per categorie conai inserite in bolla
This commit is contained in:
parent
d028101e92
commit
632fb4b874
@ -853,17 +853,17 @@ bool TPack_ddt::trasferisci()
|
||||
{
|
||||
TGeneric_distrib d(peso_imballo_ddt, 3);
|
||||
FOR_EACH_CONFIGURED_CONAI_CLASS(cc)
|
||||
if (art.conai_subclass(cc).full())
|
||||
if (rdoc.get(conai_sottocat_name(cc, LF_RIGHEDOC)).full())
|
||||
d.add(art.conai_weight(cc));
|
||||
FOR_EACH_CONFIGURED_CONAI_CLASS(cc)
|
||||
if (art.conai_subclass(cc).full())
|
||||
if (rdoc.get(conai_sottocat_name(cc, LF_RIGHEDOC)).full())
|
||||
rdoc.put(conai_peso_name(cc), d.get());
|
||||
}
|
||||
else
|
||||
{
|
||||
// Il peso in bolla coincide con quello in anagrafica: devo riportarli
|
||||
FOR_EACH_CONFIGURED_CONAI_CLASS(cc)
|
||||
if (art.conai_subclass(cc).full())
|
||||
if (rdoc.get(conai_sottocat_name(cc, LF_RIGHEDOC)).full())
|
||||
rdoc.put(conai_peso_name(cc), art.conai_weight(cc));
|
||||
}
|
||||
/* }
|
||||
|
Loading…
x
Reference in New Issue
Block a user