summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UI/Contact/contact.css7
-rw-r--r--UI/Contact/contact.html14
-rw-r--r--scripts/customer.pl4
-rw-r--r--sql/Pg-database.sql2
4 files changed, 12 insertions, 15 deletions
diff --git a/UI/Contact/contact.css b/UI/Contact/contact.css
index 6675452f..2f0575df 100644
--- a/UI/Contact/contact.css
+++ b/UI/Contact/contact.css
@@ -23,12 +23,7 @@ div.note_contents {
white-space:pre
}
-#line-two {
- position: relative;
- left: 12ex;
-}
-
-#line-three {
+.addl-address {
position: relative;
left: 12ex;
}
diff --git a/UI/Contact/contact.html b/UI/Contact/contact.html
index e1b92cb0..08e4ce5b 100644
--- a/UI/Contact/contact.html
+++ b/UI/Contact/contact.html
@@ -518,17 +518,19 @@ problems with multi-word single-quoted constructs in PI tags. -CT -->
</div>
<div>
<?lsmb PROCESS input element_data = {
- name = "line_two",
- value = line_two,
- type = "text",
+ name = "line_two"
+ class = "addl-address"
+ value = line_two
+ type = "text"
size = "20"
} ?>
</div>
<div>
<?lsmb PROCESS input element_data = {
- name = "line_three",
- value = line_three,
- type = "text",
+ name = "line_three"
+ class = "addl-address"
+ value = line_three
+ type = "text"
size = "20"
} ?>
</div>
diff --git a/scripts/customer.pl b/scripts/customer.pl
index 4de276cd..fb1297ba 100644
--- a/scripts/customer.pl
+++ b/scripts/customer.pl
@@ -114,8 +114,8 @@ sub search {
my ($request) = @_;
- # grab the happy search page out.
-
+ $request->{script} = "customer.pl";
+ $request->{account_class} = 2;
my $template = LedgerSMB::Template->new(
user => $request->{_user},
path => 'UI/Contact' ,
diff --git a/sql/Pg-database.sql b/sql/Pg-database.sql
index 102b9255..03b4afb5 100644
--- a/sql/Pg-database.sql
+++ b/sql/Pg-database.sql
@@ -2054,7 +2054,7 @@ COPY menu_attribute (node_id, attribute, value, id) FROM stdin;
13 menu 1 31
14 module customer.pl 32
14 action search 36
-15 module ct.pl 35
+15 module customer.pl 35
15 db customer 37
15 action history 33
16 menu 1 38