@hmcts/ccpay-web-component 5.0.2-beta81 → 5.0.2-beta82

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.
@@ -7274,6 +7274,7 @@
7274
7274
  */
7275
7275
  function () {
7276
7276
  var _this = this;
7277
+ console.log(this.viewCompStatus);
7277
7278
  this.errorMessage = '';
7278
7279
  this.errorMsg = [];
7279
7280
  this.default = 'Select a different reason';
@@ -10485,12 +10486,14 @@
10485
10486
  * @param {?} paymentGroup
10486
10487
  * @return {?}
10487
10488
  */function (paymentGroup) {
10488
- // this.paymentGroup = paymentGroup;
10489
- // this.paymentGroup.payments = this.paymentGroup.payments.filter
10490
- // (paymentGroupObj => paymentGroupObj['reference'].includes(payment.reference));
10491
- // this.payment = this.paymentGroup.payments[0];
10492
- // this.remissions = remission;
10493
- // 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'].includes(payment.reference); }));
10494
+ _this.payment = _this.paymentGroup.payments[0];
10495
+ //this.remissions = remission;
10496
+ //this.remissionFeeAmt = fees.filter(data=>data.code === this.remissions['fee_code'])[0].net_amount;
10494
10497
  _this.viewStatus = 'addrefundforremission';
10495
10498
  // const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
10496
10499
  // this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;