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

SF.net SVN: ledger-smb:[5999] branches/1.3



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

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/UI/payments/payments_filter.html

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2013-09-12 10:48:32 UTC (rev 5998)
+++ branches/1.3/Changelog	2013-09-12 10:50:35 UTC (rev 5999)
@@ -8,6 +8,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: branches/1.3/UI/payments/payments_filter.html
===================================================================
--- branches/1.3/UI/payments/payments_filter.html	2013-09-12 10:48:32 UTC (rev 5998)
+++ branches/1.3/UI/payments/payments_filter.html	2013-09-12 10:50:35 UTC (rev 5999)
@@ -123,13 +123,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