phpcompta-dev
[Top][All Lists]
Advanced

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

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


From: phpcompta-dev
Subject: [Phpcompta-dev] r4324 - phpcompta/trunk/include
Date: Thu, 10 Nov 2011 03:29:59 +0100 (CET)

Author: danydb
Date: 2011-11-10 03:29:58 +0100 (Thu, 10 Nov 2011)
New Revision: 4324

Modified:
   phpcompta/trunk/include/class_iconcerned.php
Log:
306 Efface le iconcerned

Modified: phpcompta/trunk/include/class_iconcerned.php
===================================================================
--- phpcompta/trunk/include/class_iconcerned.php        2011-11-08 23:06:19 UTC 
(rev 4323)
+++ phpcompta/trunk/include/class_iconcerned.php        2011-11-10 02:29:58 UTC 
(rev 4324)
@@ -24,7 +24,7 @@
  * \brief Html Input
  *  - name is the name and id of the input
  *  - extra amount of the operation to reconcile
- *  - extra2 ledger (all, ods,...)
+ *  - extra2 ledger paid
  */
 require_once('class_html_input.php');
 class IConcerned extends HtmlInput
@@ -35,7 +35,7 @@
                $this->name=$p_name;
                $this->value=$p_value;
                $this->amount_id=null;
-               $this->ledger='ALL';
+               $this->paid='';
        }
     /*!\brief show the html  input of the widget*/
     public function input($p_name=null,$p_value=null)
@@ -47,15 +47,18 @@
 
 
         $r=sprintf("
-                   <INPUT TYPE=\"button\" 
onClick=search_reconcile(".dossier::id().",'%s','%s','%s') value=\"?\">
+                   <INPUT TYPE=\"button\" 
onClick=\"search_reconcile(".dossier::id().",'%s','%s','%s')\" value=\"?\">
                    <INPUT TYPE=\"text\"  
style=\"color:black;background:lightyellow;border:solid 1px grey;\"  
NAME=\"%s\" ID=\"%s\" VALUE=\"%s\" SIZE=\"8\" readonly>
+                                  <INPUT TYPE=\"button\" 
onClick=\"$('%s').value=''\" value=\"X\">
+
                    ",
                    $this->name,
                    $this->amount_id,
-                   $this->ledger,
+                   $this->paid,
                    $this->name,
                    $this->name,
-                   $this->value
+                   $this->value,
+                   $this->name
                   );
         return $r;
     }




reply via email to

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