[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r597 - in trunk/rapport_avance/include: . template
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r597 - in trunk/rapport_avance/include: . template |
Date: |
Tue, 3 Dec 2013 05:34:45 +0100 (CET) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r597 - in trunk/rapport_avance/include: . template,
phpcompta-dev <=