X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/d6bf475aee947e7451eb9b797ed0ad5ab5bcf6f8..91ea86b4c90a12c046c6eb37e0ca9f5b9672b81f:/bin/mozilla/ar.pl diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index c653382f7..fbdbbc084 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -1023,8 +1023,11 @@ sub post { } $form->{AR}{receivables} = $form->{ARselected}; + $form->{storno} = 0; $form->{id} = 0 if $form->{postasnew}; + + if (AR->post_transaction(\%myconfig, \%$form)) { # saving the history if(!exists $form->{addition} && $form->{id} ne "") {