@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.
@@ -3955,7 +3955,7 @@ class CaseTransactionsComponent {
3955
3955
  * @param {?} paymentGroupObj
3956
3956
  * @return {?}
3957
3957
  */
3958
- paymentGroupObj => paymentGroupObj['reference'].includes(payment.reference)));
3958
+ paymentGroupObj => paymentGroupObj.reference === payment.reference));
3959
3959
  this.payment = this.paymentGroup.payments[0];
3960
3960
  this.remissions = remission;
3961
3961
  this.remissionFeeAmt = fees.filter((/**
@@ -9288,14 +9288,11 @@ class ServiceRequestComponent {
9288
9288
  * @return {?}
9289
9289
  */
9290
9290
  paymentGroup => {
9291
- this.paymentGroup = paymentGroup;
9292
- this.paymentGroup.payments = this.paymentGroup.payments.filter((/**
9293
- * @param {?} paymentGroupObj
9294
- * @return {?}
9295
- */
9296
- paymentGroupObj => paymentGroupObj['reference'].includes(payment.reference)));
9297
- this.payment = this.paymentGroup.payments[0];
9298
- //this.remissions = remission;
9291
+ //this.paymentGroup = paymentGroup;
9292
+ // this.paymentGroup.payments = this.paymentGroup.payments.filter
9293
+ //(paymentGroupObj => paymentGroupObj.reference === payment.reference);
9294
+ this.payment = (/** @type {?} */ ('true'));
9295
+ // this.remissions = remission;
9299
9296
  //this.remissionFeeAmt = fees.filter(data=>data.code === this.remissions['fee_code'])[0].net_amount;
9300
9297
  this.viewStatus = 'addrefundforremission';
9301
9298
  // const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;