@hmcts/ccpay-web-component 5.0.2-beta82 → 5.0.2-beta85

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.
@@ -4556,7 +4556,7 @@
4556
4556
  _this.paymentGroup.payments = paymentGroup.payments.filter(( /**
4557
4557
  * @param {?} paymentGroupObj
4558
4558
  * @return {?}
4559
- */function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
4559
+ */function (paymentGroupObj) { return paymentGroupObj.reference === payment.reference; }));
4560
4560
  _this.payment = _this.paymentGroup.payments[0];
4561
4561
  _this.remissions = remission;
4562
4562
  _this.remissionFeeAmt = fees.filter(( /**
@@ -10486,13 +10486,11 @@
10486
10486
  * @param {?} paymentGroup
10487
10487
  * @return {?}
10488
10488
  */function (paymentGroup) {
10489
- _this.paymentGroup = paymentGroup;
10490
- _this.paymentGroup.payments = _this.paymentGroup.payments.filter(( /**
10491
- * @param {?} paymentGroupObj
10492
- * @return {?}
10493
- */function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
10494
- _this.payment = _this.paymentGroup.payments[0];
10495
- //this.remissions = remission;
10489
+ //this.paymentGroup = paymentGroup;
10490
+ // this.paymentGroup.payments = this.paymentGroup.payments.filter
10491
+ //(paymentGroupObj => paymentGroupObj.reference === payment.reference);
10492
+ _this.payment = ( /** @type {?} */('true'));
10493
+ // this.remissions = remission;
10496
10494
  //this.remissionFeeAmt = fees.filter(data=>data.code === this.remissions['fee_code'])[0].net_amount;
10497
10495
  _this.viewStatus = 'addrefundforremission';
10498
10496
  // const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;