From a3db203d790b5317f70c79adc7abbacd94c94a4c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 17 Apr 2007 13:35:00 +0000 Subject: [PATCH] Checkbox "geliefert" auch anzeigen, wenn der Verkaufsbeleg noch nicht gespeichert wurde. --- bin/mozilla/oe.pl | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 9820c3c42..567a2590e 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -385,23 +385,25 @@ sub form_header { {reqdate}>|; } - if ($form->{id}) { - $openclosed = qq| - - - - -|; + my @tmp; - if (($form->{"type"} eq "sales_order") || - ($form->{"type"} eq "purchase_order")) { - $openclosed .= qq| + if (($form->{"type"} eq "sales_order") || + ($form->{"type"} eq "purchase_order")) { + push(@tmp, qq| - -|; - } + |); + } + if ($form->{id}) { + push(@tmp, qq| + + |); + } + + if (@tmp) { $openclosed .= qq| + + | . join("\n", @tmp) . qq| |; -- 2.20.1