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

SF.net SVN: ledger-smb:[5631] trunk/UI/payments/payments_filter.html



Revision: 5631
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5631&view=rev
Author:   einhverfr
Date:     2013-01-26 01:59:57 +0000 (Sat, 26 Jan 2013)
Log Message:
-----------
Correcting rendering issues with payment filter screen

Modified Paths:
--------------
    trunk/UI/payments/payments_filter.html

Modified: trunk/UI/payments/payments_filter.html
===================================================================
--- trunk/UI/payments/payments_filter.html	2013-01-25 15:46:35 UTC (rev 5630)
+++ trunk/UI/payments/payments_filter.html	2013-01-26 01:59:57 UTC (rev 5631)
@@ -86,14 +86,19 @@
 <?lsmb END ?>
 </div>
 <div class="input" id="account_input">
-	<label for="account"><?lsmb text('Account') ?>
-	<select name="ar_ap_accno">
-	<?lsmb FOREACH a = debt_accounts ?>
-	<option value="<?lsmb a.accno ?>" <?lsmb 
-		IF a.id == account ?> SELECTED <?lsmb END ?>>
-			<?lsmb a.accno ?>--<?lsmb a.description ?></option>
-	<?lsmb END ?>
-	</select>
+    <?lsmb
+     FOREACH a = debt_accounts;
+       a.text = a.accno _ '--' _ a.description;
+     END;
+     PROCESS select element_data = {
+          label = text('Account')
+           name = "ar_ap_accno"
+        options = debt_accounts
+     value_attr = 'accno'
+      text_attr = 'text'
+ default_values = [account]
+    } ?>
+</div>
 <div id = "payments-filter-daterow" class = "inputgroup">
 <?lsmb PROCESS input element_data = {
 	label = text('Date From:')

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