@hmcts/ccpay-web-component 5.0.4-beta07 → 5.0.4-beta10
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 -3
- 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 +3 -3
- package/esm2015/lib/components/payment-view/payment-view.component.js +12 -2
- package/esm5/lib/components/case-transactions/case-transactions.component.js +3 -3
- package/esm5/lib/components/payment-view/payment-view.component.js +12 -2
- package/fesm2015/hmcts-ccpay-web-component.js +13 -3
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +13 -3
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1487,7 +1487,17 @@ var PaymentViewComponent = /** @class */ (function () {
|
|
|
1487
1487
|
* @return {?}
|
|
1488
1488
|
*/
|
|
1489
1489
|
function (res) {
|
|
1490
|
-
|
|
1490
|
+
/** @type {?} */
|
|
1491
|
+
var allPaymentsFailure = [];
|
|
1492
|
+
res.payment_failure_list.forEach((/**
|
|
1493
|
+
* @param {?} payments
|
|
1494
|
+
* @return {?}
|
|
1495
|
+
*/
|
|
1496
|
+
function (payments) {
|
|
1497
|
+
allPaymentsFailure.push(payments.payment_failure_initiated);
|
|
1498
|
+
allPaymentsFailure.push(payments.payment_failure_closed);
|
|
1499
|
+
}));
|
|
1500
|
+
console.log(allPaymentsFailure);
|
|
1491
1501
|
}));
|
|
1492
1502
|
};
|
|
1493
1503
|
Object.defineProperty(PaymentViewComponent.prototype, "isCardPayment", {
|
|
@@ -3297,8 +3307,8 @@ var CaseTransactionsComponent = /** @class */ (function () {
|
|
|
3297
3307
|
}
|
|
3298
3308
|
this.excReference = this.paymentLibComponent.EXC_REFERENCE;
|
|
3299
3309
|
this.takePayment = this.paymentLibComponent.TAKEPAYMENT;
|
|
3300
|
-
this.servicerequest = this.paymentLibComponent.SERVICEREQUEST
|
|
3301
|
-
if (this.
|
|
3310
|
+
this.servicerequest = this.paymentLibComponent.SERVICEREQUEST;
|
|
3311
|
+
if (this.servicerequest !== undefined && this.servicerequest.toString() === 'true') {
|
|
3302
3312
|
this.serviceRequestValue = 'true';
|
|
3303
3313
|
}
|
|
3304
3314
|
else {
|