]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/Order.pm
Briefe: Sprache im Druck
[mfinanz.git] / SL / Controller / Order.pm
index f6a731a9f06945966ada076229024b143d65582e..8023aa2b9921edb2178cb506a737744776d53a92 100644 (file)
@@ -783,6 +783,8 @@ sub _make_item {
 
   $item->assign_attributes(%$attr);
   $item->longdescription($item->part->notes) if $is_new && !defined $attr->{longdescription};
 
   $item->assign_attributes(%$attr);
   $item->longdescription($item->part->notes) if $is_new && !defined $attr->{longdescription};
+  # item fields that currently can't be set in in row but are needed:
+  $item->lastcost($item->part->lastcost);
 
   return $item;
 }
 
   return $item;
 }