From: G. Richardson Date: Fri, 29 Jan 2016 10:08:19 +0000 (+0100) Subject: FlattenToForm - business nicht als Objekt übergeben X-Git-Tag: release-3.4.1~444 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3e0ecaf37c67f6bdcfecede665ffbc04a2806194;p=kivitendo-erp.git FlattenToForm - business nicht als Objekt übergeben --- diff --git a/SL/DB/Helper/FlattenToForm.pm b/SL/DB/Helper/FlattenToForm.pm index 969d6daf1..09966e0ac 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -47,6 +47,7 @@ sub flatten_to_form { $form->{employee} = $self->employee->name if _has($self, 'employee_id'); $form->{language} = $self->language->template_code if _has($self, 'language_id'); $form->{department} = $self->department->description if _has($self, 'department_id'); + $form->{business} = $self->$vc->business->description if _has($self->$vc, 'business_id'); $form->{rowcount} = scalar(@{ $self->items }); my $items_name = ref($self) eq 'SL::DB::Order' ? 'orderitems'