kupos-ui-components-lib 10.4.66 → 10.4.67

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.
@@ -494,14 +494,11 @@ export const PaymentCardMobile = (props) => {
494
494
  currency ? currency : "",
495
495
  " ",
496
496
  CommonService.currency(isPeru
497
- ? Math.round(Math.max(0, ((removeDiscountAtomValue
498
- ? 0
499
- : (netFare !== null && netFare !== void 0 ? netFare : 0)) -
500
- (walletMoney !== null && walletMoney !== void 0 ? walletMoney : 0)) *
497
+ ? Math.round(Math.max(0, (removeDiscountAtomValue ? 0 : (netFare !== null && netFare !== void 0 ? netFare : 0)) *
501
498
  100)) / 100
502
499
  : removeDiscountAtomValue
503
500
  ? 0
504
- : Math.max(0, (netFare !== null && netFare !== void 0 ? netFare : 0) - (walletMoney !== null && walletMoney !== void 0 ? walletMoney : 0)), currencySign))))));
501
+ : Math.max(0, netFare !== null && netFare !== void 0 ? netFare : 0), currencySign))))));
505
502
  } }),
506
503
  React.createElement("div", { style: {
507
504
  display: "flex",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kupos-ui-components-lib",
3
- "version": "10.4.66",
3
+ "version": "10.4.67",
4
4
  "description": "A reusable UI components package",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -966,16 +966,13 @@ export const PaymentCardMobile: React.FC<PaymentSideBarProps> = (props) => {
966
966
  ? Math.round(
967
967
  Math.max(
968
968
  0,
969
- ((removeDiscountAtomValue
970
- ? 0
971
- : (netFare ?? 0)) -
972
- (walletMoney ?? 0)) *
969
+ (removeDiscountAtomValue ? 0 : (netFare ?? 0)) *
973
970
  100,
974
971
  ),
975
972
  ) / 100
976
973
  : removeDiscountAtomValue
977
974
  ? 0
978
- : Math.max(0, (netFare ?? 0) - (walletMoney ?? 0)),
975
+ : Math.max(0, netFare ?? 0),
979
976
  currencySign,
980
977
  )}
981
978
  </span>