@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 @@ var PaymentViewComponent = /** @class */ (function () {
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
  */
@@ -1741,7 +1740,7 @@ var PaymentViewComponent = /** @class */ (function () {
1741
1740
  * @param {?} paymentGroupObj
1742
1741
  * @return {?}
1743
1742
  */
1744
- function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
1743
+ function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
1745
1744
  _this.payment = _this.paymentGroup.payments[0];
1746
1745
  _this.remissions = remission;
1747
1746
  _this.remissionFeeAmt = fees.filter((/**
@@ -4602,18 +4601,17 @@ var CaseTransactionsComponent = /** @class */ (function () {
4602
4601
  function (payment, remission, fees) {
4603
4602
  var _this = this;
4604
4603
  this.viewStatus = 'addrefundforremission';
4605
- this.payment = payment;
4606
- this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe((/**
4604
+ this.paymentViewService.getApportionPaymentDetails(payment.reference).subscribe((/**
4607
4605
  * @param {?} paymentGroup
4608
4606
  * @return {?}
4609
4607
  */
4610
4608
  function (paymentGroup) {
4611
4609
  _this.paymentGroup = paymentGroup;
4612
- _this.paymentGroup.payments = _this.paymentGroup.payments.filter((/**
4610
+ _this.paymentGroup.payments = paymentGroup.payments.filter((/**
4613
4611
  * @param {?} paymentGroupObj
4614
4612
  * @return {?}
4615
4613
  */
4616
- function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
4614
+ function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
4617
4615
  _this.payment = _this.paymentGroup.payments[0];
4618
4616
  _this.remissions = remission;
4619
4617
  _this.remissionFeeAmt = fees.filter((/**
@@ -10667,8 +10665,7 @@ var ServiceRequestComponent = /** @class */ (function () {
10667
10665
  var _this = this;
10668
10666
  this.viewStatus = 'addrefundforremission';
10669
10667
  this.paymentLibComponent.isFromServiceRequestPage = true;
10670
- this.payment = payment;
10671
- this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe((/**
10668
+ this.paymentViewService.getApportionPaymentDetails(payment.reference).subscribe((/**
10672
10669
  * @param {?} paymentGroup
10673
10670
  * @return {?}
10674
10671
  */
@@ -10678,7 +10675,7 @@ var ServiceRequestComponent = /** @class */ (function () {
10678
10675
  * @param {?} paymentGroupObj
10679
10676
  * @return {?}
10680
10677
  */
10681
- function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
10678
+ function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
10682
10679
  _this.payment = _this.paymentGroup.payments[0];
10683
10680
  _this.remissions = remission;
10684
10681
  _this.remissionFeeAmt = fees.filter((/**