@hmcts/ccpay-web-component 5.2.0-beta08 → 5.2.0-beta09
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 +3 -0
- 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/refund-status/refund-status.component.js +4 -1
- package/fesm2015/hmcts-ccpay-web-component.js +3 -0
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/lib/components/refund-status/refund-status.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -6664,6 +6664,9 @@
|
|
|
6664
6664
|
if (this.refundFees === undefined) {
|
|
6665
6665
|
this.refundFees = this.refundlist['refund_fees'];
|
|
6666
6666
|
}
|
|
6667
|
+
if (this.refundlist.reason == 'Retrospective remission') {
|
|
6668
|
+
this.refundFees[0].refund_amount = this.changedAmount;
|
|
6669
|
+
}
|
|
6667
6670
|
this.refundCode = this.refundlist.code;
|
|
6668
6671
|
var resubmitRequest = new IResubmitRefundRequest(this.refundCode, this.changedAmount, this.refundlist.contact_details, this.refundFees);
|
|
6669
6672
|
this.refundService.patchResubmitRefund(resubmitRequest, this.refundlist.refund_reference).subscribe(function (response) {
|