@salesgenterp/ui-components 0.4.66 → 0.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.
package/dist/index.js CHANGED
@@ -2991,7 +2991,7 @@ var Step3 = function Step3(_ref) {
2991
2991
  }), /*#__PURE__*/React__default.createElement(ButtonRow, {
2992
2992
  handleBack: handleBack,
2993
2993
  handleNext: function handleNext() {
2994
- setPaymentDetails(useStoreCr, selectedMethod, isCard && card);
2994
+ setPaymentDetails(useStoreCr, useStoreCr && storeCredits > total ? null : selectedMethod, isCard && card);
2995
2995
 
2996
2996
  _handleNext();
2997
2997
  }