From 767f00372726c561e86f3b57bf3437ae175dbb0b Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 21 Aug 2008 15:44:26 +0000 Subject: * Minor fixes to customer/vendor entry * Fixes to customer search functionality git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2295 4979c152-3d1c-0410-bac9-87ea11338e46 --- UI/Contact/contact.css | 7 +------ UI/Contact/contact.html | 14 ++++++++------ scripts/customer.pl | 4 ++-- sql/Pg-database.sql | 2 +- 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 -->
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 -- cgit v1.2.3