From: Moritz Bunkus Date: Tue, 23 Nov 2010 09:31:55 +0000 (+0100) Subject: $form->{vc} anstelle von $self->{vc} setzen X-Git-Tag: release-2.6.3~61^2~7^2~1^2~2^2~41 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e84f10d0af2c2f92be5e245d2de4d8eace7c3a6b;p=kivitendo-erp.git $form->{vc} anstelle von $self->{vc} setzen --- diff --git a/SL/DB/Helper/FlattenToForm.pm b/SL/DB/Helper/FlattenToForm.pm index edd3018d6..b79f4fb73 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -26,7 +26,7 @@ sub flatten_to_form { $form->{$transdate_idx} = $self->transdate->to_lxoffice; } - $self->{vc} = $vc if ref($self) =~ /^SL::DB::.*Invoice/; + $form->{vc} = $vc if ref($self) =~ /^SL::DB::.*Invoice/; my @vc_fields = (qw(account_number bank bank_code bic business city contact country creditlimit discount email fax homepage iban language name payment_terms phone street taxnumber zipcode),