fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16124] more on integration


From: sigurdne
Subject: [Fmsystem-commits] [16124] more on integration
Date: Thu, 29 Dec 2016 20:26:18 +0000 (UTC)

Revision: 16124
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16124
Author:   sigurdne
Date:     2016-12-29 20:26:17 +0000 (Thu, 29 Dec 2016)
Log Message:
-----------
more on integration

Modified Paths:
--------------
    trunk/property/inc/custom/default/BkBygg_lag_Agresso_ordre_fra_workorder.php

Modified: 
trunk/property/inc/custom/default/BkBygg_lag_Agresso_ordre_fra_workorder.php
===================================================================
--- 
trunk/property/inc/custom/default/BkBygg_lag_Agresso_ordre_fra_workorder.php    
    2016-12-29 16:08:10 UTC (rev 16123)
+++ 
trunk/property/inc/custom/default/BkBygg_lag_Agresso_ordre_fra_workorder.php    
    2016-12-29 20:26:17 UTC (rev 16124)
@@ -213,6 +213,19 @@
 
                        //Override from workorder
                        $tax_code = $workorder['tax_code'] ? 
$workorder['tax_code'] : $tax_code;
+                       switch ($tax_code)
+                       {
+                               case '0':
+                                       $tax_code = '6A';
+                                       break;
+                               case '75':
+                                       $tax_code = '60';
+                                       break;
+                               default:
+                                       $tax_code = '6A';
+                                       break;
+                       }
+
                        $tjeneste = $workorder['service_id'] ? 
$workorder['service_id'] : $tjeneste;
 
 //                     _debug_array($location_info);die();




reply via email to

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