Permalink
Browse files

And only for AUD

  • Loading branch information...
1 parent 4240f47 commit 13a65595c877e4e9f7b367e0e179f9d394d20f84 @dgtlmoon committed Dec 16, 2011
Showing with 6 additions and 2 deletions.
  1. +6 −2 uc_ascent_salesforce.module
@@ -278,8 +278,12 @@ function uc_ascent_salesforce_process_jobs($sf, $parent = 0) {
$order_shipping->model = _uc_ascent_get_shippinglineitem_product_code();
$original_price = uc_ascent_salesforce_total_lineitem_type($order, 'shipping');
- // actual price should not include the 10%
- $order_shipping->price = $original_price / 1.10;
+ if($order->currency == 'AUD') {
+ // actual price should not include the 10%
+ $order_shipping->price = $original_price / 1.10;
+ } else {
+ $order_shipping->price = $original_price;
+ }
$order_shipping->qty = 1; // one shipping unit

0 comments on commit 13a6559

Please sign in to comment.