[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[2295] trunk



Revision: 2295
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2295&view=rev
Author:   einhverfr
Date:     2008-08-21 15:44:26 +0000 (Thu, 21 Aug 2008)

Log Message:
-----------
 * Minor fixes to customer/vendor entry
 * Fixes to customer search functionality

Modified Paths:
--------------
    trunk/UI/Contact/contact.css
    trunk/UI/Contact/contact.html
    trunk/scripts/customer.pl
    trunk/sql/Pg-database.sql

Modified: trunk/UI/Contact/contact.css
===================================================================
--- trunk/UI/Contact/contact.css	2008-08-21 04:14:43 UTC (rev 2294)
+++ trunk/UI/Contact/contact.css	2008-08-21 15:44:26 UTC (rev 2295)
@@ -23,16 +23,11 @@
 	white-space:pre
 }
 
-#line-two {
+.addl-address {
 	position: relative;
 	left: 12ex;
 }
 
-#line-three {
-	position: relative;
-	left: 12ex;
-}
-
 div label {
 	margin-left: 1em;
 }

Modified: trunk/UI/Contact/contact.html
===================================================================
--- trunk/UI/Contact/contact.html	2008-08-21 04:14:43 UTC (rev 2294)
+++ trunk/UI/Contact/contact.html	2008-08-21 15:44:26 UTC (rev 2295)
@@ -518,17 +518,19 @@
 	</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>

Modified: trunk/scripts/customer.pl
===================================================================
--- trunk/scripts/customer.pl	2008-08-21 04:14:43 UTC (rev 2294)
+++ trunk/scripts/customer.pl	2008-08-21 15:44:26 UTC (rev 2295)
@@ -114,8 +114,8 @@
     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' ,

Modified: trunk/sql/Pg-database.sql
===================================================================
--- trunk/sql/Pg-database.sql	2008-08-21 04:14:43 UTC (rev 2294)
+++ trunk/sql/Pg-database.sql	2008-08-21 15:44:26 UTC (rev 2295)
@@ -2054,7 +2054,7 @@
 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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.