[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [8836] property: tax-code
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [8836] property: tax-code |
Date: |
Mon, 13 Feb 2012 09:12:08 +0000 |
Revision: 8836
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8836
Author: sigurdne
Date: 2012-02-13 09:12:08 +0000 (Mon, 13 Feb 2012)
Log Message:
-----------
property: tax-code
Modified Paths:
--------------
trunk/property/inc/import/default/Import_fra_Service
Modified: trunk/property/inc/import/default/Import_fra_Service
===================================================================
--- trunk/property/inc/import/default/Import_fra_Service 2012-02-13
08:53:23 UTC (rev 8835)
+++ trunk/property/inc/import/default/Import_fra_Service 2012-02-13
09:12:08 UTC (rev 8836)
@@ -193,9 +193,13 @@
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;
$buffer[$this->id]['splitt'] = $this->splitt;
@@ -221,6 +225,7 @@
}
$buffer[$this->id]['kostra_id'] =
$this->soXport->get_kostra_id($buffer[$this->id]['loc1']);
}
+_debug_array($buffer);
return $buffer;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [8836] property: tax-code,
Sigurd Nes <=