@hmcts/ccpay-web-component 5.0.1-beta163 → 5.0.1-beta164
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 +7 -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/refund-status/refund-status.component.js +6 -5
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +6 -2
- package/esm5/lib/components/refund-status/refund-status.component.js +6 -5
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +5 -2
- package/fesm2015/hmcts-ccpay-web-component.js +8 -5
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +7 -5
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/lib/interfaces/IResubmitRefundRequest.d.ts +3 -1
- package/package.json +1 -1
|
@@ -9541,9 +9541,10 @@
|
|
|
9541
9541
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
9542
9542
|
*/
|
|
9543
9543
|
var IResubmitRefundRequest = /** @class */ (function () {
|
|
9544
|
-
function IResubmitRefundRequest(refund_reason, amount) {
|
|
9544
|
+
function IResubmitRefundRequest(refund_reason, amount, contact_details) {
|
|
9545
9545
|
this.refund_reason = refund_reason;
|
|
9546
9546
|
this.amount = amount;
|
|
9547
|
+
this.contact_details = contact_details;
|
|
9547
9548
|
}
|
|
9548
9549
|
return IResubmitRefundRequest;
|
|
9549
9550
|
}());
|
|
@@ -9931,11 +9932,12 @@
|
|
|
9931
9932
|
*/
|
|
9932
9933
|
function () {
|
|
9933
9934
|
var _this = this;
|
|
9934
|
-
if (this.oldRefundReason === this.refundlist.reason) {
|
|
9935
|
-
|
|
9936
|
-
}
|
|
9935
|
+
// if (this.oldRefundReason === this.refundlist.reason) {
|
|
9936
|
+
// this.refundCode = '';
|
|
9937
|
+
// }
|
|
9938
|
+
this.refundCode = this.refundlist.reason;
|
|
9937
9939
|
/** @type {?} */
|
|
9938
|
-
var resubmitRequest = new IResubmitRefundRequest(this.refundCode, this.changedAmount);
|
|
9940
|
+
var resubmitRequest = new IResubmitRefundRequest(this.refundCode, this.changedAmount, this.refundlist.contact_details);
|
|
9939
9941
|
this.refundService.patchResubmitRefund(resubmitRequest, this.refundlist.refund_reference).subscribe(( /**
|
|
9940
9942
|
* @param {?} response
|
|
9941
9943
|
* @return {?}
|