From 33dc2fcdf6c63b72ddb80213f4a41dbbafae2241 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 21 Jan 2014 13:39:46 +0100 Subject: [PATCH] Revert "Bei Angebot / Auftrag / Lieferschein (Ein- und Verkauf) wird beim Drucken-Knopf der Beleg aktualisiert." This reverts commit 2bc376b9be6507cc0fdf3ddca0ed410566cf3ba4. closes #2436 --- bin/mozilla/io.pl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index c584f32c6..e10389171 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1206,17 +1206,12 @@ sub print { } $form->{print_and_save} = 1; my $formname = $form->{formname}; - save(); + &save(); $form->{formname} = $formname; - edit(); + &edit(); $::lxdebug->leave_sub(); ::end_of_request(); } - elsif (($form->{type} =~ /_order$/) || ($form->{type} =~ /_quotation$/)) { - $form->{print_and_save} = 1; - save(); - } - &print_form($old_form); -- 2.20.1