Author: danydb
Date: 2013-12-03 05:34:45 +0100 (Tue, 03 Dec 2013)
New Revision: 597
Modified:
trunk/rapport_avance/include/class_rapav_listing_formula.php
trunk/rapport_avance/include/template/rapav_listing_definition.php
Log:
cosmetic
Modified: trunk/rapport_avance/include/class_rapav_listing_formula.php
===================================================================
--- trunk/rapport_avance/include/class_rapav_listing_formula.php
2013-12-03 04:25:08 UTC (rev 596)
+++ trunk/rapport_avance/include/class_rapav_listing_formula.php
2013-12-03 04:34:45 UTC (rev 597)
@@ -519,9 +519,14 @@
function display()
{
$ledger = RAPAV::get_ledger_name($this->data->jrn_def_id);
- ;
$paid = RAPAV::str_date_type($this->data->date_paid);
- $str = sprintf("Résultat de la formule %s utilisant $ledger %s",
$this->data->fp_formula, $paid);
+ $a_sum=explode(',','invalid,Débit,Crédit,Débit-Crédit,Crédit-Débit');
+ $sumof=($this->data->lp_card_saldo==0)?" du poste comptable":"de la
fiche";
+ $str = sprintf("%s %s %s utilisant $ledger %s",
+ $a_sum[$this->data->type_sum_account],
+ $sumof,
+ $this->data->fp_formula,
+ $paid);
return $str;
}
Modified: trunk/rapport_avance/include/template/rapav_listing_definition.php
===================================================================
--- trunk/rapport_avance/include/template/rapav_listing_definition.php
2013-12-03 04:25:08 UTC (rev 596)
+++ trunk/rapport_avance/include/template/rapav_listing_definition.php
2013-12-03 04:34:45 UTC (rev 597)
@@ -37,8 +37,9 @@
<?php
$nb = count($this->a_detail);
for ($i = 0; $i < $nb; $i++):
+ $class=($i%2==0)?' class="even"':'class="odd"';
?>
- <tr id="tr_<?php echo $this->a_detail[$i]->Param->getp('lp_id') ?>">
+ <tr id="tr_<?php echo $this->a_detail[$i]->Param->getp('lp_id') ?>"
<?php echo $class?>>
<td>
<?php echo $this->a_detail[$i]->Param->getp('code'); ?>
</td>
---
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