X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fct.pl;h=09068dce4ad72353d2ddc1f5d1abda7615778ce1;hb=264b38c7465f95066b47588c2fbe85f102bd022c;hp=0e1df522a0b0ba12d3903b13d1b948cf28f2d6fc;hpb=7337082ff889409364ee0959aac2e53633974694;p=kivitendo-erp.git
diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl
index 0e1df522a..09068dce4 100644
--- a/bin/mozilla/ct.pl
+++ b/bin/mozilla/ct.pl
@@ -69,8 +69,7 @@ sub search {
if ($form->{db} eq 'vendor') {
$gifi = qq|
|
- . $locale->text('GIFI')
- . qq| |
+ . $locale->text('GIFI') . qq|
|;
}
@@ -112,8 +111,7 @@ sub search {
|
. $locale->text('All') . qq|
|
- . $locale->text('Orphaned')
- . qq| |
+ . $locale->text('Orphaned') . qq|
| . $locale->text('Include in Report') . qq| |
@@ -121,54 +119,40 @@ sub search {
@@ -528,10 +512,10 @@ sub form_header {
|;
}
-
$form->{selectbusiness} = qq|\n|;
+ map {
+ $form->{selectpricegroup} .=
+ qq|$_->{pricegroup}\n|
+ } @{ $form->{all_pricegroup} };
+ }
+
+ if ($form->{selectpricegroup}) {
+ $form->{selectpricegroup} = $form->unescape($form->{selectpricegroup});
+
+ $pricegroup =
+ qq||;
+
+ $form->{selectpricegroup} =~
+ s/($form->{selectpricegroup}|;
+
+ }
+ }
# $locale->text('Customer Number')
# $locale->text('Vendor Number')
$form->{fokus} = "ct.name";
@@ -617,11 +632,9 @@ sub form_header {