Skip to content

Commit

Permalink
Resolves concatenation syntax bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rmknecht committed Aug 17, 2017
1 parent cfe788b commit 3eaa287
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AvataxTaxAdjusterPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function getReleaseFeedUrl()
*/
public function getVersion()
{
return '1.0.1';
return '1.0.2';
}

/**
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Avatax Tax Adjuster Changelog

## 1.0.2 -- 2017.08.16

### Fixed

* Resolved concatenation syntax bug.

## 1.0.1 -- 2017.07.31

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion adjusters/AvataxTaxAdjuster.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function adjust(Commerce_OrderModel &$order, array $lineItems = []){

$taxAdjuster->type = "Tax";
$taxAdjuster->name = "Sales Tax";
$taxAdjuster->description = "Adds "+$salesTax+" of tax to the order";
$taxAdjuster->description = "Adds $".$salesTax." of tax to the order";
$taxAdjuster->amount = +$salesTax;
$taxAdjuster->orderId = $order->id;
// If your Adjuster affects lineItems rather than the total, you record the ids here
Expand Down
9 changes: 8 additions & 1 deletion releases.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
[

{
"version": "1.0.2",
"downloadUrl": "https://github.com/surprisehighway/craft-avataxtaxadjuster/archive/master.zip",
"date": "2017-08-16T05:31:39.458Z",
"notes": [
"[Fixed] Resolved concatenation syntax bug."
]
},
{
"version": "1.0.1",
"downloadUrl": "https://github.com/surprisehighway/craft-avataxtaxadjuster/archive/master.zip",
Expand Down

0 comments on commit 3eaa287

Please sign in to comment.