Revision 3e0ecaf3
Von Kivitendo Admin vor fast 9 Jahren hinzugefügt
SL/DB/Helper/FlattenToForm.pm | ||
---|---|---|
47 | 47 |
$form->{employee} = $self->employee->name if _has($self, 'employee_id'); |
48 | 48 |
$form->{language} = $self->language->template_code if _has($self, 'language_id'); |
49 | 49 |
$form->{department} = $self->department->description if _has($self, 'department_id'); |
50 |
$form->{business} = $self->$vc->business->description if _has($self->$vc, 'business_id'); |
|
50 | 51 |
$form->{rowcount} = scalar(@{ $self->items }); |
51 | 52 |
|
52 | 53 |
my $items_name = ref($self) eq 'SL::DB::Order' ? 'orderitems' |
Auch abrufbar als: Unified diff
FlattenToForm - business nicht als Objekt übergeben