X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/55e9890ade8594530039a7fe1d4ab91a95017752..1465da30:/SL/OE.pm diff --git a/SL/OE.pm b/SL/OE.pm index 1bf8a719a..3f7dbaa75 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -1307,4 +1307,37 @@ 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;