X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f53a118d7c22a85f3fd32876d9a3d1a5af3846c5..2d4d9d7f6c019dbeb21eb71f5a7caeb1afb92d39:/bin/mozilla/is.pl diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 6d172088d..00b99a774 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -793,7 +793,7 @@ sub post { relink_accounts(); my $terms = get_payment_terms_for_invoice(); - $form->{duedate} = $terms->calc_date(reference_date => $form->{invdate}, due_date => $form->{due_due})->to_kivitendo if $terms; + $form->{duedate} = $terms->calc_date(reference_date => $form->{invdate}, due_date => $form->{duedate})->to_kivitendo if $terms; # If transfer_out is requested, get rose db handle and do post and # transfer out in one transaction. Otherwise just post the invoice.