@hmcts/ccpay-web-component 5.0.2-beta85 → 5.0.2-beta86

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