Debitorenbuchungsstornos in history_erp
authorG. Richardson <information@kivitendo-premium.de>
Tue, 3 Feb 2015 06:57:37 +0000 (07:57 +0100)
committerG. Richardson <information@kivitendo-premium.de>
Wed, 4 Feb 2015 15:59:53 +0000 (16:59 +0100)
richtig protokollieren, mit invnumber statt ordnumber

bin/mozilla/ar.pl

index a7a93de..2960001 100644 (file)
@@ -1099,7 +1099,7 @@ sub storno {
 
   # saving the history
   if(!exists $form->{addition} && $form->{id} ne "") {
-    $form->{snumbers} = "ordnumber_$form->{ordnumber}";
+    $form->{snumbers} = qq|invnumber_| . $form->{invnumber};
     $form->{addition} = "STORNO";
     $form->save_history;
   }