@hmcts/ccpay-web-component 5.0.2-beta42 → 5.0.2-beta43

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.
@@ -8573,23 +8573,29 @@ var AddRemissionComponent = /** @class */ (function () {
8573
8573
  this.paymentLibComponent.viewName = 'case-transactions';
8574
8574
  this.paymentLibComponent.ISBSENABLE = true;
8575
8575
  this.paymentLibComponent.isRefundStatusView = false;
8576
- // this.OrderslistService.setnavigationPage('casetransactions');
8577
- // this.OrderslistService.setisFromServiceRequestPage(false);
8578
- // this.paymentLibComponent.VIEW ='case-transactions';
8579
- // this.paymentLibComponent.viewName = 'case-transactions';
8580
- // this.paymentLibComponent.ISBSENABLE = true;
8581
- // this.paymentLibComponent.isRefundStatusView = false;
8582
- // this.resetOrderData(); let partUrl = this.bsPaymentDcnNumber ? `&dcn=${this.bsPaymentDcnNumber}` : '';
8583
- // partUrl += this.paymentLibComponent.ISBSENABLE ? '&isBulkScanning=Enable' : '&isBulkScanning=Disable';
8584
- // partUrl += this.paymentLibComponent.ISTURNOFF ? '&isTurnOff=Enable' : '&isTurnOff=Disable';
8585
- // partUrl += this.isStrategicFixEnable ? '&isStFixEnable=Enable' : '&isStFixEnable=Disable';
8586
- // partUrl += `&caseType=${this.caseType}`;
8587
- // partUrl += this.paymentLibComponent.ISNEWPCIPALOFF ? '&isNewPcipalOff=Enable' : '&isNewPcipalOff=Disable';
8588
- // partUrl += this.paymentLibComponent.ISOLDPCIPALOFF ? '&isOldPcipalOff=Enable' : '&isOldPcipalOff=Disable';
8589
- // const url = `/payment-history/${this.ccdCaseNumber}?view=case-transactions&takePayment=${this.paymentLibComponent.TAKEPAYMENT}&selectedOption=${this.option}${partUrl}`;
8590
- // this.router.routeReuseStrategy.shouldReuseRoute = () => false;
8591
- // this.router.onSameUrlNavigation = 'reload';
8592
- // this.router.navigateByUrl(url);
8576
+ this.OrderslistService.setnavigationPage('casetransactions');
8577
+ this.OrderslistService.setisFromServiceRequestPage(false);
8578
+ this.paymentLibComponent.VIEW = 'case-transactions';
8579
+ this.paymentLibComponent.viewName = 'case-transactions';
8580
+ this.paymentLibComponent.ISBSENABLE = true;
8581
+ this.paymentLibComponent.isRefundStatusView = false;
8582
+ this.resetOrderData();
8583
+ /** @type {?} */
8584
+ var partUrl = this.bsPaymentDcnNumber ? "&dcn=" + this.bsPaymentDcnNumber : '';
8585
+ partUrl += this.paymentLibComponent.ISBSENABLE ? '&isBulkScanning=Enable' : '&isBulkScanning=Disable';
8586
+ partUrl += this.paymentLibComponent.ISTURNOFF ? '&isTurnOff=Enable' : '&isTurnOff=Disable';
8587
+ partUrl += this.isStrategicFixEnable ? '&isStFixEnable=Enable' : '&isStFixEnable=Disable';
8588
+ partUrl += "&caseType=" + this.caseType;
8589
+ partUrl += this.paymentLibComponent.ISNEWPCIPALOFF ? '&isNewPcipalOff=Enable' : '&isNewPcipalOff=Disable';
8590
+ partUrl += this.paymentLibComponent.ISOLDPCIPALOFF ? '&isOldPcipalOff=Enable' : '&isOldPcipalOff=Disable';
8591
+ /** @type {?} */
8592
+ var url = "/payment-history/" + this.ccdCaseNumber + "?view=case-transactions&takePayment=" + this.paymentLibComponent.TAKEPAYMENT + "&selectedOption=" + this.option + partUrl;
8593
+ this.router.routeReuseStrategy.shouldReuseRoute = (/**
8594
+ * @return {?}
8595
+ */
8596
+ function () { return false; });
8597
+ this.router.onSameUrlNavigation = 'reload';
8598
+ this.router.navigateByUrl(url);
8593
8599
  }
8594
8600
  else {
8595
8601
  if (this.paymentLibComponent.REFUNDLIST) {
@@ -8598,8 +8604,8 @@ var AddRemissionComponent = /** @class */ (function () {
8598
8604
  }
8599
8605
  if (this.paymentLibComponent.TAKEPAYMENT === undefined && this.paymentLibComponent.SERVICEREQUEST === undefined) {
8600
8606
  this.paymentLibComponent.SERVICEREQUEST = 'false';
8601
- this.OrderslistService.setisFromServiceRequestPage(false);
8602
8607
  }
8608
+ this.OrderslistService.setisFromServiceRequestPage(false);
8603
8609
  this.OrderslistService.setpaymentPageView({ method: '', payment_group_reference: '', reference: '' });
8604
8610
  this.OrderslistService.setnavigationPage('casetransactions');
8605
8611
  this.errorMessage = '';