SL::DB::Helper::FlattenToForm: neues Positionsfeld donumber mitkopieren
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 24 Feb 2014 10:55:05 +0000 (11:55 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 24 Feb 2014 13:40:03 +0000 (14:40 +0100)
SL/DB/Helper/FlattenToForm.pm

index 105cf02..570724b 100644 (file)
@@ -62,7 +62,7 @@ sub flatten_to_form {
     $form->{"partsgroup_${idx}"} = $item->part->partsgroup->partsgroup if _has($item->part, 'partsgroup_id');
     _copy($item->part,    $form, '',        "_${idx}", 0,               qw(id partnumber weight));
     _copy($item->part,    $form, '',        "_${idx}", $format_amounts, qw(listprice));
-    _copy($item,          $form, '',        "_${idx}", 0,               qw(description project_id ship serialnumber pricegroup_id ordnumber cusordnumber unit
+    _copy($item,          $form, '',        "_${idx}", 0,               qw(description project_id ship serialnumber pricegroup_id ordnumber donumber cusordnumber unit
                                                                            subtotal longdescription price_factor_id marge_price_factor approved_sellprice reqdate transdate));
     _copy($item,          $form, '',        "_${idx}", $format_amounts, qw(qty sellprice marge_total marge_percent lastcost));
     _copy($item,          $form, '',        "_${idx}", $format_notnull, qw(discount));