@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.
@@ -7478,23 +7478,29 @@ class AddRemissionComponent {
7478
7478
  this.paymentLibComponent.viewName = 'case-transactions';
7479
7479
  this.paymentLibComponent.ISBSENABLE = true;
7480
7480
  this.paymentLibComponent.isRefundStatusView = false;
7481
- // this.OrderslistService.setnavigationPage('casetransactions');
7482
- // this.OrderslistService.setisFromServiceRequestPage(false);
7483
- // this.paymentLibComponent.VIEW ='case-transactions';
7484
- // this.paymentLibComponent.viewName = 'case-transactions';
7485
- // this.paymentLibComponent.ISBSENABLE = true;
7486
- // this.paymentLibComponent.isRefundStatusView = false;
7487
- // this.resetOrderData(); let partUrl = this.bsPaymentDcnNumber ? `&dcn=${this.bsPaymentDcnNumber}` : '';
7488
- // partUrl += this.paymentLibComponent.ISBSENABLE ? '&isBulkScanning=Enable' : '&isBulkScanning=Disable';
7489
- // partUrl += this.paymentLibComponent.ISTURNOFF ? '&isTurnOff=Enable' : '&isTurnOff=Disable';
7490
- // partUrl += this.isStrategicFixEnable ? '&isStFixEnable=Enable' : '&isStFixEnable=Disable';
7491
- // partUrl += `&caseType=${this.caseType}`;
7492
- // partUrl += this.paymentLibComponent.ISNEWPCIPALOFF ? '&isNewPcipalOff=Enable' : '&isNewPcipalOff=Disable';
7493
- // partUrl += this.paymentLibComponent.ISOLDPCIPALOFF ? '&isOldPcipalOff=Enable' : '&isOldPcipalOff=Disable';
7494
- // const url = `/payment-history/${this.ccdCaseNumber}?view=case-transactions&takePayment=${this.paymentLibComponent.TAKEPAYMENT}&selectedOption=${this.option}${partUrl}`;
7495
- // this.router.routeReuseStrategy.shouldReuseRoute = () => false;
7496
- // this.router.onSameUrlNavigation = 'reload';
7497
- // this.router.navigateByUrl(url);
7481
+ this.OrderslistService.setnavigationPage('casetransactions');
7482
+ this.OrderslistService.setisFromServiceRequestPage(false);
7483
+ this.paymentLibComponent.VIEW = 'case-transactions';
7484
+ this.paymentLibComponent.viewName = 'case-transactions';
7485
+ this.paymentLibComponent.ISBSENABLE = true;
7486
+ this.paymentLibComponent.isRefundStatusView = false;
7487
+ this.resetOrderData();
7488
+ /** @type {?} */
7489
+ let partUrl = this.bsPaymentDcnNumber ? `&dcn=${this.bsPaymentDcnNumber}` : '';
7490
+ partUrl += this.paymentLibComponent.ISBSENABLE ? '&isBulkScanning=Enable' : '&isBulkScanning=Disable';
7491
+ partUrl += this.paymentLibComponent.ISTURNOFF ? '&isTurnOff=Enable' : '&isTurnOff=Disable';
7492
+ partUrl += this.isStrategicFixEnable ? '&isStFixEnable=Enable' : '&isStFixEnable=Disable';
7493
+ partUrl += `&caseType=${this.caseType}`;
7494
+ partUrl += this.paymentLibComponent.ISNEWPCIPALOFF ? '&isNewPcipalOff=Enable' : '&isNewPcipalOff=Disable';
7495
+ partUrl += this.paymentLibComponent.ISOLDPCIPALOFF ? '&isOldPcipalOff=Enable' : '&isOldPcipalOff=Disable';
7496
+ /** @type {?} */
7497
+ const url = `/payment-history/${this.ccdCaseNumber}?view=case-transactions&takePayment=${this.paymentLibComponent.TAKEPAYMENT}&selectedOption=${this.option}${partUrl}`;
7498
+ this.router.routeReuseStrategy.shouldReuseRoute = (/**
7499
+ * @return {?}
7500
+ */
7501
+ () => false);
7502
+ this.router.onSameUrlNavigation = 'reload';
7503
+ this.router.navigateByUrl(url);
7498
7504
  }
7499
7505
  else {
7500
7506
  if (this.paymentLibComponent.REFUNDLIST) {
@@ -7503,8 +7509,8 @@ class AddRemissionComponent {
7503
7509
  }
7504
7510
  if (this.paymentLibComponent.TAKEPAYMENT === undefined && this.paymentLibComponent.SERVICEREQUEST === undefined) {
7505
7511
  this.paymentLibComponent.SERVICEREQUEST = 'false';
7506
- this.OrderslistService.setisFromServiceRequestPage(false);
7507
7512
  }
7513
+ this.OrderslistService.setisFromServiceRequestPage(false);
7508
7514
  this.OrderslistService.setpaymentPageView({ method: '', payment_group_reference: '', reference: '' });
7509
7515
  this.OrderslistService.setnavigationPage('casetransactions');
7510
7516
  this.errorMessage = '';