From 6573d4a45ddef660c04b34e37409bd1d90ded054 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 8 Jan 2014 12:24:13 +0100 Subject: [PATCH] =?utf8?q?Preisgruppenpreis=20nach=20=C3=84nderung=20der?= =?utf8?q?=20Preisgruppe=20im=20Gesamtpreis=20ber=C3=BCcksichtigen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Behebt #2080. --- bin/mozilla/io.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 480de9766..58c7d815b 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -225,6 +225,10 @@ sub display_row { qw(qty discount sellprice lastcost price_new price_old) unless ($form->{simple_save}); + if ($form->{"prices_$i"} && ($form->{"new_pricegroup_$i"} != $form->{"old_pricegroup_$i"})) { + $form->{"sellprice_$i"} = $form->{"price_new_$i"}; + } + # unit begin $form->{"unit_old_$i"} ||= $form->{"unit_$i"}; $form->{"selected_unit_$i"} ||= $form->{"unit_$i"}; -- 2.20.1