X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d68f336ae466e2d3726586682eae846b850214eb..078fc3723f616b44ebf14286b6aad16a90a6f61c:/SL/IR.pm diff --git a/SL/IR.pm b/SL/IR.pm index fbff03e1b..55987afcf 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -800,6 +800,8 @@ SQL # safety check datev export if ($::instance_conf->get_datev_check_on_purchase_invoice) { + # if we need department for kostenstelle in DATEV check + $form->{department} = SL::DB::Manager::Department->find_by(id => $form->{department_id})->description if $form->{department_id}; my $transdate = $::form->{invdate} ? DateTime->from_lxoffice($::form->{invdate}) : undef; $transdate ||= DateTime->today;