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
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev