@hmcts/ccpay-web-component 5.0.7-beta11 → 5.0.7-beta14

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.
@@ -9490,6 +9490,21 @@ var ReportsComponent = /** @class */ (function () {
9490
9490
  if (res['data'][i]["representment_status"] !== undefined) {
9491
9491
  res['data'][i]['representment_status'] = res['data'][i]["representment_status"].toLowerCase() === 'yes' ? 'Success' : 'Failure';
9492
9492
  }
9493
+ if (res['data'][i]['representment_status'] === undefined) {
9494
+ res['data'][i]['representment_status'] = 'No representment received';
9495
+ }
9496
+ if (res['data'][i]['representment_date'] === undefined) {
9497
+ res['data'][i]['representment_date'] = 'N/A';
9498
+ }
9499
+ if (res['data'][i]['refund_reference'] === undefined) {
9500
+ res['data'][i]['refund_reference'] = 'No refund available';
9501
+ }
9502
+ if (res['data'][i]['refund_amount'] === undefined) {
9503
+ res['data'][i]['refund_amount'] = 'N/A';
9504
+ }
9505
+ if (res['data'][i]['refund_date'] === undefined) {
9506
+ res['data'][i]['refund_date'] = 'N/A';
9507
+ }
9493
9508
  }
9494
9509
  }
9495
9510
  _this.isDownLoadButtondisabled = false;