X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/98452aaaecf90a5689c21cc959074976985506c6..2ee3f0d75f00b1df29a6c1b27268093d3a09c4eb:/SL/IS.pm diff --git a/SL/IS.pm b/SL/IS.pm index b19705364..9b978217e 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -155,7 +155,7 @@ sub invoice_details { my @payment_arrays = qw(payment paymentaccount paymentdate paymentsource paymentmemo); - map { $form->{TEMPLATE_ARRAYS}{$_} => [] } (@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]; @@ -737,8 +737,6 @@ sub post_invoice { } } - $form->{datepaid} = $form->{invdate}; - # total payments, don't move we need it here for my $i (1 .. $form->{paidaccounts}) { if ($form->{type} eq "credit_note") {