@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.
@@ -7380,6 +7380,7 @@ var AddRemissionComponent = /** @class */ (function () {
7380
7380
  */
7381
7381
  function () {
7382
7382
  var _this = this;
7383
+ console.log(this.viewCompStatus);
7383
7384
  this.errorMessage = '';
7384
7385
  this.errorMsg = [];
7385
7386
  this.default = 'Select a different reason';
@@ -10669,12 +10670,15 @@ var ServiceRequestComponent = /** @class */ (function () {
10669
10670
  * @return {?}
10670
10671
  */
10671
10672
  function (paymentGroup) {
10672
- // this.paymentGroup = paymentGroup;
10673
- // this.paymentGroup.payments = this.paymentGroup.payments.filter
10674
- // (paymentGroupObj => paymentGroupObj['reference'].includes(payment.reference));
10675
- // this.payment = this.paymentGroup.payments[0];
10676
- // this.remissions = remission;
10677
- // this.remissionFeeAmt = fees.filter(data=>data.code === this.remissions['fee_code'])[0].net_amount;
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;
10681
+ //this.remissionFeeAmt = fees.filter(data=>data.code === this.remissions['fee_code'])[0].net_amount;
10678
10682
  _this.viewStatus = 'addrefundforremission';
10679
10683
  // const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
10680
10684
  // this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;