@hmcts/ccpay-web-component 5.0.2-beta32 → 5.0.2-beta33
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 +6 -5
- 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 +8 -7
- package/esm5/lib/components/add-remission/add-remission.component.js +8 -7
- package/fesm2015/hmcts-ccpay-web-component.js +7 -6
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +7 -6
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -8176,12 +8176,13 @@
|
|
|
8176
8176
|
}
|
|
8177
8177
|
if (isFullyRefund) {
|
|
8178
8178
|
this.totalRefundAmount = this.payment.amount;
|
|
8179
|
-
this.fees = ( /** @type {?} */(this.paymentGroup.fees[0]));
|
|
8180
8179
|
}
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
|
|
8180
|
+
if (!isFullyRefund) {
|
|
8181
|
+
this.fees = this.remissionForm.value.feesList.filter(( /**
|
|
8182
|
+
* @param {?} value
|
|
8183
|
+
* @return {?}
|
|
8184
|
+
*/function (value) { return value.selected === true; }));
|
|
8185
|
+
}
|
|
8185
8186
|
/** @type {?} */
|
|
8186
8187
|
var requestBody = new PostRefundRetroRemission(this.ccdCaseNumber, this.payment.reference, this.refundReason, this.totalRefundAmount, this.fees, this.contactDetailsObj);
|
|
8187
8188
|
this.paymentViewService.postRefundsReason(requestBody).subscribe(( /**
|