From 263971ba6ce308b3f058705d51e265c3577338d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 1 Aug 2016 14:54:30 +0200 Subject: [PATCH] Lieferschein-Positions-Rabatt mit Nachkommastellen behebt #200. Nachkommastellen werden beim Workflow Lieferschein -> Rechnung verschluckt, da ein parse_amount fehlt. --- bin/mozilla/do.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 86d2295ed..c43acce32 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -837,7 +837,7 @@ sub invoice { } } } - map { $form->{"${_}_${i}"} = $form->parse_amount(\%myconfig, $form->{"${_}_${i}"}) if $form->{"${_}_${i}"} } qw(ship qty sellprice lastcost basefactor); + map { $form->{"${_}_${i}"} = $form->parse_amount(\%myconfig, $form->{"${_}_${i}"}) if $form->{"${_}_${i}"} } qw(ship qty sellprice lastcost basefactor discount); $form->{"donumber_$i"} = $form->{donumber}; $form->{"converted_from_delivery_order_items_id_$i"} = delete $form->{"delivery_order_items_id_$i"}; } -- 2.20.1