phpcompta-dev
[Top][All Lists]
Advanced

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

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


From: phpcompta-dev
Subject: [Phpcompta-dev] r4857 - phpcompta/trunk/include
Date: Sat, 2 Jun 2012 13:21:47 +0200 (CEST)

Author: danydb
Date: 2012-06-02 13:21:47 +0200 (Sat, 02 Jun 2012)
New Revision: 4857

Modified:
   phpcompta/trunk/include/class_itva_popup.php
Log:
Fix bug in itva

Modified: phpcompta/trunk/include/class_itva_popup.php
===================================================================
--- phpcompta/trunk/include/class_itva_popup.php        2012-06-02 10:56:42 UTC 
(rev 4856)
+++ phpcompta/trunk/include/class_itva_popup.php        2012-06-02 11:21:47 UTC 
(rev 4857)
@@ -37,7 +37,7 @@
     // You must add the attributes gDossier, popup
     $tva->set_attribute('popup','popup_tva');
     $tva->set_attribute('gDossier',dossier::id());
- 
+
     // We can add a label for the code
     $tva->add_label('code');
     $tva->js='onchange="set_tva_label(this);"';
@@ -73,7 +73,7 @@
     {
         $this->name=($p_name==null)?$this->name:$p_name;
         $this->value=($p_value==null)?$this->value:$p_value;
-        $this->js=(isset($this->js))?$this->js:"format_number(this);";
+        
$this->js=(isset($this->js))?$this->js:'onchange="format_number(this);"';
         if ( $this->readOnly==true) return $this->display();
 
         $str='<input type="TEXT" class="input_text" name="%s" value="%s" 
id="%s" size="3" %s>';
@@ -114,7 +114,7 @@
      address@hidden show a button, if it is pushed show a popup to select the 
need vat
      address@hidden
      * - a ipopup must be created before with the name popup_tva
-     * - the javascript scripts.js must be loaded 
+     * - the javascript scripts.js must be loaded
      address@hidden string with html code
      */
     function dbutton()



---
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]