@hmcts/ccpay-web-component 5.0.1-beta44 → 5.0.1-beta45

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.
@@ -13,7 +13,7 @@ import { MatFormFieldModule } from '@angular/material/form-field';
13
13
  import { MatInputModule } from '@angular/material/input';
14
14
  import { FormBuilder, Validators, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
15
15
  import { __values } from 'tslib';
16
- import { Injectable, Component, Input, Output, EventEmitter, ViewChild, ChangeDetectorRef, Pipe, NgModule, defineInjectable, inject } from '@angular/core';
16
+ import { Injectable, Component, Input, Output, EventEmitter, Pipe, ViewChild, ChangeDetectorRef, NgModule, defineInjectable, inject } from '@angular/core';
17
17
  import { ActivatedRoute, Router } from '@angular/router';
18
18
 
19
19
  /**
@@ -2010,7 +2010,8 @@ var ProcessRefundComponent = /** @class */ (function () {
2010
2010
  */
2011
2011
  function () {
2012
2012
  if (typeof this.paymentLibComponent.TAKEPAYMENT === 'string' && this.paymentLibComponent.TAKEPAYMENT === 'false') {
2013
- window.location.href = '/refund-list?takePayment=false&refundlist=true';
2013
+ //window.location.href='/refund-list?takePayment=false&refundlist=true';
2014
+ this.paymentLibComponent.viewName = 'refund-list';
2014
2015
  }
2015
2016
  else {
2016
2017
  this.OrderslistService.setnavigationPage('casetransactions');
@@ -2029,7 +2030,8 @@ var ProcessRefundComponent = /** @class */ (function () {
2029
2030
  */
2030
2031
  function () {
2031
2032
  if ((typeof this.paymentLibComponent.TAKEPAYMENT === 'string' && this.paymentLibComponent.TAKEPAYMENT === 'false') || (typeof this.paymentLibComponent.TAKEPAYMENT === 'boolean' && !this.paymentLibComponent.TAKEPAYMENT)) {
2032
- window.location.href = '/refund-list?takePayment=false&refundlist=true';
2033
+ // window.location.href='/refund-list?takePayment=false&refundlist=true';
2034
+ this.paymentLibComponent.viewName = 'refund-list';
2033
2035
  }
2034
2036
  else {
2035
2037
  this.loadRefundListPage();