X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fdo.pl;h=80e38e860d737fc0f923597818f57bee98c1eaca;hb=1043d7f814fccf5864e677b1e38577d0a150026c;hp=a2eda3f0364490e39773695f6a5c37c7f160be11;hpb=05691f2a56789f28c67a7f13caeb2a83b03fd573;p=kivitendo-erp.git diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index a2eda3f03..80e38e860 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -279,6 +279,9 @@ sub form_header { } $form->header(); + # Fix für Bug 1082 Erwartet wird: 'abteilungsNAME--abteilungsID' + $form->{department} .= '--' . $form->{department_id}; + print $form->parse_html_template('do/form_header'); $lxdebug->leave_sub(); @@ -768,6 +771,7 @@ sub invoice_multi { $form->{rowcount} = 0; foreach my $ref (@{ $form->{form_details} }) { $form->{rowcount}++; + $ref->{reqdate} ||= $ref->{dord_transdate}; # copy transdates into each invoice row map { $form->{"${_}_$form->{rowcount}"} = $ref->{$_} } keys %{ $ref }; map { $form->{"${_}_$form->{rowcount}"} = $form->format_amount(\%myconfig, $ref->{$_}) } qw(qty sellprice discount lastcost); }