phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r727 - trunk/amortis/include/template


From: phpcompta-dev
Subject: [Phpcompta-dev] r727 - trunk/amortis/include/template
Date: Wed, 4 Jun 2014 20:08:42 +0200 (CEST)

Author: danydb
Date: 2014-06-04 20:08:41 +0200 (Wed, 04 Jun 2014)
New Revision: 727

Modified:
   trunk/amortis/include/template/material_listing.php
Log:
Task #1000 - Classement par montants croissants dans amortissement - 
probl?\195?\168me de d?\195?\169cimale?
bug #1000: Classement par montants croissants dans amortissement, 
prob?\195?\168me de javascript

Modified: trunk/amortis/include/template/material_listing.php
===================================================================
--- trunk/amortis/include/template/material_listing.php 2014-03-14 18:59:33 UTC 
(rev 726)
+++ trunk/amortis/include/template/material_listing.php 2014-06-04 18:08:41 UTC 
(rev 727)
@@ -29,11 +29,11 @@
        // <td sorttable_customkey="<?php echo $row_bank['b_date']
        echo '<td 
sorttable_customkey="'.$ret[$i]->a_date.'">'.format_date($ret[$i]->a_date).'</td>';
        echo td($ret[$i]->a_start);
-        echo td(nbm($ret[$i]->a_amount),'style="text-align:right"');
+        echo td(nbm($ret[$i]->a_amount),' 
sorttable_customkey="'.$ret[$i]->a_amount.'"   "style="text-align:right"');
         $amortized=$cn->get_value("select sum(h_amount) from 
amortissement.amortissement_histo where a_id=$1",array($ret[$i]->a_id));
         $remain=bcsub($ret[$i]->a_amount,$amortized);
-         echo td(nbm($amortized),'style="text-align:right"');
-         echo td(nbm($remain),'style="text-align:right"');
+         echo td(nbm($amortized),'sorttable_customkey="'.$amortized.'" 
style="text-align:right"');
+         echo td(nbm($remain),'sorttable_customkey="'.$remain.'"  
style="text-align:right"');
 
   echo '</tr>';
 endfor;



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

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