phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5142 - phpcompta/tags/rel650/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5142 - phpcompta/tags/rel650/include
Date: Wed, 17 Oct 2012 17:54:24 +0200 (CEST)

Author: danydb
Date: 2012-10-17 17:54:22 +0200 (Wed, 17 Oct 2012)
New Revision: 5142

Modified:
   phpcompta/tags/rel650/include/class_fiche.php
Log:
0000749: poste alphanum?\195?\169rique (fournisseur 44xxx)

Modified: phpcompta/tags/rel650/include/class_fiche.php
===================================================================
--- phpcompta/tags/rel650/include/class_fiche.php       2012-10-15 23:14:01 UTC 
(rev 5141)
+++ phpcompta/tags/rel650/include/class_fiche.php       2012-10-17 15:54:22 UTC 
(rev 5142)
@@ -774,6 +774,7 @@
 
                         if ( strlen(trim($v)) != 0)
                         {
+                                                       
$v=$this->cn->get_value("select format_account($1)",array($value));
                             $parameter=array($this->id,$v);
                         }
                         else
@@ -895,6 +896,10 @@
                                                        $part2 = 
$this->cn->get_value('select format_account($1)', array($part2));
                                                        $v = $part1 . ',' . 
$part2;
                                                }
+                                               else
+                                               {
+                                                       
$v=$this->cn->get_value('select format_account($1)',array($value));
+                                               }
                                                $sql = sprintf("select 
account_update(%d,'%s')", $this->id, $v);
                                                try
                                                {



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

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