Author: danydb
Date: 2013-05-17 00:32:18 +0200 (Fri, 17 May 2013)
New Revision: 5275
Modified:
phpcompta/trunk/html/js/acc_ledger.js
phpcompta/trunk/include/impress_gl_comptes.inc.php
Log:
Task #0000823: Mise en evidence des op?\195?\169rations lettr?\195?\169es
Police en gras et ajout dans grand livre
Modified: phpcompta/trunk/html/js/acc_ledger.js
===================================================================
--- phpcompta/trunk/html/js/acc_ledger.js 2013-05-16 22:13:12 UTC (rev
5274)
+++ phpcompta/trunk/html/js/acc_ledger.js 2013-05-16 22:32:18 UTC (rev
5275)
@@ -951,6 +951,7 @@
for (i=0;i<count_elt;i++){
previous[i].style.backgroundColor='';
previous[i].style.color='';
+ previous[i].style.fontWeight="";
}
}
var name='tr_'+p_let+'_'+p_div;
@@ -961,6 +962,8 @@
for (i=0;i<count_elt;i++){
elt[i].style.backgroundColor='#000066';
elt[i].style.color='white';
+ elt[i].style.fontWeight='bolder';
+
}
} catch (e)
Modified: phpcompta/trunk/include/impress_gl_comptes.inc.php
===================================================================
--- phpcompta/trunk/include/impress_gl_comptes.inc.php 2013-05-16 22:13:12 UTC
(rev 5274)
+++ phpcompta/trunk/include/impress_gl_comptes.inc.php 2013-05-16 22:32:18 UTC
(rev 5275)
@@ -218,10 +218,15 @@
$solde_d = bcadd($solde_d,$detail['deb_montant']);
}
$side=" ".$Poste->get_amount_side($solde);
-
$letter=($detail['letter']!=-1)?hi(strtoupper(base_convert($detail['letter'],10,36))):'';
+ $letter="";
+ $html_let="";
+ if ($detail['letter']!=-1) {
+
$letter=strtoupper(base_convert($detail['letter'],10,36));
+ $html_let = HtmlInput::show_reconcile("", $letter);
+ }
$i++;
if (($i % 2 ) == 0) $class="odd"; else $class="even";
- echo '<tr class="'.$class.'">
+ echo '<tr name="tr_'.$letter.'_" class="'.$class.'">
<td>'.$detail['j_date_fmt'].'</td>
<td>'.HtmlInput::detail_op($detail['jr_id'],$detail['jr_internal']).'</td>
<td>'.$detail['description'].'</td>
@@ -229,7 +234,7 @@
<td align="right">'.($detail['deb_montant'] > 0 ?
nbm($detail['deb_montant']) : '').'</td>
<td align="right">'.($detail['cred_montant'] > 0 ?
nbm($detail['cred_montant']) : '').'</td>
<td align="right">'.nbm(abs($solde)).$side.'</td>
- <td style="text-align:right;color:red">'.$letter.'</td>
+ <td style="text-align:right;color:red">'.$html_let.'</td>
</tr>';
}
echo '<tr >
---
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