Author: danydb
Date: 2011-06-06 21:30:08 +0200 (Mon, 06 Jun 2011)
New Revision: 4158

Modified:
   phpcompta/branches/rel560/include/class_acc_ledger_purchase.php
Log:
Alert : show the missing accounting


Modified: phpcompta/branches/rel560/include/class_acc_ledger_purchase.php
===================================================================
--- phpcompta/branches/rel560/include/class_acc_ledger_purchase.php     
2011-06-04 14:25:44 UTC (rev 4157)
+++ phpcompta/branches/rel560/include/class_acc_ledger_purchase.php     
2011-06-06 19:30:08 UTC (rev 4158)
@@ -234,7 +234,7 @@
                 {
                     $a=new Acc_Parm_Code($this->db,$key[1]);
                     if ( $this->db->count_sql('select pcm_val from tmp_pcmn 
where pcm_val=$1',array($a->p_value))==0)
-                        throw new Exception ($key._("ce code n'a pas de poste 
comptable, créez ce poste : [".$a->p_value."]"));
+                        throw new Exception ($key[1]._("ce code n'a pas de 
poste comptable, créez ce poste : [".$a->p_value."]"));
                 }
             }
            /*


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to