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

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(( /**
@@ -10490,10 +10490,13 @@
10490
10490
  _this.paymentGroup.payments = _this.paymentGroup.payments.filter(( /**
10491
10491
  * @param {?} paymentGroupObj
10492
10492
  * @return {?}
10493
- */function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
10493
+ */function (paymentGroupObj) { return paymentGroupObj.reference === payment.reference; }));
10494
10494
  _this.payment = _this.paymentGroup.payments[0];
10495
- //this.remissions = remission;
10496
- //this.remissionFeeAmt = fees.filter(data=>data.code === this.remissions['fee_code'])[0].net_amount;
10495
+ _this.remissions = remission;
10496
+ _this.remissionFeeAmt = fees.filter(( /**
10497
+ * @param {?} data
10498
+ * @return {?}
10499
+ */function (data) { return data.code === _this.remissions['fee_code']; }))[0].net_amount;
10497
10500
  _this.viewStatus = 'addrefundforremission';
10498
10501
  // const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
10499
10502
  // this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;