noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 35/44: predefined operation , find a label fo


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 35/44: predefined operation , find a label for an accounting thx its value, the pk is now an numeric id
Date: Wed, 26 Dec 2018 04:29:56 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 5e46bc36c8ccb24470136ce6104a00161c1fa1b9
Author: Dany De Bontridder <address@hidden>
Date:   Mon Dec 17 18:08:15 2018 +0100

    predefined operation , find a label for an accounting thx its value, the
    pk is now an numeric id
---
 include/class/pre_op_advanced.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/pre_op_advanced.class.php 
b/include/class/pre_op_advanced.class.php
index d369086..ec78536 100644
--- a/include/class/pre_op_advanced.class.php
+++ b/include/class/pre_op_advanced.class.php
@@ -248,7 +248,7 @@ class Pre_Op_Advanced extends Pre_operation_detail
                 if ($poste->value != '')
                 {
                         $Poste = new Acc_Account($legder->db);
-                        $Poste->set_parameter('pcm_val', $poste->value);
+                        $Poste->find_by_value($poste->value);
                         $label = $Poste->get_lib();
                 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]