@hmcts/ccpay-web-component 5.0.2-beta54 → 5.0.2-beta55

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.
@@ -7333,9 +7333,9 @@ class AddRemissionComponent {
7333
7333
  version: obj.version,
7334
7334
  apportion_amount: obj.apportion_amount,
7335
7335
  calculated_amount: obj.calculated_amount,
7336
- updated_volume: obj.updated_volume,
7336
+ updated_volume: obj.updated_volume ? obj.updated_volume : obj.volume,
7337
7337
  volume: obj.volume,
7338
- refund_amount: obj.refund_amount })));
7338
+ refund_amount: isFullyRefund ? this.totalRefundAmount : obj.refund_amount })));
7339
7339
  /** @type {?} */
7340
7340
  const requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.payment.reference, this.refundReason, this.totalRefundAmount);
7341
7341
  this.paymentViewService.postRefundsReason(requestBody).subscribe((/**