couponable
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "couponable", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Helper functions for dealing with coupons.", | ||
@@ -5,0 +5,0 @@ "main": [ "index.js" ], |
@@ -47,3 +47,9 @@ function priceFormat(amountInCents) { | ||
return total * quantity; | ||
total = total * quantity; | ||
if (orderItem.totalTaxInCents) { | ||
total = total + orderItem.totalTaxInCents; | ||
} | ||
return total; | ||
} | ||
@@ -50,0 +56,0 @@ |
{ | ||
"name": "couponable", | ||
"description": "Helper functions for dealing with coupons.", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"author": "Chris McC", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11823
347