@hmcts/ccpay-web-component 5.0.7-beta25 → 5.0.7-beta26
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/notification-preview/notification-preview.component.js +4 -1
- package/esm5/lib/components/notification-preview/notification-preview.component.js +4 -1
- package/fesm2015/hmcts-ccpay-web-component.js +3 -0
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +3 -0
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -11371,6 +11371,7 @@
|
|
|
11371
11371
|
console.log('Notification app started');
|
|
11372
11372
|
/** @type {?} */
|
|
11373
11373
|
var notficationPreviewRequestBody = new NotificationPreviewRequest(this.payment, this.contactDetails, this.refundReason, this.refundAmount, this.refundReference, this.paymentReference);
|
|
11374
|
+
console.log("1." + notficationPreviewRequestBody);
|
|
11374
11375
|
this.notificationService.getNotificationPreview(notficationPreviewRequestBody).subscribe(( /**
|
|
11375
11376
|
* @param {?} res
|
|
11376
11377
|
* @return {?}
|
|
@@ -11378,7 +11379,9 @@
|
|
|
11378
11379
|
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
11379
11380
|
/** @type {?} */
|
|
11380
11381
|
var JsonResponse = JSON.parse(res);
|
|
11382
|
+
console.log("2." + JsonResponse);
|
|
11381
11383
|
_this.notification = JsonResponse['data'];
|
|
11384
|
+
console.log("3." + _this.notification);
|
|
11382
11385
|
if (_this.notification.template_type === 'letter') {
|
|
11383
11386
|
_this.notification.body = _this.notification.body.replace(/\r\n/g, '<br/>');
|
|
11384
11387
|
}
|