X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FIS.pm;h=918ca19094b561734f573a330989e416948b6970;hb=806a4de799c8b69838c4767539279298a42fcf57;hp=666d8bc043c1e632c97d9c5a195ccae831eb666d;hpb=ef92528c3f875dee2b456418adb214ccebb97361;p=kivitendo-erp.git diff --git a/SL/IS.pm b/SL/IS.pm index 666d8bc04..918ca1909 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -2125,7 +2125,9 @@ sub get_pricegroups_for_parts { if ($pkr->{pricegroup_id} eq $selectedpricegroup_id) { $pkr->{selected} = ' selected'; } - } elsif (($price_new != $form->{"sellprice_$i"}) and ($price_new ne 0) and defined $price_new) { + } elsif ( ($form->parse_amount($myconfig, $price_new) + != $form->parse_amount($myconfig, $form->{"sellprice_$i"})) + and ($price_new ne 0) and defined $price_new) { # sellprice has changed # when loading existing invoices $price_new is NULL if ($pkr->{pricegroup_id} == 0) {