@hmcts/ccpay-web-component 4.0.0-beta602 → 4.0.0-beta603
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/add-remission/add-remission.component.js +4 -1
- package/esm2015/lib/services/refunds/refunds.service.js +2 -2
- package/esm5/lib/components/add-remission/add-remission.component.js +4 -1
- package/esm5/lib/services/refunds/refunds.service.js +2 -2
- package/fesm2015/hmcts-ccpay-web-component.js +4 -1
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +4 -1
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -1556,7 +1556,7 @@ var RefundsService = /** @class */ (function () {
|
|
|
1556
1556
|
* @return {?}
|
|
1557
1557
|
*/
|
|
1558
1558
|
function (refundstatus, selfexclusive) {
|
|
1559
|
-
return this.http.get(this.paymentLibService.REFUNDS_API_ROOT + "?status=" + refundstatus + "&
|
|
1559
|
+
return this.http.get(this.paymentLibService.REFUNDS_API_ROOT + "?status=" + refundstatus + "&excludeCurrentUser=" + selfexclusive, {
|
|
1560
1560
|
withCredentials: true
|
|
1561
1561
|
})
|
|
1562
1562
|
.pipe(catchError(this.errorHandlerService.handleError));
|
|
@@ -6347,6 +6347,9 @@ var AddRemissionComponent = /** @class */ (function () {
|
|
|
6347
6347
|
refundDDReason: new FormControl('', Validators.compose([Validators.required])),
|
|
6348
6348
|
reason: new FormControl()
|
|
6349
6349
|
});
|
|
6350
|
+
/** @type {?} */
|
|
6351
|
+
var remissionctrls = this.remissionForm.controls;
|
|
6352
|
+
remissionctrls['refundDDReason'].setValue('Select a different reason', { onlySelf: true });
|
|
6350
6353
|
if (this.viewCompStatus === '') {
|
|
6351
6354
|
this.viewStatus = 'main';
|
|
6352
6355
|
}
|