From: Stephan Köhler Date: Sat, 7 Jan 2006 18:11:21 +0000 (+0000) Subject: Merge von 753,754,755 aus unstable: Bugfix Preisgruppen X-Git-Tag: release-2.2.0~44 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a83fd9027e7719a82eaf23139299486aef57043e;p=kivitendo-erp.git Merge von 753,754,755 aus unstable: Bugfix Preisgruppen 753 -Nachtrag zu Bug 154 - Firefox ignoriert rechten Rand/Rahmen bei Berichte->BWA Dank an Sven 754 -Einmal quoting hinzugefuegt, und einmal ueberfluessige Newlines in den Variablen entfernt 755 -Zeilenanzahl der Preisgruppen im Dialog Stammdaten->Dienstleistung erfassen gefixt. --- diff --git a/SL/Form.pm b/SL/Form.pm index f6e3bf253..c16353284 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -877,6 +877,7 @@ sub parse_template { } s/<%(.+?)%>/$self->{$1}/g; + s/<\/nobr>/ /g; print OUT; } diff --git a/SL/IC.pm b/SL/IC.pm index eb230ef9f..fd8a23061 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -163,7 +163,7 @@ sub get_part { $form->{"price_$i"} = $form->format_amount($myconfig, $form->{"price_$i"}, 5); $form->{"pricegroup_id_$i"} = "$name->{id}"; - $form->{"pricegroup_$i"} = "$name->{pricegroup}\n"; + $form->{"pricegroup_$i"} = "$name->{pricegroup}"; $i++; } } @@ -263,7 +263,7 @@ sub get_pricegroups { $form->{"price_$i"} = $form->format_amount($myconfig, $form->{"price_$i"}, 5); $form->{"pricegroup_id_$i"} = "$name->{id}"; - $form->{"pricegroup_$i"} = "$name->{pricegroup}\n"; + $form->{"pricegroup_$i"} = "$name->{pricegroup}"; $i++; } } diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index f5e581d6f..daddf6a0c 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -3042,7 +3042,7 @@ sub price_row { for $i (1 .. $numrows) { print qq| - {"pricegroup_$i"}>$form->{"pricegroup_$i"} + $form->{"pricegroup_$i"} diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 22acf9710..c70420944 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -826,7 +826,7 @@ sub display_form { $subroutine = "assembly_row"; } if ($form->{item} eq 'service') { - $numrows = ++$form->{price_rows}; + $numrows = $form->{price_rows}; $subroutine = "price_row"; &{$subroutine}($numrows);