]> wagnertech.de Git - mfinanz.git/blobdiff - SL/IS.pm
t/REAMDE, ein weiterer gewünschter Test
[mfinanz.git] / SL / IS.pm
index b197053640cfb905c012e4a173e2e973348f21e7..9b978217e831d9fc1b81031a9453090a15ffc927 100644 (file)
--- 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") {