@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
|
@@ -8312,13 +8312,14 @@ var AddRemissionComponent = /** @class */ (function () {
|
|
|
8312
8312
|
}
|
|
8313
8313
|
if (isFullyRefund) {
|
|
8314
8314
|
this.totalRefundAmount = this.payment.amount;
|
|
8315
|
-
this.fees = (/** @type {?} */ (this.paymentGroup.fees[0]));
|
|
8316
8315
|
}
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
|
|
8321
|
-
|
|
8316
|
+
if (!isFullyRefund) {
|
|
8317
|
+
this.fees = this.remissionForm.value.feesList.filter((/**
|
|
8318
|
+
* @param {?} value
|
|
8319
|
+
* @return {?}
|
|
8320
|
+
*/
|
|
8321
|
+
function (value) { return value.selected === true; }));
|
|
8322
|
+
}
|
|
8322
8323
|
/** @type {?} */
|
|
8323
8324
|
var requestBody = new PostRefundRetroRemission(this.ccdCaseNumber, this.payment.reference, this.refundReason, this.totalRefundAmount, this.fees, this.contactDetailsObj);
|
|
8324
8325
|
this.paymentViewService.postRefundsReason(requestBody).subscribe((/**
|