From 218d2f816a85cb29457f2d6fc873e1ed1bd2b568 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Thu, 21 Nov 2024 11:29:51 +0100 Subject: [PATCH] Improve Code Documentation --- include/class/acc_ledger_search.class.php | 6 ++-- include/template/ledger_search.php | 41 +++++++++++++++++------ 2 files changed, 34 insertions(+), 13 deletions(-) diff --git a/include/class/acc_ledger_search.class.php b/include/class/acc_ledger_search.class.php index 3dc0524f0..2a25e2fbc 100644 --- a/include/class/acc_ledger_search.class.php +++ b/include/class/acc_ledger_search.class.php @@ -47,9 +47,9 @@ class Acc_Ledger_Search * - 1 means all the ledger of this type * - 0 No have the "Tous les journaux" availables * @param $div is the div (for reconciliation) - * @param type $p_type - * @param type $p_all - * @param string $p_div name of the HTML DIV + * @param string $p_type ACH, VEN , ODS or FIN + * @param int $p_all 1 means all the ledger + * @param string $p_div prefix of the DOM ID * * @todo the parameter $all_type_ledger is useless : ALL means all the ledgers, VEN all the ledger of sales... */ diff --git a/include/template/ledger_search.php b/include/template/ledger_search.php index 6a8010f03..7aca0e803 100644 --- a/include/template/ledger_search.php +++ b/include/template/ledger_search.php @@ -1,10 +1,31 @@ + - + - + - +