@hmcts/ccpay-web-component 5.0.4-beta03 → 5.0.4-beta04
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 +621 -2146
- 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 +31 -33
- package/esm2015/lib/components/add-remission/add-remission.component.js +122 -715
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +20 -49
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +16 -59
- package/esm2015/lib/components/payment-view/payment-view.component.js +106 -194
- package/esm2015/lib/components/process-refund/process-refund.component.js +28 -49
- package/esm2015/lib/components/refund-list/refund-list.component.js +3 -3
- package/esm2015/lib/components/refund-status/refund-status.component.js +31 -216
- package/esm2015/lib/components/service-request/service-request.component.js +146 -243
- package/esm2015/lib/components/table/table.component.js +9 -24
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -17
- package/esm2015/lib/interfaces/IFee.js +1 -13
- package/esm2015/lib/interfaces/IPayment.js +1 -7
- package/esm2015/lib/interfaces/IRefundList.js +1 -7
- package/esm2015/lib/interfaces/IRemission.js +1 -7
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +2 -10
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +2 -6
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +2 -20
- package/esm2015/lib/payment-lib.component.js +4 -24
- package/esm2015/lib/payment-lib.module.js +1 -3
- package/esm2015/lib/payment-lib.service.js +1 -16
- package/esm2015/lib/services/refunds/refunds.service.js +1 -10
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
- package/esm5/hmcts-ccpay-web-component.js +31 -33
- package/esm5/lib/components/add-remission/add-remission.component.js +127 -837
- package/esm5/lib/components/case-transactions/case-transactions.component.js +20 -49
- package/esm5/lib/components/fee-summary/fee-summary.component.js +16 -59
- package/esm5/lib/components/payment-view/payment-view.component.js +124 -225
- package/esm5/lib/components/process-refund/process-refund.component.js +78 -52
- package/esm5/lib/components/refund-list/refund-list.component.js +3 -3
- package/esm5/lib/components/refund-status/refund-status.component.js +29 -252
- package/esm5/lib/components/service-request/service-request.component.js +176 -284
- package/esm5/lib/components/table/table.component.js +9 -27
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -17
- package/esm5/lib/interfaces/IFee.js +1 -13
- package/esm5/lib/interfaces/IPayment.js +1 -7
- package/esm5/lib/interfaces/IRefundList.js +1 -7
- package/esm5/lib/interfaces/IRemission.js +1 -7
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +2 -8
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +2 -5
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +2 -16
- package/esm5/lib/payment-lib.component.js +2 -19
- package/esm5/lib/payment-lib.module.js +1 -3
- package/esm5/lib/payment-lib.service.js +1 -23
- package/esm5/lib/services/refunds/refunds.service.js +1 -16
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
- package/fesm2015/hmcts-ccpay-web-component.js +494 -1899
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +581 -2149
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +30 -32
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +3 -47
- package/lib/components/case-transactions/case-transactions.component.d.ts +1 -4
- package/lib/components/fee-summary/fee-summary.component.d.ts +0 -2
- package/lib/components/payment-view/payment-view.component.d.ts +6 -25
- package/lib/components/process-refund/process-refund.component.d.ts +1 -6
- package/lib/components/refund-status/refund-status.component.d.ts +6 -35
- package/lib/components/service-request/service-request.component.d.ts +9 -30
- package/lib/components/table/table.component.d.ts +0 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +0 -4
- package/lib/interfaces/IFee.d.ts +0 -6
- package/lib/interfaces/IPayment.d.ts +0 -3
- package/lib/interfaces/IRefundList.d.ts +0 -4
- package/lib/interfaces/IRemission.d.ts +0 -3
- package/lib/interfaces/IResubmitRefundRequest.d.ts +1 -5
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +1 -3
- package/lib/interfaces/PostRefundRetroRemission.d.ts +1 -7
- package/lib/payment-lib.component.d.ts +0 -6
- package/lib/payment-lib.service.d.ts +0 -3
- package/lib/services/refunds/refunds.service.d.ts +0 -2
- package/package.json +1 -5
- package/esm2015/lib/components/contact-details/contact-details.component.js +0 -447
- package/esm2015/lib/interfaces/IPutNotificationRequest.js +0 -25
- package/esm2015/lib/interfaces/IRefundContactDetails.js +0 -25
- package/esm2015/lib/interfaces/IRefundFee.js +0 -21
- package/esm2015/lib/interfaces/IRefundsNotifications.js +0 -21
- package/esm2015/lib/services/notification/notification.service.js +0 -85
- package/esm5/lib/components/contact-details/contact-details.component.js +0 -472
- package/esm5/lib/interfaces/IPutNotificationRequest.js +0 -23
- package/esm5/lib/interfaces/IRefundContactDetails.js +0 -25
- package/esm5/lib/interfaces/IRefundFee.js +0 -21
- package/esm5/lib/interfaces/IRefundsNotifications.js +0 -21
- package/esm5/lib/services/notification/notification.service.js +0 -89
- package/lib/components/contact-details/contact-details.component.d.ts +0 -49
- package/lib/interfaces/IPutNotificationRequest.d.ts +0 -6
- package/lib/interfaces/IRefundContactDetails.d.ts +0 -9
- package/lib/interfaces/IRefundFee.d.ts +0 -7
- package/lib/interfaces/IRefundsNotifications.d.ts +0 -16
- package/lib/services/notification/notification.service.d.ts +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { IFee } from '../../interfaces/IFee';
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
5
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
@@ -7,11 +7,9 @@ import { PaymentLibComponent } from '../../payment-lib.component';
|
|
|
7
7
|
import { IPayment } from '../../interfaces/IPayment';
|
|
8
8
|
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
9
9
|
import { IRefundReasons } from '../../interfaces/IRefundReasons';
|
|
10
|
-
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
11
10
|
import { ChangeDetectorRef } from '@angular/core';
|
|
12
11
|
import { IRemission } from '../../interfaces/IRemission';
|
|
13
12
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
14
|
-
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
15
13
|
export declare class AddRemissionComponent implements OnInit {
|
|
16
14
|
private formBuilder;
|
|
17
15
|
private router;
|
|
@@ -21,7 +19,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
21
19
|
private cd;
|
|
22
20
|
private OrderslistService;
|
|
23
21
|
fee: IFee;
|
|
24
|
-
fees: any[];
|
|
25
22
|
payment: IPayment;
|
|
26
23
|
remission: IRemission;
|
|
27
24
|
ccdCaseNumber: string;
|
|
@@ -30,19 +27,12 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
30
27
|
paymentGroupRef: string;
|
|
31
28
|
isTurnOff: boolean;
|
|
32
29
|
isRefundRemission: boolean;
|
|
33
|
-
isOldPcipalOff: boolean;
|
|
34
|
-
isNewPcipalOff: boolean;
|
|
35
30
|
isStrategicFixEnable: boolean;
|
|
36
31
|
paidAmount: any;
|
|
37
32
|
isFromRefundListPage: boolean;
|
|
38
33
|
isFromPaymentDetailPage: boolean;
|
|
39
34
|
isFromServiceRequestPage: boolean;
|
|
40
|
-
isFullyRefund: boolean;
|
|
41
35
|
feeamount: number;
|
|
42
|
-
refundPaymentReference: string;
|
|
43
|
-
isFromRefundStatusPage: boolean;
|
|
44
|
-
changeRefundReason: string;
|
|
45
|
-
isServiceRequest: string;
|
|
46
36
|
LOGGEDINUSERROLES: string[];
|
|
47
37
|
orderDetail: any[];
|
|
48
38
|
orderRef: string;
|
|
@@ -60,7 +50,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
60
50
|
code: string;
|
|
61
51
|
}>;
|
|
62
52
|
refundListAmount: EventEmitter<string>;
|
|
63
|
-
refundFees: EventEmitter<IFee[]>;
|
|
64
53
|
refund: {
|
|
65
54
|
reason: {
|
|
66
55
|
duplicate: string;
|
|
@@ -69,8 +58,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
69
58
|
other: string;
|
|
70
59
|
};
|
|
71
60
|
};
|
|
72
|
-
contactDetailsObj: IRefundContactDetails;
|
|
73
|
-
notification: any;
|
|
74
61
|
remissionForm: FormGroup;
|
|
75
62
|
hasErrors: boolean;
|
|
76
63
|
viewStatus: string;
|
|
@@ -100,7 +87,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
100
87
|
isPaymentSuccess: boolean;
|
|
101
88
|
isRemissionApplied: boolean;
|
|
102
89
|
remissionamt: number;
|
|
103
|
-
elementId: any;
|
|
104
90
|
commonRefundReasons: any[];
|
|
105
91
|
showReasonText: boolean;
|
|
106
92
|
isRefundReasonsSelected: boolean;
|
|
@@ -111,19 +97,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
111
97
|
pattern2: string;
|
|
112
98
|
sendOrderDetail: any[];
|
|
113
99
|
sendOrderRef: string;
|
|
114
|
-
paymentReference: string;
|
|
115
|
-
class: string;
|
|
116
|
-
errorMsg: any[];
|
|
117
|
-
totalRefundAmount: number;
|
|
118
|
-
quantityUpdated: number;
|
|
119
|
-
fullRefund: boolean;
|
|
120
|
-
allowedRefundAmount: number;
|
|
121
|
-
isRemissionsMatch: boolean;
|
|
122
|
-
paymentFees: IFee[];
|
|
123
|
-
paymentGroup: IPaymentGroup;
|
|
124
|
-
isStatusAllocated: boolean;
|
|
125
|
-
isFromCheckAnsPage: boolean;
|
|
126
|
-
refundAmtForFeeVolumes: number;
|
|
127
100
|
component: {
|
|
128
101
|
account_number: string;
|
|
129
102
|
amount: number;
|
|
@@ -145,42 +118,25 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
145
118
|
};
|
|
146
119
|
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
147
120
|
ngOnInit(): void;
|
|
148
|
-
goToPaymentViewComponent(): void;
|
|
149
|
-
refundFeesList(): void;
|
|
150
|
-
readonly feesList: FormArray;
|
|
151
|
-
noneSelected(): boolean;
|
|
152
|
-
check_en(i: any, v1: any, AppAmt: any, Volume: any): void;
|
|
153
121
|
addRemission(): void;
|
|
154
122
|
confirmRemission(): void;
|
|
155
123
|
resetRemissionForm(val: any, field: any): void;
|
|
156
124
|
addRemissionCode(): void;
|
|
157
125
|
gotoAddRetroRemissionCodePage(): void;
|
|
158
126
|
gotoCheckRetroRemissionPage(payment: IPayment): void;
|
|
159
|
-
gotoAmountRetroRemission(): void;
|
|
160
127
|
gotoProcessRetroRemissionPage(): void;
|
|
161
|
-
gotoProcessRetroRemission(note?: IRefundContactDetails): void;
|
|
162
128
|
confirmRetroRemission(): void;
|
|
163
129
|
processRefund(): void;
|
|
164
130
|
gotoIssueRefundConfirmation(payment: IPayment): void;
|
|
165
131
|
gotoIssueRefundPage(): void;
|
|
166
|
-
gotoIssuePage(isFullyRefund: any): void;
|
|
167
|
-
calAmtToRefund(value: any, amount: any, volume: any, i: any): void;
|
|
168
|
-
gotoContactDetailsPage(note?: IRefundContactDetails): void;
|
|
169
|
-
getRefundReasons(): void;
|
|
170
|
-
getErrorClass(elementId: any): void;
|
|
171
132
|
changeIssueRefundReason(): void;
|
|
172
|
-
confirmIssueRefund(
|
|
173
|
-
|
|
133
|
+
confirmIssueRefund(): void;
|
|
134
|
+
confirmRetroRefund(): void;
|
|
174
135
|
selectRadioButton(key: any, value: any): void;
|
|
175
136
|
selectchange(args: any): void;
|
|
176
|
-
getContactDetails(obj: IRefundContactDetails, type: any): void;
|
|
177
|
-
gotoPartialFeeRefundScreen(): void;
|
|
178
137
|
gotoServiceRequestPage(event: any): void;
|
|
179
|
-
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
180
|
-
gotoRemissionSuccess(event: Event): void;
|
|
181
138
|
gotoCasetransationPage(): void;
|
|
182
139
|
gotoCasetransationPageCancelBtnClicked(event: Event): void;
|
|
183
140
|
resetOrderData(): void;
|
|
184
|
-
changeRefundAmount(): void;
|
|
185
141
|
getFormattedCurrency(currency: number): string | number;
|
|
186
142
|
}
|
|
@@ -20,7 +20,6 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
20
20
|
private OrderslistService;
|
|
21
21
|
LOGGEDINUSERROLES: string[];
|
|
22
22
|
isTakePayment: boolean;
|
|
23
|
-
isFromServiceRequestPage: boolean;
|
|
24
23
|
takePayment: boolean;
|
|
25
24
|
servicerequest: string;
|
|
26
25
|
ccdCaseNumber: string;
|
|
@@ -40,9 +39,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
40
39
|
dcnNumber: string;
|
|
41
40
|
paymentRef: string;
|
|
42
41
|
isTurnOff: boolean;
|
|
43
|
-
isNewPcipalOff: boolean;
|
|
44
42
|
isRefundRemission: boolean;
|
|
45
|
-
isOldPcipalOff: boolean;
|
|
46
43
|
isStrategicFixEnable: boolean;
|
|
47
44
|
isAddFeeBtnEnabled: boolean;
|
|
48
45
|
isExceptionRecord: boolean;
|
|
@@ -56,7 +53,6 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
56
53
|
isRemoveBtnDisabled: boolean;
|
|
57
54
|
feeId: IFee;
|
|
58
55
|
clAmountDue: number;
|
|
59
|
-
overPaymentAmount: number;
|
|
60
56
|
unprocessedRecordCount: number;
|
|
61
57
|
isFeeRecordsExist: boolean;
|
|
62
58
|
isGrpOutstandingAmtPositive: boolean;
|
|
@@ -91,6 +87,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
91
87
|
allowedRolesToAccessRefund: string[];
|
|
92
88
|
isEligible4PBAPayment: string[];
|
|
93
89
|
currentDate: Date;
|
|
90
|
+
isFromServiceRequestPage: boolean;
|
|
94
91
|
navigationpage: string;
|
|
95
92
|
remissionFeeAmt: number;
|
|
96
93
|
constructor(router: Router, paymentViewService: PaymentViewService, bulkScaningPaymentService: BulkScaningPaymentService, caseTransactionsService: CaseTransactionsService, paymentLibComponent: PaymentLibComponent, OrderslistService: OrderslistService);
|
|
@@ -20,8 +20,6 @@ export declare class FeeSummaryComponent implements OnInit {
|
|
|
20
20
|
ccdCaseNumber: string;
|
|
21
21
|
isTurnOff: string;
|
|
22
22
|
caseType: string;
|
|
23
|
-
isOldPcipalOff: string;
|
|
24
|
-
isNewPcipalOff: string;
|
|
25
23
|
bsPaymentDcnNumber: string;
|
|
26
24
|
paymentGroup: IPaymentGroup;
|
|
27
25
|
errorMessage: string;
|
|
@@ -7,7 +7,6 @@ import { IPayment } from '../../interfaces/IPayment';
|
|
|
7
7
|
import { IRemission } from '../../interfaces/IRemission';
|
|
8
8
|
import { ChangeDetectorRef } from '@angular/core';
|
|
9
9
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
10
|
-
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
11
10
|
export declare class PaymentViewComponent implements OnInit {
|
|
12
11
|
private paymentViewService;
|
|
13
12
|
private paymentLibComponent;
|
|
@@ -16,8 +15,6 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
16
15
|
isTurnOff: boolean;
|
|
17
16
|
isTakePayment: boolean;
|
|
18
17
|
caseType: boolean;
|
|
19
|
-
isNewPcipalOff: boolean;
|
|
20
|
-
isOldPcipalOff: boolean;
|
|
21
18
|
orderRef: string;
|
|
22
19
|
orderStatus: string;
|
|
23
20
|
orderTotalPayments: number;
|
|
@@ -29,8 +26,6 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
29
26
|
orderFeesTotal: number;
|
|
30
27
|
orderRemissionTotal: number;
|
|
31
28
|
orderDetail: any[];
|
|
32
|
-
fees: any;
|
|
33
|
-
isFullyRefund: boolean;
|
|
34
29
|
isServiceRequest: string;
|
|
35
30
|
paymentGroup: IPaymentGroup;
|
|
36
31
|
errorMessage: string;
|
|
@@ -52,38 +47,24 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
52
47
|
serviceReference: string;
|
|
53
48
|
isFromServiceRequestPage: boolean;
|
|
54
49
|
isFromPaymentDetailPage: boolean;
|
|
55
|
-
paymentFees: IFee[];
|
|
56
|
-
paymentType: string;
|
|
57
|
-
isContinueBtnDisabled: boolean;
|
|
58
|
-
viewCompStatus: string;
|
|
59
|
-
contactDetailsObj: IRefundContactDetails;
|
|
60
|
-
notification: any;
|
|
61
|
-
isConfirmationBtnDisabled: boolean;
|
|
62
|
-
refundReference: string;
|
|
63
|
-
refundAmount: string;
|
|
64
50
|
constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
65
51
|
ngAfterContentChecked(): void;
|
|
66
52
|
ngOnInit(): void;
|
|
67
53
|
readonly isCardPayment: boolean;
|
|
68
54
|
readonly isTelephonyPayment: boolean;
|
|
69
55
|
goToPaymentList(): void;
|
|
70
|
-
getOverPaymentValue(): number;
|
|
71
56
|
goToServiceRequestPage(): void;
|
|
72
57
|
goToCaseTransationPage(event: any): void;
|
|
73
58
|
addRemission(fee: IFee): void;
|
|
74
59
|
checkForFees(paymentGroup: any): boolean;
|
|
75
|
-
processRefund(): void;
|
|
76
|
-
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
77
60
|
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
78
|
-
|
|
61
|
+
chkIsRefundRemissionBtnEnable(): boolean;
|
|
79
62
|
issueRefund(paymentgrp: IPaymentGroup): void;
|
|
80
63
|
getRemissionByFeeCode(feeCode: string, remissions: IRemission[]): IRemission;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
gotoPaymentSelectPage(event: Event): void;
|
|
87
|
-
getContactDetails(obj: IRefundContactDetails): void;
|
|
64
|
+
chkIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
65
|
+
chkForPBAPayment(): boolean;
|
|
66
|
+
chkForAddRemission(feeCode: string): boolean;
|
|
67
|
+
check4AllowedRoles2AccessRefund: () => boolean;
|
|
68
|
+
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
88
69
|
resetOrderData(): void;
|
|
89
70
|
}
|
|
@@ -5,12 +5,10 @@ import { IRefundAction } from '../../interfaces/IRefundAction';
|
|
|
5
5
|
import { IRefundList } from '../../interfaces/IRefundList';
|
|
6
6
|
import { IRefundRejectReason } from '../../interfaces/IRefundRejectReason';
|
|
7
7
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
8
|
-
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
9
8
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
10
9
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
11
10
|
export declare class ProcessRefundComponent implements OnInit {
|
|
12
11
|
private RefundsService;
|
|
13
|
-
private paymentViewService;
|
|
14
12
|
private formBuilder;
|
|
15
13
|
private OrderslistService;
|
|
16
14
|
private paymentLibComponent;
|
|
@@ -44,10 +42,8 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
44
42
|
navigationpage: string;
|
|
45
43
|
ccdCaseNumber: string;
|
|
46
44
|
isFromRefundListPage: boolean;
|
|
47
|
-
cpoDetails: any;
|
|
48
|
-
isCPODown: boolean;
|
|
49
45
|
isConfirmButtondisabled: boolean;
|
|
50
|
-
constructor(RefundsService: RefundsService,
|
|
46
|
+
constructor(RefundsService: RefundsService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
|
|
51
47
|
ngOnInit(): void;
|
|
52
48
|
checkRefundActions(code: string): void;
|
|
53
49
|
processRefundSubmit(): void;
|
|
@@ -59,7 +55,6 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
59
55
|
loadRefundListPage(): void;
|
|
60
56
|
loadRefundsHomePage(): void;
|
|
61
57
|
redirecttoRefundListPage(): void;
|
|
62
|
-
loadCaseTransactionPage(): void;
|
|
63
58
|
resetForm(vals: any, field: any): void;
|
|
64
59
|
goToCaseReview(): void;
|
|
65
60
|
}
|
|
@@ -1,35 +1,25 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
3
|
-
import { NotificationService } from '../../services/notification/notification.service';
|
|
4
3
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
4
|
import { IRefundList } from '../../interfaces/IRefundList';
|
|
6
|
-
import {
|
|
5
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
6
|
+
import { Router } from '@angular/router';
|
|
7
7
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
8
|
-
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
9
8
|
import { IRefundStatus } from '../../interfaces/IRefundStatus';
|
|
10
9
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
11
|
-
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
12
|
-
import { IPayment } from '../../interfaces/IPayment';
|
|
13
|
-
import { IFee } from '../../interfaces/IFee';
|
|
14
|
-
import { IRefundFee } from '../../interfaces/IRefundFee';
|
|
15
10
|
export declare class RefundStatusComponent implements OnInit {
|
|
16
11
|
private formBuilder;
|
|
17
12
|
private refundService;
|
|
18
|
-
private notificationService;
|
|
19
13
|
private paymentLibComponent;
|
|
20
|
-
private OrderslistService;
|
|
21
14
|
private paymentViewService;
|
|
15
|
+
private router;
|
|
16
|
+
private OrderslistService;
|
|
22
17
|
LOGGEDINUSERROLES: string[];
|
|
23
|
-
isOldPcipalOff: boolean;
|
|
24
|
-
isNewPcipalOff: boolean;
|
|
25
18
|
ccdCaseNumber: string;
|
|
26
19
|
isTurnOff: boolean;
|
|
27
|
-
orderParty: string;
|
|
28
20
|
refundStatusForm: FormGroup;
|
|
29
21
|
selectedRefundReason: string;
|
|
30
22
|
rejectedRefundList: IRefundList[];
|
|
31
|
-
notificationList: any;
|
|
32
|
-
notification: any;
|
|
33
23
|
approvalStatus: string;
|
|
34
24
|
rejectStatus: string;
|
|
35
25
|
errorMessage: any;
|
|
@@ -46,11 +36,6 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
46
36
|
refundHasError: boolean;
|
|
47
37
|
refundReasons: any[];
|
|
48
38
|
refundStatusHistories: IRefundStatus[];
|
|
49
|
-
refundNotifications: IRefundStatus[];
|
|
50
|
-
isResendOperationSuccess: boolean;
|
|
51
|
-
isEditDetailsClicked: boolean;
|
|
52
|
-
isEditAddressDeatilsClicked: boolean;
|
|
53
|
-
addressDetails: IRefundContactDetails;
|
|
54
39
|
refundReference: string;
|
|
55
40
|
refundAmount: string;
|
|
56
41
|
refundCode: string;
|
|
@@ -61,37 +46,23 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
61
46
|
isLastUpdatedByCurrentUser: boolean;
|
|
62
47
|
isProcessRefund: boolean;
|
|
63
48
|
changedAmount: number;
|
|
64
|
-
isRemissionsMatch: boolean;
|
|
65
|
-
payment: IPayment;
|
|
66
|
-
changeRefundReason: string;
|
|
67
|
-
fees: IFee[];
|
|
68
|
-
refundFees: IRefundFee[];
|
|
69
49
|
allowedRolesToAccessRefund: string[];
|
|
70
|
-
constructor(formBuilder: FormBuilder, refundService: RefundsService,
|
|
50
|
+
constructor(formBuilder: FormBuilder, refundService: RefundsService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, router: Router, OrderslistService: OrderslistService);
|
|
71
51
|
ngOnInit(): void;
|
|
72
52
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
73
53
|
getRefundsStatusHistoryList(): void;
|
|
74
|
-
getRefundsNotification(): void;
|
|
75
54
|
goToRefundView(refundlist: IRefundList, navigationpage: string): void;
|
|
76
55
|
loadCaseTransactionPage(): void;
|
|
77
56
|
loadRefundListPage(): void;
|
|
78
57
|
gotoReviewDetailsPage(event: any): void;
|
|
79
58
|
gotoReviewAndReSubmitPage(): void;
|
|
80
|
-
gotoRefundReasonPage(
|
|
59
|
+
gotoRefundReasonPage(): void;
|
|
81
60
|
gotoAmountPage(): void;
|
|
82
61
|
goToReviewAndSubmitView(): void;
|
|
83
62
|
resetRemissionForm(val: any, field: any): void;
|
|
84
63
|
selectRadioButton(key: any, value: any): void;
|
|
85
64
|
getRefundListReason(refundListReason: any): void;
|
|
86
65
|
getRefundAmount(amount: number): void;
|
|
87
|
-
getRefundFees(fees: IFee[]): void;
|
|
88
66
|
gotoReviewRefundConfirmationPage(): void;
|
|
89
|
-
gotoEditAddressDetails(note: IRefundsNotifications): void;
|
|
90
|
-
getContactDetails(obj: IRefundContactDetails): void;
|
|
91
|
-
getContactDetailsForRefundList(obj: IRefundContactDetails): void;
|
|
92
|
-
gotoEditDetailsPage(note?: any): void;
|
|
93
|
-
submitEditDetail(): void;
|
|
94
|
-
putResend(notification: IRefundsNotifications): void;
|
|
95
|
-
gotoCasetransationPageCancelBtnClicked(Event: Event): void;
|
|
96
67
|
goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
|
|
97
68
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, EventEmitter
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
3
3
|
import { IPayment } from '../../interfaces/IPayment';
|
|
4
4
|
import { IRemission } from '../../interfaces/IRemission';
|
|
@@ -9,12 +9,10 @@ import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
|
9
9
|
import { Router } from '@angular/router';
|
|
10
10
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
11
11
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
12
|
-
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
13
12
|
export declare class ServiceRequestComponent implements OnInit {
|
|
14
13
|
private paymentLibComponent;
|
|
15
14
|
private paymentViewService;
|
|
16
15
|
private OrderslistService;
|
|
17
|
-
private cd;
|
|
18
16
|
private router;
|
|
19
17
|
LOGGEDINUSERROLES: string[];
|
|
20
18
|
viewStatus: string;
|
|
@@ -27,22 +25,18 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
27
25
|
orderFeesTotal: number;
|
|
28
26
|
orderTotalPayments: number;
|
|
29
27
|
orderRemissionTotal: number;
|
|
30
|
-
paymentGroupList: IPaymentGroup;
|
|
31
28
|
takePayment: boolean;
|
|
32
29
|
ccdCaseNumber: boolean;
|
|
33
30
|
isServiceRequest: string;
|
|
34
31
|
goToServiceRquestComponent: EventEmitter<any>;
|
|
35
|
-
viewCompStatus: any;
|
|
36
32
|
servicerequest: string;
|
|
37
|
-
paymentType: string;
|
|
38
33
|
excReference: string;
|
|
39
34
|
paymentGroups: any[];
|
|
40
35
|
payments: IPayment[];
|
|
41
36
|
nonPayments: IPayment[];
|
|
42
37
|
allPayments: IPayment[];
|
|
43
38
|
remissions: IRemission[];
|
|
44
|
-
|
|
45
|
-
fees: any;
|
|
39
|
+
fees: IFee[];
|
|
46
40
|
errorMessage: string;
|
|
47
41
|
totalFees: number;
|
|
48
42
|
totalPayments: number;
|
|
@@ -52,9 +46,7 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
52
46
|
dcnNumber: string;
|
|
53
47
|
paymentRef: string;
|
|
54
48
|
isTurnOff: boolean;
|
|
55
|
-
isNewPcipalOff: boolean;
|
|
56
49
|
isRefundRemission: boolean;
|
|
57
|
-
isOldPcipalOff: boolean;
|
|
58
50
|
isStrategicFixEnable: boolean;
|
|
59
51
|
isAddFeeBtnEnabled: boolean;
|
|
60
52
|
isExceptionRecord: boolean;
|
|
@@ -72,9 +64,6 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
72
64
|
isGrpOutstandingAmtPositive: boolean;
|
|
73
65
|
totalRefundAmount: Number;
|
|
74
66
|
caseType: String;
|
|
75
|
-
isConfirmationBtnDisabled: boolean;
|
|
76
|
-
refundReference: string;
|
|
77
|
-
refundAmount: string;
|
|
78
67
|
payment: IPayment;
|
|
79
68
|
paymentGroup: IPaymentGroup;
|
|
80
69
|
paymentView: IPaymentView;
|
|
@@ -84,9 +73,6 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
84
73
|
cpoDetails: any;
|
|
85
74
|
serviceRequestValue: string;
|
|
86
75
|
orderAddBtnEnable: boolean;
|
|
87
|
-
isFromPaymentDetailPage: boolean;
|
|
88
|
-
contactDetailsObj: IRefundContactDetails;
|
|
89
|
-
notification: any;
|
|
90
76
|
isCPODown: boolean;
|
|
91
77
|
test: boolean;
|
|
92
78
|
isPBA: boolean;
|
|
@@ -97,29 +83,22 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
97
83
|
isFromServiceRequestPage: boolean;
|
|
98
84
|
navigationpage: string;
|
|
99
85
|
remissionFeeAmt: number;
|
|
100
|
-
|
|
101
|
-
isFullyRefund: boolean;
|
|
102
|
-
constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, OrderslistService: OrderslistService, cd: ChangeDetectorRef, router: Router);
|
|
86
|
+
constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, OrderslistService: OrderslistService, router: Router);
|
|
103
87
|
ngOnInit(): void;
|
|
104
88
|
goToServiceRequestPage(): void;
|
|
105
89
|
goToCaseTransationPage(event: any): void;
|
|
90
|
+
chkForAddRemission(feeCode: string): boolean;
|
|
91
|
+
chkForPBAPayment(): boolean;
|
|
106
92
|
addRemission(fee: IFee): void;
|
|
107
93
|
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
108
94
|
cancelRemoval(): void;
|
|
109
95
|
removeFee(fee: any): void;
|
|
96
|
+
chkIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
97
|
+
chkIsRefundRemissionBtnEnable(): boolean;
|
|
98
|
+
check4AllowedRoles2AccessRefund: () => boolean;
|
|
99
|
+
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
110
100
|
issueRefund(payment: IPayment): void;
|
|
111
101
|
goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
112
102
|
goToPaymentViewComponent(paymentGroup: any): void;
|
|
113
|
-
chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
114
|
-
chkIsAddRefundBtnEnable(remission: IRemission): boolean;
|
|
115
|
-
chkIsAddRemissionBtnEnable(fee: IFee): boolean;
|
|
116
103
|
resetOrderData(): void;
|
|
117
|
-
selectPymentOption(paymentType: string): void;
|
|
118
|
-
goToPaymentViewComp(): void;
|
|
119
|
-
continuePayment(paymentgrp: IPaymentGroup): void;
|
|
120
|
-
getContactDetails(obj: IRefundContactDetails): void;
|
|
121
|
-
gotoPaymentSelectPage(event: Event): void;
|
|
122
|
-
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
123
|
-
processRefund(): void;
|
|
124
|
-
getOverPaymentValue(): number;
|
|
125
104
|
}
|
|
@@ -16,8 +16,6 @@ export declare class UnprocessedPaymentsComponent implements OnInit {
|
|
|
16
16
|
ISTURNOFF: boolean;
|
|
17
17
|
IS_BUTTON_ENABLE: boolean;
|
|
18
18
|
IS_OS_AMT_AVAILABLE: boolean;
|
|
19
|
-
ISNEWPCIPALOFF: boolean;
|
|
20
|
-
ISOLDPCIPALOFF: boolean;
|
|
21
19
|
ISSFENABLE: boolean;
|
|
22
20
|
PAYMENTSLENGTH: Number;
|
|
23
21
|
LEVEL: Number;
|
|
@@ -38,8 +36,6 @@ export declare class UnprocessedPaymentsComponent implements OnInit {
|
|
|
38
36
|
isExceptionCase: boolean;
|
|
39
37
|
serviceId: string;
|
|
40
38
|
isBulkScanEnable: any;
|
|
41
|
-
isNewpcipaloff: any;
|
|
42
|
-
isOldpcipaloff: any;
|
|
43
39
|
isTurnOff: boolean;
|
|
44
40
|
isStFixEnable: any;
|
|
45
41
|
unassignedRecordSelectedList: IBSPayments;
|
package/lib/interfaces/IFee.d.ts
CHANGED
|
@@ -20,10 +20,4 @@ export interface IFee {
|
|
|
20
20
|
date_updated?: string;
|
|
21
21
|
amount_due?: number;
|
|
22
22
|
remission_enable?: boolean;
|
|
23
|
-
add_remission?: boolean;
|
|
24
|
-
over_payment?: number;
|
|
25
|
-
refund_amount?: number;
|
|
26
|
-
updated_volume?: number;
|
|
27
|
-
selected?: any;
|
|
28
|
-
issue_refund_add_refund_add_remission: boolean;
|
|
29
23
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
2
1
|
export interface IRefundList {
|
|
3
2
|
amount: number;
|
|
4
3
|
ccd_case_number: string;
|
|
@@ -11,8 +10,5 @@ export interface IRefundList {
|
|
|
11
10
|
description: string;
|
|
12
11
|
name: string;
|
|
13
12
|
};
|
|
14
|
-
contact_details: IRefundContactDetails;
|
|
15
13
|
user_full_name: string;
|
|
16
|
-
service_type: string;
|
|
17
|
-
code: string;
|
|
18
14
|
}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { IFee } from "./IFee";
|
|
2
|
-
import { IRefundContactDetails } from "./IRefundContactDetails";
|
|
3
1
|
export declare class IResubmitRefundRequest {
|
|
4
2
|
refund_reason: string;
|
|
5
3
|
amount: number;
|
|
6
|
-
|
|
7
|
-
refund_fees: IFee[];
|
|
8
|
-
constructor(refund_reason: string, amount: number, contact_details: any, refund_fees: any[]);
|
|
4
|
+
constructor(refund_reason: string, amount: number);
|
|
9
5
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
2
1
|
export declare class PostIssueRefundRetroRemission {
|
|
3
2
|
remissionReference: string;
|
|
4
|
-
|
|
5
|
-
constructor(remissionReference: string, contactDeatils: any);
|
|
3
|
+
constructor(remissionReference: string);
|
|
6
4
|
}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { IRefundContactDetails } from "./IRefundContactDetails";
|
|
2
1
|
export declare class PostRefundRetroRemission {
|
|
3
|
-
ccd_case_number: string;
|
|
4
2
|
payment_reference: string;
|
|
5
3
|
refund_reason: string;
|
|
6
|
-
|
|
7
|
-
fees: any[];
|
|
8
|
-
is_over_payment: boolean;
|
|
9
|
-
contact_details: IRefundContactDetails;
|
|
10
|
-
constructor(contact_details: any, fees: any[], payment_reference: string, refund_reason: string, total_refund_amount: any, is_over_payment: string);
|
|
4
|
+
constructor(payment_reference: string, refund_reason: string);
|
|
11
5
|
}
|
|
@@ -10,7 +10,6 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
10
10
|
API_ROOT: string;
|
|
11
11
|
BULKSCAN_API_ROOT: string;
|
|
12
12
|
REFUNDS_API_ROOT: string;
|
|
13
|
-
NOTIFICATION_API_ROOT: string;
|
|
14
13
|
CARDPAYMENTRETURNURL: string;
|
|
15
14
|
CCD_CASE_NUMBER: string;
|
|
16
15
|
EXC_REFERENCE: string;
|
|
@@ -26,8 +25,6 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
26
25
|
ISSFENABLE: boolean;
|
|
27
26
|
ISTURNOFF: boolean;
|
|
28
27
|
CASETYPE: string;
|
|
29
|
-
ISOLDPCIPALOFF: boolean;
|
|
30
|
-
ISNEWPCIPALOFF: boolean;
|
|
31
28
|
rootUrl: boolean;
|
|
32
29
|
REFUNDLIST: string;
|
|
33
30
|
USERID: string;
|
|
@@ -40,13 +37,10 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
40
37
|
paymentGroupReference: string;
|
|
41
38
|
paymentReference: string;
|
|
42
39
|
refundReference: string;
|
|
43
|
-
isFromPayBubble: boolean;
|
|
44
40
|
refundlistsource: any;
|
|
45
41
|
viewName: string;
|
|
46
42
|
isTurnOff: boolean;
|
|
47
43
|
caseType: string;
|
|
48
|
-
isOldPcipalOff: boolean;
|
|
49
|
-
isNewPcipalOff: boolean;
|
|
50
44
|
unProcessedPayment: IBSPayments;
|
|
51
45
|
isRefundStatusView: boolean;
|
|
52
46
|
isRedirectFromCaseTransactionPage: string;
|
|
@@ -2,7 +2,6 @@ export declare class PaymentLibService {
|
|
|
2
2
|
API_ROOT: string;
|
|
3
3
|
BULKSCAN_API_ROOT: string;
|
|
4
4
|
REFUNDS_API_ROOT: string;
|
|
5
|
-
NOTIFICATION_API_ROOT: string;
|
|
6
5
|
CARDPAYMENTRETURNURL: string;
|
|
7
6
|
constructor();
|
|
8
7
|
setApiRootUrl(apiRoot: string): void;
|
|
@@ -11,8 +10,6 @@ export declare class PaymentLibService {
|
|
|
11
10
|
getBulkScanApiRootUrl(): string;
|
|
12
11
|
setRefundndsApiRootUrl(refundsapiRoot: string): void;
|
|
13
12
|
getRefundsApiRootUrl(): string;
|
|
14
|
-
setNoticationApiRootUrl(notificationapiRoot: string): void;
|
|
15
|
-
getNoticationApiRootUrl(): string;
|
|
16
13
|
setCardPaymentReturnUrl(cardPaymentReturnUrl: string): void;
|
|
17
14
|
getCardPaymentReturnUrl(): string;
|
|
18
15
|
}
|
|
@@ -9,7 +9,6 @@ import { IPatchRefundAction } from '../../interfaces/IPatchRefundAction';
|
|
|
9
9
|
import { IRefundList } from '../../interfaces/IRefundList';
|
|
10
10
|
import { IssueRefundRequest } from '../../interfaces/IssueRefundRequest';
|
|
11
11
|
import { IResubmitRefundRequest } from '../../interfaces/IResubmitRefundRequest';
|
|
12
|
-
import { IPutNotificationRequest } from '../../interfaces/IPutNotificationRequest';
|
|
13
12
|
export declare class RefundsService {
|
|
14
13
|
private http;
|
|
15
14
|
private https;
|
|
@@ -26,7 +25,6 @@ export declare class RefundsService {
|
|
|
26
25
|
getRefundStatusList(ccdCaseNumber: string): Observable<IRefundList[]>;
|
|
27
26
|
getUserDetails(): Observable<any>;
|
|
28
27
|
postIssueRefund(body: IssueRefundRequest): Observable<any>;
|
|
29
|
-
putResendOrEdit(body: IPutNotificationRequest, refundRef: string, notificationType: string): Observable<any>;
|
|
30
28
|
patchResubmitRefund(body: IResubmitRefundRequest, refund_reference: string): Observable<any>;
|
|
31
29
|
addHeaders(options: any): any;
|
|
32
30
|
}
|