@bookipi/htmlgenerator 1.13.0-alpha.2 → 1.13.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -12007,7 +12007,7 @@ var getTaxCodeBreakdown = function getTaxCodeBreakdown(document, company, curren
|
|
|
12007
12007
|
var rate = rateFor(document.shippingTaxCode, document.shippingTaxRate) || 0;
|
|
12008
12008
|
bucketFor(document.shippingTaxCode, rate).shippingAmount += vatOnBase(shipping, rate, inclusive);
|
|
12009
12009
|
}
|
|
12010
|
-
return
|
|
12010
|
+
return Array.from(buckets.values()).map(function (bucket) {
|
|
12011
12011
|
var itemsAmount = round(bucket.itemsAmount);
|
|
12012
12012
|
var shippingAmount = round(bucket.shippingAmount);
|
|
12013
12013
|
return _extends({}, bucket, {
|