diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-21 15:44:26 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-21 15:44:26 +0000 |
commit | 767f00372726c561e86f3b57bf3437ae175dbb0b (patch) | |
tree | bb709080b47acf296ec63cc9e014d6b0853e76a7 | |
parent | 69d00a1e810accadd2bbc26ec58f9d827826f088 (diff) |
* 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
-rw-r--r-- | UI/Contact/contact.css | 7 | ||||
-rw-r--r-- | UI/Contact/contact.html | 14 | ||||
-rw-r--r-- | scripts/customer.pl | 4 | ||||
-rw-r--r-- | 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 --> </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 |