X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fio.pl;h=f890cee12f8a02f1a130f91d467d7054fc8eca84;hb=98e3e57726bb6dbf55141ca6abc5cb74879d5c46;hp=f860484ac654e59095316159e5b506fd31465073;hpb=f3d92ecc96f4cca27c79b1d60fbbccde1ce8d7c0;p=kivitendo-erp.git diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index f860484ac..f890cee12 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -885,7 +885,7 @@ sub order { for $i (1 .. $form->{rowcount}) { map({ $form->{"${_}_${i}"} = $form->parse_amount(\%myconfig, $form->{"${_}_${i}"}) if ($form->{"${_}_${i}"}) } - qw(ship qty sellprice listprice basefactor)); + qw(ship qty sellprice listprice basefactor discount)); } &prepare_order; @@ -941,7 +941,7 @@ sub quotation { map({ $form->{"${_}_${i}"} = $form->parse_amount(\%myconfig, $form->{"${_}_${i}"}) if ($form->{"${_}_${i}"}) } - qw(ship qty sellprice listprice basefactor)); + qw(ship qty sellprice listprice basefactor discount)); } &prepare_order; @@ -1075,9 +1075,7 @@ sub print_options { ($form->{type} =~ /_delivery_order$/) ? ( opthash($form->{type}, $form->{PD}{$form->{type}}, $locale->text('Delivery Order')), opthash('pick_list', $form->{PD}{pick_list}, $locale->text('Pick List')), - ) : undef, - ($form->{type} eq 'credit_note') ? - opthash("credit_note", $form->{PD}{credit_note}, $locale->text('Credit Note')) : undef; + ) : undef; push @SENDMODE, opthash("attachment", $form->{SM}{attachment}, $locale->text('Attachment')), @@ -1481,7 +1479,7 @@ sub print_form { reformat_numbers($output_numberformat, $precision, @{ $field_list }); } - my $extension = ''; + my $extension = 'html'; if ($form->{format} eq 'postscript') { $form->{postscript} = 1; $extension = 'tex';