@hmcts/ccpay-web-component 5.0.7-beta02 → 5.0.7-beta05

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