@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.
@@ -8429,23 +8429,28 @@
8429
8429
  this.paymentLibComponent.viewName = 'case-transactions';
8430
8430
  this.paymentLibComponent.ISBSENABLE = true;
8431
8431
  this.paymentLibComponent.isRefundStatusView = false;
8432
- // this.OrderslistService.setnavigationPage('casetransactions');
8433
- // this.OrderslistService.setisFromServiceRequestPage(false);
8434
- // this.paymentLibComponent.VIEW ='case-transactions';
8435
- // this.paymentLibComponent.viewName = 'case-transactions';
8436
- // this.paymentLibComponent.ISBSENABLE = true;
8437
- // this.paymentLibComponent.isRefundStatusView = false;
8438
- // this.resetOrderData(); let partUrl = this.bsPaymentDcnNumber ? `&dcn=${this.bsPaymentDcnNumber}` : '';
8439
- // partUrl += this.paymentLibComponent.ISBSENABLE ? '&isBulkScanning=Enable' : '&isBulkScanning=Disable';
8440
- // partUrl += this.paymentLibComponent.ISTURNOFF ? '&isTurnOff=Enable' : '&isTurnOff=Disable';
8441
- // partUrl += this.isStrategicFixEnable ? '&isStFixEnable=Enable' : '&isStFixEnable=Disable';
8442
- // partUrl += `&caseType=${this.caseType}`;
8443
- // partUrl += this.paymentLibComponent.ISNEWPCIPALOFF ? '&isNewPcipalOff=Enable' : '&isNewPcipalOff=Disable';
8444
- // partUrl += this.paymentLibComponent.ISOLDPCIPALOFF ? '&isOldPcipalOff=Enable' : '&isOldPcipalOff=Disable';
8445
- // const url = `/payment-history/${this.ccdCaseNumber}?view=case-transactions&takePayment=${this.paymentLibComponent.TAKEPAYMENT}&selectedOption=${this.option}${partUrl}`;
8446
- // this.router.routeReuseStrategy.shouldReuseRoute = () => false;
8447
- // this.router.onSameUrlNavigation = 'reload';
8448
- // this.router.navigateByUrl(url);
8432
+ this.OrderslistService.setnavigationPage('casetransactions');
8433
+ this.OrderslistService.setisFromServiceRequestPage(false);
8434
+ this.paymentLibComponent.VIEW = 'case-transactions';
8435
+ this.paymentLibComponent.viewName = 'case-transactions';
8436
+ this.paymentLibComponent.ISBSENABLE = true;
8437
+ this.paymentLibComponent.isRefundStatusView = false;
8438
+ this.resetOrderData();
8439
+ /** @type {?} */
8440
+ var partUrl = this.bsPaymentDcnNumber ? "&dcn=" + this.bsPaymentDcnNumber : '';
8441
+ partUrl += this.paymentLibComponent.ISBSENABLE ? '&isBulkScanning=Enable' : '&isBulkScanning=Disable';
8442
+ partUrl += this.paymentLibComponent.ISTURNOFF ? '&isTurnOff=Enable' : '&isTurnOff=Disable';
8443
+ partUrl += this.isStrategicFixEnable ? '&isStFixEnable=Enable' : '&isStFixEnable=Disable';
8444
+ partUrl += "&caseType=" + this.caseType;
8445
+ partUrl += this.paymentLibComponent.ISNEWPCIPALOFF ? '&isNewPcipalOff=Enable' : '&isNewPcipalOff=Disable';
8446
+ partUrl += this.paymentLibComponent.ISOLDPCIPALOFF ? '&isOldPcipalOff=Enable' : '&isOldPcipalOff=Disable';
8447
+ /** @type {?} */
8448
+ var url = "/payment-history/" + this.ccdCaseNumber + "?view=case-transactions&takePayment=" + this.paymentLibComponent.TAKEPAYMENT + "&selectedOption=" + this.option + partUrl;
8449
+ this.router.routeReuseStrategy.shouldReuseRoute = ( /**
8450
+ * @return {?}
8451
+ */function () { return false; });
8452
+ this.router.onSameUrlNavigation = 'reload';
8453
+ this.router.navigateByUrl(url);
8449
8454
  }
8450
8455
  else {
8451
8456
  if (this.paymentLibComponent.REFUNDLIST) {
@@ -8454,8 +8459,8 @@
8454
8459
  }
8455
8460
  if (this.paymentLibComponent.TAKEPAYMENT === undefined && this.paymentLibComponent.SERVICEREQUEST === undefined) {
8456
8461
  this.paymentLibComponent.SERVICEREQUEST = 'false';
8457
- this.OrderslistService.setisFromServiceRequestPage(false);
8458
8462
  }
8463
+ this.OrderslistService.setisFromServiceRequestPage(false);
8459
8464
  this.OrderslistService.setpaymentPageView({ method: '', payment_group_reference: '', reference: '' });
8460
8465
  this.OrderslistService.setnavigationPage('casetransactions');
8461
8466
  this.errorMessage = '';