X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FOE.pm;h=677a78b393ffcac498604a3e49cabdc335edab96;hb=b89137f814fb873ddc98c765b7a0ef17bed83ce1;hp=b9aba5c03c27d33e138a54a23f58f1b0c98040e8;hpb=b2cb10d18d5d631846fc6011937243d0d709f1c7;p=kivitendo-erp.git diff --git a/SL/OE.pm b/SL/OE.pm index b9aba5c03..677a78b39 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -338,7 +338,7 @@ sub save { $form->{"marge_percent_$i"} = $form->parse_amount($myconfig, $form->{"marge_percent_$i"}) * 1; $form->{"marge_absolut_$i"} = $form->parse_amount($myconfig, $form->{"marge_absolut_$i"}) * 1; - + $form->{"lastcost_$i"} = $form->parse_amount($myconfig, $form->{"lastcost_$i"}); # set values to 0 if nothing entered @@ -1285,39 +1285,6 @@ sub project_description { return $value; } -########################## -# Get data for the submitted order id -# from database -# -sub get_order_data_by_ordnumber { - $main::lxdebug->enter_sub(); - - my $self = shift; - my %params = @_; - - Common::check_params(\%params, qw(ordnumber)); - - my $form = $main::form; - my %myconfig = %main::myconfig; - my $dbh = $form->get_standard_dbh(); - - my @values = ($params{ordnumber}); - - # We query the database for the fields we need using the submitted "ordnumber" - my $query = <leave_sub(); - - return $result; -} - 1; __END__