X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fis.pl;h=1be623fe895eec8edf864294f12ac292e13baab9;hb=fcd7e9323bca5c880aede409cca40e716d16489c;hp=df3062f818a08930e328db791c7f7b45c2394992;hpb=7e6bdfc6728ec15377f5b78dd1fb4eaefed84962;p=kivitendo-erp.git diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index df3062f81..1be623fe8 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -261,10 +261,11 @@ sub prepare_invoice { # # get pricegroups for parts # IS->get_pricegroups_for_parts(\%myconfig, \%$form); + my $i = 0; + foreach $ref (@{ $form->{invoice_details} }) { $i++; - map { $form->{"${_}_$i"} = $ref->{$_} } keys %{$ref}; $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"discount_$i"} * 100);