X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fct.pl;h=66fd60ce812d60d03377daa4ea8d91b80b246679;hb=5ff43c9827db9fe9af6171a390d40bccdefc7e73;hp=0e1df522a0b0ba12d3903b13d1b948cf28f2d6fc;hpb=bb1c185dd07e69b46ad26efa74d8eef99307daf8;p=kivitendo-erp.git
diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl
index 0e1df522a..66fd60ce8 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 +634,9 @@ sub form_header {