X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2dbb0236bbcc475e01701bd2794eac9f0cbc5ed5..9bd3030a376850c427c102c6e0c54f19bd19332e:/SL/OE.pm diff --git a/SL/OE.pm b/SL/OE.pm index b731dc1cc..b1e1f9f30 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -1277,6 +1277,39 @@ 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__