@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/cjs/Models/Order.js
CHANGED
package/dist/esm/Models.js
CHANGED
|
@@ -11896,6 +11896,9 @@ var require_Order = __commonJS({
|
|
|
11896
11896
|
if (rateType === "percentage") {
|
|
11897
11897
|
return acc + item.price * rate;
|
|
11898
11898
|
}
|
|
11899
|
+
if (rateType === "flat") {
|
|
11900
|
+
return acc + rate;
|
|
11901
|
+
}
|
|
11899
11902
|
return acc + rate;
|
|
11900
11903
|
}, 0);
|
|
11901
11904
|
}
|