From e84f10d0af2c2f92be5e245d2de4d8eace7c3a6b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 23 Nov 2010 10:31:55 +0100 Subject: [PATCH] $form->{vc} anstelle von $self->{vc} setzen --- SL/DB/Helper/FlattenToForm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.20.1