@hmcts/ccpay-web-component 5.0.5-beta09 → 5.0.5-beta13
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 +2221 -929
- 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 +33 -31
- package/esm2015/lib/components/add-remission/add-remission.component.js +697 -144
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +31 -25
- package/esm2015/lib/components/contact-details/contact-details.component.js +447 -0
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +21 -54
- package/esm2015/lib/components/payment-view/payment-view.component.js +187 -164
- package/esm2015/lib/components/process-refund/process-refund.component.js +49 -28
- package/esm2015/lib/components/refund-list/refund-list.component.js +3 -3
- package/esm2015/lib/components/refund-status/refund-status.component.js +211 -36
- package/esm2015/lib/components/reports/reports.component.js +2 -13
- package/esm2015/lib/components/service-request/service-request.component.js +237 -152
- package/esm2015/lib/components/table/table.component.js +24 -9
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -17
- package/esm2015/lib/interfaces/IFee.js +13 -1
- package/esm2015/lib/interfaces/IPayment.js +7 -1
- package/esm2015/lib/interfaces/IPutNotificationRequest.js +25 -0
- package/esm2015/lib/interfaces/IRefundContactDetails.js +25 -0
- package/esm2015/lib/interfaces/IRefundFee.js +21 -0
- package/esm2015/lib/interfaces/IRefundList.js +7 -1
- package/esm2015/lib/interfaces/IRefundsNotifications.js +21 -0
- package/esm2015/lib/interfaces/IRemission.js +7 -1
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +10 -2
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +6 -2
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +20 -2
- package/esm2015/lib/payment-lib.component.js +11 -21
- package/esm2015/lib/payment-lib.module.js +3 -1
- package/esm2015/lib/payment-lib.service.js +16 -1
- package/esm2015/lib/services/notification/notification.service.js +85 -0
- package/esm2015/lib/services/payment-view/payment-view.service.js +1 -20
- package/esm2015/lib/services/refunds/refunds.service.js +10 -1
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
- package/esm5/hmcts-ccpay-web-component.js +33 -31
- package/esm5/lib/components/add-remission/add-remission.component.js +819 -149
- package/esm5/lib/components/case-transactions/case-transactions.component.js +31 -25
- package/esm5/lib/components/contact-details/contact-details.component.js +472 -0
- package/esm5/lib/components/fee-summary/fee-summary.component.js +21 -54
- package/esm5/lib/components/payment-view/payment-view.component.js +213 -185
- package/esm5/lib/components/process-refund/process-refund.component.js +52 -78
- package/esm5/lib/components/refund-list/refund-list.component.js +3 -3
- package/esm5/lib/components/refund-status/refund-status.component.js +247 -34
- package/esm5/lib/components/reports/reports.component.js +2 -13
- package/esm5/lib/components/service-request/service-request.component.js +278 -182
- package/esm5/lib/components/table/table.component.js +27 -9
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -17
- package/esm5/lib/interfaces/IFee.js +13 -1
- package/esm5/lib/interfaces/IPayment.js +7 -1
- package/esm5/lib/interfaces/IPutNotificationRequest.js +23 -0
- package/esm5/lib/interfaces/IRefundContactDetails.js +25 -0
- package/esm5/lib/interfaces/IRefundFee.js +21 -0
- package/esm5/lib/interfaces/IRefundList.js +7 -1
- package/esm5/lib/interfaces/IRefundsNotifications.js +21 -0
- package/esm5/lib/interfaces/IRemission.js +7 -1
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +8 -2
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +5 -2
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +16 -2
- package/esm5/lib/payment-lib.component.js +9 -15
- package/esm5/lib/payment-lib.module.js +3 -1
- package/esm5/lib/payment-lib.service.js +23 -1
- package/esm5/lib/services/notification/notification.service.js +89 -0
- package/esm5/lib/services/payment-view/payment-view.service.js +1 -29
- package/esm5/lib/services/refunds/refunds.service.js +16 -1
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
- package/fesm2015/hmcts-ccpay-web-component.js +1857 -682
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +2263 -935
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +32 -30
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +45 -5
- package/lib/components/case-transactions/case-transactions.component.d.ts +2 -3
- package/lib/components/contact-details/contact-details.component.d.ts +49 -0
- package/lib/components/fee-summary/fee-summary.component.d.ts +0 -2
- package/lib/components/payment-view/payment-view.component.d.ts +23 -15
- package/lib/components/process-refund/process-refund.component.d.ts +6 -1
- package/lib/components/refund-status/refund-status.component.d.ts +34 -8
- package/lib/components/service-request/service-request.component.d.ts +28 -11
- package/lib/components/table/table.component.d.ts +1 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +0 -4
- package/lib/interfaces/IFee.d.ts +6 -0
- package/lib/interfaces/IPayment.d.ts +3 -0
- package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
- package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
- package/lib/interfaces/IRefundFee.d.ts +7 -0
- package/lib/interfaces/IRefundList.d.ts +4 -0
- package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
- package/lib/interfaces/IRemission.d.ts +3 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts +5 -1
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +3 -1
- package/lib/interfaces/PostRefundRetroRemission.d.ts +7 -1
- package/lib/payment-lib.component.d.ts +2 -5
- package/lib/payment-lib.service.d.ts +3 -0
- package/lib/services/notification/notification.service.d.ts +15 -0
- package/lib/services/payment-view/payment-view.service.d.ts +0 -2
- package/lib/services/refunds/refunds.service.d.ts +2 -0
- package/package.json +5 -1
- package/esm2015/lib/interfaces/IPaymentFailure.js +0 -33
- package/esm5/lib/interfaces/IPaymentFailure.js +0 -33
- package/lib/interfaces/IPaymentFailure.d.ts +0 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
2
|
+
import { FormBuilder, FormGroup, FormArray } 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,9 +7,11 @@ 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';
|
|
10
11
|
import { ChangeDetectorRef } from '@angular/core';
|
|
11
12
|
import { IRemission } from '../../interfaces/IRemission';
|
|
12
13
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
14
|
+
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
13
15
|
export declare class AddRemissionComponent implements OnInit {
|
|
14
16
|
private formBuilder;
|
|
15
17
|
private router;
|
|
@@ -19,6 +21,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
19
21
|
private cd;
|
|
20
22
|
private OrderslistService;
|
|
21
23
|
fee: IFee;
|
|
24
|
+
fees: any[];
|
|
22
25
|
payment: IPayment;
|
|
23
26
|
remission: IRemission;
|
|
24
27
|
ccdCaseNumber: string;
|
|
@@ -27,14 +30,17 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
27
30
|
paymentGroupRef: string;
|
|
28
31
|
isTurnOff: boolean;
|
|
29
32
|
isRefundRemission: boolean;
|
|
30
|
-
isOldPcipalOff: boolean;
|
|
31
|
-
isNewPcipalOff: boolean;
|
|
32
33
|
isStrategicFixEnable: boolean;
|
|
33
34
|
paidAmount: any;
|
|
34
35
|
isFromRefundListPage: boolean;
|
|
35
36
|
isFromPaymentDetailPage: boolean;
|
|
36
37
|
isFromServiceRequestPage: boolean;
|
|
38
|
+
isFullyRefund: boolean;
|
|
37
39
|
feeamount: number;
|
|
40
|
+
refundPaymentReference: string;
|
|
41
|
+
isFromRefundStatusPage: boolean;
|
|
42
|
+
changeRefundReason: string;
|
|
43
|
+
isServiceRequest: string;
|
|
38
44
|
LOGGEDINUSERROLES: string[];
|
|
39
45
|
orderDetail: any[];
|
|
40
46
|
orderRef: string;
|
|
@@ -52,6 +58,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
52
58
|
code: string;
|
|
53
59
|
}>;
|
|
54
60
|
refundListAmount: EventEmitter<string>;
|
|
61
|
+
refundFees: EventEmitter<IFee[]>;
|
|
55
62
|
refund: {
|
|
56
63
|
reason: {
|
|
57
64
|
duplicate: string;
|
|
@@ -60,6 +67,8 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
60
67
|
other: string;
|
|
61
68
|
};
|
|
62
69
|
};
|
|
70
|
+
contactDetailsObj: IRefundContactDetails;
|
|
71
|
+
notification: any;
|
|
63
72
|
remissionForm: FormGroup;
|
|
64
73
|
hasErrors: boolean;
|
|
65
74
|
viewStatus: string;
|
|
@@ -89,6 +98,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
89
98
|
isPaymentSuccess: boolean;
|
|
90
99
|
isRemissionApplied: boolean;
|
|
91
100
|
remissionamt: number;
|
|
101
|
+
elementId: any;
|
|
92
102
|
commonRefundReasons: any[];
|
|
93
103
|
showReasonText: boolean;
|
|
94
104
|
isRefundReasonsSelected: boolean;
|
|
@@ -99,6 +109,19 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
99
109
|
pattern2: string;
|
|
100
110
|
sendOrderDetail: any[];
|
|
101
111
|
sendOrderRef: string;
|
|
112
|
+
paymentReference: string;
|
|
113
|
+
class: string;
|
|
114
|
+
errorMsg: any[];
|
|
115
|
+
totalRefundAmount: number;
|
|
116
|
+
quantityUpdated: number;
|
|
117
|
+
fullRefund: boolean;
|
|
118
|
+
allowedRefundAmount: number;
|
|
119
|
+
isRemissionsMatch: boolean;
|
|
120
|
+
paymentFees: IFee[];
|
|
121
|
+
paymentGroup: IPaymentGroup;
|
|
122
|
+
isStatusAllocated: boolean;
|
|
123
|
+
isFromCheckAnsPage: boolean;
|
|
124
|
+
refundAmtForFeeVolumes: number;
|
|
102
125
|
component: {
|
|
103
126
|
account_number: string;
|
|
104
127
|
amount: number;
|
|
@@ -120,25 +143,42 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
120
143
|
};
|
|
121
144
|
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
122
145
|
ngOnInit(): void;
|
|
146
|
+
goToPaymentViewComponent(): void;
|
|
147
|
+
refundFeesList(): void;
|
|
148
|
+
readonly feesList: FormArray;
|
|
149
|
+
noneSelected(): boolean;
|
|
150
|
+
check_en(i: any, v1: any, AppAmt: any, Volume: any): void;
|
|
123
151
|
addRemission(): void;
|
|
124
152
|
confirmRemission(): void;
|
|
125
153
|
resetRemissionForm(val: any, field: any): void;
|
|
126
154
|
addRemissionCode(): void;
|
|
127
155
|
gotoAddRetroRemissionCodePage(): void;
|
|
128
156
|
gotoCheckRetroRemissionPage(payment: IPayment): void;
|
|
157
|
+
gotoAmountRetroRemission(): void;
|
|
129
158
|
gotoProcessRetroRemissionPage(): void;
|
|
159
|
+
gotoProcessRetroRemission(note?: IRefundContactDetails): void;
|
|
130
160
|
confirmRetroRemission(): void;
|
|
131
161
|
processRefund(): void;
|
|
132
162
|
gotoIssueRefundConfirmation(payment: IPayment): void;
|
|
133
163
|
gotoIssueRefundPage(): void;
|
|
164
|
+
gotoIssuePage(isFullyRefund: any): void;
|
|
165
|
+
calAmtToRefund(value: any, amount: any, volume: any, i: any): void;
|
|
166
|
+
gotoContactDetailsPage(note?: IRefundContactDetails): void;
|
|
167
|
+
getRefundReasons(): void;
|
|
168
|
+
getErrorClass(elementId: any): void;
|
|
134
169
|
changeIssueRefundReason(): void;
|
|
135
|
-
confirmIssueRefund(): void;
|
|
136
|
-
|
|
170
|
+
confirmIssueRefund(isFullyRefund: any): void;
|
|
171
|
+
gotoRefundReasonPage(): void;
|
|
137
172
|
selectRadioButton(key: any, value: any): void;
|
|
138
173
|
selectchange(args: any): void;
|
|
174
|
+
getContactDetails(obj: IRefundContactDetails, type: any): void;
|
|
175
|
+
gotoPartialFeeRefundScreen(): void;
|
|
139
176
|
gotoServiceRequestPage(event: any): void;
|
|
177
|
+
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
178
|
+
gotoRemissionSuccess(event: Event): void;
|
|
140
179
|
gotoCasetransationPage(): void;
|
|
141
180
|
gotoCasetransationPageCancelBtnClicked(event: Event): void;
|
|
142
181
|
resetOrderData(): void;
|
|
182
|
+
changeRefundAmount(): void;
|
|
143
183
|
getFormattedCurrency(currency: number): string | number;
|
|
144
184
|
}
|
|
@@ -20,6 +20,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
20
20
|
private OrderslistService;
|
|
21
21
|
LOGGEDINUSERROLES: string[];
|
|
22
22
|
isTakePayment: boolean;
|
|
23
|
+
isFromServiceRequestPage: boolean;
|
|
23
24
|
takePayment: boolean;
|
|
24
25
|
ccdCaseNumber: string;
|
|
25
26
|
excReference: string;
|
|
@@ -38,9 +39,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
38
39
|
dcnNumber: string;
|
|
39
40
|
paymentRef: string;
|
|
40
41
|
isTurnOff: boolean;
|
|
41
|
-
isNewPcipalOff: boolean;
|
|
42
42
|
isRefundRemission: boolean;
|
|
43
|
-
isOldPcipalOff: boolean;
|
|
44
43
|
isStrategicFixEnable: boolean;
|
|
45
44
|
isAddFeeBtnEnabled: boolean;
|
|
46
45
|
isExceptionRecord: boolean;
|
|
@@ -54,6 +53,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
54
53
|
isRemoveBtnDisabled: boolean;
|
|
55
54
|
feeId: IFee;
|
|
56
55
|
clAmountDue: number;
|
|
56
|
+
overPaymentAmount: number;
|
|
57
57
|
unprocessedRecordCount: number;
|
|
58
58
|
isFeeRecordsExist: boolean;
|
|
59
59
|
isGrpOutstandingAmtPositive: boolean;
|
|
@@ -88,7 +88,6 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
88
88
|
allowedRolesToAccessRefund: string[];
|
|
89
89
|
isEligible4PBAPayment: string[];
|
|
90
90
|
currentDate: Date;
|
|
91
|
-
isFromServiceRequestPage: boolean;
|
|
92
91
|
navigationpage: string;
|
|
93
92
|
remissionFeeAmt: number;
|
|
94
93
|
constructor(router: Router, paymentViewService: PaymentViewService, bulkScaningPaymentService: BulkScaningPaymentService, caseTransactionsService: CaseTransactionsService, paymentLibComponent: PaymentLibComponent, OrderslistService: OrderslistService);
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
|
+
import { NotificationService } from '../../services/notification/notification.service';
|
|
5
|
+
export declare class ContactDetailsComponent implements OnInit {
|
|
6
|
+
private formBuilder;
|
|
7
|
+
private notificationService;
|
|
8
|
+
private paymentLibComponent;
|
|
9
|
+
isEditOperation: boolean;
|
|
10
|
+
isEditOperationInRefundList: boolean;
|
|
11
|
+
addressObj: any;
|
|
12
|
+
assignContactDetails: EventEmitter<any>;
|
|
13
|
+
assignContactDetailsInFefundsList: EventEmitter<any>;
|
|
14
|
+
redirectToIssueRefund: EventEmitter<any>;
|
|
15
|
+
pageTitle: string;
|
|
16
|
+
errorMessage: string;
|
|
17
|
+
isEmailSAddressClicked: boolean;
|
|
18
|
+
isShowPickAddress: boolean;
|
|
19
|
+
isPostcodeClicked: boolean;
|
|
20
|
+
isManualAddressClicked: boolean;
|
|
21
|
+
emailAddressForm: FormGroup;
|
|
22
|
+
postCodeForm: FormGroup;
|
|
23
|
+
manualAddressForm: FormGroup;
|
|
24
|
+
addressPostcodeList: any[];
|
|
25
|
+
postcodeAddress: any;
|
|
26
|
+
isAddressBoxEmpty: boolean;
|
|
27
|
+
isEmailEmpty: boolean;
|
|
28
|
+
emailHasError: boolean;
|
|
29
|
+
isPostcodeEmpty: boolean;
|
|
30
|
+
postcodeHasError: boolean;
|
|
31
|
+
isaddressLine1Empty: boolean;
|
|
32
|
+
addressLine1HasError: boolean;
|
|
33
|
+
addressLine2HasError: boolean;
|
|
34
|
+
isTownOrCityEmpty: boolean;
|
|
35
|
+
townOrCityHasError: boolean;
|
|
36
|
+
isCountyEmpty: boolean;
|
|
37
|
+
countyHasError: boolean;
|
|
38
|
+
isMPostcodeEmpty: boolean;
|
|
39
|
+
mpostcodeHasError: boolean;
|
|
40
|
+
isCountryEmpty: boolean;
|
|
41
|
+
constructor(formBuilder: FormBuilder, notificationService: NotificationService, paymentLibComponent: PaymentLibComponent);
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
setEditDetails(): void;
|
|
44
|
+
selectContactOption(type: any, isLinkedClied: any): void;
|
|
45
|
+
finalFormSubmit(): void;
|
|
46
|
+
postcodeValidation(str: any): void;
|
|
47
|
+
redirection(event: any): void;
|
|
48
|
+
resetForm(val: any, field: any): void;
|
|
49
|
+
}
|
|
@@ -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;
|
|
@@ -6,8 +6,8 @@ import { IFee } from '../../interfaces/IFee';
|
|
|
6
6
|
import { IPayment } from '../../interfaces/IPayment';
|
|
7
7
|
import { IRemission } from '../../interfaces/IRemission';
|
|
8
8
|
import { ChangeDetectorRef } from '@angular/core';
|
|
9
|
-
import { IPaymentFailure } from '../../interfaces/IPaymentFailure';
|
|
10
9
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
10
|
+
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
11
11
|
export declare class PaymentViewComponent implements OnInit {
|
|
12
12
|
private paymentViewService;
|
|
13
13
|
private paymentLibComponent;
|
|
@@ -16,22 +16,20 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
16
16
|
isTurnOff: boolean;
|
|
17
17
|
isTakePayment: boolean;
|
|
18
18
|
caseType: boolean;
|
|
19
|
-
isNewPcipalOff: boolean;
|
|
20
|
-
isOldPcipalOff: boolean;
|
|
21
19
|
orderRef: string;
|
|
22
20
|
orderStatus: string;
|
|
23
21
|
orderTotalPayments: number;
|
|
24
22
|
payment: IPayment;
|
|
25
23
|
LOGGEDINUSERROLES: string[];
|
|
26
|
-
ISPAYMENTSTATUSENABLED: string;
|
|
27
24
|
orderParty: string;
|
|
28
25
|
orderCreated: Date;
|
|
29
26
|
orderCCDEvent: string;
|
|
30
27
|
orderFeesTotal: number;
|
|
31
28
|
orderRemissionTotal: number;
|
|
32
29
|
orderDetail: any[];
|
|
30
|
+
fees: any;
|
|
31
|
+
isFullyRefund: boolean;
|
|
33
32
|
isServiceRequest: string;
|
|
34
|
-
errorMsg: string;
|
|
35
33
|
paymentGroup: IPaymentGroup;
|
|
36
34
|
errorMessage: string;
|
|
37
35
|
ccdCaseNumber: string;
|
|
@@ -47,33 +45,43 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
47
45
|
isIssueRefunfBtnEnable: boolean;
|
|
48
46
|
allowedRolesToAccessRefund: string[];
|
|
49
47
|
remissions: IRemission[];
|
|
50
|
-
allPaymentsFailure: IPaymentFailure[];
|
|
51
|
-
selectedPaymentsStatus: IPaymentFailure;
|
|
52
48
|
remissionFeeAmt: number;
|
|
53
49
|
isRefundRemissionBtnEnable: boolean;
|
|
54
50
|
serviceReference: string;
|
|
55
51
|
isFromServiceRequestPage: boolean;
|
|
56
52
|
isFromPaymentDetailPage: boolean;
|
|
53
|
+
paymentFees: IFee[];
|
|
54
|
+
paymentType: string;
|
|
55
|
+
isContinueBtnDisabled: boolean;
|
|
56
|
+
viewCompStatus: string;
|
|
57
|
+
contactDetailsObj: IRefundContactDetails;
|
|
58
|
+
notification: any;
|
|
59
|
+
isConfirmationBtnDisabled: boolean;
|
|
60
|
+
refundReference: string;
|
|
61
|
+
refundAmount: string;
|
|
57
62
|
constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
58
63
|
ngAfterContentChecked(): void;
|
|
59
64
|
ngOnInit(): void;
|
|
60
65
|
readonly isCardPayment: boolean;
|
|
61
66
|
readonly isTelephonyPayment: boolean;
|
|
62
67
|
goToPaymentList(): void;
|
|
68
|
+
getOverPaymentValue(): number;
|
|
63
69
|
goToServiceRequestPage(): void;
|
|
64
70
|
goToCaseTransationPage(event: any): void;
|
|
65
71
|
addRemission(fee: IFee): void;
|
|
66
72
|
checkForFees(paymentGroup: any): boolean;
|
|
73
|
+
processRefund(): void;
|
|
74
|
+
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
67
75
|
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
68
|
-
|
|
76
|
+
goToPaymentViewComponent(): void;
|
|
69
77
|
issueRefund(paymentgrp: IPaymentGroup): void;
|
|
70
78
|
getRemissionByFeeCode(feeCode: string, remissions: IRemission[]): IRemission;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
79
|
+
chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
80
|
+
chkIsAddRefundBtnEnable(remission: IRemission): boolean;
|
|
81
|
+
chkIsAddRemissionBtnEnable(fee: IFee): boolean;
|
|
82
|
+
selectPymentOption(paymentType: string): void;
|
|
83
|
+
continuePayment(paymentgrp: IPaymentGroup): void;
|
|
84
|
+
gotoPaymentSelectPage(event: Event): void;
|
|
85
|
+
getContactDetails(obj: IRefundContactDetails): void;
|
|
76
86
|
resetOrderData(): void;
|
|
77
|
-
goToPaymentFailuePage(payment: any): void;
|
|
78
|
-
goBackToPaymentView(event: any): void;
|
|
79
87
|
}
|
|
@@ -5,10 +5,12 @@ 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';
|
|
8
9
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
9
10
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
10
11
|
export declare class ProcessRefundComponent implements OnInit {
|
|
11
12
|
private RefundsService;
|
|
13
|
+
private paymentViewService;
|
|
12
14
|
private formBuilder;
|
|
13
15
|
private OrderslistService;
|
|
14
16
|
private paymentLibComponent;
|
|
@@ -42,8 +44,10 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
42
44
|
navigationpage: string;
|
|
43
45
|
ccdCaseNumber: string;
|
|
44
46
|
isFromRefundListPage: boolean;
|
|
47
|
+
cpoDetails: any;
|
|
48
|
+
isCPODown: boolean;
|
|
45
49
|
isConfirmButtondisabled: boolean;
|
|
46
|
-
constructor(RefundsService: RefundsService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
|
|
50
|
+
constructor(RefundsService: RefundsService, paymentViewService: PaymentViewService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
|
|
47
51
|
ngOnInit(): void;
|
|
48
52
|
checkRefundActions(code: string): void;
|
|
49
53
|
processRefundSubmit(): void;
|
|
@@ -55,6 +59,7 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
55
59
|
loadRefundListPage(): void;
|
|
56
60
|
loadRefundsHomePage(): void;
|
|
57
61
|
redirecttoRefundListPage(): void;
|
|
62
|
+
loadCaseTransactionPage(): void;
|
|
58
63
|
resetForm(vals: any, field: any): void;
|
|
59
64
|
goToCaseReview(): void;
|
|
60
65
|
}
|
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
3
|
+
import { NotificationService } from '../../services/notification/notification.service';
|
|
3
4
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
4
5
|
import { IRefundList } from '../../interfaces/IRefundList';
|
|
5
|
-
import {
|
|
6
|
-
import { Router } from '@angular/router';
|
|
6
|
+
import { IRefundsNotifications } from '../../interfaces/IRefundsNotifications';
|
|
7
7
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
8
|
+
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
8
9
|
import { IRefundStatus } from '../../interfaces/IRefundStatus';
|
|
9
10
|
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';
|
|
10
15
|
export declare class RefundStatusComponent implements OnInit {
|
|
11
16
|
private formBuilder;
|
|
12
17
|
private refundService;
|
|
18
|
+
private notificationService;
|
|
13
19
|
private paymentLibComponent;
|
|
14
|
-
private paymentViewService;
|
|
15
|
-
private router;
|
|
16
20
|
private OrderslistService;
|
|
21
|
+
private paymentViewService;
|
|
17
22
|
LOGGEDINUSERROLES: string[];
|
|
18
23
|
API_ROOT: string;
|
|
19
|
-
isOldPcipalOff: boolean;
|
|
20
|
-
isNewPcipalOff: boolean;
|
|
21
24
|
ccdCaseNumber: string;
|
|
22
25
|
isTurnOff: boolean;
|
|
26
|
+
orderParty: string;
|
|
23
27
|
isEliginbleToAccess: boolean;
|
|
24
28
|
refundStatusForm: FormGroup;
|
|
25
29
|
selectedRefundReason: string;
|
|
26
30
|
rejectedRefundList: IRefundList[];
|
|
31
|
+
notificationList: any;
|
|
32
|
+
notification: any;
|
|
27
33
|
approvalStatus: string;
|
|
28
34
|
rejectStatus: string;
|
|
29
35
|
errorMessage: any;
|
|
@@ -40,6 +46,11 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
40
46
|
refundHasError: boolean;
|
|
41
47
|
refundReasons: any[];
|
|
42
48
|
refundStatusHistories: IRefundStatus[];
|
|
49
|
+
refundNotifications: IRefundStatus[];
|
|
50
|
+
isResendOperationSuccess: boolean;
|
|
51
|
+
isEditDetailsClicked: boolean;
|
|
52
|
+
isEditAddressDeatilsClicked: boolean;
|
|
53
|
+
addressDetails: IRefundContactDetails;
|
|
43
54
|
refundReference: string;
|
|
44
55
|
refundAmount: string;
|
|
45
56
|
refundCode: string;
|
|
@@ -50,22 +61,37 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
50
61
|
isLastUpdatedByCurrentUser: boolean;
|
|
51
62
|
isProcessRefund: boolean;
|
|
52
63
|
changedAmount: number;
|
|
53
|
-
|
|
64
|
+
isRemissionsMatch: boolean;
|
|
65
|
+
payment: IPayment;
|
|
66
|
+
changeRefundReason: string;
|
|
67
|
+
fees: IFee[];
|
|
68
|
+
refundFees: IRefundFee[];
|
|
69
|
+
allowedRolesToAccessRefund: string[];
|
|
70
|
+
constructor(formBuilder: FormBuilder, refundService: RefundsService, notificationService: NotificationService, paymentLibComponent: PaymentLibComponent, OrderslistService: OrderslistService, paymentViewService: PaymentViewService);
|
|
54
71
|
ngOnInit(): void;
|
|
55
72
|
isFromPayBubble: () => boolean;
|
|
56
73
|
getRefundsStatusHistoryList(): void;
|
|
74
|
+
getRefundsNotification(): void;
|
|
57
75
|
goToRefundView(refundlist: IRefundList, navigationpage: string): void;
|
|
58
76
|
loadCaseTransactionPage(): void;
|
|
59
77
|
loadRefundListPage(): void;
|
|
60
78
|
gotoReviewDetailsPage(event: any): void;
|
|
61
79
|
gotoReviewAndReSubmitPage(): void;
|
|
62
|
-
gotoRefundReasonPage(): void;
|
|
80
|
+
gotoRefundReasonPage(refundReason: string): void;
|
|
63
81
|
gotoAmountPage(): void;
|
|
64
82
|
goToReviewAndSubmitView(): void;
|
|
65
83
|
resetRemissionForm(val: any, field: any): void;
|
|
66
84
|
selectRadioButton(key: any, value: any): void;
|
|
67
85
|
getRefundListReason(refundListReason: any): void;
|
|
68
86
|
getRefundAmount(amount: number): void;
|
|
87
|
+
getRefundFees(fees: IFee[]): void;
|
|
69
88
|
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;
|
|
70
96
|
goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
|
|
71
97
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
1
|
+
import { OnInit, EventEmitter, ChangeDetectorRef } 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,10 +9,12 @@ 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';
|
|
12
13
|
export declare class ServiceRequestComponent implements OnInit {
|
|
13
14
|
private paymentLibComponent;
|
|
14
15
|
private paymentViewService;
|
|
15
16
|
private OrderslistService;
|
|
17
|
+
private cd;
|
|
16
18
|
private router;
|
|
17
19
|
LOGGEDINUSERROLES: string[];
|
|
18
20
|
viewStatus: string;
|
|
@@ -25,18 +27,22 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
25
27
|
orderFeesTotal: number;
|
|
26
28
|
orderTotalPayments: number;
|
|
27
29
|
orderRemissionTotal: number;
|
|
30
|
+
paymentGroupList: IPaymentGroup;
|
|
28
31
|
takePayment: boolean;
|
|
29
32
|
ccdCaseNumber: boolean;
|
|
30
33
|
isServiceRequest: string;
|
|
31
34
|
goToServiceRquestComponent: EventEmitter<any>;
|
|
35
|
+
viewCompStatus: any;
|
|
32
36
|
servicerequest: string;
|
|
37
|
+
paymentType: string;
|
|
33
38
|
excReference: string;
|
|
34
39
|
paymentGroups: any[];
|
|
35
40
|
payments: IPayment[];
|
|
36
41
|
nonPayments: IPayment[];
|
|
37
42
|
allPayments: IPayment[];
|
|
38
43
|
remissions: IRemission[];
|
|
39
|
-
|
|
44
|
+
paymentFees: IFee[];
|
|
45
|
+
fees: any;
|
|
40
46
|
errorMessage: string;
|
|
41
47
|
totalFees: number;
|
|
42
48
|
totalPayments: number;
|
|
@@ -46,9 +52,7 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
46
52
|
dcnNumber: string;
|
|
47
53
|
paymentRef: string;
|
|
48
54
|
isTurnOff: boolean;
|
|
49
|
-
isNewPcipalOff: boolean;
|
|
50
55
|
isRefundRemission: boolean;
|
|
51
|
-
isOldPcipalOff: boolean;
|
|
52
56
|
isStrategicFixEnable: boolean;
|
|
53
57
|
isAddFeeBtnEnabled: boolean;
|
|
54
58
|
isExceptionRecord: boolean;
|
|
@@ -66,6 +70,9 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
66
70
|
isGrpOutstandingAmtPositive: boolean;
|
|
67
71
|
totalRefundAmount: Number;
|
|
68
72
|
caseType: String;
|
|
73
|
+
isConfirmationBtnDisabled: boolean;
|
|
74
|
+
refundReference: string;
|
|
75
|
+
refundAmount: string;
|
|
69
76
|
payment: IPayment;
|
|
70
77
|
paymentGroup: IPaymentGroup;
|
|
71
78
|
paymentView: IPaymentView;
|
|
@@ -75,6 +82,9 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
75
82
|
cpoDetails: any;
|
|
76
83
|
serviceRequestValue: string;
|
|
77
84
|
orderAddBtnEnable: boolean;
|
|
85
|
+
isFromPaymentDetailPage: boolean;
|
|
86
|
+
contactDetailsObj: IRefundContactDetails;
|
|
87
|
+
notification: any;
|
|
78
88
|
isCPODown: boolean;
|
|
79
89
|
test: boolean;
|
|
80
90
|
isPBA: boolean;
|
|
@@ -85,22 +95,29 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
85
95
|
isFromServiceRequestPage: boolean;
|
|
86
96
|
navigationpage: string;
|
|
87
97
|
remissionFeeAmt: number;
|
|
88
|
-
|
|
98
|
+
isContinueBtnDisabled: boolean;
|
|
99
|
+
isFullyRefund: boolean;
|
|
100
|
+
constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, OrderslistService: OrderslistService, cd: ChangeDetectorRef, router: Router);
|
|
89
101
|
ngOnInit(): void;
|
|
90
102
|
goToServiceRequestPage(): void;
|
|
91
103
|
goToCaseTransationPage(event: any): void;
|
|
92
|
-
chkForAddRemission(feeCode: string): boolean;
|
|
93
|
-
chkForPBAPayment(): boolean;
|
|
94
104
|
addRemission(fee: IFee): void;
|
|
95
105
|
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
96
106
|
cancelRemoval(): void;
|
|
97
107
|
removeFee(fee: any): void;
|
|
98
|
-
chkIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
99
|
-
chkIsRefundRemissionBtnEnable(): boolean;
|
|
100
|
-
check4AllowedRoles2AccessRefund: () => boolean;
|
|
101
|
-
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
102
108
|
issueRefund(payment: IPayment): void;
|
|
103
109
|
goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
104
110
|
goToPaymentViewComponent(paymentGroup: any): void;
|
|
111
|
+
chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
112
|
+
chkIsAddRefundBtnEnable(remission: IRemission): boolean;
|
|
113
|
+
chkIsAddRemissionBtnEnable(fee: IFee): boolean;
|
|
105
114
|
resetOrderData(): void;
|
|
115
|
+
selectPymentOption(paymentType: string): void;
|
|
116
|
+
goToPaymentViewComp(): void;
|
|
117
|
+
continuePayment(paymentgrp: IPaymentGroup): void;
|
|
118
|
+
getContactDetails(obj: IRefundContactDetails): void;
|
|
119
|
+
gotoPaymentSelectPage(event: Event): void;
|
|
120
|
+
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
121
|
+
processRefund(): void;
|
|
122
|
+
getOverPaymentValue(): number;
|
|
106
123
|
}
|
|
@@ -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,4 +20,10 @@ 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;
|
|
23
29
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
1
2
|
export interface IRefundList {
|
|
2
3
|
amount: number;
|
|
3
4
|
ccd_case_number: string;
|
|
@@ -10,5 +11,8 @@ export interface IRefundList {
|
|
|
10
11
|
description: string;
|
|
11
12
|
name: string;
|
|
12
13
|
};
|
|
14
|
+
contact_details: IRefundContactDetails;
|
|
13
15
|
user_full_name: string;
|
|
16
|
+
service_type: string;
|
|
17
|
+
code: string;
|
|
14
18
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface IRefundsNotifications {
|
|
2
|
+
contact_details: {
|
|
3
|
+
address_line: string;
|
|
4
|
+
city: string;
|
|
5
|
+
country: string;
|
|
6
|
+
county: string;
|
|
7
|
+
date_created: string;
|
|
8
|
+
date_updated: string;
|
|
9
|
+
email: string;
|
|
10
|
+
postal_code: string;
|
|
11
|
+
};
|
|
12
|
+
date_created: string;
|
|
13
|
+
date_updated: string;
|
|
14
|
+
notification_type: string;
|
|
15
|
+
reference: string;
|
|
16
|
+
}
|