[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/04: Ajout de la documentation pour les no
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/04: Ajout de la documentation pour les nouvelles fonctions retournant un tableau avec les cellules d'en-tête |
Date: |
Thu, 07 Aug 2014 19:08:41 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 8e0e95f86d0c94862c508d1a25029245d38ce16f
Author: Dany De Bontridder <address@hidden>
Date: Thu Aug 7 20:19:12 2014 +0200
Ajout de la documentation pour les nouvelles fonctions retournant
un tableau avec les cellules d'en-tête
---
include/class_acc_ledger_purchase.php | 5 +++++
include/class_acc_ledger_sold.php | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/include/class_acc_ledger_purchase.php
b/include/class_acc_ledger_purchase.php
index 055bbab..f14b44c 100644
--- a/include/class_acc_ledger_purchase.php
+++ b/include/class_acc_ledger_purchase.php
@@ -1717,6 +1717,11 @@ class Acc_Ledger_Purchase extends Acc_Ledger
$ret = $this->db->exec_sql($sql, array($this->id,$p_from, $p_end));
return $ret;
}
+ /**
+ * @brief compute an array with the heading cells for the
+ * details, used for the export in CSV
+ * @return array
+ */
static function heading_detail_purchase()
{
$array['jr_id'] = _('Numéro opération');
diff --git a/include/class_acc_ledger_sold.php
b/include/class_acc_ledger_sold.php
index e6a359a..9701d38 100644
--- a/include/class_acc_ledger_sold.php
+++ b/include/class_acc_ledger_sold.php
@@ -1301,7 +1301,12 @@ class Acc_Ledger_Sold extends Acc_Ledger {
$ret = $this->db->exec_sql($sql, array($this->id,$p_from, $p_end));
return $ret;
}
- static function heading_detail_sale()
+ /**
+ * @brief compute an array with the heading cells for the
+ * details, used for the export in CSV
+ * @return array
+ */
+ static function heading_detail_sale()
{
$array['jr_id'] = _('Numéro opération');
$array['jr_date'] = _('Date');