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

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



Revision: 5998
          http://sourceforge.net/p/ledger-smb/code/5998
Author:   einhverfr
Date:     2013-09-12 10:48:32 +0000 (Thu, 12 Sep 2013)
Log Message:
-----------
Fixed bug 861, receipts saying pay from cash account

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

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2013-08-31 15:46:28 UTC (rev 5997)
+++ trunk/Changelog	2013-09-12 10:48:32 UTC (rev 5998)
@@ -93,6 +93,7 @@
 * Updated gnome2 stylesheet (Pongracz I)
 * Updated Hungarian translation (Pongracz I)
 * Fixed is_zero error on inventory activity report (Chris T)
+* Fixed bug 861, receipts saying "pay from" cash account (Chris T)
 
 
 Changelog for 1.3.34

Modified: trunk/UI/payments/payments_filter.html
===================================================================
--- trunk/UI/payments/payments_filter.html	2013-08-31 15:46:28 UTC (rev 5997)
+++ trunk/UI/payments/payments_filter.html	2013-09-12 10:48:32 UTC (rev 5998)
@@ -128,13 +128,17 @@
 </div>
 <div class="listtop"><?lsmb text('Payment Processing') ?></div>
 	
-      <?lsmb INCLUDE select element_data = {
+      <?lsmb 
+          IF account_class == 1; pay_label = text('Pay From');#'
+          ELSIF account_class == 2; pay_label = text('Pay To'); #'
+          END;
+          INCLUDE select element_data = {
 		name = "cash_accno"
 		default_values = [cash_accno]
 		options = cash_accounts
 		value_attr = "accno"
 		text_attr = "text"
-		label = text('Pay From:') # '
+		label = pay_label _ ':'
 	} ?> 
 
 <?lsmb IF payment_types ?>

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


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits