fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13122]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13122]
Date: Thu, 30 Apr 2015 20:59:23 +0000

Revision: 13122
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13122
Author:   nelson224
Date:     2015-04-30 20:59:21 +0000 (Thu, 30 Apr 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/js/portico/invoice.index.js

Modified: branches/dev-syncromind/property/js/portico/invoice.index.js
===================================================================
--- branches/dev-syncromind/property/js/portico/invoice.index.js        
2015-04-30 13:16:10 UTC (rev 13121)
+++ branches/dev-syncromind/property/js/portico/invoice.index.js        
2015-04-30 20:59:21 UTC (rev 13122)
@@ -1,5 +1,24 @@
+       addFooterDatatable2 = function (nRow, aaData, iStart, iEnd, aiDisplay, 
oTable) 
+       {
+               var api = oTable.api();
+               var data = api.ajax.json();
+               var nCells = nRow.getElementsByTagName('th');
 
-
+               for(i=0;i < JqueryPortico.columns.length;i++)
+               {
+                       switch (JqueryPortico.columns[i]['data']) 
+                       {
+                               case 'amount_lnk':
+                                       if (typeof(nCells[i]) !== 'undefined') 
+                                       {
+                                               nCells[i-1].innerHTML = 
"Total:";
+                                               nCells[i].innerHTML = 
data.sum_amount;
+                                       }
+                                       break;
+                       }
+               }
+       };
+       
        
/********************************************************************************
        * Format column PERIOD
        */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]