[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [16875] handle tax on receive order
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [16875] handle tax on receive order |
Date: |
Tue, 27 Jun 2017 08:14:59 -0400 (EDT) |
Revision: 16875
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16875
Author: sigurdne
Date: 2017-06-27 08:14:59 -0400 (Tue, 27 Jun 2017)
Log Message:
-----------
handle tax on receive order
Modified Paths:
--------------
trunk/property/inc/cron/default/Import_fra_agresso_X205_BK.php
Modified: trunk/property/inc/cron/default/Import_fra_agresso_X205_BK.php
===================================================================
--- trunk/property/inc/cron/default/Import_fra_agresso_X205_BK.php
2017-06-26 19:25:52 UTC (rev 16874)
+++ trunk/property/inc/cron/default/Import_fra_agresso_X205_BK.php
2017-06-27 12:14:59 UTC (rev 16875)
@@ -546,6 +546,9 @@
if($this->config->config_data['export']['auto_receive_order'])
{
$received_amount =
$this->get_total_received((int)$order_id);
+
+ $received_amount =
$received_amount * 0.8; //shave off 25 % tax from the top.
+
$order_type =
$this->bocommon->socommon->get_order_type($order_id);
switch ($order_type)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [16875] handle tax on receive order,
sigurdne <=