X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Finvoice_io.pl;h=42e402ec885d963fbb9db3d65064e27ba18fd80d;hb=e7fdb1da83751073b7bcc5488772c7e844789062;hp=8c803fb4d87b2956a1aa803fa6958bbebd10e209;hpb=6c7e41458d2027f72901d16417a37648942f7445;p=kivitendo-erp.git diff --git a/bin/mozilla/invoice_io.pl b/bin/mozilla/invoice_io.pl index 8c803fb4d..42e402ec8 100644 --- a/bin/mozilla/invoice_io.pl +++ b/bin/mozilla/invoice_io.pl @@ -34,7 +34,6 @@ ####################################################################### use CGI; -use CGI::Ajax; use List::Util qw(max); use SL::Common; @@ -126,7 +125,8 @@ sub set_pricegroup { if ($item->{selected} && ($pricegroup_id != 0)) { $form->{"pricegroup_old_$j"} = $pricegroup_id; $form->{"price_new_$j"} = $price; - $form->{"sellprice_$j"} = $price; + # edit: don't change the sellprice here + # $form->{"sellprice_$j"} = $price; # this must only be updated for existing articles, not new ones } if ($pricegroup_id == 0) { $form->{"price_new_$j"} = $form->{"sellprice_$j"}; @@ -162,7 +162,7 @@ sub display_form { ::end_of_request(); } - Common::webdav_folder($form) if ($main::webdav); + Common::webdav_folder($form); # if ( $form->{print_and_post} # && $form->{second_run}