From: Philip Reetz Date: Thu, 26 Jan 2006 09:22:41 +0000 (+0000) Subject: Bei der Umwandlung von Angeboten/Anfragen in Auftraege wurden verschiedene Felder... X-Git-Tag: release-2.4.0^2~356 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=264b38c7465f95066b47588c2fbe85f102bd022c;p=kivitendo-erp.git Bei der Umwandlung von Angeboten/Anfragen in Auftraege wurden verschiedene Felder beschnitten/flasch formatiert --- diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index b16352fd6..f9907cbf2 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -229,11 +229,13 @@ sub prepare_order { map { $form->{"${_}_$i"} = $ref->{$_} } keys %{$ref}; } - for my $i (1 .. $form->{rowcount}) { if ($form->{id}) { $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"discount_$i"} * 100); + } else { + $form->{"discount_$i"} = + $form->format_amount(\%myconfig, $form->{"discount_$i"}); } ($dec) = ($form->{"sellprice_$i"} =~ /\.(\d+)/); $dec = length $dec; @@ -244,7 +246,7 @@ sub prepare_order { $form->{"sellprice_$i"} = $form->format_amount(\%myconfig, $form->{"sellprice_$i"}, - $decimalplaces); + $decimalplaces); (my $dec_qty) = ($form->{"qty_$i"} =~ /\.(\d+)/); $dec_qty = length $dec_qty; @@ -832,10 +834,15 @@ Bearbeiten des $form->{heading}
. $locale->text('Save as new') . qq|"> |; - if ($form->{type} =~ /quotation$/) { + if ($form->{type} =~ /sales_quotation$/) { + print qq| +|; + } + if ($form->{type} =~ /request_quotation$/) { print qq| |; + . $locale->text('Purchase Order') . qq|">|; } print qq| {type} = "purchase_order";