PriceSource: price_sources sind keine Integer
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 14 Jan 2015 16:15:12 +0000 (17:15 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 14 Jan 2015 16:15:12 +0000 (17:15 +0100)
SL/IR.pm

index ee676cb..b68df25 100644 (file)
--- a/SL/IR.pm
+++ b/SL/IR.pm
@@ -390,7 +390,7 @@ sub post_invoice {
                $form->{"unit_$i"}, conv_date($form->{deliverydate}),
                conv_i($form->{"project_id_$i"}), $form->{"serialnumber_$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->{"active_price_source_$i"}), conv_i($form->{"active_discount_source_$i"}),
+               $form->{"active_price_source_$i"}, $form->{"active_discount_source_$i"},
                );
     do_query($form, $dbh, $query, @values);