X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d5440cc6f9cc5b2942458ce7480526e2b90b17a4..3ceb381944924a7b6a14d69361754422b8b49589:/SL/IS.pm diff --git a/SL/IS.pm b/SL/IS.pm index 530334a05..d91a36b8b 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -2120,7 +2120,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) {