X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/82574e78712d71f2012bf6257b2740e2732f66cf..e20f3f0dac8c4b362af0e6594de9581d05d0f6c4:/bin/mozilla/oe.pl diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index c14cc85ab..c86de3763 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -505,8 +505,12 @@ sub update { } my $rows = scalar @{ $form->{item_list} }; + # hier ist das problem fuer bug 817 $form->{discount} wird nicht durchgeschliffen - $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{customer_discount} * 100); + # ferner fallunterscheidung fuer verkauf oder einkauf s.a. bug 736 jb 04.05.2009 + # select discount as vendor_discount from vendor || + # select discount as customer_discount from customer + $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"$form->{vc}_discount"} * 100); if ($rows) { $form->{"qty_$i"} = 1 unless ($form->{"qty_$i"});