Falsche Reihenfolge der orderitems-value in OE.pm
authorJan Büren <jan@kivitendo-premium.de>
Tue, 13 Jan 2015 12:19:47 +0000 (13:19 +0100)
committerJan Büren <jan@kivitendo-premium.de>
Tue, 13 Jan 2015 12:19:47 +0000 (13:19 +0100)
Kleiner Projekt-Merge Fehler.
Falsch:  (lastcost, active_price_source, price_factor_id)
Richtig: (lastcost, price_factor_id, active_price_source)

SL/OE.pm

index b454498..a179b2d 100644 (file)
--- a/SL/OE.pm
+++ b/SL/OE.pm
@@ -546,10 +546,9 @@ SQL
            $form->{"ordnumber_$i"}, conv_date($form->{"transdate_$i"}),
            $form->{"cusordnumber_$i"}, $form->{"subtotal_$i"} ? 't' : 'f',
            $form->{"marge_percent_$i"}, $form->{"marge_absolut_$i"},
-           $form->{"lastcost_$i"},
+           $form->{"lastcost_$i"}, conv_i($form->{"price_factor_id_$i"}),
            $form->{"active_price_source_$i"}, $form->{"active_discount_source_$i"},
-           conv_i($form->{"price_factor_id_$i"}), conv_i($form->{"price_factor_id_$i"}),
-           conv_i($form->{"marge_price_factor_$i"}),
+           conv_i($form->{"price_factor_id_$i"}), conv_i($form->{"marge_price_factor_$i"}),
            conv_i($orderitems_id),
       );