Kreditorenbuchung: Stornos korrekt in history speichern
authorG. Richardson <information@kivitendo-premium.de>
Mon, 29 Jun 2015 07:54:00 +0000 (09:54 +0200)
committerG. Richardson <information@kivitendo-premium.de>
Mon, 29 Jun 2015 08:00:59 +0000 (10:00 +0200)
invnumber statt ordnumber

bin/mozilla/ap.pl

index 84a2cbd..44ad4b3 100644 (file)
@@ -1028,7 +1028,7 @@ sub storno {
 
   # saving the history
   if(!exists $form->{addition} && $form->{id} ne "") {
-    $form->{snumbers} = "ordnumber_$form->{ordnumber}";
+    $form->{snumbers} = "invnumber_$form->{invnumber}";
     $form->{addition} = "STORNO";
     $form->save_history;
   }