From f44f1216a36ec2b2e30181e2f33d86c874e1d5c2 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Mon, 6 May 2013 16:00:04 +0200 Subject: [PATCH] =?utf8?q?Verkaufsbericht=20-=20Zeilenabst=C3=A4nde=20vers?= =?utf8?q?ch=C3=B6nert=20und=20kompakter=20gemacht?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit wählt man ohne Artikelmodus nur die Zwischensumme der Hauptsortierung aus, wird nun nicht mehr eine Leerzeile zwischen jedem Artikel hinzugefügt. --- bin/mozilla/vk.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/mozilla/vk.pl b/bin/mozilla/vk.pl index c6296e90b..4870a9989 100644 --- a/bin/mozilla/vk.pl +++ b/bin/mozilla/vk.pl @@ -104,6 +104,11 @@ sub invoice_transactions { # can't currently be configured from report, empty line between main sortings my $addemptylines = 1; + + # don't add empty lines between mainsort subtotals when only subtotal_mainsort is selected + if ($form->{l_subtotal_mainsort} eq "Y" and not defined $form->{l_headers_mainsort} and not defined $form->{l_headers_subsort} and not defined $form->{l_subtotal_subsort} ) { + $addemptylines = 0 + }; if ( $form->{customer} =~ /--/ ) { # Felddaten kommen aus Dropdownbox -- 2.20.1