@hmcts/ccpay-web-component 5.0.7-beta16 → 5.0.7-beta17

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.
@@ -8371,6 +8371,21 @@ var ReportsComponent = /** @class */ (function () {
8371
8371
  if (res['data'][i]["representment_status"] !== undefined) {
8372
8372
  res['data'][i]['representment_status'] = res['data'][i]["representment_status"].toLowerCase() === 'yes' ? 'Success' : 'Failure';
8373
8373
  }
8374
+ if (res['data'][i]['representment_status'] === undefined) {
8375
+ res['data'][i]['representment_status'] = 'No representment received';
8376
+ }
8377
+ if (res['data'][i]['representment_date'] === undefined) {
8378
+ res['data'][i]['representment_date'] = 'N/A';
8379
+ }
8380
+ if (res['data'][i]['refund_reference'] === undefined) {
8381
+ res['data'][i]['refund_reference'] = 'No refund available';
8382
+ }
8383
+ if (res['data'][i]['refund_amount'] === undefined) {
8384
+ res['data'][i]['refund_amount'] = 'N/A';
8385
+ }
8386
+ if (res['data'][i]['refund_date'] === undefined) {
8387
+ res['data'][i]['refund_date'] = 'N/A';
8388
+ }
8374
8389
  }
8375
8390
  }
8376
8391
  _this.isDownLoadButtondisabled = false;