@hmcts/ccpay-web-component 6.0.11 → 6.0.13
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/esm2022/lib/components/payment-view/payment-view.component.mjs +15 -5
- package/esm2022/lib/components/reports/reports.component.mjs +5 -4
- package/esm2022/lib/components/service-request/service-request.component.mjs +14 -3
- package/esm2022/lib/interfaces/IRemission.mjs +1 -1
- package/fesm2022/hmcts-ccpay-web-component.mjs +30 -7
- package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -1
- package/lib/components/payment-view/payment-view.component.d.ts +3 -3
- package/lib/components/reports/reports.component.d.ts +1 -1
- package/lib/components/service-request/service-request.component.d.ts +1 -0
- package/lib/interfaces/IRemission.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
3
3
|
import { NotificationService } from '../../services/notification/notification.service';
|
|
4
|
-
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
5
4
|
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
6
5
|
import { IFee } from '../../interfaces/IFee';
|
|
7
6
|
import { IPayment } from '../../interfaces/IPayment';
|
|
8
7
|
import { IRemission } from '../../interfaces/IRemission';
|
|
9
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
10
8
|
import { IPaymentFailure } from '../../interfaces/IPaymentFailure';
|
|
11
9
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
12
10
|
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
11
|
+
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
13
12
|
import * as i0 from "@angular/core";
|
|
14
13
|
export declare class PaymentViewComponent implements OnInit {
|
|
15
14
|
private paymentViewService;
|
|
@@ -88,6 +87,7 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
88
87
|
getRemissionByFeeCode(feeCode: string, remissions: IRemission[]): IRemission;
|
|
89
88
|
chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
90
89
|
chkIsAddRefundBtnEnable(remission: IRemission): boolean;
|
|
90
|
+
canItBeRefunded(remission: IRemission): boolean;
|
|
91
91
|
chkIsAddRemissionBtnEnable(fee: IFee): boolean;
|
|
92
92
|
selectPymentOption(paymentType: string): void;
|
|
93
93
|
continuePayment(paymentgrp: IPaymentGroup): void;
|
|
@@ -14,7 +14,7 @@ export declare class ReportsComponent implements OnInit {
|
|
|
14
14
|
private bulkScaningPaymentService;
|
|
15
15
|
private paymentLibComponent;
|
|
16
16
|
private paymentViewService;
|
|
17
|
-
ISPAYMENTSTATUSENABLED:
|
|
17
|
+
ISPAYMENTSTATUSENABLED: boolean;
|
|
18
18
|
fmt: string;
|
|
19
19
|
loc: string;
|
|
20
20
|
reportsForm: FormGroup;
|
|
@@ -115,6 +115,7 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
115
115
|
goToPaymentViewComponent(paymentGroup: any): void;
|
|
116
116
|
chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
117
117
|
chkIsAddRefundBtnEnable(remission: IRemission): boolean;
|
|
118
|
+
canItBeRefunded(remission: IRemission): boolean;
|
|
118
119
|
chkIsAddRemissionBtnEnable(fee: IFee): boolean;
|
|
119
120
|
resetOrderData(): void;
|
|
120
121
|
selectPymentOption(paymentType: string): void;
|