@hmcts/ccpay-web-component 5.0.10-beta24 → 5.0.10-beta25

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.
@@ -270,6 +270,9 @@
270
270
  if (this.isTakePayment) {
271
271
  this.TAKEPAYMENT = true;
272
272
  }
273
+ if (this.API_ROOT == 'api/payment-history') {
274
+ this.isFromPayBubble = true;
275
+ }
273
276
  };
274
277
  return PaymentLibComponent;
275
278
  }());
@@ -5662,22 +5665,6 @@
5662
5665
  this.paymentLibComponent.viewName = 'case-transactions';
5663
5666
  this.paymentLibComponent.ISBSENABLE = true;
5664
5667
  this.paymentLibComponent.isRefundStatusView = false;
5665
- this.OrderslistService.setnavigationPage('casetransactions');
5666
- this.OrderslistService.setisFromServiceRequestPage(false);
5667
- this.paymentLibComponent.VIEW = 'case-transactions';
5668
- this.paymentLibComponent.viewName = 'case-transactions';
5669
- this.paymentLibComponent.ISBSENABLE = true;
5670
- this.paymentLibComponent.isRefundStatusView = false;
5671
- this.resetOrderData();
5672
- var partUrl = this.bsPaymentDcnNumber ? "&dcn=" + this.bsPaymentDcnNumber : '';
5673
- partUrl += this.paymentLibComponent.ISBSENABLE ? '&isBulkScanning=Enable' : '&isBulkScanning=Disable';
5674
- partUrl += this.paymentLibComponent.ISTURNOFF ? '&isTurnOff=Enable' : '&isTurnOff=Disable';
5675
- partUrl += this.isStrategicFixEnable ? '&isStFixEnable=Enable' : '&isStFixEnable=Disable';
5676
- partUrl += "&caseType=" + this.caseType;
5677
- var url = "/payment-history/" + this.ccdCaseNumber + "?view=case-transactions&takePayment=" + this.paymentLibComponent.TAKEPAYMENT + "&selectedOption=" + this.option + partUrl;
5678
- this.router.routeReuseStrategy.shouldReuseRoute = function () { return false; };
5679
- this.router.onSameUrlNavigation = 'reload';
5680
- this.router.navigateByUrl(url);
5681
5668
  }
5682
5669
  else {
5683
5670
  if (this.paymentLibComponent.REFUNDLIST) {