]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/ar.pl
Setzen des Stornoflags auf "0" anstelle von NULL.
[kivitendo-erp.git] / bin / mozilla / ar.pl
index c653382f75d620f83afa2742aaa332499f40b500..fbdbbc084f3b0456ce8d7f1d8c102aba1b613fed 100644 (file)
@@ -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 "") {