@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
|
@@ -4910,16 +4910,21 @@ var CaseTransactionsComponent = /** @class */ (function () {
|
|
|
4910
4910
|
* @return {?}
|
|
4911
4911
|
*/
|
|
4912
4912
|
function (payment) {
|
|
4913
|
-
if (
|
|
4914
|
-
payment.
|
|
4915
|
-
this.isIssueRefunfBtnEnable = true;
|
|
4916
|
-
}
|
|
4917
|
-
if (this.isIssueRefunfBtnEnable) {
|
|
4918
|
-
return true;
|
|
4913
|
+
if (payment !== null && payment !== undefined) {
|
|
4914
|
+
return payment.issue_refund && payment.refund_enable;
|
|
4919
4915
|
}
|
|
4920
4916
|
else {
|
|
4921
4917
|
return false;
|
|
4922
4918
|
}
|
|
4919
|
+
// if (this.check4AllowedRoles2AccessRefund() && this.allowFurtherAccessAfter4Days(payment) &&
|
|
4920
|
+
// payment.method === 'payment by account' && payment.status.toLocaleLowerCase() === 'success') {
|
|
4921
|
+
// this.isIssueRefunfBtnEnable = true;
|
|
4922
|
+
// }
|
|
4923
|
+
// if (this.isIssueRefunfBtnEnable) {
|
|
4924
|
+
// return true;
|
|
4925
|
+
// } else {
|
|
4926
|
+
// return false;
|
|
4927
|
+
// };
|
|
4923
4928
|
};
|
|
4924
4929
|
/**
|
|
4925
4930
|
* @return {?}
|
|
@@ -10905,7 +10910,7 @@ var ServiceRequestComponent = /** @class */ (function () {
|
|
|
10905
10910
|
}
|
|
10906
10911
|
else if (this.paymentType === 'fp') {
|
|
10907
10912
|
this.isFullyRefund = true;
|
|
10908
|
-
this.
|
|
10913
|
+
this.paymentGroupList = paymentgrp;
|
|
10909
10914
|
this.viewStatus = 'issuerefund';
|
|
10910
10915
|
this.viewCompStatus = "";
|
|
10911
10916
|
this.isRefundRemission = true;
|