@hmcts/ccpay-web-component 5.0.2-beta104 → 5.0.2-beta105
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 +19 -0
- 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/service-request/service-request.component.js +23 -1
- package/esm5/lib/components/service-request/service-request.component.js +23 -1
- package/fesm2015/hmcts-ccpay-web-component.js +22 -0
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +22 -0
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -10387,6 +10387,19 @@
|
|
|
10387
10387
|
if (this.paymentLibComponent.isFromServiceRequestPage && this.paymentLibComponent.TAKEPAYMENT) {
|
|
10388
10388
|
this.isServiceRequest = 'false';
|
|
10389
10389
|
}
|
|
10390
|
+
this.paymentViewService.getApportionPaymentDetails(this.paymentLibComponent.paymentReference).subscribe(( /**
|
|
10391
|
+
* @param {?} paymentGroup
|
|
10392
|
+
* @return {?}
|
|
10393
|
+
*/function (paymentGroup) {
|
|
10394
|
+
_this.paymentGroup = paymentGroup;
|
|
10395
|
+
_this.paymentGroup.payments = _this.paymentGroup.payments.filter(( /**
|
|
10396
|
+
* @param {?} paymentGroupObj
|
|
10397
|
+
* @return {?}
|
|
10398
|
+
*/function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.paymentLibComponent.paymentReference); }));
|
|
10399
|
+
}), ( /**
|
|
10400
|
+
* @param {?} error
|
|
10401
|
+
* @return {?}
|
|
10402
|
+
*/function (error) { return _this.errorMessage = error; }));
|
|
10390
10403
|
};
|
|
10391
10404
|
/**
|
|
10392
10405
|
* @return {?}
|
|
@@ -10557,10 +10570,12 @@
|
|
|
10557
10570
|
if (payment !== null && payment !== undefined) {
|
|
10558
10571
|
if (this.chkIsIssueRefundBtnEnable(payment)) {
|
|
10559
10572
|
if (payment.over_payment > 0) {
|
|
10573
|
+
this.viewStatus = '';
|
|
10560
10574
|
this.viewCompStatus = 'overpayment';
|
|
10561
10575
|
}
|
|
10562
10576
|
else {
|
|
10563
10577
|
this.viewStatus = 'issuerefund';
|
|
10578
|
+
this.viewCompStatus = '';
|
|
10564
10579
|
this.payment = payment;
|
|
10565
10580
|
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
10566
10581
|
this.isRefundRemission = true;
|
|
@@ -10703,6 +10718,7 @@
|
|
|
10703
10718
|
function (paymentgrp) {
|
|
10704
10719
|
if (this.paymentType === 'op') {
|
|
10705
10720
|
this.isFullyRefund = false;
|
|
10721
|
+
this.viewStatus = '';
|
|
10706
10722
|
this.viewCompStatus = 'overPaymentAddressCapture';
|
|
10707
10723
|
}
|
|
10708
10724
|
else if (this.paymentType === 'fp') {
|
|
@@ -10726,6 +10742,7 @@
|
|
|
10726
10742
|
*/
|
|
10727
10743
|
function (obj) {
|
|
10728
10744
|
this.contactDetailsObj = obj;
|
|
10745
|
+
this.viewStatus = '';
|
|
10729
10746
|
this.viewCompStatus = 'overpaymentcheckandanswer';
|
|
10730
10747
|
};
|
|
10731
10748
|
/**
|
|
@@ -10738,6 +10755,7 @@
|
|
|
10738
10755
|
*/
|
|
10739
10756
|
function (event) {
|
|
10740
10757
|
event.preventDefault();
|
|
10758
|
+
this.viewStatus = '';
|
|
10741
10759
|
this.viewCompStatus = 'overpayment';
|
|
10742
10760
|
};
|
|
10743
10761
|
/**
|
|
@@ -10753,6 +10771,7 @@
|
|
|
10753
10771
|
this.notification = { contact_details: note, notification_type: note.notification_type };
|
|
10754
10772
|
}
|
|
10755
10773
|
this.errorMessage = '';
|
|
10774
|
+
this.viewStatus = '';
|
|
10756
10775
|
this.viewCompStatus = 'overPaymentAddressCapture';
|
|
10757
10776
|
};
|
|
10758
10777
|
/**
|