@hmcts/ccpay-web-component 5.0.2-beta6 → 5.0.2-beta8
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 +12 -7
- 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/payment-view/payment-view.component.js +13 -8
- package/esm5/lib/components/payment-view/payment-view.component.js +13 -8
- package/fesm2015/hmcts-ccpay-web-component.js +12 -7
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +12 -7
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -1734,13 +1734,18 @@
|
|
|
1734
1734
|
*/
|
|
1735
1735
|
function (paymentgrp) {
|
|
1736
1736
|
if (paymentgrp !== null && paymentgrp !== undefined) {
|
|
1737
|
-
if (
|
|
1738
|
-
this.
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
this.
|
|
1742
|
-
|
|
1743
|
-
|
|
1737
|
+
if (paymentgrp.fees[0].over_payment > 0) {
|
|
1738
|
+
this.viewCompStatus = 'overpayment';
|
|
1739
|
+
}
|
|
1740
|
+
else {
|
|
1741
|
+
if (this.chkIssueRefundBtnEnable(paymentgrp.payments[0])) {
|
|
1742
|
+
this.paymentGroup = paymentgrp;
|
|
1743
|
+
this.viewStatus = 'issuerefund';
|
|
1744
|
+
this.isRefundRemission = true;
|
|
1745
|
+
this.paymentLibComponent.isFromPaymentDetailPage = true;
|
|
1746
|
+
this.isFromPaymentDetailPage = true;
|
|
1747
|
+
this.isFromServiceRequestPage = this.paymentLibComponent.isFromServiceRequestPage;
|
|
1748
|
+
}
|
|
1744
1749
|
}
|
|
1745
1750
|
}
|
|
1746
1751
|
};
|