@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.
@@ -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((/**
@@ -9293,10 +9293,14 @@ class ServiceRequestComponent {
9293
9293
  * @param {?} paymentGroupObj
9294
9294
  * @return {?}
9295
9295
  */
9296
- paymentGroupObj => paymentGroupObj['reference'].includes(payment.reference)));
9296
+ paymentGroupObj => paymentGroupObj.reference === payment.reference));
9297
9297
  this.payment = this.paymentGroup.payments[0];
9298
- //this.remissions = remission;
9299
- //this.remissionFeeAmt = fees.filter(data=>data.code === this.remissions['fee_code'])[0].net_amount;
9298
+ this.remissions = remission;
9299
+ this.remissionFeeAmt = fees.filter((/**
9300
+ * @param {?} data
9301
+ * @return {?}
9302
+ */
9303
+ data => data.code === this.remissions['fee_code']))[0].net_amount;
9300
9304
  this.viewStatus = 'addrefundforremission';
9301
9305
  // const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
9302
9306
  // this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;