From eaaf40cf3b0082a131077f4a71747839436c2c89 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 22 Nov 2010 18:13:37 +0100 Subject: [PATCH] =?utf8?q?Ansprechpartner=20richtig=20zur=20Verf=C3=BCgung?= =?utf8?q?=20stellen?= 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 80dcf57ff..edd3018d6 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -43,6 +43,7 @@ sub flatten_to_form { _copy($self->salesman, $form, 'salesman', '', 0, map { $_->name } SL::DB::Employee->meta->columns) if _has($self, 'salesman_id'); _copy($self->acceptance_confirmed_by, $form, 'acceptance_confirmed_by_', '', 0, map { $_->name } SL::DB::Employee->meta->columns) if _has($self, 'acceptance_confirmed_by_id'); + $form->{employee} = $self->employee->name if _has($self, 'employee_id'); $form->{language} = $self->language_code if _has($self, 'language_id'); $form->{department} = $self->department->description if _has($self, 'department_id'); $form->{rowcount} = scalar(@{ $self->items }); -- 2.20.1