X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FIS.pm;h=b275833cf45c737267426b7b6da6d0b2083fb0b6;hb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;hp=62ba10e18a30e6b490414392305210d8a4fde1fa;hpb=d735aab3fc2987d555c63ce0dc8e24626ca30654;p=kivitendo-erp.git diff --git a/SL/IS.pm b/SL/IS.pm index 62ba10e18..b275833cf 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -529,6 +529,7 @@ sub invoice_details { $form->{delivery_term} = SL::DB::Manager::DeliveryTerm->find_by(id => $form->{delivery_term_id} || undef); $form->{delivery_term}->description_long($form->{delivery_term}->translated_attribute('description_long', $form->{language_id})) if $form->{delivery_term} && $form->{language_id}; + $form->{department} = SL::DB::Manager::Department->find_by(id => $form->{department_id})->load->description if $form->{department_id}; $form->{username} = $myconfig->{name};