@hmcts/ccpay-web-component 5.0.2-beta32 → 5.0.2-beta33

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.
@@ -8312,13 +8312,14 @@ var AddRemissionComponent = /** @class */ (function () {
8312
8312
  }
8313
8313
  if (isFullyRefund) {
8314
8314
  this.totalRefundAmount = this.payment.amount;
8315
- this.fees = (/** @type {?} */ (this.paymentGroup.fees[0]));
8316
8315
  }
8317
- this.fees = this.remissionForm.value.feesList.filter((/**
8318
- * @param {?} value
8319
- * @return {?}
8320
- */
8321
- function (value) { return value.selected === true; }));
8316
+ if (!isFullyRefund) {
8317
+ this.fees = this.remissionForm.value.feesList.filter((/**
8318
+ * @param {?} value
8319
+ * @return {?}
8320
+ */
8321
+ function (value) { return value.selected === true; }));
8322
+ }
8322
8323
  /** @type {?} */
8323
8324
  var requestBody = new PostRefundRetroRemission(this.ccdCaseNumber, this.payment.reference, this.refundReason, this.totalRefundAmount, this.fees, this.contactDetailsObj);
8324
8325
  this.paymentViewService.postRefundsReason(requestBody).subscribe((/**