@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.
@@ -4610,7 +4610,7 @@ var CaseTransactionsComponent = /** @class */ (function () {
4610
4610
  * @param {?} paymentGroupObj
4611
4611
  * @return {?}
4612
4612
  */
4613
- function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
4613
+ function (paymentGroupObj) { return paymentGroupObj.reference === payment.reference; }));
4614
4614
  _this.payment = _this.paymentGroup.payments[0];
4615
4615
  _this.remissions = remission;
4616
4616
  _this.remissionFeeAmt = fees.filter((/**
@@ -10675,10 +10675,14 @@ var ServiceRequestComponent = /** @class */ (function () {
10675
10675
  * @param {?} paymentGroupObj
10676
10676
  * @return {?}
10677
10677
  */
10678
- function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
10678
+ function (paymentGroupObj) { return paymentGroupObj.reference === payment.reference; }));
10679
10679
  _this.payment = _this.paymentGroup.payments[0];
10680
- //this.remissions = remission;
10681
- //this.remissionFeeAmt = fees.filter(data=>data.code === this.remissions['fee_code'])[0].net_amount;
10680
+ _this.remissions = remission;
10681
+ _this.remissionFeeAmt = fees.filter((/**
10682
+ * @param {?} data
10683
+ * @return {?}
10684
+ */
10685
+ function (data) { return data.code === _this.remissions['fee_code']; }))[0].net_amount;
10682
10686
  _this.viewStatus = 'addrefundforremission';
10683
10687
  // const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
10684
10688
  // this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;