projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbba1f9
)
API-Umstellung auf Hash-Parameter
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 12 Jan 2011 15:37:26 +0000
(16:37 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 12 Jan 2011 15:37:26 +0000
(16:37 +0100)
Conflicts:
SL/Controller/SalesProcess.pm
SL/DB/Helper/FlattenToForm.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Helper/FlattenToForm.pm
b/SL/DB/Helper/FlattenToForm.pm
index
a09c75c
..
beaaa05
100644
(file)
--- a/
SL/DB/Helper/FlattenToForm.pm
+++ b/
SL/DB/Helper/FlattenToForm.pm
@@
-10,7
+10,7
@@
use List::MoreUtils qw(any);
use SL::CVar;
sub flatten_to_form {
- my ($self, $form,
$format_amount
s) = @_;
+ my ($self, $form,
%param
s) = @_;
my $vc = $self->can('customer_id') && $self->customer_id ? 'customer' : 'vendor';
@@
-49,6
+49,7
@@
sub flatten_to_form {
$form->{rowcount} = scalar(@{ $self->items });
my $idx = 0;
+ my $format_amounts = $params{format_amounts};
foreach my $item (@{ $self->items }) {
next if _has($item, 'assemblyitem');