@hmcts/ccpay-web-component 5.0.10-beta13 → 5.0.10-beta15
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/bundles/hmcts-ccpay-web-component.umd.js +4 -0
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/lib/components/refund-status/refund-status.component.js +5 -1
- package/fesm2015/hmcts-ccpay-web-component.js +4 -0
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/lib/components/refund-status/refund-status.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -6640,7 +6640,11 @@
|
|
|
6640
6640
|
RefundStatusComponent.prototype.getRefundListReason = function (refundListReason) {
|
|
6641
6641
|
if (this.paymentLibComponent.isFromRefundStatusPage && !this.paymentLibComponent.iscancelClicked) {
|
|
6642
6642
|
if (refundListReason.reason != undefined && refundListReason.reason != null && refundListReason.reason != this.refundlist.reason) {
|
|
6643
|
+
console.log('refund reason: ' + refundListReason.reason);
|
|
6644
|
+
console.log('refund code: ' + refundListReason.code);
|
|
6643
6645
|
this.refundlist.reason = refundListReason.reason;
|
|
6646
|
+
this.refundlist.reason_code = refundListReason.code.split('-')[0].trim();
|
|
6647
|
+
console.log('refund reason code: ' + this.refundlist.reason_code);
|
|
6644
6648
|
this.refundlist.code = refundListReason.code;
|
|
6645
6649
|
this.refundCode = refundListReason.code;
|
|
6646
6650
|
}
|