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

SF.net SVN: ledger-smb:[6231] trunk/UI/Contact/divs/credit.html



Revision: 6231
          http://sourceforge.net/p/ledger-smb/code/6231
Author:   einhverfr
Date:     2013-11-07 07:27:38 +0000 (Thu, 07 Nov 2013)
Log Message:
-----------
Correcting issue determining whether tax box is to be checked or not, where there are large numbers of taxes

Modified Paths:
--------------
    trunk/UI/Contact/divs/credit.html

Modified: trunk/UI/Contact/divs/credit.html
===================================================================
--- trunk/UI/Contact/divs/credit.html	2013-11-06 11:36:54 UTC (rev 6230)
+++ trunk/UI/Contact/divs/credit.html	2013-11-07 07:27:38 UTC (rev 6231)
@@ -261,7 +261,7 @@
         <div class="inputrow" id="taxrow-<?lsmb tx.chart_id ?>">
         
             <?lsmb checked = "";  
-                   IF credit_act.tax_ids.grep(tx.id).size == 1;
+                   IF credit_act.tax_ids.grep("^${tx.id}$").size == 1;
                        checked = "CHECKED";
                    END;
                    INCLUDE input 

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


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits