]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/IS.pm
IC.pm->prepare_parts_for_printing an die TEMPLATE_ARRAYS Konvention angepasst,
[kivitendo-erp.git] / SL / IS.pm
index 0ec51c10d822e0692df7bf8db567bb000e0bda45..2443d852c1f393cc2c87929e4591bf0c38ff9f05 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -149,7 +149,7 @@ sub invoice_details {
 
   my @payment_arrays = qw(payment paymentaccount paymentdate paymentsource paymentmemo);
 
-  $form->{TEMPLATE_ARRAYS} = { map { $_ => [] } (@arrays, @tax_arrays, @payment_arrays) };
+  map { $form->{TEMPLATE_ARRAYS}{$_} => [] } (@arrays, @tax_arrays, @payment_arrays);
 
   foreach $item (sort { $a->[1] cmp $b->[1] } @partsgroup) {
     $i = $item->[0];