@thecb/components 5.11.1-beta.0 → 5.11.4
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.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +1 -1
- package/src/components/molecules/payment-details/PaymentDetails.js +3 -1
package/dist/index.cjs.js
CHANGED
|
@@ -39518,7 +39518,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
39518
39518
|
variant: "tertiary",
|
|
39519
39519
|
text: "Set Up ".concat(planType),
|
|
39520
39520
|
action: function action() {
|
|
39521
|
-
setDetailedObligation(obligations, config);
|
|
39521
|
+
setDetailedObligation(obligations, config, obligationAssocID);
|
|
39522
39522
|
handleAutopayAction();
|
|
39523
39523
|
},
|
|
39524
39524
|
dataQa: "Set Up Autopay",
|
|
@@ -40254,13 +40254,13 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
40254
40254
|
label: "Amount paid",
|
|
40255
40255
|
amount: displayCurrency(voidableAmountPaid)
|
|
40256
40256
|
})), !hasVoidablePaymentsSection && !!lineItemElems.length && /*#__PURE__*/React__default.createElement(SolidDivider$1, null) // avoids duplicate dividers -> case of voidable payment section, that acts as divider
|
|
40257
|
-
, subtotal
|
|
40257
|
+
, subtotal ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
40258
40258
|
padding: "0.5rem 0"
|
|
40259
40259
|
}, /*#__PURE__*/React__default.createElement(LabeledAmount$1, {
|
|
40260
40260
|
variant: themeValues.labeledAmountSubtotal,
|
|
40261
40261
|
label: "Subtotal",
|
|
40262
40262
|
amount: displayCurrency(subtotal)
|
|
40263
|
-
}), feeElems), /*#__PURE__*/React__default.createElement(SolidDivider$1, null)), /*#__PURE__*/React__default.createElement(LabeledAmount$1, {
|
|
40263
|
+
}), feeElems), /*#__PURE__*/React__default.createElement(SolidDivider$1, null)) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null), /*#__PURE__*/React__default.createElement(LabeledAmount$1, {
|
|
40264
40264
|
as: "p",
|
|
40265
40265
|
variant: themeValues.labeledAmountTotal,
|
|
40266
40266
|
label: hasVoidablePaymentsSection ? "Remaining amount due" : "Total",
|