@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
|
@@ -1739,13 +1739,18 @@ var PaymentViewComponent = /** @class */ (function () {
|
|
|
1739
1739
|
*/
|
|
1740
1740
|
function (paymentgrp) {
|
|
1741
1741
|
if (paymentgrp !== null && paymentgrp !== undefined) {
|
|
1742
|
-
if (
|
|
1743
|
-
this.
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
this.
|
|
1747
|
-
|
|
1748
|
-
|
|
1742
|
+
if (paymentgrp.fees[0].over_payment > 0) {
|
|
1743
|
+
this.viewCompStatus = 'overpayment';
|
|
1744
|
+
}
|
|
1745
|
+
else {
|
|
1746
|
+
if (this.chkIssueRefundBtnEnable(paymentgrp.payments[0])) {
|
|
1747
|
+
this.paymentGroup = paymentgrp;
|
|
1748
|
+
this.viewStatus = 'issuerefund';
|
|
1749
|
+
this.isRefundRemission = true;
|
|
1750
|
+
this.paymentLibComponent.isFromPaymentDetailPage = true;
|
|
1751
|
+
this.isFromPaymentDetailPage = true;
|
|
1752
|
+
this.isFromServiceRequestPage = this.paymentLibComponent.isFromServiceRequestPage;
|
|
1753
|
+
}
|
|
1749
1754
|
}
|
|
1750
1755
|
}
|
|
1751
1756
|
};
|