@hmcts/ccpay-web-component 5.0.2-beta111 → 5.0.2-beta114
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/case-transactions/case-transactions.component.js +12 -8
- package/esm2015/lib/components/service-request/service-request.component.js +2 -2
- package/esm5/lib/components/case-transactions/case-transactions.component.js +12 -8
- package/esm5/lib/components/service-request/service-request.component.js +2 -2
- 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
|
@@ -4856,16 +4856,21 @@
|
|
|
4856
4856
|
* @return {?}
|
|
4857
4857
|
*/
|
|
4858
4858
|
function (payment) {
|
|
4859
|
-
if (
|
|
4860
|
-
payment.
|
|
4861
|
-
this.isIssueRefunfBtnEnable = true;
|
|
4862
|
-
}
|
|
4863
|
-
if (this.isIssueRefunfBtnEnable) {
|
|
4864
|
-
return true;
|
|
4859
|
+
if (payment !== null && payment !== undefined) {
|
|
4860
|
+
return payment.issue_refund && payment.refund_enable;
|
|
4865
4861
|
}
|
|
4866
4862
|
else {
|
|
4867
4863
|
return false;
|
|
4868
4864
|
}
|
|
4865
|
+
// if (this.check4AllowedRoles2AccessRefund() && this.allowFurtherAccessAfter4Days(payment) &&
|
|
4866
|
+
// payment.method === 'payment by account' && payment.status.toLocaleLowerCase() === 'success') {
|
|
4867
|
+
// this.isIssueRefunfBtnEnable = true;
|
|
4868
|
+
// }
|
|
4869
|
+
// if (this.isIssueRefunfBtnEnable) {
|
|
4870
|
+
// return true;
|
|
4871
|
+
// } else {
|
|
4872
|
+
// return false;
|
|
4873
|
+
// };
|
|
4869
4874
|
};
|
|
4870
4875
|
/**
|
|
4871
4876
|
* @return {?}
|
|
@@ -10715,7 +10720,7 @@
|
|
|
10715
10720
|
}
|
|
10716
10721
|
else if (this.paymentType === 'fp') {
|
|
10717
10722
|
this.isFullyRefund = true;
|
|
10718
|
-
this.
|
|
10723
|
+
this.paymentGroupList = paymentgrp;
|
|
10719
10724
|
this.viewStatus = 'issuerefund';
|
|
10720
10725
|
this.viewCompStatus = "";
|
|
10721
10726
|
this.isRefundRemission = true;
|