From 3e0ecaf37c67f6bdcfecede665ffbc04a2806194 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Fri, 29 Jan 2016 11:08:19 +0100 Subject: [PATCH] =?utf8?q?FlattenToForm=20-=20business=20nicht=20als=20Obj?= =?utf8?q?ekt=20=C3=BCbergeben?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Helper/FlattenToForm.pm | 1 + 1 file changed, 1 insertion(+) 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' -- 2.20.1