@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.
@@ -34,6 +34,9 @@ class Order extends Entity {
34
34
  if (rateType === "percentage") {
35
35
  return acc + item.price * rate;
36
36
  }
37
+ if (rateType === "flat") {
38
+ return acc + rate;
39
+ }
37
40
  return acc + rate;
38
41
  }, 0);
39
42
  }
@@ -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
  }