[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 17/21: Documentation
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 17/21: Documentation |
Date: |
Sun, 15 Dec 2024 09:51:39 -0500 (EST) |
sparkyx pushed a commit to branch unstable
in repository noalyss.
commit 5e18408d9e5689b73bde5e51765e3ab15276447f
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Dec 14 17:22:08 2024 +0100
Documentation
---
include/class/acc_ledger_purchase.class.php | 12 ++++++------
include/class/anc_plan.class.php | 4 ++--
include/template/ledger_detail_ach.php | 1 +
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/include/class/acc_ledger_purchase.class.php
b/include/class/acc_ledger_purchase.class.php
index e9742fd61..3031c0c63 100644
--- a/include/class/acc_ledger_purchase.class.php
+++ b/include/class/acc_ledger_purchase.class.php
@@ -1023,7 +1023,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
$acc_pay->grpt=$acseq;
$acc_pay->jrn=$mp->get_parameter('ledger_target');
$acc_pay->periode=$tperiode;
- $acc_pay->type=($famount>=0)?'d':'c';
+ $acc_pay->type=($famount>=0)?'d':'c';
$let_other=$acc_pay->insert_jrnx();
// insert into operation_currency
@@ -1065,11 +1065,11 @@ class Acc_Ledger_Purchase extends Acc_Ledger
$r1=$this->get_id($internal);
$r2=$this->get_id($acinternal);
- /*
- * add lettering
- */
- $oletter=new Lettering($this->db);
- $oletter->insert_couple($let_client,$let_other);
+ /*
+ * add lettering
+ */
+ $oletter=new Lettering($this->db);
+ $oletter->insert_couple($let_client,$let_other);
/* set the flag paid */
$Res=$this->db->exec_sql("update jrn set jr_rapt='paid' where
jr_id=$1",array($r1));
diff --git a/include/class/anc_plan.class.php b/include/class/anc_plan.class.php
index 5a0de039f..e4d841f4a 100644
--- a/include/class/anc_plan.class.php
+++ b/include/class/anc_plan.class.php
@@ -185,7 +185,7 @@ class Anc_Plan
function exist()
{
$a=$this->db->count_sql("select pa_id from plan_analytique where
pa_id=$1",
- array($this->pa_id));
+ array($this->id));
return ($a==0)?false:true;
@@ -193,7 +193,7 @@ class Anc_Plan
/**
*@brief return an HTML string containing hidden input type to
* hold the differant PA_ID
- *@param $p_array contains a array, it is the result of the fct
+ *@param $p_array array contains a array, it is the result of the fct
* Anc_Plan::get_list
*@return html string
*@see Anc_Plan::get_list
diff --git a/include/template/ledger_detail_ach.php
b/include/template/ledger_detail_ach.php
index f623c899c..2eae6976e 100644
--- a/include/template/ledger_detail_ach.php
+++ b/include/template/ledger_detail_ach.php
@@ -4,6 +4,7 @@
/**
* @var $str_anc String HTML contains the detail of analytic
+ * @var $g_user Noalyss_User inherited , it is the connected user
*/
$str_anc="";
global $div,$g_parameter,$cn,$access,$jr_id,$obj;
- [Noalyss-commit] [noalyss] 06/21: FIX : some doc in comment, (continued)
- [Noalyss-commit] [noalyss] 06/21: FIX : some doc in comment, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 21/21: Esthetic, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 11/21: FIX : javascript id$ function, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 09/21: FIX : Tax_Summary->check fails when there is no data, check was not correct, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 05/21: WIP : CSS : use variables, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 08/21: Convert upgrade.sql to upgrade202.sql, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 16/21: Operation Analytic : save_form_plan_vat_nd , check that the total is the same as the VAT ND amount, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 14/21: improve doc, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 19/21: Integrate stash, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 10/21: FIX : Tax_Summary->check fails when there is no data, check was not correct, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 17/21: Documentation,
dwm <=
- [Noalyss-commit] [noalyss] 18/21: Code improve Todo List to finish , allow a empty date, dwm, 2024/12/15