@hmcts/ccpay-web-component 5.0.1-beta40 → 5.0.1-beta44
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 +578 -105
- 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/hmcts-ccpay-web-component.js +3 -2
- package/esm2015/lib/components/add-remission/add-remission.component.js +102 -69
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +25 -27
- package/esm2015/lib/components/payment-view/payment-view.component.js +2 -2
- package/esm2015/lib/components/process-refund/process-refund.component.js +30 -4
- package/esm2015/lib/components/refund-status/refund-status.component.js +2 -2
- package/esm2015/lib/components/service-request/service-request.component.js +543 -0
- package/esm2015/lib/payment-lib.component.js +7 -2
- package/esm2015/lib/payment-lib.module.js +4 -2
- package/esm5/hmcts-ccpay-web-component.js +3 -2
- package/esm5/lib/components/add-remission/add-remission.component.js +103 -69
- package/esm5/lib/components/case-transactions/case-transactions.component.js +25 -31
- package/esm5/lib/components/payment-view/payment-view.component.js +2 -2
- package/esm5/lib/components/process-refund/process-refund.component.js +33 -4
- package/esm5/lib/components/refund-status/refund-status.component.js +2 -2
- package/esm5/lib/components/service-request/service-request.component.js +611 -0
- package/esm5/lib/payment-lib.component.js +7 -2
- package/esm5/lib/payment-lib.module.js +4 -2
- package/fesm2015/hmcts-ccpay-web-component.js +515 -101
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +586 -106
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +2 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +8 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts +1 -1
- package/lib/components/process-refund/process-refund.component.d.ts +1 -0
- package/lib/components/service-request/service-request.component.d.ts +103 -0
- package/lib/payment-lib.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -30,12 +30,19 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
30
30
|
isOldPcipalOff: boolean;
|
|
31
31
|
isNewPcipalOff: boolean;
|
|
32
32
|
isStrategicFixEnable: boolean;
|
|
33
|
-
orderStatus: string;
|
|
34
33
|
paidAmount: any;
|
|
35
34
|
isFromRefundListPage: boolean;
|
|
36
35
|
isFromPaymentDetailPage: boolean;
|
|
37
36
|
isFromServiceRequestPage: boolean;
|
|
38
37
|
feeamount: number;
|
|
38
|
+
LOGGEDINUSERROLES: string[];
|
|
39
|
+
orderDetail: any[];
|
|
40
|
+
orderRef: string;
|
|
41
|
+
orderStatus: string;
|
|
42
|
+
orderParty: string;
|
|
43
|
+
orderCreated: Date;
|
|
44
|
+
orderCCDEvent: string;
|
|
45
|
+
takePayment: boolean;
|
|
39
46
|
cancelRemission: EventEmitter<void>;
|
|
40
47
|
refundListReason: EventEmitter<{
|
|
41
48
|
reason: string;
|
|
@@ -19,6 +19,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
19
19
|
private paymentLibComponent;
|
|
20
20
|
private OrderslistService;
|
|
21
21
|
LOGGEDINUSERROLES: string[];
|
|
22
|
+
isTakePayment: boolean;
|
|
22
23
|
takePayment: boolean;
|
|
23
24
|
servicerequest: string;
|
|
24
25
|
ccdCaseNumber: string;
|
|
@@ -97,7 +98,6 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
97
98
|
resetOrderVariables(): void;
|
|
98
99
|
goToOrderViewDetailSection(orderReferenceObj: any): void;
|
|
99
100
|
redirectToOrderFeeSearchPage(event: any, orderef: any): void;
|
|
100
|
-
goToCaseTransationPage(event: any): void;
|
|
101
101
|
calculateAmounts(): void;
|
|
102
102
|
calculateRefundAmount(): number;
|
|
103
103
|
getGroupOutstandingAmount(paymentGroup: IPaymentGroup): number;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
3
|
+
import { IPayment } from '../../interfaces/IPayment';
|
|
4
|
+
import { IRemission } from '../../interfaces/IRemission';
|
|
5
|
+
import { IPaymentView } from '../../interfaces/IPaymentView';
|
|
6
|
+
import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
|
|
7
|
+
import { IFee } from '../../interfaces/IFee';
|
|
8
|
+
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
9
|
+
import { Router } from '@angular/router';
|
|
10
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
11
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
12
|
+
export declare class ServiceRequestComponent implements OnInit {
|
|
13
|
+
private paymentLibComponent;
|
|
14
|
+
private paymentViewService;
|
|
15
|
+
private OrderslistService;
|
|
16
|
+
private router;
|
|
17
|
+
LOGGEDINUSERROLES: string[];
|
|
18
|
+
viewStatus: string;
|
|
19
|
+
orderDetail: any[];
|
|
20
|
+
orderRef: string;
|
|
21
|
+
orderStatus: string;
|
|
22
|
+
orderParty: string;
|
|
23
|
+
orderCreated: Date;
|
|
24
|
+
orderCCDEvent: string;
|
|
25
|
+
takePayment: boolean;
|
|
26
|
+
ccdCaseNumber: boolean;
|
|
27
|
+
servicerequest: string;
|
|
28
|
+
excReference: string;
|
|
29
|
+
paymentGroups: any[];
|
|
30
|
+
payments: IPayment[];
|
|
31
|
+
nonPayments: IPayment[];
|
|
32
|
+
allPayments: IPayment[];
|
|
33
|
+
remissions: IRemission[];
|
|
34
|
+
fees: IFee[];
|
|
35
|
+
errorMessage: string;
|
|
36
|
+
totalFees: number;
|
|
37
|
+
totalPayments: number;
|
|
38
|
+
totalNonOffPayments: number;
|
|
39
|
+
totalRemissions: number;
|
|
40
|
+
selectedOption: string;
|
|
41
|
+
dcnNumber: string;
|
|
42
|
+
paymentRef: string;
|
|
43
|
+
isTurnOff: boolean;
|
|
44
|
+
isNewPcipalOff: boolean;
|
|
45
|
+
isRefundRemission: boolean;
|
|
46
|
+
isOldPcipalOff: boolean;
|
|
47
|
+
isStrategicFixEnable: boolean;
|
|
48
|
+
isAddFeeBtnEnabled: boolean;
|
|
49
|
+
isExceptionRecord: boolean;
|
|
50
|
+
isUnprocessedRecordSelected: boolean;
|
|
51
|
+
exceptionRecordReference: string;
|
|
52
|
+
isAnyFeeGroupAvilable: boolean;
|
|
53
|
+
isHistoricGroupAvailable: boolean;
|
|
54
|
+
isBulkScanEnable: any;
|
|
55
|
+
isRemissionsMatch: boolean;
|
|
56
|
+
isRemoveBtnDisabled: boolean;
|
|
57
|
+
feeId: IFee;
|
|
58
|
+
clAmountDue: number;
|
|
59
|
+
unprocessedRecordCount: number;
|
|
60
|
+
isFeeRecordsExist: boolean;
|
|
61
|
+
isGrpOutstandingAmtPositive: boolean;
|
|
62
|
+
totalRefundAmount: Number;
|
|
63
|
+
caseType: String;
|
|
64
|
+
payment: IPayment;
|
|
65
|
+
paymentGroup: IPaymentGroup;
|
|
66
|
+
paymentView: IPaymentView;
|
|
67
|
+
isAddRemissionEnable: boolean;
|
|
68
|
+
orderRemissionDetails: any[];
|
|
69
|
+
orderLevelFees: IOrderReferenceFee[];
|
|
70
|
+
cpoDetails: any;
|
|
71
|
+
serviceRequestValue: string;
|
|
72
|
+
orderAddBtnEnable: boolean;
|
|
73
|
+
orderFeesTotal: number;
|
|
74
|
+
orderRemissionTotal: number;
|
|
75
|
+
orderTotalPayments: number;
|
|
76
|
+
orderPendingPayments: number;
|
|
77
|
+
isCPODown: boolean;
|
|
78
|
+
test: boolean;
|
|
79
|
+
isPBA: boolean;
|
|
80
|
+
isIssueRefunfBtnEnable: boolean;
|
|
81
|
+
isAddRemissionBtnEnabled: boolean;
|
|
82
|
+
isRefundRemissionBtnEnable: boolean;
|
|
83
|
+
allowedRolesToAccessRefund: string[];
|
|
84
|
+
isFromServiceRequestPage: boolean;
|
|
85
|
+
navigationpage: string;
|
|
86
|
+
remissionFeeAmt: number;
|
|
87
|
+
constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, OrderslistService: OrderslistService, router: Router);
|
|
88
|
+
ngOnInit(): void;
|
|
89
|
+
goToCaseTransationPage(event: any): void;
|
|
90
|
+
chkForAddRemission(feeCode: string): boolean;
|
|
91
|
+
chkForPBAPayment(): boolean;
|
|
92
|
+
addRemission(fee: IFee): void;
|
|
93
|
+
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
94
|
+
cancelRemoval(): void;
|
|
95
|
+
removeFee(fee: any): void;
|
|
96
|
+
chkIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
97
|
+
chkIsRefundRemissionBtnEnable(): boolean;
|
|
98
|
+
check4AllowedRoles2AccessRefund: () => boolean;
|
|
99
|
+
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
100
|
+
issueRefund(payment: IPayment): void;
|
|
101
|
+
goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
102
|
+
goToPaymentViewComponent(paymentGroup: any): void;
|
|
103
|
+
}
|
|
@@ -50,6 +50,7 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
50
50
|
isFromRefundStatusPage: boolean;
|
|
51
51
|
iscancelClicked: boolean;
|
|
52
52
|
isFromPaymentDetailPage: boolean;
|
|
53
|
+
isTakePayment: boolean;
|
|
53
54
|
constructor(paymentLibService: PaymentLibService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
54
55
|
ngAfterContentChecked(): void;
|
|
55
56
|
ngOnInit(): void;
|