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

SF.net SVN: ledger-smb:[5426] trunk/UI/Reports/filters/unapproved.html



Revision: 5426
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5426&view=rev
Author:   einhverfr
Date:     2012-12-27 08:39:37 +0000 (Thu, 27 Dec 2012)
Log Message:
-----------
Minor refactoring on unapproved transactions search screen.

Modified Paths:
--------------
    trunk/UI/Reports/filters/unapproved.html

Modified: trunk/UI/Reports/filters/unapproved.html
===================================================================
--- trunk/UI/Reports/filters/unapproved.html	2012-12-27 08:10:31 UTC (rev 5425)
+++ trunk/UI/Reports/filters/unapproved.html	2012-12-27 08:39:37 UTC (rev 5426)
@@ -14,7 +14,10 @@
        { text = text('GL'), value = 'gl'},
    ];
    script = 'drafts.pl';
+   action = 'list_drafts';
 ELSE;
+   script = 'vouchers.pl';
+   action = 'list_batches';
    FOR CLS IN batch_classes;
        CLS.text = CLS.class;
        CLS.value = CLS.class;
@@ -77,7 +80,7 @@
 	<?lsmb INCLUDE button element_data = {
 		text = text('Search')
 		name = "action"
-		value = "list_drafts"
+		value = action
 		class = "submit"
 		type = "submit"
 	} ?> </div>

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