@hmcts/ccpay-web-component 6.5.14 → 6.5.15-beta1
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/hmcts-ccpay-web-component.mjs +5 -0
- package/esm2022/lib/components/add-remission/add-remission.component.mjs +1276 -0
- package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +423 -0
- package/esm2022/lib/components/card-details/card-details.component.mjs +32 -0
- package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +885 -0
- package/esm2022/lib/components/contact-details/contact-details.component.mjs +338 -0
- package/esm2022/lib/components/error-banner/error-banner.component.mjs +18 -0
- package/esm2022/lib/components/fee-summary/fee-summary.component.mjs +280 -0
- package/esm2022/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.mjs +195 -0
- package/esm2022/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.mjs +275 -0
- package/esm2022/lib/components/notification-preview/notification-preview.component.mjs +79 -0
- package/esm2022/lib/components/page-not-found.component.mjs +17 -0
- package/esm2022/lib/components/payment-list/payment-list.component.mjs +36 -0
- package/esm2022/lib/components/payment-view/payment-view.component.mjs +467 -0
- package/esm2022/lib/components/pba-details/pba-details.component.mjs +18 -0
- package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +163 -0
- package/esm2022/lib/components/process-refund/process-refund.component.mjs +417 -0
- package/esm2022/lib/components/processed-payments/processed-payments.component.mjs +37 -0
- package/esm2022/lib/components/refund-list/refund-list.component.mjs +73 -0
- package/esm2022/lib/components/refund-status/refund-status.component.mjs +481 -0
- package/esm2022/lib/components/reports/reports.component.mjs +337 -0
- package/esm2022/lib/components/service-request/service-request.component.mjs +516 -0
- package/esm2022/lib/components/status-history/status-history.component.mjs +33 -0
- package/esm2022/lib/components/table/table.component.mjs +127 -0
- package/esm2022/lib/components/unprocessed-payments/unprocessed-payments.component.mjs +236 -0
- package/esm2022/lib/interfaces/AddRemissionRequest.mjs +17 -0
- package/esm2022/lib/interfaces/AddRetroRemissionRequest.mjs +9 -0
- package/esm2022/lib/interfaces/AllocatePaymentRequest.mjs +41 -0
- package/esm2022/lib/interfaces/IAllocationPaymentsRequest.mjs +20 -0
- package/esm2022/lib/interfaces/IBSPayments.mjs +2 -0
- package/esm2022/lib/interfaces/ICardDetails.mjs +2 -0
- package/esm2022/lib/interfaces/IFee.mjs +2 -0
- package/esm2022/lib/interfaces/INotificationPreview.mjs +2 -0
- package/esm2022/lib/interfaces/IOrderReferenceFee.mjs +2 -0
- package/esm2022/lib/interfaces/IPatchRefundAction.mjs +2 -0
- package/esm2022/lib/interfaces/IPayment.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentFailure.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentGroup.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentStatus.mjs +12 -0
- package/esm2022/lib/interfaces/IPaymentView.mjs +2 -0
- package/esm2022/lib/interfaces/IPayments.mjs +2 -0
- package/esm2022/lib/interfaces/IPutNotificationRequest.mjs +13 -0
- package/esm2022/lib/interfaces/IRefundAction.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundContactDetails.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundFee.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundList.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundReasons.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundRejectReason.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundStatus.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundStatusHistory.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundsNotifications.mjs +2 -0
- package/esm2022/lib/interfaces/IRemission.mjs +2 -0
- package/esm2022/lib/interfaces/IResubmitRefundRequest.mjs +13 -0
- package/esm2022/lib/interfaces/IStatusHistories.mjs +2 -0
- package/esm2022/lib/interfaces/IStatusHistory.mjs +2 -0
- package/esm2022/lib/interfaces/IserviceRequestCardPayment.mjs +11 -0
- package/esm2022/lib/interfaces/IserviceRequestPbaPayment.mjs +15 -0
- package/esm2022/lib/interfaces/IssueRefundRequest.mjs +11 -0
- package/esm2022/lib/interfaces/NotificationPreviewRequest.mjs +46 -0
- package/esm2022/lib/interfaces/PayhubAntennaRequest.mjs +14 -0
- package/esm2022/lib/interfaces/PaymentToPayhubRequest.mjs +17 -0
- package/esm2022/lib/interfaces/PostIssueRefundRetroRemission.mjs +9 -0
- package/esm2022/lib/interfaces/PostRefundRetroRemission.mjs +18 -0
- package/esm2022/lib/interfaces/RefundsRequest.mjs +9 -0
- package/esm2022/lib/interfaces/UnidentifiedPaymentsRequest.mjs +16 -0
- package/esm2022/lib/interfaces/UnsolicitedPaymentsRequest.mjs +22 -0
- package/esm2022/lib/payment-lib.component.mjs +430 -0
- package/esm2022/lib/payment-lib.module.mjs +181 -0
- package/esm2022/lib/payment-lib.service.mjs +49 -0
- package/esm2022/lib/pipes/capitalize.pipe.mjs +18 -0
- package/esm2022/lib/pipes/ccd-hyphens.pipe.mjs +22 -0
- package/esm2022/lib/pipes/key-value.pipe.mjs +23 -0
- package/esm2022/lib/pipes/sanitize-html.pipe.mjs +20 -0
- package/esm2022/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.mjs +87 -0
- package/esm2022/lib/services/card-details/card-details.service.mjs +39 -0
- package/esm2022/lib/services/case-transactions/case-transactions.service.mjs +39 -0
- package/esm2022/lib/services/notification/notification.service.mjs +70 -0
- package/esm2022/lib/services/orderslist.service.mjs +154 -0
- package/esm2022/lib/services/payment-list/payment-list.service.mjs +40 -0
- package/esm2022/lib/services/payment-view/payment-view.service.mjs +156 -0
- package/esm2022/lib/services/refunds/refunds.service.mjs +120 -0
- package/esm2022/lib/services/shared/error-handler.service.mjs +76 -0
- package/esm2022/lib/services/shared/httpclient/webcomponent.http.client.mjs +64 -0
- package/esm2022/lib/services/shared/logger/console-logger.service.mjs +43 -0
- package/esm2022/lib/services/shared/logger/logger.service.mjs +23 -0
- package/esm2022/lib/services/status-history/status-history.service.mjs +41 -0
- package/esm2022/lib/services/xl-file/xl-file.service.mjs +197 -0
- package/esm2022/public_api.mjs +7 -0
- package/fesm2022/hmcts-ccpay-web-component.mjs +217 -262
- package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -1
- package/index.d.ts +5 -2340
- package/lib/components/add-remission/add-remission.component.d.ts +208 -0
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +115 -0
- package/lib/components/card-details/card-details.component.d.ts +18 -0
- package/lib/components/case-transactions/case-transactions.component.d.ts +143 -0
- package/lib/components/contact-details/contact-details.component.d.ts +54 -0
- package/lib/components/error-banner/error-banner.component.d.ts +9 -0
- package/lib/components/fee-summary/fee-summary.component.d.ts +72 -0
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +52 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +63 -0
- package/lib/components/notification-preview/notification-preview.component.d.ts +30 -0
- package/lib/components/page-not-found.component.d.ts +5 -0
- package/lib/components/payment-list/payment-list.component.d.ts +19 -0
- package/lib/components/payment-view/payment-view.component.d.ts +110 -0
- package/lib/components/pba-details/pba-details.component.d.ts +10 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts +41 -0
- package/lib/components/process-refund/process-refund.component.d.ts +82 -0
- package/lib/components/processed-payments/processed-payments.component.d.ts +17 -0
- package/lib/components/refund-list/refund-list.component.d.ts +26 -0
- package/lib/components/refund-status/refund-status.component.d.ts +119 -0
- package/lib/components/reports/reports.component.d.ts +49 -0
- package/lib/components/service-request/service-request.component.d.ts +141 -0
- package/lib/components/status-history/status-history.component.d.ts +19 -0
- package/lib/components/table/table.component.d.ts +45 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +61 -0
- package/lib/interfaces/AddRemissionRequest.d.ts +11 -0
- package/lib/interfaces/AddRetroRemissionRequest.d.ts +5 -0
- package/lib/interfaces/AllocatePaymentRequest.d.ts +31 -0
- package/lib/interfaces/IAllocationPaymentsRequest.d.ts +9 -0
- package/lib/interfaces/IBSPayments.d.ts +19 -0
- package/lib/interfaces/ICardDetails.d.ts +7 -0
- package/lib/interfaces/IFee.d.ts +29 -0
- package/lib/interfaces/INotificationPreview.d.ts +27 -0
- package/lib/interfaces/IOrderReferenceFee.d.ts +9 -0
- package/lib/interfaces/IPatchRefundAction.d.ts +4 -0
- package/lib/interfaces/IPayment.d.ts +35 -0
- package/lib/interfaces/IPaymentFailure.d.ts +13 -0
- package/lib/interfaces/IPaymentGroup.d.ts +11 -0
- package/lib/interfaces/IPaymentStatus.d.ts +11 -0
- package/lib/interfaces/IPaymentView.d.ts +5 -0
- package/lib/interfaces/IPayments.d.ts +4 -0
- package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
- package/lib/interfaces/IRefundAction.d.ts +4 -0
- package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
- package/lib/interfaces/IRefundFee.d.ts +7 -0
- package/lib/interfaces/IRefundList.d.ts +20 -0
- package/lib/interfaces/IRefundReasons.d.ts +6 -0
- package/lib/interfaces/IRefundRejectReason.d.ts +4 -0
- package/lib/interfaces/IRefundStatus.d.ts +8 -0
- package/lib/interfaces/IRefundStatusHistory.d.ts +5 -0
- package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
- package/lib/interfaces/IRemission.d.ts +14 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts +9 -0
- package/lib/interfaces/IStatusHistories.d.ts +7 -0
- package/lib/interfaces/IStatusHistory.d.ts +7 -0
- package/lib/interfaces/IserviceRequestCardPayment.d.ts +6 -0
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +8 -0
- package/lib/interfaces/IssueRefundRequest.d.ts +6 -0
- package/lib/interfaces/NotificationPreviewRequest.d.ts +25 -0
- package/lib/interfaces/PayhubAntennaRequest.d.ts +8 -0
- package/lib/interfaces/PaymentToPayhubRequest.d.ts +11 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +6 -0
- package/lib/interfaces/PostRefundRetroRemission.d.ts +11 -0
- package/lib/interfaces/RefundsRequest.d.ts +5 -0
- package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +7 -0
- package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +10 -0
- package/lib/payment-lib.component.d.ts +156 -0
- package/lib/payment-lib.module.d.ts +42 -0
- package/lib/payment-lib.service.d.ts +21 -0
- package/lib/pipes/capitalize.pipe.d.ts +8 -0
- package/lib/pipes/ccd-hyphens.pipe.d.ts +8 -0
- package/lib/pipes/key-value.pipe.d.ts +8 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +10 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +27 -0
- package/lib/services/card-details/card-details.service.d.ts +17 -0
- package/lib/services/case-transactions/case-transactions.service.d.ts +17 -0
- package/lib/services/notification/notification.service.d.ts +21 -0
- package/lib/services/orderslist.service.d.ts +77 -0
- package/lib/services/payment-list/payment-list.service.d.ts +18 -0
- package/lib/services/payment-view/payment-view.service.d.ts +61 -0
- package/lib/services/refunds/refunds.service.d.ts +36 -0
- package/lib/services/shared/error-handler.service.d.ts +14 -0
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +17 -0
- package/lib/services/shared/logger/console-logger.service.d.ts +11 -0
- package/lib/services/shared/logger/logger.service.d.ts +14 -0
- package/lib/services/status-history/status-history.service.d.ts +17 -0
- package/lib/services/xl-file/xl-file.service.d.ts +16 -0
- package/package.json +5 -3
- package/public_api.d.ts +3 -0
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { IFee } from '../../interfaces/IFee';
|
|
4
|
+
import { Router } from '@angular/router';
|
|
5
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
6
|
+
import { IPayment } from '../../interfaces/IPayment';
|
|
7
|
+
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
8
|
+
import { NotificationService } from '../../services/notification/notification.service';
|
|
9
|
+
import { IRefundReasons } from '../../interfaces/IRefundReasons';
|
|
10
|
+
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
11
|
+
import { IRemission } from '../../interfaces/IRemission';
|
|
12
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
13
|
+
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
14
|
+
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
type PaymentLibAlias = PaymentLibComponent;
|
|
17
|
+
export declare class AddRemissionComponent implements OnInit {
|
|
18
|
+
private formBuilder;
|
|
19
|
+
private router;
|
|
20
|
+
private paymentViewService;
|
|
21
|
+
private notificationService;
|
|
22
|
+
private paymentLibComponent;
|
|
23
|
+
private refundService;
|
|
24
|
+
private cd;
|
|
25
|
+
private OrderslistService;
|
|
26
|
+
fee: IFee;
|
|
27
|
+
fees: any[];
|
|
28
|
+
payment: IPayment;
|
|
29
|
+
remission: IRemission;
|
|
30
|
+
ccdCaseNumber: string;
|
|
31
|
+
caseType: string;
|
|
32
|
+
viewCompStatus: string;
|
|
33
|
+
paymentGroupRef: string;
|
|
34
|
+
isTurnOff: boolean;
|
|
35
|
+
isRefundRemission: boolean;
|
|
36
|
+
isStrategicFixEnable: boolean;
|
|
37
|
+
paidAmount: any;
|
|
38
|
+
isFromRefundListPage: boolean;
|
|
39
|
+
isFromPaymentDetailPage: boolean;
|
|
40
|
+
isFromServiceRequestPage: boolean;
|
|
41
|
+
isFullyRefund: boolean;
|
|
42
|
+
feeamount: number;
|
|
43
|
+
refundPaymentReference: string;
|
|
44
|
+
isFromRefundStatusPage: boolean;
|
|
45
|
+
changeRefundReason: string;
|
|
46
|
+
isServiceRequest: string;
|
|
47
|
+
LOGGEDINUSERROLES: string[];
|
|
48
|
+
orderDetail: any[];
|
|
49
|
+
orderRef: string;
|
|
50
|
+
orderStatus: string;
|
|
51
|
+
orderParty: string;
|
|
52
|
+
orderCreated: Date;
|
|
53
|
+
orderCCDEvent: string;
|
|
54
|
+
takePayment: boolean;
|
|
55
|
+
orderFeesTotal: number;
|
|
56
|
+
orderTotalPayments: number;
|
|
57
|
+
orderRemissionTotal: number;
|
|
58
|
+
cancelRemission: EventEmitter<void>;
|
|
59
|
+
refundListReason: EventEmitter<{
|
|
60
|
+
reason: string;
|
|
61
|
+
code: string;
|
|
62
|
+
}>;
|
|
63
|
+
refundListAmount: EventEmitter<string>;
|
|
64
|
+
refundFees: EventEmitter<IFee[]>;
|
|
65
|
+
refund: {
|
|
66
|
+
reason: {
|
|
67
|
+
duplicate: string;
|
|
68
|
+
humanerror: string;
|
|
69
|
+
caseWithdrawn: string;
|
|
70
|
+
other: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
contactDetailsObj: IRefundContactDetails;
|
|
74
|
+
notification: any;
|
|
75
|
+
remissionForm: FormGroup;
|
|
76
|
+
hasErrors: boolean;
|
|
77
|
+
viewStatus: string;
|
|
78
|
+
errorMessage: any;
|
|
79
|
+
option: string;
|
|
80
|
+
isConfirmationBtnDisabled: boolean;
|
|
81
|
+
bsPaymentDcnNumber: string;
|
|
82
|
+
selectedValue: string;
|
|
83
|
+
amount: any;
|
|
84
|
+
retroRemission: boolean;
|
|
85
|
+
remissionReference: string;
|
|
86
|
+
refundReference: string;
|
|
87
|
+
refundAmount: string;
|
|
88
|
+
paymentExplanationHasError: boolean;
|
|
89
|
+
refundReason: string;
|
|
90
|
+
selectedRefundReason: string;
|
|
91
|
+
selectedRefundReasonCode: string;
|
|
92
|
+
displayRefundReason: string;
|
|
93
|
+
refundCode: string;
|
|
94
|
+
remessionPayment: IPayment;
|
|
95
|
+
isRemissionCodeEmpty: boolean;
|
|
96
|
+
remissionCodeHasError: boolean;
|
|
97
|
+
isAmountEmpty: boolean;
|
|
98
|
+
isReasonEmpty: boolean;
|
|
99
|
+
amountHasError: boolean;
|
|
100
|
+
isRemissionLessThanFeeError: boolean;
|
|
101
|
+
refundHasError: boolean;
|
|
102
|
+
isPaymentSuccess: boolean;
|
|
103
|
+
isRemissionApplied: boolean;
|
|
104
|
+
remissionamt: number;
|
|
105
|
+
elementId: any;
|
|
106
|
+
commonRefundReasons: any[];
|
|
107
|
+
showReasonText: boolean;
|
|
108
|
+
isRefundReasonsSelected: boolean;
|
|
109
|
+
default: string;
|
|
110
|
+
reasonLength: number;
|
|
111
|
+
refundReasons: IRefundReasons[];
|
|
112
|
+
pattern1: string;
|
|
113
|
+
pattern2: string;
|
|
114
|
+
sendOrderDetail: any[];
|
|
115
|
+
sendOrderRef: string;
|
|
116
|
+
paymentReference: string;
|
|
117
|
+
class: string;
|
|
118
|
+
errorMsg: any[];
|
|
119
|
+
totalRefundAmount: number;
|
|
120
|
+
quantityUpdated: number;
|
|
121
|
+
fullRefund: boolean;
|
|
122
|
+
allowedRefundAmount: number;
|
|
123
|
+
isRemissionsMatch: boolean;
|
|
124
|
+
paymentFees: IFee[];
|
|
125
|
+
paymentGroup: IPaymentGroup;
|
|
126
|
+
isStatusAllocated: boolean;
|
|
127
|
+
isFromCheckAnsPage: boolean;
|
|
128
|
+
refundAmtForFeeVolumes: number;
|
|
129
|
+
paymentObj: IPayment;
|
|
130
|
+
templateInstructionType: string;
|
|
131
|
+
notificationPreview: boolean;
|
|
132
|
+
component: {
|
|
133
|
+
account_number: string;
|
|
134
|
+
amount: number;
|
|
135
|
+
case_reference: string;
|
|
136
|
+
ccd_case_number: string;
|
|
137
|
+
channel: string;
|
|
138
|
+
currency: string;
|
|
139
|
+
customer_reference: string;
|
|
140
|
+
date_created: string;
|
|
141
|
+
date_updated: string;
|
|
142
|
+
description: string;
|
|
143
|
+
method: string;
|
|
144
|
+
organisation_name: string;
|
|
145
|
+
payment_allocation: any[];
|
|
146
|
+
reference: string;
|
|
147
|
+
service_name: string;
|
|
148
|
+
site_id: string;
|
|
149
|
+
status: string;
|
|
150
|
+
};
|
|
151
|
+
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, notificationService: NotificationService, paymentLibComponent: PaymentLibAlias, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
152
|
+
ngOnInit(): void;
|
|
153
|
+
goToPaymentViewComponent(): void;
|
|
154
|
+
refundFeesList(): void;
|
|
155
|
+
get feesList(): FormArray;
|
|
156
|
+
noneSelected(): boolean;
|
|
157
|
+
calculateRefundAmount(index: any, AppAmt: any): any;
|
|
158
|
+
check_en(i: any, v1: any, AppAmt: any, Volume: any): void;
|
|
159
|
+
addRemission(): void;
|
|
160
|
+
confirmRemission(): void;
|
|
161
|
+
resetRemissionForm(val: any, field: any): void;
|
|
162
|
+
addRemissionCode(): void;
|
|
163
|
+
gotoAddRetroRemissionCodePage(): void;
|
|
164
|
+
gotoCheckRetroRemissionPage(payment: IPayment): void;
|
|
165
|
+
gotoAmountRetroRemission(): void;
|
|
166
|
+
gotoProcessRetroRemissionPage(): void;
|
|
167
|
+
gotoProcessRetroRemission(note?: IRefundContactDetails): void;
|
|
168
|
+
confirmRetroRemission(): void;
|
|
169
|
+
processRefund(): void;
|
|
170
|
+
gotoIssueRefundConfirmation(payment: IPayment): void;
|
|
171
|
+
gotoIssueRefundPage(): void;
|
|
172
|
+
gotoIssuePage(isFullyRefund: any): void;
|
|
173
|
+
calAmtToRefund(value: any, amount: any, volume: any, i: any): void;
|
|
174
|
+
gotoContactDetailsPage(note?: IRefundContactDetails): void;
|
|
175
|
+
getRefundReasons(): void;
|
|
176
|
+
getErrorClass(elementId: any): void;
|
|
177
|
+
changeIssueRefundReason(): void;
|
|
178
|
+
confirmIssueRefund(isFullyRefund: any): void;
|
|
179
|
+
gotoRefundReasonPage(): void;
|
|
180
|
+
selectRadioButton(key: any, value: any): void;
|
|
181
|
+
selectchange(args: any): void;
|
|
182
|
+
getContactDetails(obj: IRefundContactDetails, type: any): void;
|
|
183
|
+
gotoPartialFeeRefundScreen(): void;
|
|
184
|
+
gotoServiceRequestPage(event: any): void;
|
|
185
|
+
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
186
|
+
gotoRemissionSuccess(event: Event): void;
|
|
187
|
+
gotoCasetransationPage(): void;
|
|
188
|
+
gotoCasetransationPageCancelBtnClicked(event: Event): void;
|
|
189
|
+
canRefundBeApplied(): boolean;
|
|
190
|
+
resetOrderData(): void;
|
|
191
|
+
changeRefundAmount(): void;
|
|
192
|
+
getFormattedCurrency(currency: number): string | number;
|
|
193
|
+
showNotificationPreview(): void;
|
|
194
|
+
hideNotificationPreview(): void;
|
|
195
|
+
getTemplateInstructionType(paymentReference: string, payment?: IPayment): void;
|
|
196
|
+
getRefundAmountToBeDisplayed(remission: IRemission): string;
|
|
197
|
+
getRefundAmountToBeDisplayedForContinueJourney(): string;
|
|
198
|
+
getRemissionAmountToBeDisplayed(remission: IRemission): string;
|
|
199
|
+
isRemissionEnabled(feeCode: string): boolean;
|
|
200
|
+
isRemissionEnabledForFeeCode(feeCode: string): boolean;
|
|
201
|
+
getRemissions(feeCode: string): IRemission;
|
|
202
|
+
getRemissionsHwfAmount(feeCode: string): string;
|
|
203
|
+
getNetAmountFee(hwfAmount: number, feeAmount: number): number;
|
|
204
|
+
getRemissionValueForFullyRefund(): number;
|
|
205
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddRemissionComponent, never>;
|
|
206
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddRemissionComponent, "ccpay-add-remission", never, { "fee": { "alias": "fee"; "required": false; }; "fees": { "alias": "fees"; "required": false; }; "payment": { "alias": "payment"; "required": false; }; "remission": { "alias": "remission"; "required": false; }; "ccdCaseNumber": { "alias": "ccdCaseNumber"; "required": false; }; "caseType": { "alias": "caseType"; "required": false; }; "viewCompStatus": { "alias": "viewCompStatus"; "required": false; }; "paymentGroupRef": { "alias": "paymentGroupRef"; "required": false; }; "isTurnOff": { "alias": "isTurnOff"; "required": false; }; "isRefundRemission": { "alias": "isRefundRemission"; "required": false; }; "isStrategicFixEnable": { "alias": "isStrategicFixEnable"; "required": false; }; "paidAmount": { "alias": "paidAmount"; "required": false; }; "isFromRefundListPage": { "alias": "isFromRefundListPage"; "required": false; }; "isFromPaymentDetailPage": { "alias": "isFromPaymentDetailPage"; "required": false; }; "isFromServiceRequestPage": { "alias": "isFromServiceRequestPage"; "required": false; }; "isFullyRefund": { "alias": "isFullyRefund"; "required": false; }; "feeamount": { "alias": "feeamount"; "required": false; }; "refundPaymentReference": { "alias": "refundPaymentReference"; "required": false; }; "isFromRefundStatusPage": { "alias": "isFromRefundStatusPage"; "required": false; }; "changeRefundReason": { "alias": "changeRefundReason"; "required": false; }; "isServiceRequest": { "alias": "isServiceRequest"; "required": false; }; "LOGGEDINUSERROLES": { "alias": "LOGGEDINUSERROLES"; "required": false; }; "orderDetail": { "alias": "orderDetail"; "required": false; }; "orderRef": { "alias": "orderRef"; "required": false; }; "orderStatus": { "alias": "orderStatus"; "required": false; }; "orderParty": { "alias": "orderParty"; "required": false; }; "orderCreated": { "alias": "orderCreated"; "required": false; }; "orderCCDEvent": { "alias": "orderCCDEvent"; "required": false; }; "takePayment": { "alias": "takepayment"; "required": false; }; "orderFeesTotal": { "alias": "orderFeesTotal"; "required": false; }; "orderTotalPayments": { "alias": "orderTotalPayments"; "required": false; }; "orderRemissionTotal": { "alias": "orderRemissionTotal"; "required": false; }; }, { "cancelRemission": "cancelRemission"; "refundListReason": "refundListReason"; "refundListAmount": "refundListAmount"; "refundFees": "refundFees"; }, never, never, true, never>;
|
|
207
|
+
}
|
|
208
|
+
export {};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
5
|
+
import { CaseTransactionsService } from '../../services/case-transactions/case-transactions.service';
|
|
6
|
+
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
7
|
+
import { ErrorHandlerService } from '../../services/shared/error-handler.service';
|
|
8
|
+
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
9
|
+
import { IBSPayments } from '../../interfaces/IBSPayments';
|
|
10
|
+
import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
|
|
11
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
type PaymentLibAlias = PaymentLibComponent;
|
|
14
|
+
export declare class AllocatePaymentsComponent implements OnInit {
|
|
15
|
+
private errorHandlerService;
|
|
16
|
+
private caseTransactionsService;
|
|
17
|
+
private formBuilder;
|
|
18
|
+
private paymentViewService;
|
|
19
|
+
private paymentLibComponent;
|
|
20
|
+
private bulkScaningPaymentService;
|
|
21
|
+
private OrderslistService;
|
|
22
|
+
isTurnOff: boolean;
|
|
23
|
+
caseType: string;
|
|
24
|
+
reasonEventEmitter: EventEmitter<string>;
|
|
25
|
+
explanationEventEmitter: EventEmitter<string>;
|
|
26
|
+
overUnderPaymentForm: FormGroup;
|
|
27
|
+
viewStatus: string;
|
|
28
|
+
ccdCaseNumber: string;
|
|
29
|
+
bspaymentdcn: string;
|
|
30
|
+
recordId: string;
|
|
31
|
+
feedbackUrlLabel: string;
|
|
32
|
+
unAllocatedPayment: IBSPayments;
|
|
33
|
+
siteID: string;
|
|
34
|
+
errorMessage: any;
|
|
35
|
+
paymentGroup: IPaymentGroup;
|
|
36
|
+
paymentGroups: IPaymentGroup[];
|
|
37
|
+
remainingAmount: number;
|
|
38
|
+
isRemainingAmountGtZero: boolean;
|
|
39
|
+
isMoreDetailsBoxHide: boolean;
|
|
40
|
+
isRemainingAmountLtZero: boolean;
|
|
41
|
+
afterFeeAllocateOutstanding: number;
|
|
42
|
+
amountForAllocation: number;
|
|
43
|
+
isConfirmButtondisabled: boolean;
|
|
44
|
+
isContinueButtondisabled: boolean;
|
|
45
|
+
otherPaymentExplanation: string;
|
|
46
|
+
selectedOption: string;
|
|
47
|
+
isFeeAmountZero: boolean;
|
|
48
|
+
paymentReasonHasError: boolean;
|
|
49
|
+
paymentExplanationHasError: boolean;
|
|
50
|
+
isPaymentDetailsEmpty: boolean;
|
|
51
|
+
isPaymentDetailsInvalid: boolean;
|
|
52
|
+
paymentDetailsMinHasError: boolean;
|
|
53
|
+
paymentDetailsMaxHasError: boolean;
|
|
54
|
+
isUserNameEmpty: boolean;
|
|
55
|
+
isUserNameInvalid: boolean;
|
|
56
|
+
ccdReference: string;
|
|
57
|
+
exceptionReference: string;
|
|
58
|
+
paymentReason: string;
|
|
59
|
+
paymentExplanation: string;
|
|
60
|
+
userName: string;
|
|
61
|
+
paymentSectionLabel: any;
|
|
62
|
+
paymentRef: string;
|
|
63
|
+
isStrategicFixEnable: boolean;
|
|
64
|
+
orderLevelFees: IOrderReferenceFee[];
|
|
65
|
+
cookieUserName: string[];
|
|
66
|
+
enCookieUserName: any;
|
|
67
|
+
userNameField: string;
|
|
68
|
+
reasonList: {
|
|
69
|
+
[key: string]: {
|
|
70
|
+
[key: string]: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
explanationList: {
|
|
74
|
+
overPayment: {
|
|
75
|
+
referRefund: string;
|
|
76
|
+
noRefund: string;
|
|
77
|
+
noCase: string;
|
|
78
|
+
other: string;
|
|
79
|
+
};
|
|
80
|
+
shortFall: {
|
|
81
|
+
holdCase: string;
|
|
82
|
+
heldCase: string;
|
|
83
|
+
other: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
refund: {
|
|
87
|
+
reason: {
|
|
88
|
+
duplicate: string;
|
|
89
|
+
humanerror: string;
|
|
90
|
+
caseWithdrawn: string;
|
|
91
|
+
other: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
constructor(errorHandlerService: ErrorHandlerService, caseTransactionsService: CaseTransactionsService, formBuilder: FormBuilder, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibAlias, bulkScaningPaymentService: BulkScaningPaymentService, OrderslistService: OrderslistService);
|
|
95
|
+
ngOnInit(): void;
|
|
96
|
+
getGroupOutstandingAmount(paymentGroup: IPaymentGroup): number;
|
|
97
|
+
getExplanationValue(inputValue: string): void;
|
|
98
|
+
getReasonValue(inputValue: string): void;
|
|
99
|
+
getPaymentGroupDetails(): void;
|
|
100
|
+
selectedPaymentGroup(paymentGroup: IPaymentGroup): void;
|
|
101
|
+
gotoCasetransationPage(): void;
|
|
102
|
+
gotoSummaryPage(event: any): void;
|
|
103
|
+
cancelAllocatePayment(event: any): void;
|
|
104
|
+
confirmAllocatePayement(): void;
|
|
105
|
+
resetForm(vals: any, field: any): void;
|
|
106
|
+
finalServiceCall(): void;
|
|
107
|
+
saveAndContinue(): void;
|
|
108
|
+
getUnassignedPayment(): void;
|
|
109
|
+
selectRadioButton(key: any, type: any): void;
|
|
110
|
+
OrderListSelectEvent(orderef: any): void;
|
|
111
|
+
redirectToOrderFeeSearchPage(): void;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AllocatePaymentsComponent, never>;
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AllocatePaymentsComponent, "app-allocate-payments", never, { "isTurnOff": { "alias": "isTurnOff"; "required": false; }; "caseType": { "alias": "caseType"; "required": false; }; }, { "reasonEventEmitter": "reasonEventEmitter"; "explanationEventEmitter": "explanationEventEmitter"; }, never, never, false, never>;
|
|
114
|
+
}
|
|
115
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CardDetailsService } from '../../services/card-details/card-details.service';
|
|
3
|
+
import { ICardDetails } from '../../interfaces/ICardDetails';
|
|
4
|
+
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CardDetailsComponent implements OnInit {
|
|
7
|
+
private cardDetailsService;
|
|
8
|
+
private paymentLibComponent;
|
|
9
|
+
pageTitle: string;
|
|
10
|
+
cardDetails: ICardDetails;
|
|
11
|
+
paymentReference: string;
|
|
12
|
+
errorMessage: string;
|
|
13
|
+
constructor(cardDetailsService: CardDetailsService, paymentLibComponent: PaymentLibComponent);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
get getPaymentReference(): string;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardDetailsComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardDetailsComponent, "ccpay-card-details", never, {}, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
3
|
+
import { CaseTransactionsService } from '../../services/case-transactions/case-transactions.service';
|
|
4
|
+
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
5
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
6
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
7
|
+
import { IFee } from '../../interfaces/IFee';
|
|
8
|
+
import { IPayment } from '../../interfaces/IPayment';
|
|
9
|
+
import { IRemission } from '../../interfaces/IRemission';
|
|
10
|
+
import { IPaymentView } from '../../interfaces/IPaymentView';
|
|
11
|
+
import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
|
|
12
|
+
import { Router } from '@angular/router';
|
|
13
|
+
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
type PaymentLibAlias = PaymentLibComponent;
|
|
16
|
+
export declare class CaseTransactionsComponent implements OnInit {
|
|
17
|
+
private router;
|
|
18
|
+
private paymentViewService;
|
|
19
|
+
private bulkScaningPaymentService;
|
|
20
|
+
private caseTransactionsService;
|
|
21
|
+
private paymentLibComponent;
|
|
22
|
+
private OrderslistService;
|
|
23
|
+
LOGGEDINUSERROLES: string[];
|
|
24
|
+
isTakePayment: boolean;
|
|
25
|
+
isFromServiceRequestPage: boolean;
|
|
26
|
+
takePayment: boolean;
|
|
27
|
+
ccdCaseNumber: 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
|
+
isRefundRemission: boolean;
|
|
45
|
+
isStrategicFixEnable: boolean;
|
|
46
|
+
isAddFeeBtnEnabled: boolean;
|
|
47
|
+
isExceptionRecord: boolean;
|
|
48
|
+
isUnprocessedRecordSelected: boolean;
|
|
49
|
+
exceptionRecordReference: string;
|
|
50
|
+
isAnyFeeGroupAvilable: boolean;
|
|
51
|
+
isHistoricGroupAvailable: boolean;
|
|
52
|
+
isBulkScanEnable: any;
|
|
53
|
+
isRemissionsMatch: boolean;
|
|
54
|
+
viewStatus: string;
|
|
55
|
+
isRemoveBtnDisabled: boolean;
|
|
56
|
+
feeId: IFee;
|
|
57
|
+
clAmountDue: number;
|
|
58
|
+
overPaymentAmount: 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
|
+
orderDetail: any[];
|
|
68
|
+
isAddRemissionEnable: boolean;
|
|
69
|
+
orderRemissionDetails: any[];
|
|
70
|
+
orderLevelFees: IOrderReferenceFee[];
|
|
71
|
+
ispaymentGroupApisuccess: boolean;
|
|
72
|
+
cpoDetails: any[];
|
|
73
|
+
orderRef: string;
|
|
74
|
+
orderStatus: string;
|
|
75
|
+
orderParty: string;
|
|
76
|
+
orderCreated: Date;
|
|
77
|
+
orderCCDEvent: string;
|
|
78
|
+
serviceRequestValue: string;
|
|
79
|
+
orderAddBtnEnable: boolean;
|
|
80
|
+
orderFeesTotal: number;
|
|
81
|
+
orderRemissionTotal: number;
|
|
82
|
+
orderTotalPayments: number;
|
|
83
|
+
orderPendingPayments: number;
|
|
84
|
+
isCPODown: boolean;
|
|
85
|
+
test: boolean;
|
|
86
|
+
isPBA: boolean;
|
|
87
|
+
isIssueRefunfBtnEnable: boolean;
|
|
88
|
+
isAddRemissionBtnEnabled: boolean;
|
|
89
|
+
isRefundRemissionBtnEnable: boolean;
|
|
90
|
+
allowedRolesToAccessRefund: string[];
|
|
91
|
+
isEligible4PBAPayment: string[];
|
|
92
|
+
currentDate: Date;
|
|
93
|
+
navigationpage: string;
|
|
94
|
+
remissionFeeAmt: number;
|
|
95
|
+
constructor(router: Router, paymentViewService: PaymentViewService, bulkScaningPaymentService: BulkScaningPaymentService, caseTransactionsService: CaseTransactionsService, paymentLibComponent: PaymentLibAlias, OrderslistService: OrderslistService);
|
|
96
|
+
ngOnInit(): void;
|
|
97
|
+
setDefaults(): void;
|
|
98
|
+
getAllocationStatus(payments: any): any;
|
|
99
|
+
checkForExceptionRecord(): void;
|
|
100
|
+
calculateOrderFeesAmounts(): void;
|
|
101
|
+
resetOrderVariables(): void;
|
|
102
|
+
goToOrderViewDetailSection(orderReferenceObj: any): void;
|
|
103
|
+
redirectToOrderFeeSearchPage(event: any, orderef: any): void;
|
|
104
|
+
calculateAmounts(): void;
|
|
105
|
+
isThereRemissions(): boolean;
|
|
106
|
+
calculateOverpaymentBasedOnRemission(): void;
|
|
107
|
+
getOrderFeesTotalOrTotalFees(): number;
|
|
108
|
+
getNumberOfFeesPerCaseTransaction(): number;
|
|
109
|
+
calculateAmountDueTo(): void;
|
|
110
|
+
validateAmountDueTo(): void;
|
|
111
|
+
calculateOverpaymentBaseOnAcceptedRefund(): void;
|
|
112
|
+
canItCalculateAmountDueForRemission(): boolean;
|
|
113
|
+
calculateRefundAmount(): number;
|
|
114
|
+
getGroupOutstandingAmount(paymentGroup: IPaymentGroup): number;
|
|
115
|
+
redirectToFeeSearchPage(event: any): void;
|
|
116
|
+
addRemission(fee: IFee): void;
|
|
117
|
+
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
118
|
+
redirectToremissionPage(event: any): void;
|
|
119
|
+
goToServiceRequestPage(): void;
|
|
120
|
+
redirectToReportsPage(event: any): void;
|
|
121
|
+
loadFeeSummaryPage(paymentGroup: IPaymentGroup): void;
|
|
122
|
+
goToPaymentViewComponent(paymentGroup: any): void;
|
|
123
|
+
goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
124
|
+
selectedUnprocessedFeeEvent(unprocessedRecordId: string): void;
|
|
125
|
+
getUnprocessedFeeCount(unProcessedRecordCount: number): void;
|
|
126
|
+
calculateAmountDue(fee: IFee): number | "0.00";
|
|
127
|
+
confirmRemoveFee(fee: IFee): void;
|
|
128
|
+
cancelRemoval(): void;
|
|
129
|
+
removeFee(fee: any): void;
|
|
130
|
+
isCheckAmountdueExist(amountDue: any): amountDue is undefined;
|
|
131
|
+
issueRefund(payment: IPayment): void;
|
|
132
|
+
chkForAddRemission(feeCode: string): boolean;
|
|
133
|
+
chkForPBAPayment(): boolean;
|
|
134
|
+
chkIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
135
|
+
chkIsRefundRemissionBtnEnable(): boolean;
|
|
136
|
+
check4AllowedRoles2AccessRefund: () => boolean;
|
|
137
|
+
check4AllowedRoles2AccessPBApayment: () => boolean;
|
|
138
|
+
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
139
|
+
loadPBAAccountPage(orderRef: IPayment): void;
|
|
140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseTransactionsComponent, never>;
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseTransactionsComponent, "ccpay-case-transactions", never, { "LOGGEDINUSERROLES": { "alias": "LOGGEDINUSERROLES"; "required": false; }; "isTakePayment": { "alias": "isTakePayment"; "required": false; }; "isFromServiceRequestPage": { "alias": "isFromServiceRequestPage"; "required": false; }; }, {}, never, never, true, never>;
|
|
142
|
+
}
|
|
143
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
|
+
import { NotificationService } from '../../services/notification/notification.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
type PaymentLibAlias = PaymentLibComponent;
|
|
7
|
+
export declare class ContactDetailsComponent implements OnInit {
|
|
8
|
+
private formBuilder;
|
|
9
|
+
private notificationService;
|
|
10
|
+
private paymentLibComponent;
|
|
11
|
+
isEditOperation: boolean;
|
|
12
|
+
isEditOperationInRefundList: boolean;
|
|
13
|
+
addressObj: any;
|
|
14
|
+
assignContactDetails: EventEmitter<any>;
|
|
15
|
+
assignContactDetailsInFefundsList: EventEmitter<any>;
|
|
16
|
+
redirectToIssueRefund: EventEmitter<any>;
|
|
17
|
+
pageTitle: string;
|
|
18
|
+
errorMessage: string;
|
|
19
|
+
isEmailSAddressClicked: boolean;
|
|
20
|
+
isShowPickAddress: boolean;
|
|
21
|
+
isPostcodeClicked: boolean;
|
|
22
|
+
isManualAddressClicked: boolean;
|
|
23
|
+
emailAddressForm: FormGroup;
|
|
24
|
+
postCodeForm: FormGroup;
|
|
25
|
+
manualAddressForm: FormGroup;
|
|
26
|
+
addressPostcodeList: any[];
|
|
27
|
+
postcodeAddress: any;
|
|
28
|
+
isAddressBoxEmpty: boolean;
|
|
29
|
+
isEmailEmpty: boolean;
|
|
30
|
+
emailHasError: boolean;
|
|
31
|
+
isPostcodeEmpty: boolean;
|
|
32
|
+
postcodeHasError: boolean;
|
|
33
|
+
isaddressLine1Empty: boolean;
|
|
34
|
+
addressLine1HasError: boolean;
|
|
35
|
+
addressLine2HasError: boolean;
|
|
36
|
+
isTownOrCityEmpty: boolean;
|
|
37
|
+
townOrCityHasError: boolean;
|
|
38
|
+
isCountyEmpty: boolean;
|
|
39
|
+
countyHasError: boolean;
|
|
40
|
+
isMPostcodeEmpty: boolean;
|
|
41
|
+
mpostcodeHasError: boolean;
|
|
42
|
+
isCountryEmpty: boolean;
|
|
43
|
+
constructor(formBuilder: FormBuilder, notificationService: NotificationService, paymentLibComponent: PaymentLibAlias);
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
setEditDetails(): void;
|
|
46
|
+
selectContactOption(type: any, isLinkedClied: any): void;
|
|
47
|
+
finalFormSubmit(): void;
|
|
48
|
+
postcodeValidation(str: any): void;
|
|
49
|
+
redirection(event: any): void;
|
|
50
|
+
resetForm(val: any, field: any): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContactDetailsComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContactDetailsComponent, "ccpay-contact-details", never, { "isEditOperation": { "alias": "isEditOperation"; "required": false; }; "isEditOperationInRefundList": { "alias": "isEditOperationInRefundList"; "required": false; }; "addressObj": { "alias": "addressObj"; "required": false; }; }, { "assignContactDetails": "assignContactDetails"; "assignContactDetailsInFefundsList": "assignContactDetailsInFefundsList"; "redirectToIssueRefund": "redirectToIssueRefund"; }, never, never, true, never>;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ErrorBannerComponent implements OnInit {
|
|
4
|
+
errorMessage: any;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorBannerComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorBannerComponent, "ccpay-error-banner", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
3
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
4
|
+
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
5
|
+
import { IRemission } from '../../interfaces/IRemission';
|
|
6
|
+
import { IFee } from '../../interfaces/IFee';
|
|
7
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
8
|
+
import { Router } from '@angular/router';
|
|
9
|
+
import { Location } from '@angular/common';
|
|
10
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
11
|
+
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
type PaymentLibAlias = PaymentLibComponent;
|
|
14
|
+
export declare class FeeSummaryComponent implements OnInit {
|
|
15
|
+
private router;
|
|
16
|
+
private bulkScaningPaymentService;
|
|
17
|
+
private location;
|
|
18
|
+
private paymentViewService;
|
|
19
|
+
private paymentLibComponent;
|
|
20
|
+
private OrderslistService;
|
|
21
|
+
paymentGroupRef: string;
|
|
22
|
+
ccdCaseNumber: string;
|
|
23
|
+
isTurnOff: string;
|
|
24
|
+
caseType: string;
|
|
25
|
+
telephonySelectionEnable: boolean;
|
|
26
|
+
paymentMethod: string;
|
|
27
|
+
bsPaymentDcnNumber: string;
|
|
28
|
+
paymentGroup: IPaymentGroup;
|
|
29
|
+
errorMessage: string;
|
|
30
|
+
viewStatus: string;
|
|
31
|
+
currentFee: IFee;
|
|
32
|
+
totalFee: number;
|
|
33
|
+
payhubHtml: SafeHtml;
|
|
34
|
+
service: string;
|
|
35
|
+
platForm: string;
|
|
36
|
+
upPaymentErrorMessage: string;
|
|
37
|
+
selectedOption: string;
|
|
38
|
+
isBackButtonEnable: boolean;
|
|
39
|
+
outStandingAmount: number;
|
|
40
|
+
isFeeAmountZero: boolean;
|
|
41
|
+
totalAfterRemission: number;
|
|
42
|
+
isConfirmationBtnDisabled: boolean;
|
|
43
|
+
isRemoveBtnDisabled: boolean;
|
|
44
|
+
isPaymentExist: boolean;
|
|
45
|
+
isRemissionsExist: Boolean;
|
|
46
|
+
isRemissionsMatch: boolean;
|
|
47
|
+
isStrategicFixEnable: boolean;
|
|
48
|
+
constructor(router: Router, bulkScaningPaymentService: BulkScaningPaymentService, location: Location, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibAlias, OrderslistService: OrderslistService);
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
getUnassignedPaymentlist(): void;
|
|
51
|
+
getRemissionByFeeCode(feeCode: string): IRemission;
|
|
52
|
+
addRemission(fee: IFee): void;
|
|
53
|
+
getPaymentGroup(): void;
|
|
54
|
+
confirmRemoveFee(fee: IFee): void;
|
|
55
|
+
removeFee(fee: any): void;
|
|
56
|
+
loadCaseTransactionPage(): void;
|
|
57
|
+
cancelRemission(): void;
|
|
58
|
+
redirectToFeeSearchPage(event: any, page?: string): void;
|
|
59
|
+
takePayment(): void;
|
|
60
|
+
goToAllocatePage(outStandingAmount: number, isFeeAmountZero: Boolean): void;
|
|
61
|
+
isCheckAmountdueExist(amountDue: any): amountDue is undefined;
|
|
62
|
+
getAntennaValue(): string;
|
|
63
|
+
getKervValue(): string;
|
|
64
|
+
getPaymentMethod(): string;
|
|
65
|
+
setPaymentValue(value: string): void;
|
|
66
|
+
isTakePaymentButtonDisabled(): boolean;
|
|
67
|
+
isTelephonySelectionEnable(): boolean;
|
|
68
|
+
isTelephonySelectionEnableNull(): void;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeeSummaryComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FeeSummaryComponent, "ccpay-fee-summary", never, { "paymentGroupRef": { "alias": "paymentGroupRef"; "required": false; }; "ccdCaseNumber": { "alias": "ccdCaseNumber"; "required": false; }; "isTurnOff": { "alias": "isTurnOff"; "required": false; }; "caseType": { "alias": "caseType"; "required": false; }; "telephonySelectionEnable": { "alias": "telephonySelectionEnable"; "required": false; }; }, {}, never, never, false, never>;
|
|
71
|
+
}
|
|
72
|
+
export {};
|