@hmcts/ccpay-web-component 4.0.0-beta97 → 4.0.1-beta2
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 +6480 -2353
- 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 -25
- package/esm2015/lib/components/add-remission/add-remission.component.js +742 -138
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +315 -310
- package/esm2015/lib/components/card-details/card-details.component.js +22 -57
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +1081 -333
- package/esm2015/lib/components/error-banner/error-banner.component.js +5 -17
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +245 -266
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +137 -156
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +178 -178
- package/esm2015/lib/components/page-not-found.component.js +3 -4
- package/esm2015/lib/components/payment-list/payment-list.component.js +22 -80
- package/esm2015/lib/components/payment-view/payment-view.component.js +269 -127
- package/esm2015/lib/components/pba-details/pba-details.component.js +5 -39
- package/esm2015/lib/components/process-refund/process-refund.component.js +314 -0
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +72 -0
- package/esm2015/lib/components/refund-list/refund-list.component.js +140 -0
- package/esm2015/lib/components/refund-status/refund-status.component.js +487 -0
- package/esm2015/lib/components/refunds/refunds.component.js +23 -0
- package/esm2015/lib/components/reports/reports.component.js +89 -112
- package/esm2015/lib/components/status-history/status-history.component.js +28 -35
- package/esm2015/lib/components/table/table.component.js +158 -0
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +178 -88
- package/esm2015/lib/interfaces/AddRemissionRequest.js +6 -7
- package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +21 -0
- package/esm2015/lib/interfaces/AllocatePaymentRequest.js +11 -9
- package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +2 -3
- package/esm2015/lib/interfaces/IBSPayments.js +38 -35
- package/esm2015/lib/interfaces/ICardDetails.js +14 -13
- package/esm2015/lib/interfaces/IFee.js +44 -29
- package/esm2015/lib/interfaces/IOrderReferenceFee.js +25 -0
- package/esm2015/lib/interfaces/IPatchRefundAction.js +15 -0
- package/esm2015/lib/interfaces/IPayment.js +56 -55
- package/esm2015/lib/interfaces/IPaymentGroup.js +12 -11
- package/esm2015/lib/interfaces/IPaymentStatus.js +2 -3
- package/esm2015/lib/interfaces/IPaymentView.js +17 -0
- package/esm2015/lib/interfaces/IPayments.js +6 -5
- package/esm2015/lib/interfaces/IRefundAction.js +15 -0
- package/esm2015/lib/interfaces/IRefundList.js +29 -0
- package/esm2015/lib/interfaces/IRefundReasons.js +17 -0
- package/esm2015/lib/interfaces/IRefundRejectReason.js +15 -0
- package/esm2015/lib/interfaces/IRefundStatus.js +23 -0
- package/esm2015/lib/interfaces/IRemission.js +18 -17
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +21 -0
- package/esm2015/lib/interfaces/IStatusHistories.js +12 -11
- package/esm2015/lib/interfaces/IStatusHistory.js +14 -13
- package/esm2015/lib/interfaces/IssueRefundRequest.js +25 -0
- package/esm2015/lib/interfaces/PayhubAntennaRequest.js +28 -0
- package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +7 -12
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +17 -0
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +21 -0
- package/esm2015/lib/interfaces/RefundsRequest.js +21 -0
- package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +2 -3
- package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +2 -3
- package/esm2015/lib/payment-lib.component.js +112 -18
- package/esm2015/lib/payment-lib.module.js +33 -6
- package/esm2015/lib/payment-lib.service.js +18 -4
- package/esm2015/lib/pipes/capitalize.pipe.js +24 -0
- package/esm2015/lib/pipes/ccd-hyphens.pipe.js +3 -4
- package/esm2015/lib/pipes/key-value.pipe.js +3 -4
- package/esm2015/lib/pipes/sanitize-html.pipe.js +7 -5
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +52 -14
- package/esm2015/lib/services/card-details/card-details.service.js +19 -8
- package/esm2015/lib/services/case-transactions/case-transactions.service.js +19 -8
- package/esm2015/lib/services/orderslist.service.js +211 -0
- package/esm2015/lib/services/payment-list/payment-list.service.js +19 -8
- package/esm2015/lib/services/payment-view/payment-view.service.js +100 -13
- package/esm2015/lib/services/refunds/refunds.service.js +196 -0
- package/esm2015/lib/services/shared/error-handler.service.js +6 -4
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +17 -8
- package/esm2015/lib/services/shared/logger/console-logger.service.js +7 -5
- package/esm2015/lib/services/shared/logger/logger.service.js +7 -5
- package/esm2015/lib/services/status-history/status-history.service.js +19 -8
- package/esm2015/lib/services/xl-file/xl-file.service.js +57 -50
- package/esm2015/public_api.js +1 -2
- package/esm5/hmcts-ccpay-web-component.js +33 -25
- package/esm5/lib/components/add-remission/add-remission.component.js +807 -47
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +328 -107
- package/esm5/lib/components/card-details/card-details.component.js +22 -9
- package/esm5/lib/components/case-transactions/case-transactions.component.js +1183 -85
- package/esm5/lib/components/error-banner/error-banner.component.js +3 -4
- package/esm5/lib/components/fee-summary/fee-summary.component.js +252 -91
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +136 -45
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +179 -65
- package/esm5/lib/components/page-not-found.component.js +3 -4
- package/esm5/lib/components/payment-list/payment-list.component.js +21 -8
- package/esm5/lib/components/payment-view/payment-view.component.js +318 -17
- package/esm5/lib/components/pba-details/pba-details.component.js +5 -6
- package/esm5/lib/components/process-refund/process-refund.component.js +336 -0
- package/esm5/lib/components/processed-payments/processed-payments.component.js +83 -0
- package/esm5/lib/components/refund-list/refund-list.component.js +143 -0
- package/esm5/lib/components/refund-status/refund-status.component.js +545 -0
- package/esm5/lib/components/refunds/refunds.component.js +29 -0
- package/esm5/lib/components/reports/reports.component.js +92 -23
- package/esm5/lib/components/status-history/status-history.component.js +27 -9
- package/esm5/lib/components/table/table.component.js +188 -0
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +188 -24
- package/esm5/lib/interfaces/AddRemissionRequest.js +5 -6
- package/esm5/lib/interfaces/AddRetroRemissionRequest.js +19 -0
- package/esm5/lib/interfaces/AllocatePaymentRequest.js +9 -8
- package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +2 -3
- package/esm5/lib/interfaces/IBSPayments.js +38 -35
- package/esm5/lib/interfaces/ICardDetails.js +14 -13
- package/esm5/lib/interfaces/IFee.js +44 -29
- package/esm5/lib/interfaces/IOrderReferenceFee.js +25 -0
- package/esm5/lib/interfaces/IPatchRefundAction.js +15 -0
- package/esm5/lib/interfaces/IPayment.js +56 -55
- package/esm5/lib/interfaces/IPaymentGroup.js +12 -11
- package/esm5/lib/interfaces/IPaymentStatus.js +2 -3
- package/esm5/lib/interfaces/IPaymentView.js +17 -0
- package/esm5/lib/interfaces/IPayments.js +6 -5
- package/esm5/lib/interfaces/IRefundAction.js +15 -0
- package/esm5/lib/interfaces/IRefundList.js +29 -0
- package/esm5/lib/interfaces/IRefundReasons.js +17 -0
- package/esm5/lib/interfaces/IRefundRejectReason.js +15 -0
- package/esm5/lib/interfaces/IRefundStatus.js +23 -0
- package/esm5/lib/interfaces/IRemission.js +18 -17
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +19 -0
- package/esm5/lib/interfaces/IStatusHistories.js +12 -11
- package/esm5/lib/interfaces/IStatusHistory.js +14 -13
- package/esm5/lib/interfaces/IssueRefundRequest.js +22 -0
- package/esm5/lib/interfaces/PayhubAntennaRequest.js +25 -0
- package/esm5/lib/interfaces/PaymentToPayhubRequest.js +6 -10
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +16 -0
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +19 -0
- package/esm5/lib/interfaces/RefundsRequest.js +19 -0
- package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +2 -3
- package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +2 -3
- package/esm5/lib/payment-lib.component.js +84 -12
- package/esm5/lib/payment-lib.module.js +33 -6
- package/esm5/lib/payment-lib.service.js +25 -4
- package/esm5/lib/pipes/capitalize.pipe.js +32 -0
- package/esm5/lib/pipes/ccd-hyphens.pipe.js +3 -4
- package/esm5/lib/pipes/key-value.pipe.js +3 -4
- package/esm5/lib/pipes/sanitize-html.pipe.js +7 -5
- package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +61 -14
- package/esm5/lib/services/card-details/card-details.service.js +19 -8
- package/esm5/lib/services/case-transactions/case-transactions.service.js +19 -8
- package/esm5/lib/services/orderslist.service.js +276 -0
- package/esm5/lib/services/payment-list/payment-list.service.js +19 -8
- package/esm5/lib/services/payment-view/payment-view.service.js +138 -14
- package/esm5/lib/services/refunds/refunds.service.js +236 -0
- package/esm5/lib/services/shared/error-handler.service.js +6 -4
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +17 -8
- package/esm5/lib/services/shared/logger/console-logger.service.js +7 -5
- package/esm5/lib/services/shared/logger/logger.service.js +7 -5
- package/esm5/lib/services/status-history/status-history.service.js +19 -8
- package/esm5/lib/services/xl-file/xl-file.service.js +63 -50
- package/esm5/public_api.js +1 -2
- package/fesm2015/hmcts-ccpay-web-component.js +4431 -2031
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +6613 -2320
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +31 -22
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +75 -3
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +26 -9
- package/lib/components/case-transactions/case-transactions.component.d.ts +86 -4
- package/lib/components/fee-summary/fee-summary.component.d.ts +13 -2
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +2 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +4 -0
- package/lib/components/payment-view/payment-view.component.d.ts +34 -1
- package/lib/components/process-refund/process-refund.component.d.ts +46 -0
- package/lib/components/processed-payments/processed-payments.component.d.ts +14 -0
- package/lib/components/refund-list/refund-list.component.d.ts +23 -0
- package/lib/components/refund-status/refund-status.component.d.ts +66 -0
- package/lib/components/refunds/refunds.component.d.ts +5 -0
- package/lib/components/reports/reports.component.d.ts +1 -0
- package/lib/components/status-history/status-history.component.d.ts +1 -0
- package/lib/components/table/table.component.d.ts +35 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +25 -4
- package/lib/interfaces/AddRemissionRequest.d.ts +2 -2
- package/lib/interfaces/AddRetroRemissionRequest.d.ts +5 -0
- package/lib/interfaces/AllocatePaymentRequest.d.ts +16 -3
- package/lib/interfaces/IBSPayments.d.ts +1 -0
- package/lib/interfaces/IFee.d.ts +7 -0
- package/lib/interfaces/IOrderReferenceFee.d.ts +9 -0
- package/lib/interfaces/IPatchRefundAction.d.ts +4 -0
- package/lib/interfaces/IPaymentView.d.ts +5 -0
- package/lib/interfaces/IRefundAction.d.ts +4 -0
- package/lib/interfaces/IRefundList.d.ts +14 -0
- package/lib/interfaces/IRefundReasons.d.ts +5 -0
- package/lib/interfaces/IRefundRejectReason.d.ts +4 -0
- package/lib/interfaces/IRefundStatus.d.ts +8 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts +5 -0
- package/lib/interfaces/IssueRefundRequest.d.ts +6 -0
- package/lib/interfaces/PayhubAntennaRequest.d.ts +7 -0
- package/lib/interfaces/PaymentToPayhubRequest.d.ts +2 -3
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +4 -0
- package/lib/interfaces/PostRefundRetroRemission.d.ts +5 -0
- package/lib/interfaces/RefundsRequest.d.ts +5 -0
- package/lib/payment-lib.component.d.ts +28 -3
- package/lib/payment-lib.service.d.ts +3 -0
- package/lib/pipes/capitalize.pipe.d.ts +5 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +2 -0
- package/lib/services/orderslist.service.d.ts +40 -0
- package/lib/services/payment-view/payment-view.service.d.ts +17 -2
- package/lib/services/refunds/refunds.service.d.ts +30 -0
- package/lib/services/xl-file/xl-file.service.d.ts +6 -6
- package/package.json +1 -1
|
@@ -4,31 +4,103 @@ import { IFee } from '../../interfaces/IFee';
|
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
5
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
6
6
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
7
|
+
import { IPayment } from '../../interfaces/IPayment';
|
|
8
|
+
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
9
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
10
|
+
import { IRemission } from '../../interfaces/IRemission';
|
|
11
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
7
12
|
export declare class AddRemissionComponent implements OnInit {
|
|
8
13
|
private formBuilder;
|
|
9
14
|
private router;
|
|
10
15
|
private paymentViewService;
|
|
11
16
|
private paymentLibComponent;
|
|
17
|
+
private refundService;
|
|
18
|
+
private cd;
|
|
19
|
+
private OrderslistService;
|
|
12
20
|
fee: IFee;
|
|
21
|
+
payment: IPayment;
|
|
22
|
+
remission: IRemission;
|
|
13
23
|
ccdCaseNumber: string;
|
|
14
|
-
|
|
24
|
+
caseType: string;
|
|
25
|
+
viewCompStatus: string;
|
|
15
26
|
paymentGroupRef: string;
|
|
27
|
+
isTurnOff: boolean;
|
|
28
|
+
isRefundRemission: boolean;
|
|
29
|
+
isOldPcipalOff: boolean;
|
|
30
|
+
isNewPcipalOff: boolean;
|
|
31
|
+
isStrategicFixEnable: boolean;
|
|
32
|
+
orderStatus: string;
|
|
33
|
+
paidAmount: any;
|
|
34
|
+
isFromRefundListPage: boolean;
|
|
35
|
+
isFromPaymentDetailPage: boolean;
|
|
36
|
+
isFromServiceRequestPage: boolean;
|
|
16
37
|
cancelRemission: EventEmitter<void>;
|
|
38
|
+
refundListReason: EventEmitter<{
|
|
39
|
+
reason: string;
|
|
40
|
+
code: string;
|
|
41
|
+
}>;
|
|
42
|
+
refundListAmount: EventEmitter<string>;
|
|
43
|
+
refund: {
|
|
44
|
+
reason: {
|
|
45
|
+
duplicate: string;
|
|
46
|
+
humanerror: string;
|
|
47
|
+
caseWithdrawn: string;
|
|
48
|
+
other: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
17
51
|
remissionForm: FormGroup;
|
|
18
52
|
hasErrors: boolean;
|
|
19
53
|
viewStatus: string;
|
|
20
54
|
errorMessage: any;
|
|
21
55
|
option: string;
|
|
22
56
|
isConfirmationBtnDisabled: boolean;
|
|
57
|
+
bsPaymentDcnNumber: string;
|
|
58
|
+
selectedValue: string;
|
|
59
|
+
amount: any;
|
|
60
|
+
retroRemission: boolean;
|
|
61
|
+
remissionReference: string;
|
|
62
|
+
refundReference: string;
|
|
63
|
+
refundAmount: string;
|
|
64
|
+
paymentExplanationHasError: boolean;
|
|
65
|
+
refundReason: string;
|
|
66
|
+
selectedRefundReason: string;
|
|
67
|
+
refundCode: string;
|
|
68
|
+
remessionPayment: IPayment;
|
|
23
69
|
isRemissionCodeEmpty: boolean;
|
|
24
70
|
remissionCodeHasError: boolean;
|
|
25
71
|
isAmountEmpty: boolean;
|
|
72
|
+
isReasonEmpty: boolean;
|
|
26
73
|
amountHasError: boolean;
|
|
27
74
|
isRemissionLessThanFeeError: boolean;
|
|
28
|
-
|
|
75
|
+
refundHasError: boolean;
|
|
76
|
+
isPaymentSuccess: boolean;
|
|
77
|
+
isRemissionApplied: boolean;
|
|
78
|
+
remissionamt: number;
|
|
79
|
+
refundReasons: any[];
|
|
80
|
+
commonRefundReasons: any[];
|
|
81
|
+
showReasonText: boolean;
|
|
82
|
+
isRefundReasonsSelected: boolean;
|
|
83
|
+
default: string;
|
|
84
|
+
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
29
85
|
ngOnInit(): void;
|
|
30
86
|
addRemission(): void;
|
|
31
|
-
resetRemissionForm(val: any, field: any): void;
|
|
32
87
|
confirmRemission(): void;
|
|
88
|
+
resetRemissionForm(val: any, field: any): void;
|
|
89
|
+
addRemissionCode(): void;
|
|
90
|
+
gotoAddRetroRemissionCodePage(): void;
|
|
91
|
+
gotoCheckRetroRemissionPage(payment: IPayment): void;
|
|
92
|
+
gotoProcessRetroRemissionPage(): void;
|
|
93
|
+
confirmRetroRemission(): void;
|
|
94
|
+
processRefund(): void;
|
|
95
|
+
gotoIssueRefundConfirmation(payment: IPayment): void;
|
|
96
|
+
gotoIssueRefundPage(): void;
|
|
97
|
+
changeIssueRefundReason(): void;
|
|
98
|
+
confirmIssueRefund(): void;
|
|
99
|
+
confirmRetroRefund(): void;
|
|
100
|
+
selectRadioButton(key: any, value: any): void;
|
|
101
|
+
selectchange(args: any): void;
|
|
102
|
+
gotoServiceRequestPage(): void;
|
|
33
103
|
gotoCasetransationPage(): void;
|
|
104
|
+
goToServiceRequestPage(): void;
|
|
105
|
+
getFormattedCurrency(currency: number): string | number;
|
|
34
106
|
}
|
|
@@ -2,24 +2,29 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
4
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
5
|
-
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
6
5
|
import { CaseTransactionsService } from '../../services/case-transactions/case-transactions.service';
|
|
6
|
+
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
7
7
|
import { ErrorHandlerService } from '../../services/shared/error-handler.service';
|
|
8
8
|
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
9
9
|
import { IBSPayments } from '../../interfaces/IBSPayments';
|
|
10
|
-
import {
|
|
10
|
+
import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
|
|
11
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
11
12
|
export declare class AllocatePaymentsComponent implements OnInit {
|
|
12
|
-
private router;
|
|
13
13
|
private errorHandlerService;
|
|
14
|
-
private formBuilder;
|
|
15
14
|
private caseTransactionsService;
|
|
15
|
+
private formBuilder;
|
|
16
16
|
private paymentViewService;
|
|
17
17
|
private paymentLibComponent;
|
|
18
18
|
private bulkScaningPaymentService;
|
|
19
|
+
private OrderslistService;
|
|
20
|
+
isTurnOff: boolean;
|
|
21
|
+
caseType: string;
|
|
19
22
|
overUnderPaymentForm: FormGroup;
|
|
20
23
|
viewStatus: string;
|
|
21
24
|
ccdCaseNumber: string;
|
|
22
25
|
bspaymentdcn: string;
|
|
26
|
+
recordId: string;
|
|
27
|
+
feedbackUrlLabel: string;
|
|
23
28
|
unAllocatedPayment: IBSPayments;
|
|
24
29
|
siteID: string;
|
|
25
30
|
errorMessage: {
|
|
@@ -27,8 +32,8 @@ export declare class AllocatePaymentsComponent implements OnInit {
|
|
|
27
32
|
body: string;
|
|
28
33
|
showError: any;
|
|
29
34
|
};
|
|
35
|
+
paymentGroup: IPaymentGroup;
|
|
30
36
|
paymentGroups: IPaymentGroup[];
|
|
31
|
-
selectedPayment: IPaymentGroup;
|
|
32
37
|
remainingAmount: number;
|
|
33
38
|
isRemainingAmountGtZero: boolean;
|
|
34
39
|
isMoreDetailsBoxHide: boolean;
|
|
@@ -55,6 +60,8 @@ export declare class AllocatePaymentsComponent implements OnInit {
|
|
|
55
60
|
userName: string;
|
|
56
61
|
paymentSectionLabel: any;
|
|
57
62
|
paymentRef: string;
|
|
63
|
+
isStrategicFixEnable: boolean;
|
|
64
|
+
orderLevelFees: IOrderReferenceFee[];
|
|
58
65
|
reasonList: {
|
|
59
66
|
[key: string]: {
|
|
60
67
|
[key: string]: string;
|
|
@@ -73,18 +80,28 @@ export declare class AllocatePaymentsComponent implements OnInit {
|
|
|
73
80
|
other: string;
|
|
74
81
|
};
|
|
75
82
|
};
|
|
76
|
-
|
|
83
|
+
refund: {
|
|
84
|
+
reason: {
|
|
85
|
+
duplicate: string;
|
|
86
|
+
humanerror: string;
|
|
87
|
+
caseWithdrawn: string;
|
|
88
|
+
other: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
constructor(errorHandlerService: ErrorHandlerService, caseTransactionsService: CaseTransactionsService, formBuilder: FormBuilder, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, bulkScaningPaymentService: BulkScaningPaymentService, OrderslistService: OrderslistService);
|
|
77
92
|
ngOnInit(): void;
|
|
78
93
|
getGroupOutstandingAmount(paymentGroup: IPaymentGroup): number;
|
|
79
|
-
getPaymentGroupDetails(
|
|
94
|
+
getPaymentGroupDetails(): void;
|
|
95
|
+
selectedPaymentGroup(paymentGroup: IPaymentGroup): void;
|
|
80
96
|
gotoCasetransationPage(): void;
|
|
81
97
|
gotoSummaryPage(event: any): void;
|
|
82
|
-
|
|
83
|
-
cancelAllocatePayment(): void;
|
|
98
|
+
cancelAllocatePayment(event: any): void;
|
|
84
99
|
confirmAllocatePayement(): void;
|
|
85
100
|
resetForm(vals: any, field: any): void;
|
|
86
101
|
finalServiceCall(): void;
|
|
87
102
|
saveAndContinue(): void;
|
|
88
103
|
getUnassignedPayment(): void;
|
|
89
104
|
selectRadioButton(key: any, type: any): void;
|
|
105
|
+
OrderListSelectEvent(orderef: any): void;
|
|
106
|
+
redirectToOrderFeeSearchPage(): void;
|
|
90
107
|
}
|
|
@@ -3,45 +3,127 @@ import { PaymentLibComponent } from '../../payment-lib.component';
|
|
|
3
3
|
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
4
4
|
import { CaseTransactionsService } from '../../services/case-transactions/case-transactions.service';
|
|
5
5
|
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
6
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
7
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
6
8
|
import { IFee } from '../../interfaces/IFee';
|
|
7
9
|
import { IPayment } from '../../interfaces/IPayment';
|
|
8
10
|
import { IRemission } from '../../interfaces/IRemission';
|
|
11
|
+
import { IPaymentView } from '../../interfaces/IPaymentView';
|
|
12
|
+
import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
|
|
9
13
|
import { Router } from '@angular/router';
|
|
10
14
|
export declare class CaseTransactionsComponent implements OnInit {
|
|
11
15
|
private router;
|
|
16
|
+
private paymentViewService;
|
|
12
17
|
private bulkScaningPaymentService;
|
|
13
18
|
private caseTransactionsService;
|
|
14
19
|
private paymentLibComponent;
|
|
20
|
+
private OrderslistService;
|
|
21
|
+
LOGGEDINUSERROLES: string[];
|
|
15
22
|
takePayment: boolean;
|
|
23
|
+
servicerequest: string;
|
|
16
24
|
ccdCaseNumber: string;
|
|
17
|
-
|
|
25
|
+
excReference: string;
|
|
26
|
+
paymentGroups: any[];
|
|
18
27
|
payments: IPayment[];
|
|
28
|
+
nonPayments: IPayment[];
|
|
19
29
|
allPayments: IPayment[];
|
|
20
30
|
remissions: IRemission[];
|
|
21
31
|
fees: IFee[];
|
|
22
32
|
errorMessage: string;
|
|
23
33
|
totalFees: number;
|
|
24
34
|
totalPayments: number;
|
|
35
|
+
totalNonOffPayments: number;
|
|
25
36
|
totalRemissions: number;
|
|
26
37
|
selectedOption: string;
|
|
27
38
|
dcnNumber: string;
|
|
39
|
+
paymentRef: string;
|
|
40
|
+
isTurnOff: boolean;
|
|
41
|
+
isNewPcipalOff: boolean;
|
|
42
|
+
isRefundRemission: boolean;
|
|
43
|
+
isOldPcipalOff: boolean;
|
|
44
|
+
isStrategicFixEnable: boolean;
|
|
28
45
|
isAddFeeBtnEnabled: boolean;
|
|
46
|
+
isExceptionRecord: boolean;
|
|
29
47
|
isUnprocessedRecordSelected: boolean;
|
|
30
48
|
exceptionRecordReference: string;
|
|
49
|
+
isAnyFeeGroupAvilable: boolean;
|
|
50
|
+
isHistoricGroupAvailable: boolean;
|
|
51
|
+
isBulkScanEnable: any;
|
|
52
|
+
isRemissionsMatch: boolean;
|
|
53
|
+
viewStatus: string;
|
|
54
|
+
isRemoveBtnDisabled: boolean;
|
|
55
|
+
feeId: IFee;
|
|
56
|
+
clAmountDue: number;
|
|
57
|
+
unprocessedRecordCount: number;
|
|
31
58
|
isFeeRecordsExist: boolean;
|
|
32
59
|
isGrpOutstandingAmtPositive: boolean;
|
|
33
60
|
totalRefundAmount: Number;
|
|
34
|
-
|
|
35
|
-
|
|
61
|
+
caseType: String;
|
|
62
|
+
lsCcdNumber: any;
|
|
63
|
+
payment: IPayment;
|
|
64
|
+
paymentGroup: IPaymentGroup;
|
|
65
|
+
paymentView: IPaymentView;
|
|
66
|
+
orderDetail: any[];
|
|
67
|
+
isAddRemissionEnable: boolean;
|
|
68
|
+
orderRemissionDetails: any[];
|
|
69
|
+
orderLevelFees: IOrderReferenceFee[];
|
|
70
|
+
cpoDetails: any;
|
|
71
|
+
orderRef: string;
|
|
72
|
+
orderStatus: string;
|
|
73
|
+
orderParty: string;
|
|
74
|
+
orderCreated: Date;
|
|
75
|
+
orderCCDEvent: string;
|
|
76
|
+
serviceRequestValue: string;
|
|
77
|
+
orderAddBtnEnable: boolean;
|
|
78
|
+
orderFeesTotal: number;
|
|
79
|
+
orderRemissionTotal: number;
|
|
80
|
+
orderTotalPayments: number;
|
|
81
|
+
orderPendingPayments: number;
|
|
82
|
+
isCPODown: boolean;
|
|
83
|
+
test: boolean;
|
|
84
|
+
isPBA: boolean;
|
|
85
|
+
isIssueRefunfBtnEnable: boolean;
|
|
86
|
+
isAddRemissionBtnEnabled: boolean;
|
|
87
|
+
isRefundRemissionBtnEnable: boolean;
|
|
88
|
+
allowedRolesToAccessRefund: string[];
|
|
89
|
+
isEligible4PBAPayment: string[];
|
|
90
|
+
currentDate: Date;
|
|
91
|
+
isFromServiceRequestPage: boolean;
|
|
92
|
+
navigationpage: string;
|
|
93
|
+
constructor(router: Router, paymentViewService: PaymentViewService, bulkScaningPaymentService: BulkScaningPaymentService, caseTransactionsService: CaseTransactionsService, paymentLibComponent: PaymentLibComponent, OrderslistService: OrderslistService);
|
|
36
94
|
ngOnInit(): void;
|
|
37
95
|
setDefaults(): void;
|
|
38
96
|
getAllocationStatus(payments: any): any;
|
|
97
|
+
checkForExceptionRecord(): void;
|
|
98
|
+
calculateOrderFeesAmounts(): void;
|
|
99
|
+
resetOrderVariables(): void;
|
|
100
|
+
goToOrderViewDetailSection(orderReferenceObj: any): void;
|
|
101
|
+
redirectToOrderFeeSearchPage(event: any, orderef: any): void;
|
|
102
|
+
goToCaseTransationPage(event: any): void;
|
|
39
103
|
calculateAmounts(): void;
|
|
40
104
|
calculateRefundAmount(): number;
|
|
41
105
|
getGroupOutstandingAmount(paymentGroup: IPaymentGroup): number;
|
|
42
106
|
redirectToFeeSearchPage(event: any): void;
|
|
107
|
+
addRemission(fee: IFee): void;
|
|
108
|
+
addRefundForRemission(payment: IPayment, remission: IRemission[]): void;
|
|
109
|
+
redirectToremissionPage(event: any): void;
|
|
43
110
|
redirectToReportsPage(event: any): void;
|
|
44
111
|
loadFeeSummaryPage(paymentGroup: IPaymentGroup): void;
|
|
45
|
-
goToPaymentViewComponent(
|
|
112
|
+
goToPaymentViewComponent(paymentGroup: any): void;
|
|
113
|
+
goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
46
114
|
selectedUnprocessedFeeEvent(unprocessedRecordId: string): void;
|
|
115
|
+
getUnprocessedFeeCount(unProcessedRecordCount: number): void;
|
|
116
|
+
calculateAmountDue(fee: IFee): number | "0.00";
|
|
117
|
+
confirmRemoveFee(fee: IFee): void;
|
|
118
|
+
cancelRemoval(): void;
|
|
119
|
+
removeFee(fee: any): void;
|
|
120
|
+
isCheckAmountdueExist(amountDue: any): boolean;
|
|
121
|
+
issueRefund(payment: IPayment): void;
|
|
122
|
+
chkForAddRemission(feeCode: string): boolean;
|
|
123
|
+
chkForPBAPayment(): boolean;
|
|
124
|
+
chkIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
125
|
+
chkIsRefundRemissionBtnEnable(): boolean;
|
|
126
|
+
check4AllowedRoles2AccessRefund: () => boolean;
|
|
127
|
+
check4AllowedRoles2AccessPBApayment: () => boolean;
|
|
128
|
+
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
47
129
|
}
|
|
@@ -8,14 +8,20 @@ import { IFee } from '../../interfaces/IFee';
|
|
|
8
8
|
import { SafeHtml } from '@angular/platform-browser';
|
|
9
9
|
import { Router } from '@angular/router';
|
|
10
10
|
import { Location } from '@angular/common';
|
|
11
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
11
12
|
export declare class FeeSummaryComponent implements OnInit {
|
|
12
13
|
private router;
|
|
13
14
|
private bulkScaningPaymentService;
|
|
14
15
|
private location;
|
|
15
16
|
private paymentViewService;
|
|
16
17
|
private paymentLibComponent;
|
|
18
|
+
private OrderslistService;
|
|
17
19
|
paymentGroupRef: string;
|
|
18
20
|
ccdCaseNumber: string;
|
|
21
|
+
isTurnOff: string;
|
|
22
|
+
caseType: string;
|
|
23
|
+
isOldPcipalOff: string;
|
|
24
|
+
isNewPcipalOff: string;
|
|
19
25
|
bsPaymentDcnNumber: string;
|
|
20
26
|
paymentGroup: IPaymentGroup;
|
|
21
27
|
errorMessage: string;
|
|
@@ -24,6 +30,7 @@ export declare class FeeSummaryComponent implements OnInit {
|
|
|
24
30
|
totalFee: number;
|
|
25
31
|
payhubHtml: SafeHtml;
|
|
26
32
|
service: string;
|
|
33
|
+
platForm: string;
|
|
27
34
|
upPaymentErrorMessage: string;
|
|
28
35
|
selectedOption: string;
|
|
29
36
|
isBackButtonEnable: boolean;
|
|
@@ -32,7 +39,11 @@ export declare class FeeSummaryComponent implements OnInit {
|
|
|
32
39
|
totalAfterRemission: number;
|
|
33
40
|
isConfirmationBtnDisabled: boolean;
|
|
34
41
|
isRemoveBtnDisabled: boolean;
|
|
35
|
-
|
|
42
|
+
isPaymentExist: boolean;
|
|
43
|
+
isRemissionsExist: Boolean;
|
|
44
|
+
isRemissionsMatch: boolean;
|
|
45
|
+
isStrategicFixEnable: boolean;
|
|
46
|
+
constructor(router: Router, bulkScaningPaymentService: BulkScaningPaymentService, location: Location, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, OrderslistService: OrderslistService);
|
|
36
47
|
ngOnInit(): void;
|
|
37
48
|
getUnassignedPaymentlist(): void;
|
|
38
49
|
getRemissionByFeeCode(feeCode: string): IRemission;
|
|
@@ -44,6 +55,6 @@ export declare class FeeSummaryComponent implements OnInit {
|
|
|
44
55
|
cancelRemission(): void;
|
|
45
56
|
redirectToFeeSearchPage(event: any, page?: string): void;
|
|
46
57
|
takePayment(): void;
|
|
47
|
-
pcipalFormFinalSubmit(response: any): void;
|
|
48
58
|
goToAllocatePage(outStandingAmount: number, isFeeAmountZero: Boolean): void;
|
|
59
|
+
isCheckAmountdueExist(amountDue: any): boolean;
|
|
49
60
|
}
|
|
@@ -9,6 +9,7 @@ export declare class MarkUnidentifiedPaymentComponent implements OnInit {
|
|
|
9
9
|
private paymentViewService;
|
|
10
10
|
private paymentLibComponent;
|
|
11
11
|
private bulkScaningPaymentService;
|
|
12
|
+
caseType: string;
|
|
12
13
|
markPaymentUnidentifiedForm: FormGroup;
|
|
13
14
|
viewStatus: string;
|
|
14
15
|
ccdCaseNumber: string;
|
|
@@ -28,6 +29,7 @@ export declare class MarkUnidentifiedPaymentComponent implements OnInit {
|
|
|
28
29
|
isConfirmButtondisabled: Boolean;
|
|
29
30
|
ccdReference: string;
|
|
30
31
|
exceptionReference: string;
|
|
32
|
+
isStrategicFixEnable: boolean;
|
|
31
33
|
constructor(formBuilder: FormBuilder, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, bulkScaningPaymentService: BulkScaningPaymentService);
|
|
32
34
|
ngOnInit(): void;
|
|
33
35
|
getUnassignedPayment(): void;
|
|
@@ -9,6 +9,7 @@ export declare class MarkUnsolicitedPaymentComponent implements OnInit {
|
|
|
9
9
|
private paymentViewService;
|
|
10
10
|
private paymentLibComponent;
|
|
11
11
|
private bulkScaningPaymentService;
|
|
12
|
+
caseType: string;
|
|
12
13
|
markPaymentUnsolicitedForm: FormGroup;
|
|
13
14
|
viewStatus: string;
|
|
14
15
|
reasonHasError: boolean;
|
|
@@ -31,10 +32,13 @@ export declare class MarkUnsolicitedPaymentComponent implements OnInit {
|
|
|
31
32
|
responsibleOffice: string;
|
|
32
33
|
emailId: string;
|
|
33
34
|
isConfirmButtondisabled: Boolean;
|
|
35
|
+
isContinueButtondisabled: Boolean;
|
|
34
36
|
ccdReference: string;
|
|
35
37
|
exceptionReference: string;
|
|
36
38
|
selectedSiteId: string;
|
|
37
39
|
selectedSiteName: string;
|
|
40
|
+
isStrategicFixEnable: boolean;
|
|
41
|
+
siteIDList: any;
|
|
38
42
|
constructor(formBuilder: FormBuilder, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, bulkScaningPaymentService: BulkScaningPaymentService);
|
|
39
43
|
ngOnInit(): void;
|
|
40
44
|
trimUnderscore(method: string): string;
|
|
@@ -2,19 +2,52 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
3
3
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
4
|
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
5
|
+
import { IFee } from '../../interfaces/IFee';
|
|
6
|
+
import { IPayment } from '../../interfaces/IPayment';
|
|
7
|
+
import { IRemission } from '../../interfaces/IRemission';
|
|
8
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
9
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
5
10
|
export declare class PaymentViewComponent implements OnInit {
|
|
6
11
|
private paymentViewService;
|
|
7
12
|
private paymentLibComponent;
|
|
13
|
+
private cd;
|
|
14
|
+
private OrderslistService;
|
|
15
|
+
isTurnOff: boolean;
|
|
16
|
+
isTakePayment: boolean;
|
|
17
|
+
caseType: boolean;
|
|
18
|
+
isNewPcipalOff: boolean;
|
|
19
|
+
isOldPcipalOff: boolean;
|
|
20
|
+
orderRef: boolean;
|
|
21
|
+
orderStatus: boolean;
|
|
22
|
+
orderTotalPayments: boolean;
|
|
23
|
+
payment: IPayment;
|
|
24
|
+
LOGGEDINUSERROLES: string[];
|
|
8
25
|
paymentGroup: IPaymentGroup;
|
|
9
26
|
errorMessage: string;
|
|
10
27
|
ccdCaseNumber: string;
|
|
11
28
|
selectedOption: string;
|
|
12
29
|
dcnNumber: string;
|
|
13
30
|
isStatusAllocated: boolean;
|
|
14
|
-
|
|
31
|
+
isRemissionsMatch: boolean;
|
|
32
|
+
feeId: IFee;
|
|
33
|
+
viewStatus: string;
|
|
34
|
+
isRefundRemission: boolean;
|
|
35
|
+
isStrategicFixEnable: boolean;
|
|
36
|
+
isAddFeeBtnEnabled: boolean;
|
|
37
|
+
isIssueRefunfBtnEnable: boolean;
|
|
38
|
+
allowedRolesToAccessRefund: string[];
|
|
39
|
+
constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
15
40
|
ngOnInit(): void;
|
|
16
41
|
readonly isCardPayment: boolean;
|
|
17
42
|
readonly isTelephonyPayment: boolean;
|
|
18
43
|
goToPaymentList(): void;
|
|
19
44
|
goToCaseTransationPage(event: any): void;
|
|
45
|
+
addRemission(fee: IFee): void;
|
|
46
|
+
issueRefund(paymentgrp: IPaymentGroup): void;
|
|
47
|
+
getRemissionByFeeCode(feeCode: string, remissions: IRemission[]): IRemission;
|
|
48
|
+
chkIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
49
|
+
chkForPBAPayment(): boolean;
|
|
50
|
+
chkForAddRemission(feeCode: string): boolean;
|
|
51
|
+
check4AllowedRoles2AccessRefund: () => boolean;
|
|
52
|
+
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
20
53
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
4
|
+
import { IRefundAction } from '../../interfaces/IRefundAction';
|
|
5
|
+
import { IRefundList } from '../../interfaces/IRefundList';
|
|
6
|
+
import { IRefundRejectReason } from '../../interfaces/IRefundRejectReason';
|
|
7
|
+
export declare class ProcessRefundComponent implements OnInit {
|
|
8
|
+
private RefundsService;
|
|
9
|
+
private formBuilder;
|
|
10
|
+
refundReference: string;
|
|
11
|
+
refundlistsource: IRefundList;
|
|
12
|
+
processRefundForm: FormGroup;
|
|
13
|
+
errorMessage: {
|
|
14
|
+
title: string;
|
|
15
|
+
body: string;
|
|
16
|
+
showError: any;
|
|
17
|
+
};
|
|
18
|
+
sendmeback: string;
|
|
19
|
+
viewStatus: string;
|
|
20
|
+
refundActionList: IRefundAction[];
|
|
21
|
+
refundRejectReasonList: IRefundRejectReason[];
|
|
22
|
+
isSendMeBackClicked: boolean;
|
|
23
|
+
isRejectClicked: boolean;
|
|
24
|
+
isOtherClicked: boolean;
|
|
25
|
+
isSuccesspageEnable: boolean;
|
|
26
|
+
refundActionsHasError: boolean;
|
|
27
|
+
refundRejectReasonHasError: boolean;
|
|
28
|
+
isReasonFieldEmpty: boolean;
|
|
29
|
+
isReasonFieldInvalid: boolean;
|
|
30
|
+
reasonFieldMinHasError: boolean;
|
|
31
|
+
reasonFieldMaxHasError: boolean;
|
|
32
|
+
isReasonEmpty: boolean;
|
|
33
|
+
isReasonInvalid: boolean;
|
|
34
|
+
successMsg: string;
|
|
35
|
+
isConfirmButtondisabled: boolean;
|
|
36
|
+
constructor(RefundsService: RefundsService, formBuilder: FormBuilder);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
checkRefundActions(code: string): void;
|
|
39
|
+
processRefundSubmit(): void;
|
|
40
|
+
getErrorMessage(isErrorExist: any, status: any, errorMsg: any): {
|
|
41
|
+
title: string;
|
|
42
|
+
body: string;
|
|
43
|
+
showError: any;
|
|
44
|
+
};
|
|
45
|
+
resetForm(vals: any, field: any): void;
|
|
46
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
3
|
+
import { IPayment } from '../../interfaces/IPayment';
|
|
4
|
+
import { Router } from '@angular/router';
|
|
5
|
+
export declare class ProcessedPaymentsComponent implements OnInit {
|
|
6
|
+
private router;
|
|
7
|
+
private bulkScaningPaymentService;
|
|
8
|
+
NONPAYMENTS: IPayment[];
|
|
9
|
+
goToPaymentViewComponent: EventEmitter<any>;
|
|
10
|
+
constructor(router: Router, bulkScaningPaymentService: BulkScaningPaymentService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
trimUnderscore(method: string): string;
|
|
13
|
+
redirectToPaymentViewPage(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
3
|
+
import { IRefundList } from '../../interfaces/IRefundList';
|
|
4
|
+
export declare class RefundListComponent implements OnInit {
|
|
5
|
+
private refundService;
|
|
6
|
+
USERID: string;
|
|
7
|
+
LOGGEDINUSERROLES: any[];
|
|
8
|
+
LOGGEDINUSEREMAIL: string;
|
|
9
|
+
constructor(refundService: RefundsService);
|
|
10
|
+
tableApprovalHeader: string;
|
|
11
|
+
tableRejectedHeader: string;
|
|
12
|
+
submittedRefundList: IRefundList[];
|
|
13
|
+
rejectedRefundList: IRefundList[];
|
|
14
|
+
approvalStatus: string;
|
|
15
|
+
rejectStatus: string;
|
|
16
|
+
errorMessage: any;
|
|
17
|
+
isApproveTableVisible: boolean;
|
|
18
|
+
isRejectTableVisible: boolean;
|
|
19
|
+
dropdownvalue: string;
|
|
20
|
+
isAuthorized: boolean;
|
|
21
|
+
userLst: any;
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
3
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
4
|
+
import { IRefundList } from '../../interfaces/IRefundList';
|
|
5
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
6
|
+
import { Router } from '@angular/router';
|
|
7
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
8
|
+
import { IRefundStatus } from '../../interfaces/IRefundStatus';
|
|
9
|
+
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
10
|
+
export declare class RefundStatusComponent implements OnInit {
|
|
11
|
+
private formBuilder;
|
|
12
|
+
private refundService;
|
|
13
|
+
private paymentLibComponent;
|
|
14
|
+
private paymentViewService;
|
|
15
|
+
private router;
|
|
16
|
+
private OrderslistService;
|
|
17
|
+
LOGGEDINUSERROLES: string[];
|
|
18
|
+
isOldPcipalOff: boolean;
|
|
19
|
+
isNewPcipalOff: boolean;
|
|
20
|
+
ccdCaseNumber: string;
|
|
21
|
+
isTurnOff: boolean;
|
|
22
|
+
refundStatusForm: FormGroup;
|
|
23
|
+
selectedRefundReason: string;
|
|
24
|
+
rejectedRefundList: IRefundList[];
|
|
25
|
+
approvalStatus: string;
|
|
26
|
+
rejectStatus: string;
|
|
27
|
+
errorMessage: any;
|
|
28
|
+
viewName: string;
|
|
29
|
+
refundReason: string;
|
|
30
|
+
refundlist: IRefundList;
|
|
31
|
+
bsPaymentDcnNumber: string;
|
|
32
|
+
isCallFromRefundList: boolean;
|
|
33
|
+
refundButtonState: string;
|
|
34
|
+
isAmountEmpty: boolean;
|
|
35
|
+
isReasonEmpty: boolean;
|
|
36
|
+
amountHasError: boolean;
|
|
37
|
+
isRemissionLessThanFeeError: boolean;
|
|
38
|
+
refundHasError: boolean;
|
|
39
|
+
refundReasons: any[];
|
|
40
|
+
refundStatusHistories: IRefundStatus[];
|
|
41
|
+
refundReference: string;
|
|
42
|
+
refundAmount: string;
|
|
43
|
+
refundCode: string;
|
|
44
|
+
isRefundBtnDisabled: boolean;
|
|
45
|
+
oldRefundReason: string;
|
|
46
|
+
refundreason: string;
|
|
47
|
+
allowedRolesToAccessRefund: string[];
|
|
48
|
+
navigationpage: string;
|
|
49
|
+
constructor(formBuilder: FormBuilder, refundService: RefundsService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, router: Router, OrderslistService: OrderslistService);
|
|
50
|
+
ngOnInit(): void;
|
|
51
|
+
getRefundsStatusHistoryList(): void;
|
|
52
|
+
goToRefundView(refundlist: IRefundList, navigationpage: string): void;
|
|
53
|
+
loadCaseTransactionPage(): void;
|
|
54
|
+
loadRefundListPage(): void;
|
|
55
|
+
gotoReviewDetailsPage(): void;
|
|
56
|
+
gotoReviewAndReSubmitPage(): void;
|
|
57
|
+
gotoRefundReasonPage(): void;
|
|
58
|
+
gotoAmountPage(): void;
|
|
59
|
+
goToReviewAndSubmitView(): void;
|
|
60
|
+
resetRemissionForm(val: any, field: any): void;
|
|
61
|
+
selectRadioButton(key: any, value: any): void;
|
|
62
|
+
getRefundListReason(refundListReason: any): void;
|
|
63
|
+
getRefundAmount(amount: number): void;
|
|
64
|
+
gotoReviewRefundConfirmationPage(): void;
|
|
65
|
+
goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
|
|
66
|
+
}
|
|
@@ -5,6 +5,7 @@ import { PaymentLibComponent } from '../../payment-lib.component';
|
|
|
5
5
|
export declare class StatusHistoryComponent implements OnInit {
|
|
6
6
|
private statusHistoryService;
|
|
7
7
|
private paymentLibComponent;
|
|
8
|
+
isTakePayment: boolean;
|
|
8
9
|
pageTitle: string;
|
|
9
10
|
statuses: IStatusHistories;
|
|
10
11
|
errorMessage: string;
|