]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DO.pm
Globale Variablen $::userspath, $::templates, $::membersfile nach %::lx_office_conf...
[mfinanz.git] / SL / DO.pm
index d657cca5c2380f10389b79a15cf978836864d4f4..7ed6724b3c8f8fced8b73c6681eaec8cd72c7cf0 100644 (file)
--- a/SL/DO.pm
+++ b/SL/DO.pm
@@ -491,7 +491,7 @@ sub delete {
 
   my $myconfig = \%main::myconfig;
   my $form     = $main::form;
-  my $spool    = $main::spool;
+  my $spool    = $::lx_office_conf{paths}->{spool};
 
   # connect to database
   my $dbh = $form->get_standard_dbh($myconfig);
@@ -1053,6 +1053,7 @@ sub transfer_in_out {
       'oe_id'                  => $form->{id},
       'shippingdate'           => 'current_date',
       'transfer_type'          => $params{direction} eq 'in' ? 'stock' : 'shipped',
+      'project_id'             => $request->{project_id},
     };
   }