@kohost/api-client 3.7.2 → 3.7.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/esm/utils.js
CHANGED
|
@@ -11952,6 +11952,9 @@ var require_Order = __commonJS({
|
|
|
11952
11952
|
if (rateType === "percentage") {
|
|
11953
11953
|
return acc + item.price * rate;
|
|
11954
11954
|
}
|
|
11955
|
+
if (rateType === "flat") {
|
|
11956
|
+
return acc + rate;
|
|
11957
|
+
}
|
|
11955
11958
|
return acc + rate;
|
|
11956
11959
|
}, 0);
|
|
11957
11960
|
}
|