@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.
- package/bundles/hmcts-ccpay-web-component.umd.js +2 -2
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/lib/components/add-remission/add-remission.component.js +3 -3
- package/esm5/lib/components/add-remission/add-remission.component.js +3 -3
- package/fesm2015/hmcts-ccpay-web-component.js +2 -2
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +2 -2
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -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((/**
|