@redneckz/wildless-cms-uni-blocks 0.14.175 → 0.14.177

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.
@@ -2203,10 +2203,7 @@
2203
2203
  }
2204
2204
 
2205
2205
  const getBonus = (params, bonusTravelValue, bonusOtherValue) => {
2206
- const { minSumTravel, minSumOther, maxBonus, prefMonthsNum, prefTravelBonusRate, prefRestBonusRate, travelBonusRate, restBonusRate, } = params;
2207
- if (bonusTravelValue === minSumTravel && bonusOtherValue === minSumOther) {
2208
- return [0, 0];
2209
- }
2206
+ const { maxBonus, prefMonthsNum, prefTravelBonusRate, prefRestBonusRate, travelBonusRate, restBonusRate, } = params;
2210
2207
  const prefBonus = Math.min(Math.round(prefTravelBonusRate * bonusTravelValue) +
2211
2208
  Math.round(prefRestBonusRate * bonusOtherValue), maxBonus);
2212
2209
  const bonus = Math.min(Math.round(travelBonusRate * bonusTravelValue) + Math.round(restBonusRate * bonusOtherValue), maxBonus);
@@ -6014,7 +6011,7 @@
6014
6011
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6015
6012
  });
6016
6013
 
6017
- const packageVersion = "0.14.174";
6014
+ const packageVersion = "0.14.176";
6018
6015
 
6019
6016
  exports.Blocks = Blocks;
6020
6017
  exports.ContentPage = ContentPage;