[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 10/11: Documentation
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 10/11: Documentation |
Date: |
Sun, 15 Dec 2024 09:51:26 -0500 (EST) |
sparkyx pushed a commit to branch stable
in repository noalyss.
commit 3d89ad3f19c209f4f5454365883cbc2b4d00e8a9
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 7f3f31e63..65c0cd297 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] branch stable updated (87930cbe3 -> c64f356cf), dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 02/11: FIX : some doc in comment, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 01/11: NEW #0002395: C0TVA : pouvoir choisir la contrepartie pour l'autoliquidation, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 08/11: improve Operation detail : show Analytic imputation for VAT Not Deductible, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 07/11: improve doc, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 09/11: 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] 11/11: VAT ND Analytic : fix bug, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 05/11: FIX P0TVA when no data, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 10/11: Documentation,
dwm <=
- [Noalyss-commit] [noalyss] 04/11: FIX : Tax_Summary->check fails when there is no data, check was not correct, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 06/11: New : label cannot be empty, dwm, 2024/12/15
- [Noalyss-commit] [noalyss] 03/11: Convert upgrade.sql to upgrade202.sql, dwm, 2024/12/15