@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.
- package/bundles/hmcts-ccpay-web-component.umd.js +23 -18
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/lib/components/add-remission/add-remission.component.js +25 -19
- package/esm5/lib/components/add-remission/add-remission.component.js +25 -19
- package/fesm2015/hmcts-ccpay-web-component.js +24 -18
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +24 -18
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
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 = '';
|