@hmcts/ccpay-web-component 5.2.0-beta07 → 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 +4 -1
- 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/contact-details/contact-details.component.js +2 -2
- package/esm2015/lib/components/refund-status/refund-status.component.js +4 -1
- package/fesm2015/hmcts-ccpay-web-component.js +4 -1
- 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
|
@@ -2163,7 +2163,7 @@
|
|
|
2163
2163
|
this.emailAddressForm = this.formBuilder.group({
|
|
2164
2164
|
email: new forms.FormControl('', forms.Validators.compose([
|
|
2165
2165
|
forms.Validators.required,
|
|
2166
|
-
forms.Validators.pattern('
|
|
2166
|
+
forms.Validators.pattern('.+@+.+\\.+.+')
|
|
2167
2167
|
]))
|
|
2168
2168
|
});
|
|
2169
2169
|
this.postCodeForm = this.formBuilder.group({
|
|
@@ -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) {
|