fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13138]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13138]
Date: Mon, 04 May 2015 22:02:20 +0000

Revision: 13138
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13138
Author:   nelson224
Date:     2015-05-04 22:02:19 +0000 (Mon, 04 May 2015)
Log Message:
-----------


Added Paths:
-----------
    branches/dev-syncromind/property/js/portico/invoice.consume.js

Added: branches/dev-syncromind/property/js/portico/invoice.consume.js
===================================================================
--- branches/dev-syncromind/property/js/portico/invoice.consume.js              
                (rev 0)
+++ branches/dev-syncromind/property/js/portico/invoice.consume.js      
2015-05-04 22:02:19 UTC (rev 13138)
@@ -0,0 +1,24 @@
+       formatLinkIndexInvoice = function(key, oData)
+       {
+               return "<a href="+ oData['link_voucher'] +">"+ oData[key] 
+"</a>";
+       };
+       
+       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 'consume':
+                                       if (typeof(nCells[i]) !== 'undefined') 
+                                       {
+                                               nCells[i].innerHTML = data.sum;
+                                       }
+                                       break;
+                       }
+               }
+       };
\ No newline at end of file




reply via email to

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