Revision eaaf40cf
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/Helper/FlattenToForm.pm | ||
---|---|---|
43 | 43 |
_copy($self->salesman, $form, 'salesman', '', 0, map { $_->name } SL::DB::Employee->meta->columns) if _has($self, 'salesman_id'); |
44 | 44 |
_copy($self->acceptance_confirmed_by, $form, 'acceptance_confirmed_by_', '', 0, map { $_->name } SL::DB::Employee->meta->columns) if _has($self, 'acceptance_confirmed_by_id'); |
45 | 45 |
|
46 |
$form->{employee} = $self->employee->name if _has($self, 'employee_id'); |
|
46 | 47 |
$form->{language} = $self->language_code if _has($self, 'language_id'); |
47 | 48 |
$form->{department} = $self->department->description if _has($self, 'department_id'); |
48 | 49 |
$form->{rowcount} = scalar(@{ $self->items }); |
Auch abrufbar als: Unified diff
Ansprechpartner richtig zur Verfügung stellen