[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r654 - trunk/rapport_avance/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r654 - trunk/rapport_avance/include |
Date: |
Thu, 9 Jan 2014 16:41:27 +0100 (CET) |
Author: danydb
Date: 2014-01-09 16:41:27 +0100 (Thu, 09 Jan 2014)
New Revision: 654
Modified:
trunk/rapport_avance/include/class_rapav_listing_compute.php
trunk/rapport_avance/include/class_rapav_listing_formula.php
Log:
Add generate invoice
Modified: trunk/rapport_avance/include/class_rapav_listing_compute.php
===================================================================
--- trunk/rapport_avance/include/class_rapav_listing_compute.php
2014-01-09 13:04:46 UTC (rev 653)
+++ trunk/rapport_avance/include/class_rapav_listing_compute.php
2014-01-09 15:41:27 UTC (rev 654)
@@ -190,7 +190,10 @@
for ($e=0;$e<$nb_detail;$e++)
{
$detail=$odetail->next($r_detail,$e);
- echo th( $detail->lc_code);
+ if ( $detail->ld_value_numeric !== null )
+ echo th( $detail->lc_code,' style="text-align:right"');
+ else
+ echo th( $detail->lc_code,'
style="text-align:center"');
}
echo th("Fichier");
if ( GENERATE_PDF == 'YES')
Modified: trunk/rapport_avance/include/class_rapav_listing_formula.php
===================================================================
--- trunk/rapport_avance/include/class_rapav_listing_formula.php
2014-01-09 13:04:46 UTC (rev 653)
+++ trunk/rapport_avance/include/class_rapav_listing_formula.php
2014-01-09 15:41:27 UTC (rev 654)
@@ -594,7 +594,7 @@
{
$ledger = RAPAV::get_ledger_name($this->data->jrn_def_id);
$paid = RAPAV::str_date_type($this->data->date_paid);
- $a_sum = explode(',',
'invalid,Débit,Crédit,Débit-Crédit,Crédit-Débit');
+ $a_sum = explode(',',
'invalid,Débit-Crédit,Crédit-Débit,Débit,Crédit');
$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;
---
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] r654 - trunk/rapport_avance/include,
phpcompta-dev <=