@hmcts/ccpay-web-component 5.2.0-beta08 → 5.2.0-beta09

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.
@@ -6664,6 +6664,9 @@
6664
6664
  if (this.refundFees === undefined) {
6665
6665
  this.refundFees = this.refundlist['refund_fees'];
6666
6666
  }
6667
+ if (this.refundlist.reason == 'Retrospective remission') {
6668
+ this.refundFees[0].refund_amount = this.changedAmount;
6669
+ }
6667
6670
  this.refundCode = this.refundlist.code;
6668
6671
  var resubmitRequest = new IResubmitRefundRequest(this.refundCode, this.changedAmount, this.refundlist.contact_details, this.refundFees);
6669
6672
  this.refundService.patchResubmitRefund(resubmitRequest, this.refundlist.refund_reference).subscribe(function (response) {