phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4449 - phpcompta/trunk/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r4449 - phpcompta/trunk/include
Date: Wed, 23 Nov 2011 14:49:37 +0100 (CET)

Author: danydb
Date: 2011-11-23 14:49:36 +0100 (Wed, 23 Nov 2011)
New Revision: 4449

Modified:
   phpcompta/trunk/include/class_follow_up.php
Log:
#371 change type of document

Modified: phpcompta/trunk/include/class_follow_up.php
===================================================================
--- phpcompta/trunk/include/class_follow_up.php 2011-11-23 13:41:55 UTC (rev 
4448)
+++ phpcompta/trunk/include/class_follow_up.php 2011-11-23 13:49:36 UTC (rev 
4449)
@@ -145,11 +145,17 @@
         }
         else
         {
-            // Doc Type
+            /*// Doc Type
             $doc_type=new IHidden();
             $doc_type->name="dt_id";
             $doc_type->value=$this->dt_id;
-            $str_doc_type=$doc_type->input().$this->db->get_value("select 
dt_value from document_type where dt_id=".$this->dt_id);
+            $str_doc_type=$doc_type->input().$this->db->get_value("select 
dt_value from document_type where dt_id=".$this->dt_id);*/
+             $doc_type=new ISelect();
+            $doc_type->name="dt_id";
+            $doc_type->value=$this->db->make_array("select dt_id,dt_value from 
document_type");
+            $doc_type->selected=$this->dt_id;
+            $doc_type->readonly=false;
+            $str_doc_type=$doc_type->input();
         }
 
         // Description




reply via email to

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