From: G. Richardson Date: Mon, 6 May 2013 14:00:04 +0000 (+0200) Subject: Verkaufsbericht - Zeilenabstände verschönert und kompakter gemacht X-Git-Tag: release-3.1.0beta1~417^2~3 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/commitdiff_plain/f44f1216a36ec2b2e30181e2f33d86c874e1d5c2 Verkaufsbericht - Zeilenabstände verschönert und kompakter gemacht wählt man ohne Artikelmodus nur die Zwischensumme der Hauptsortierung aus, wird nun nicht mehr eine Leerzeile zwischen jedem Artikel hinzugefügt. --- 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