From 71b8b51469ed9cb1da0c87e8d4de07e7dfe30589 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Tue, 3 Feb 2015 07:57:37 +0100 Subject: [PATCH] Debitorenbuchungsstornos in history_erp richtig protokollieren, mit invnumber statt ordnumber --- bin/mozilla/ar.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index a7a93de55..2960001fc 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -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; } -- 2.20.1