@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
|
@@ -8363,9 +8363,9 @@ var AddRemissionComponent = /** @class */ (function () {
|
|
|
8363
8363
|
version: obj.version,
|
|
8364
8364
|
apportion_amount: obj.apportion_amount,
|
|
8365
8365
|
calculated_amount: obj.calculated_amount,
|
|
8366
|
-
updated_volume: obj.updated_volume,
|
|
8366
|
+
updated_volume: obj.updated_volume ? obj.updated_volume : obj.volume,
|
|
8367
8367
|
volume: obj.volume,
|
|
8368
|
-
refund_amount: obj.refund_amount }); }));
|
|
8368
|
+
refund_amount: isFullyRefund ? _this.totalRefundAmount : obj.refund_amount }); }));
|
|
8369
8369
|
/** @type {?} */
|
|
8370
8370
|
var requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.payment.reference, this.refundReason, this.totalRefundAmount);
|
|
8371
8371
|
this.paymentViewService.postRefundsReason(requestBody).subscribe((/**
|