@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.
@@ -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((/**
@@ -10670,14 +10670,11 @@ var ServiceRequestComponent = /** @class */ (function () {
10670
10670
  * @return {?}
10671
10671
  */
10672
10672
  function (paymentGroup) {
10673
- _this.paymentGroup = paymentGroup;
10674
- _this.paymentGroup.payments = _this.paymentGroup.payments.filter((/**
10675
- * @param {?} paymentGroupObj
10676
- * @return {?}
10677
- */
10678
- function (paymentGroupObj) { return paymentGroupObj['reference'].includes(payment.reference); }));
10679
- _this.payment = _this.paymentGroup.payments[0];
10680
- //this.remissions = remission;
10673
+ //this.paymentGroup = paymentGroup;
10674
+ // this.paymentGroup.payments = this.paymentGroup.payments.filter
10675
+ //(paymentGroupObj => paymentGroupObj.reference === payment.reference);
10676
+ _this.payment = (/** @type {?} */ ('true'));
10677
+ // this.remissions = remission;
10681
10678
  //this.remissionFeeAmt = fees.filter(data=>data.code === this.remissions['fee_code'])[0].net_amount;
10682
10679
  _this.viewStatus = 'addrefundforremission';
10683
10680
  // const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;