@hmcts/ccpay-web-component 5.0.2-beta77 → 5.0.2-beta78

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.
@@ -1730,8 +1730,7 @@
1730
1730
  function (payment, remission, fees) {
1731
1731
  var _this = this;
1732
1732
  //if(!this.chkIsIssueRefundBtnEnable(payment)) {
1733
- this.payment = payment;
1734
- this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe(( /**
1733
+ this.paymentViewService.getApportionPaymentDetails(payment.reference).subscribe(( /**
1735
1734
  * @param {?} paymentGroup
1736
1735
  * @return {?}
1737
1736
  */function (paymentGroup) {
@@ -1739,7 +1738,7 @@
1739
1738
  _this.paymentGroup.payments = _this.paymentGroup.payments.filter(( /**
1740
1739
  * @param {?} paymentGroupObj
1741
1740
  * @return {?}
1742
- */function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
1741
+ */function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
1743
1742
  _this.payment = _this.paymentGroup.payments[0];
1744
1743
  _this.remissions = remission;
1745
1744
  _this.remissionFeeAmt = fees.filter(( /**
@@ -4550,16 +4549,15 @@
4550
4549
  function (payment, remission, fees) {
4551
4550
  var _this = this;
4552
4551
  this.viewStatus = 'addrefundforremission';
4553
- this.payment = payment;
4554
- this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe(( /**
4552
+ this.paymentViewService.getApportionPaymentDetails(payment.reference).subscribe(( /**
4555
4553
  * @param {?} paymentGroup
4556
4554
  * @return {?}
4557
4555
  */function (paymentGroup) {
4558
4556
  _this.paymentGroup = paymentGroup;
4559
- _this.paymentGroup.payments = _this.paymentGroup.payments.filter(( /**
4557
+ _this.paymentGroup.payments = paymentGroup.payments.filter(( /**
4560
4558
  * @param {?} paymentGroupObj
4561
4559
  * @return {?}
4562
- */function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
4560
+ */function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
4563
4561
  _this.payment = _this.paymentGroup.payments[0];
4564
4562
  _this.remissions = remission;
4565
4563
  _this.remissionFeeAmt = fees.filter(( /**
@@ -10484,8 +10482,7 @@
10484
10482
  var _this = this;
10485
10483
  this.viewStatus = 'addrefundforremission';
10486
10484
  this.paymentLibComponent.isFromServiceRequestPage = true;
10487
- this.payment = payment;
10488
- this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe(( /**
10485
+ this.paymentViewService.getApportionPaymentDetails(payment.reference).subscribe(( /**
10489
10486
  * @param {?} paymentGroup
10490
10487
  * @return {?}
10491
10488
  */function (paymentGroup) {
@@ -10493,7 +10490,7 @@
10493
10490
  _this.paymentGroup.payments = _this.paymentGroup.payments.filter(( /**
10494
10491
  * @param {?} paymentGroupObj
10495
10492
  * @return {?}
10496
- */function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
10493
+ */function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
10497
10494
  _this.payment = _this.paymentGroup.payments[0];
10498
10495
  _this.remissions = remission;
10499
10496
  _this.remissionFeeAmt = fees.filter(( /**