projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cd5127
)
Preisgruppenpreis nach Änderung der Preisgruppe im Gesamtpreis berücksichtigen.
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 8 Jan 2014 11:24:13 +0000
(12:24 +0100)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 8 Jan 2014 11:29:38 +0000
(12:29 +0100)
Behebt #2080.
bin/mozilla/io.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/io.pl
b/bin/mozilla/io.pl
index
480de97
..
58c7d81
100644
(file)
--- 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"};