Skip to content

Commit

Permalink
Merge pull request #13 from easyship/release/1.0.2
Browse files Browse the repository at this point in the history
release/1.0.2
  • Loading branch information
alChaCC committed Feb 18, 2019
2 parents f70f446 + 426756a commit d316e2e
Show file tree
Hide file tree
Showing 23 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Block_Adminhtml_Config_Connect
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Block_Adminhtml_Config_Generate
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
2 changes: 1 addition & 1 deletion app/code/local/Easyship/Shipping/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Helper_Data
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
2 changes: 1 addition & 1 deletion app/code/local/Easyship/Shipping/Model/Api2/Items.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Items
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
2 changes: 1 addition & 1 deletion app/code/local/Easyship/Shipping/Model/Api2/Items/Rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Items_Rest
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/
class Easyship_Shipping_Model_Api2_Items_Rest extends Easyship_Shipping_Model_Api2_Items
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Items_Rest_Admin_V1
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/
class Easyship_Shipping_Model_Api2_Items_Rest_Admin_V1 extends Easyship_Shipping_Model_Api2_Items_Rest
Expand Down
2 changes: 1 addition & 1 deletion app/code/local/Easyship/Shipping/Model/Api2/Shipment.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Shipment
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Shipment_Rest
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Shipment_Rest_Admin_V1
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/
class Easyship_Shipping_Model_Api2_Shipment_Rest_Admin_V1 extends Easyship_Shipping_Model_Api2_Shipment_Rest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Shipment_Validator_Shipment
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
2 changes: 1 addition & 1 deletion app/code/local/Easyship/Shipping/Model/Api2/Shipping.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Shipping
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Shipping_Rest
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Shipping_Rest_Admin_V1
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
2 changes: 1 addition & 1 deletion app/code/local/Easyship/Shipping/Model/Api2/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Class Easyship_Shipping_Model_Api2_Token
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
2 changes: 1 addition & 1 deletion app/code/local/Easyship/Shipping/Model/Api2/Token/Rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Token_Rest
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Token_Rest_Admin_V1
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
2 changes: 1 addition & 1 deletion app/code/local/Easyship/Shipping/Model/Api2/Tracks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Tracks
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Class Easyship_Shipping_Model_Api2_Tracks_Rest
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Tracks_Rest_Admin_V1
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Api2_Tracks_Validator_Tracks
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
6 changes: 3 additions & 3 deletions app/code/local/Easyship/Shipping/Model/Carrier.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Model_Carrier
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down Expand Up @@ -239,10 +239,10 @@ protected function getFinalItemPrice($item)
$baseDiscountAmount = $item->getBaseDiscountAmount();

if (!empty($discountAmount) && ($baseDiscountAmount > 0)) {
return (float)$item->getPrice() - $item->getDiscountAmount();
return (float)$item->getTaxAmount() + $item->getPrice() - $item->getDiscountAmount();
}

return (float)$item->getPrice();
return (float)$item->getTaxAmount() + $item->getPrice();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class Easyship_Shipping_Adminhtml_EasyshipController
* Author: Easyship
* Developer: Sunny Cheung, Holubiatnikova Anna, Aloha Chen, Phanarat Pak, Paul Lugangne Delpon
* Version: 1.0.1
* Version: 1.0.2
* Author URI: https://www.easyship.com
*/

Expand Down
2 changes: 1 addition & 1 deletion app/code/local/Easyship/Shipping/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<Easyship_Shipping>
<version>1.0.1</version>
<version>1.0.2</version>
</Easyship_Shipping>
</modules>
<global>
Expand Down

0 comments on commit d316e2e

Please sign in to comment.