Revision c17e4e54
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/Helper/FlattenToForm.pm | ||
---|---|---|
10 | 10 |
use SL::CVar; |
11 | 11 |
|
12 | 12 |
sub flatten_to_form { |
13 |
my ($self, $form, $format_amounts) = @_;
|
|
13 |
my ($self, $form, %params) = @_;
|
|
14 | 14 |
|
15 | 15 |
my $vc = $self->can('customer_id') && $self->customer_id ? 'customer' : 'vendor'; |
16 | 16 |
|
... | ... | |
49 | 49 |
$form->{rowcount} = scalar(@{ $self->items }); |
50 | 50 |
|
51 | 51 |
my $idx = 0; |
52 |
my $format_amounts = $params{format_amounts}; |
|
52 | 53 |
foreach my $item (@{ $self->items }) { |
53 | 54 |
next if _has($item, 'assemblyitem'); |
54 | 55 |
|
Auch abrufbar als: Unified diff
API-Umstellung auf Hash-Parameter
Conflicts: