fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [8837] property: tax-code


From: Sigurd Nes
Subject: [Fmsystem-commits] [8837] property: tax-code
Date: Mon, 13 Feb 2012 09:12:48 +0000

Revision: 8837
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8837
Author:   sigurdne
Date:     2012-02-13 09:12:48 +0000 (Mon, 13 Feb 2012)
Log Message:
-----------
property: tax-code

Modified Paths:
--------------
    trunk/property/inc/import/default/import_fra_Service_xls

Modified: trunk/property/inc/import/default/import_fra_Service_xls
===================================================================
--- trunk/property/inc/import/default/import_fra_Service_xls    2012-02-13 
09:12:08 UTC (rev 8836)
+++ trunk/property/inc/import/default/import_fra_Service_xls    2012-02-13 
09:12:48 UTC (rev 8837)
@@ -187,8 +187,12 @@
 
                                if($name=='mvakode' && 
$invoice_common['auto_tax'])
                                {
-                                       $value = 
$this->soXport->auto_tax($buffer[$this->id]['loc1']);
+                                       $value = 
(int)$this->soXport->auto_tax($buffer[$this->id]['loc1']);
                                }
+                               else
+                               {
+                                       $value = (int) $value;
+                               }
 
                                $buffer[$this->id][$name] = $value;
                                $buffer[$this->id]['bilagsnr'] = 
$this->next_bilagsnr;




reply via email to

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