@hmcts/ccpay-web-component 5.2.1 → 5.2.2

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.
@@ -6654,7 +6654,13 @@
6654
6654
  };
6655
6655
  RefundStatusComponent.prototype.getRefundFees = function (fees) {
6656
6656
  this.fees = fees;
6657
- this.refundFees = this.fees.map(function (obj) { return ({ fee_id: obj.id, code: obj.code, version: obj.version, volume: obj.volume, refund_amount: obj.refund_amount }); });
6657
+ this.refundFees = this.fees.map(function (obj) { return ({
6658
+ fee_id: obj.id,
6659
+ code: obj.code,
6660
+ version: obj.version,
6661
+ volume: obj.updated_volume ? obj.updated_volume : obj.volume,
6662
+ refund_amount: obj.refund_amount
6663
+ }); });
6658
6664
  };
6659
6665
  RefundStatusComponent.prototype.gotoReviewRefundConfirmationPage = function () {
6660
6666
  var _this = this;