Author: danydb
Date: 2014-03-12 11:43:48 +0100 (Wed, 12 Mar 2014)
New Revision: 718

Modified:
   trunk/transform/include/class_transform_client.php
Log:
Bug : remove space from VAT Number

Modified: trunk/transform/include/class_transform_client.php
===================================================================
--- trunk/transform/include/class_transform_client.php  2014-03-12 10:41:17 UTC 
(rev 717)
+++ trunk/transform/include/class_transform_client.php  2014-03-12 10:43:48 UTC 
(rev 718)
@@ -76,6 +76,7 @@
         $this->c_vatnumber=str_replace(',','',$this->c_vatnumber);
         $this->c_vatnumber=str_replace('.','',$this->c_vatnumber);
         $this->c_vatnumber=str_replace('-','',$this->c_vatnumber);
+        $this->c_vatnumber=str_replace(' ','',$this->c_vatnumber);
     }
     private function correct_amount()
     {



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

_______________________________________________
Phpcompta  est un logiciel libre de comptabilité en ligne 
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to