From 644eb8e4257c20a6d3385cc5da8e8ec8925f5a5b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Thu, 23 Apr 2015 13:50:46 +0200 Subject: [PATCH] Bei Artikelauswahl aus der Auswahlmaske Menge des neuen Artikels formatieren. Damit kann man die Menge auch schon vorher eingeben: Nicht eindeutiger Artikel, TAB, TAB, Menge, ENTER --- bin/mozilla/io.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 40d312362..4930d25e4 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -545,7 +545,7 @@ sub item_selected { # the qty variables of the existing assembly items are all still formatted, so we parse them here (1 .. $i-1) # including the qty of the just added part ($i) $form->{"qty_$_"} = $form->parse_amount(\%myconfig, $form->{"qty_$_"}) for (1 .. $i); - }; + } $form->{"id_${i}"} = $id; @@ -646,7 +646,7 @@ sub item_selected { map { $form->{"${_}_$i"} = $form->format_amount(\%myconfig, $form->{"${_}_$i"}, $decimalplaces) - } qw(sellprice listprice lastcost) if $form->{item} ne 'assembly'; + } qw(sellprice listprice lastcost qty) if $form->{item} ne 'assembly'; &display_form; -- 2.20.1