@hmcts/ccpay-web-component 4.0.1-beta9 → 5.0.1

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 (72) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +380 -555
  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 +30 -32
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +62 -67
  7. package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +25 -12
  8. package/esm2015/lib/components/case-transactions/case-transactions.component.js +78 -90
  9. package/esm2015/lib/components/fee-summary/fee-summary.component.js +3 -3
  10. package/esm2015/lib/components/payment-view/payment-view.component.js +66 -49
  11. package/esm2015/lib/components/process-refund/process-refund.component.js +27 -15
  12. package/esm2015/lib/components/refund-list/refund-list.component.js +3 -12
  13. package/esm2015/lib/components/refund-status/refund-status.component.js +29 -27
  14. package/esm2015/lib/components/reports/reports.component.js +8 -3
  15. package/esm2015/lib/components/table/table.component.js +10 -2
  16. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +4 -4
  17. package/esm2015/lib/interfaces/IRefundReasons.js +3 -1
  18. package/esm2015/lib/payment-lib.component.js +18 -10
  19. package/esm2015/lib/payment-lib.module.js +1 -5
  20. package/esm2015/lib/services/payment-view/payment-view.service.js +2 -30
  21. package/esm2015/lib/services/refunds/refunds.service.js +17 -10
  22. package/esm2015/lib/services/shared/error-handler.service.js +20 -2
  23. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +11 -2
  24. package/esm2015/lib/services/xl-file/xl-file.service.js +2 -2
  25. package/esm5/hmcts-ccpay-web-component.js +30 -32
  26. package/esm5/lib/components/add-remission/add-remission.component.js +63 -69
  27. package/esm5/lib/components/allocate-payments/allocate-payments.component.js +25 -12
  28. package/esm5/lib/components/case-transactions/case-transactions.component.js +78 -96
  29. package/esm5/lib/components/fee-summary/fee-summary.component.js +3 -3
  30. package/esm5/lib/components/payment-view/payment-view.component.js +73 -50
  31. package/esm5/lib/components/process-refund/process-refund.component.js +30 -17
  32. package/esm5/lib/components/refund-list/refund-list.component.js +3 -12
  33. package/esm5/lib/components/refund-status/refund-status.component.js +29 -27
  34. package/esm5/lib/components/reports/reports.component.js +8 -3
  35. package/esm5/lib/components/table/table.component.js +15 -2
  36. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +4 -4
  37. package/esm5/lib/interfaces/IRefundReasons.js +3 -1
  38. package/esm5/lib/payment-lib.component.js +21 -7
  39. package/esm5/lib/payment-lib.module.js +1 -5
  40. package/esm5/lib/services/payment-view/payment-view.service.js +2 -43
  41. package/esm5/lib/services/refunds/refunds.service.js +17 -10
  42. package/esm5/lib/services/shared/error-handler.service.js +20 -2
  43. package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +11 -2
  44. package/esm5/lib/services/xl-file/xl-file.service.js +2 -2
  45. package/fesm2015/hmcts-ccpay-web-component.js +344 -509
  46. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  47. package/fesm5/hmcts-ccpay-web-component.js +363 -545
  48. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  49. package/hmcts-ccpay-web-component.d.ts +29 -31
  50. package/hmcts-ccpay-web-component.metadata.json +1 -1
  51. package/lib/components/add-remission/add-remission.component.d.ts +25 -2
  52. package/lib/components/allocate-payments/allocate-payments.component.d.ts +3 -0
  53. package/lib/components/case-transactions/case-transactions.component.d.ts +2 -6
  54. package/lib/components/payment-view/payment-view.component.d.ts +2 -0
  55. package/lib/components/process-refund/process-refund.component.d.ts +1 -1
  56. package/lib/components/table/table.component.d.ts +1 -0
  57. package/lib/interfaces/IRefundReasons.d.ts +1 -0
  58. package/lib/payment-lib.component.d.ts +4 -4
  59. package/lib/services/payment-view/payment-view.service.d.ts +0 -5
  60. package/package.json +5 -1
  61. package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -187
  62. package/esm2015/lib/components/refunds/refunds.component.js +0 -23
  63. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +0 -23
  64. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
  65. package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -204
  66. package/esm5/lib/components/refunds/refunds.component.js +0 -29
  67. package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -22
  68. package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -25
  69. package/lib/components/pba-payment/pba-payment.component.d.ts +0 -26
  70. package/lib/components/refunds/refunds.component.d.ts +0 -5
  71. package/lib/interfaces/IserviceRequestCardPayment.d.ts +0 -6
  72. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +0 -7
@@ -6,6 +6,7 @@ import { PaymentViewService } from '../../services/payment-view/payment-view.ser
6
6
  import { PaymentLibComponent } from '../../payment-lib.component';
7
7
  import { IPayment } from '../../interfaces/IPayment';
8
8
  import { RefundsService } from '../../services/refunds/refunds.service';
9
+ import { IRefundReasons } from '../../interfaces/IRefundReasons';
9
10
  import { ChangeDetectorRef } from '@angular/core';
10
11
  import { IRemission } from '../../interfaces/IRemission';
11
12
  import { OrderslistService } from '../../services/orderslist.service';
@@ -65,6 +66,7 @@ export declare class AddRemissionComponent implements OnInit {
65
66
  paymentExplanationHasError: boolean;
66
67
  refundReason: string;
67
68
  selectedRefundReason: string;
69
+ displayRefundReason: string;
68
70
  refundCode: string;
69
71
  remessionPayment: IPayment;
70
72
  isRemissionCodeEmpty: boolean;
@@ -77,12 +79,33 @@ export declare class AddRemissionComponent implements OnInit {
77
79
  isPaymentSuccess: boolean;
78
80
  isRemissionApplied: boolean;
79
81
  remissionamt: number;
80
- refundReasons: any[];
81
82
  commonRefundReasons: any[];
82
83
  showReasonText: boolean;
83
84
  isRefundReasonsSelected: boolean;
84
85
  default: string;
85
86
  reasonLength: number;
87
+ refundReasons: IRefundReasons[];
88
+ pattern1: string;
89
+ pattern2: string;
90
+ component: {
91
+ account_number: string;
92
+ amount: number;
93
+ case_reference: string;
94
+ ccd_case_number: string;
95
+ channel: string;
96
+ currency: string;
97
+ customer_reference: string;
98
+ date_created: string;
99
+ date_updated: string;
100
+ description: string;
101
+ method: string;
102
+ organisation_name: string;
103
+ payment_allocation: any[];
104
+ reference: string;
105
+ service_name: string;
106
+ site_id: string;
107
+ status: string;
108
+ };
86
109
  constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
87
110
  ngOnInit(): void;
88
111
  addRemission(): void;
@@ -103,6 +126,6 @@ export declare class AddRemissionComponent implements OnInit {
103
126
  selectchange(args: any): void;
104
127
  gotoServiceRequestPage(event: any): void;
105
128
  gotoCasetransationPage(): void;
106
- gotoCasetransationPageCancelBtnClicked(): void;
129
+ gotoCasetransationPageCancelBtnClicked(event: Event): void;
107
130
  getFormattedCurrency(currency: number): string | number;
108
131
  }
@@ -62,6 +62,9 @@ export declare class AllocatePaymentsComponent implements OnInit {
62
62
  paymentRef: string;
63
63
  isStrategicFixEnable: boolean;
64
64
  orderLevelFees: IOrderReferenceFee[];
65
+ cookieUserName: string[];
66
+ enCookieUserName: any;
67
+ userNameField: string;
65
68
  reasonList: {
66
69
  [key: string]: {
67
70
  [key: string]: string;
@@ -59,6 +59,7 @@ export declare class CaseTransactionsComponent implements OnInit {
59
59
  isGrpOutstandingAmtPositive: boolean;
60
60
  totalRefundAmount: Number;
61
61
  caseType: String;
62
+ lsCcdNumber: any;
62
63
  payment: IPayment;
63
64
  paymentGroup: IPaymentGroup;
64
65
  paymentView: IPaymentView;
@@ -66,14 +67,13 @@ export declare class CaseTransactionsComponent implements OnInit {
66
67
  isAddRemissionEnable: boolean;
67
68
  orderRemissionDetails: any[];
68
69
  orderLevelFees: IOrderReferenceFee[];
69
- ispaymentGroupApisuccess: boolean;
70
70
  cpoDetails: any;
71
71
  orderRef: string;
72
72
  orderStatus: string;
73
73
  orderParty: string;
74
74
  orderCreated: Date;
75
75
  orderCCDEvent: string;
76
- serviceRequestValue: string;
76
+ serviveRequestValue: string;
77
77
  orderAddBtnEnable: boolean;
78
78
  orderFeesTotal: number;
79
79
  orderRemissionTotal: number;
@@ -86,8 +86,6 @@ export declare class CaseTransactionsComponent implements OnInit {
86
86
  isAddRemissionBtnEnabled: boolean;
87
87
  isRefundRemissionBtnEnable: boolean;
88
88
  allowedRolesToAccessRefund: string[];
89
- isEligible4PBAPayment: string[];
90
- currentDate: Date;
91
89
  isFromServiceRequestPage: boolean;
92
90
  navigationpage: string;
93
91
  remissionFeeAmt: number;
@@ -125,7 +123,5 @@ export declare class CaseTransactionsComponent implements OnInit {
125
123
  chkIssueRefundBtnEnable(payment: IPayment): boolean;
126
124
  chkIsRefundRemissionBtnEnable(): boolean;
127
125
  check4AllowedRoles2AccessRefund: () => boolean;
128
- check4AllowedRoles2AccessPBApayment: () => boolean;
129
126
  allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
130
- loadPBAAccountPage(orderRef: IPayment): void;
131
127
  }
@@ -40,12 +40,14 @@ export declare class PaymentViewComponent implements OnInit {
40
40
  remissionFeeAmt: number;
41
41
  isRefundRemissionBtnEnable: boolean;
42
42
  constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
43
+ ngAfterContentChecked(): void;
43
44
  ngOnInit(): void;
44
45
  readonly isCardPayment: boolean;
45
46
  readonly isTelephonyPayment: boolean;
46
47
  goToPaymentList(): void;
47
48
  goToCaseTransationPage(event: any): void;
48
49
  addRemission(fee: IFee): void;
50
+ checkForFees(paymentGroup: any): boolean;
49
51
  addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
50
52
  chkIsRefundRemissionBtnEnable(): boolean;
51
53
  issueRefund(paymentgrp: IPaymentGroup): void;
@@ -42,7 +42,7 @@ export declare class ProcessRefundComponent implements OnInit {
42
42
  ngOnInit(): void;
43
43
  checkRefundActions(code: string): void;
44
44
  processRefundSubmit(): void;
45
- getErrorMessage(isErrorExist: any, status: any, errorMsg: any): {
45
+ getErrorMessage(isErrorExist: any, status: any, errorMsg: any, err: any): {
46
46
  title: string;
47
47
  body: string;
48
48
  showError: any;
@@ -32,4 +32,5 @@ export declare class TableComponent {
32
32
  selectchange(args: any): void;
33
33
  goToRefundProcessComponent(refundReference: string, refundDate: IRefundList): void;
34
34
  goToRefundViewComponent(refundReference: string, refundData: IRefundList): void;
35
+ goToCaseReview(ccdCaseNumber: string, refundData: IRefundList): void;
35
36
  }
@@ -2,4 +2,5 @@ export interface IRefundReasons {
2
2
  code: string;
3
3
  description: string;
4
4
  name: string;
5
+ recently_used: boolean;
5
6
  }
@@ -1,9 +1,9 @@
1
- import { OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { PaymentLibService } from './payment-lib.service';
3
3
  import { IBSPayments } from './interfaces/IBSPayments';
4
- import { IPayment } from './interfaces/IPayment';
5
4
  export declare class PaymentLibComponent implements OnInit {
6
5
  private paymentLibService;
6
+ private cd;
7
7
  API_ROOT: string;
8
8
  BULKSCAN_API_ROOT: string;
9
9
  REFUNDS_API_ROOT: string;
@@ -48,7 +48,7 @@ export declare class PaymentLibComponent implements OnInit {
48
48
  isFromRefundStatusPage: boolean;
49
49
  iscancelClicked: boolean;
50
50
  isFromPaymentDetailPage: boolean;
51
- pbaPayOrderRef: IPayment;
52
- constructor(paymentLibService: PaymentLibService);
51
+ constructor(paymentLibService: PaymentLibService, cd: ChangeDetectorRef);
52
+ ngAfterContentChecked(): void;
53
53
  ngOnInit(): void;
54
54
  }
@@ -15,8 +15,6 @@ import { AllocatePaymentRequest } from '../../interfaces/AllocatePaymentRequest'
15
15
  import { IAllocationPaymentsRequest } from '../../interfaces/IAllocationPaymentsRequest';
16
16
  import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
17
17
  import { BehaviorSubject } from 'rxjs';
18
- import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPayment';
19
- import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
20
18
  import { AddRetroRemissionRequest } from '../../interfaces/AddRetroRemissionRequest';
21
19
  import { PostRefundRetroRemission } from '../../interfaces/PostRefundRetroRemission';
22
20
  import { PostIssueRefundRetroRemission } from '../../interfaces/PostIssueRefundRetroRemission';
@@ -32,9 +30,6 @@ export declare class PaymentViewService {
32
30
  getPaymentDetails(paymentReference: string, paymentMethod: string): Observable<IPayment>;
33
31
  getPaymentGroupDetails(paymentGroupReference: string): Observable<IPaymentGroup>;
34
32
  getApportionPaymentDetails(paymentReference: string): Observable<IPaymentGroup>;
35
- getPBAaccountDetails(): Observable<any>;
36
- postWays2PayCardPayment(serviceRef: string, body: IserviceRequestCardPayment): Observable<any>;
37
- postPBAaccountPayment(serviceRef: string, body: IserviceRequestPbaPayment): Observable<any>;
38
33
  postBSPayments(body: AllocatePaymentRequest): Observable<any>;
39
34
  postBSUnidentifiedPayments(body: UnidentifiedPaymentsRequest): Observable<any>;
40
35
  postBSUnsolicitedPayments(body: UnsolicitedPaymentsRequest): Observable<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "4.0.1-beta9",
3
+ "version": "5.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -13,6 +13,10 @@
13
13
  "description": "Angular web component for displaying payments returned from ccpay api",
14
14
  "author": "Mateusz Swirski <mateusz.swirski@hmcts.net>",
15
15
  "contributors": [
16
+ {
17
+ "name": "Santosh Govindu",
18
+ "email": "santosh.govindu@hmcts.net"
19
+ },
16
20
  {
17
21
  "name": "Tarun Palisetty",
18
22
  "email": "tarun.palisetty@hmcts.net"
@@ -1,187 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import { Component, Input } from '@angular/core';
6
- import { PaymentViewService } from '../../services/payment-view/payment-view.service';
7
- import { PaymentLibComponent } from '../../payment-lib.component';
8
- import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
9
- import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPayment';
10
- /** @type {?} */
11
- const BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
12
- export class PbaPaymentComponent {
13
- /**
14
- * @param {?} paymentLibComponent
15
- * @param {?} paymentViewService
16
- */
17
- constructor(paymentLibComponent, paymentViewService) {
18
- this.paymentLibComponent = paymentLibComponent;
19
- this.paymentViewService = paymentViewService;
20
- this.isInSufficiantFund = false;
21
- this.isPBAAccountNotExist = false;
22
- this.isPBAServerError = false;
23
- this.isGetPBAAccountSucceed = false;
24
- this.selectedPbaAccount = '';
25
- this.pbaAccountRef = '';
26
- this.isContinueButtondisabled = true;
27
- this.isPBAAccountPaymentSuccess = false;
28
- }
29
- /**
30
- * @return {?}
31
- */
32
- ngOnInit() {
33
- this.pbaPayOrderRef = this.paymentLibComponent.pbaPayOrderRef;
34
- this.viewStatus = 'pba-payment';
35
- this.errorMsg = null;
36
- this.paymentViewService.getPBAaccountDetails()
37
- .subscribe((/**
38
- * @param {?} result
39
- * @return {?}
40
- */
41
- result => {
42
- this.isGetPBAAccountSucceed = true;
43
- this.pbaAccountList = result.organisationEntityResponse.paymentAccount;
44
- }), (/**
45
- * @param {?} error
46
- * @return {?}
47
- */
48
- error => {
49
- this.errorMsg = error;
50
- }));
51
- }
52
- /**
53
- * @param {?} args
54
- * @return {?}
55
- */
56
- selectpbaaccount(args) {
57
- if (args.currentTarget.id === 'pbaAccountNumber') {
58
- this.selectedPbaAccount = args.target.value;
59
- }
60
- if (args.currentTarget.id === 'pbaAccountRef') {
61
- this.pbaAccountRef = args.target.value;
62
- }
63
- if (this.selectedPbaAccount !== '' && this.pbaAccountRef !== "") {
64
- this.isContinueButtondisabled = false;
65
- }
66
- else {
67
- this.isContinueButtondisabled = true;
68
- }
69
- }
70
- /**
71
- * @return {?}
72
- */
73
- saveAndContinue() {
74
- this.isInSufficiantFund = false;
75
- this.isPBAAccountNotExist = false;
76
- this.isPBAServerError = false;
77
- this.isPBAAccountPaymentSuccess = false;
78
- /** @type {?} */
79
- const requestBody = new IserviceRequestPbaPayment(this.selectedPbaAccount, this.pbaPayOrderRef.orderTotalFees, this.pbaAccountRef);
80
- this.paymentViewService.postPBAaccountPayment(this.pbaPayOrderRef.orderRefId, requestBody)
81
- .subscribe((/**
82
- * @param {?} r
83
- * @return {?}
84
- */
85
- r => {
86
- this.pbaAccountrPaymentResult = JSON.parse(r).data;
87
- this.isPBAAccountPaymentSuccess = true;
88
- }), (/**
89
- * @param {?} e
90
- * @return {?}
91
- */
92
- e => {
93
- if (e.status == '403') {
94
- this.isInSufficiantFund = true;
95
- }
96
- else if (e.status == '404') {
97
- this.isPBAAccountNotExist = true;
98
- }
99
- else {
100
- this.isPBAServerError = true;
101
- }
102
- }));
103
- }
104
- /**
105
- * @return {?}
106
- */
107
- cardPayment() {
108
- /** @type {?} */
109
- const requestBody = new IserviceRequestCardPayment(this.pbaPayOrderRef.orderTotalFees);
110
- this.paymentViewService.postWays2PayCardPayment(this.pbaPayOrderRef.orderRefId, requestBody)
111
- .subscribe((/**
112
- * @param {?} result
113
- * @return {?}
114
- */
115
- result => {
116
- }), (/**
117
- * @param {?} error
118
- * @return {?}
119
- */
120
- error => {
121
- this.errorMsg = error;
122
- }));
123
- }
124
- /**
125
- * @return {?}
126
- */
127
- gotoCasetransationPage() {
128
- this.paymentLibComponent.viewName = 'case-transactions';
129
- this.paymentLibComponent.TAKEPAYMENT = false;
130
- this.paymentLibComponent.ISBSENABLE = true;
131
- this.paymentLibComponent.isFromServiceRequestPage = true;
132
- }
133
- }
134
- PbaPaymentComponent.decorators = [
135
- { type: Component, args: [{
136
- selector: 'ccpay-pba-payment',
137
- template: "<ng-container *ngIf=\"viewStatus === 'pba-payment'\">\n <div class=\"pba-payment\" *ngIf=\"(pbaAccountList?.length > 0 || errorMsg) && !isInSufficiantFund && !isPBAAccountNotExist && !isPBAServerError && !isPBAAccountPaymentSuccess\">\n <div *ngIf=\"errorMsg\" class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\" >\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account cannot be found.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you know your organisation has a PBA, try again.\n </li>\n <li class=\"pba-payments-error-16-font\">\n You can also <a href=\"javascript:void(0)\" (click)=\"cardPayment()\">pay by credit or debit card</a>.\n </li>\n </ul>\n </div>\n </div>\n <h1 class=\"heading-medium\">Pay fee using Payment by Account (PBA)</h1>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\">\n Amount to pay \n </label>\n <span class=\"pba-payments-19-font\">\u00A3{{pbaPayOrderRef.orderTotalFees}}</span>\n </div>\n\n <div class=\"govuk-form-group pba-payments-select-box--size\" *ngIf=\"!errorMsg\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\" for=\"pbaAccountNumber\">\n Select a PBA \n </label>\n <select class=\"form-control short-input\" id=\"pbaAccountNumber\" (change)=\"selectpbaaccount($event)\">\n <option value=\"\" selected='selected'>Select option</option>\n <option *ngFor=\"let pbaAccount of pbaAccountList;\" value=\"{{pbaAccount}}\">{{pbaAccount}}</option>\n </select>\n </div>\n <div class=\"govuk-form-group\" *ngIf=\"!errorMsg && selectedPbaAccount\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-24-font\" for=\"pbaAccountNumber\">\n Enter a reference for your PBA account statements \n </label>\n <div id=\"event-name-hint\" class=\"govuk-hint pba-payments-19-font\">\n This should be your own unique reference to identify the case. It will appear on your statements.\n </div>\n <input class=\"govuk-input pba-payments-ref-box--size\" id=\"pbaAccountRef\" (change)=\"selectpbaaccount($event)\" name=\"pbaAccountRef\" type=\"text\" aria-describedby=\"pbaAccountRef-hint\">\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"button\" *ngIf=\"errorMsg\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n Return to Service Request\n </button>\n <button type=\"submit\" [disabled]=\"isContinueButtondisabled\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"saveAndContinue()\">\n Continue\n </button>\n </div>\n\n </div>\n<ng-container *ngIf=\"pbaAccountList?.length <= 0 && !errorMsg && isGetPBAAccountSucceed\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">Warning</span>\n <h2 class=\"warning-heading-m\">You don\u2019t have a registered PBA.</h2>\n </strong>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Pay by credit or debit card</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n We recommend that you apply to get a new PBA to pay for fees.\n </p>\n <p class=\"govuk-bod ypba-payments-19-font\">\n you can also pay by credit or debit card if you need to pay now\n </p>\n <p class=\"govuk-body\">\n <button type=\"submit\" (click)=\"cardPayment()\" class=\"button pba-payments-19-font pba-payments-20-margin\">\n Pay by card\n </button>\n </p>\n \n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Register an existing PBA with MyHMCTS</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You may find it easier in future to pay by PBA, your organisation administrator will need to \n email <a href=\"mailto: MyHMCTSsupport@justice.gov.uk\">MyHMCTSsupport@justice.gov.uk</a> to ask for your PBA to be registered with your \n MyHMCTS account. You should include your organisation name and PBA number.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n It can then take up to 3 days for your account to be updated. You\u2019ll need to start your claim \n again to pay the fee.\n </p>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Apply to get a new PBA </h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You\u2019ll need to provide details for you and your organisation, including the required credit\n limit for your account.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Once your account has been registered, you\u2019ll need to start your claim again to pay the fee.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Read more information on <a target=\"_blank\" href=\"https://www.gov.uk/guidance/hmcts-payment-by-account-for-online-services\">registering for PBA</a>.\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isInSufficiantFund\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n You don't have enough funds in your PBA account to pay for this fee or your PBA account has been put on hold.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you have already topped up your PBA account, wait up to 24 hours for the new balance to become available.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a>or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also <a href=\"javascript:void(0)\" (click)=\"cardPayment()\" >pay by credit or debit card</a>.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\" >View service requests</a>\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAAccountNotExist\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account ({{selectedPbaAccount}}) no longer exists.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a>or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also <a href=\"javascript:void(0)\" (click)=\"cardPayment()\" >pay by credit or debit card</a>.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAServerError\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"pba-payments-heading-lg\">Sorry, there is a problem with the service</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Try again later.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also <a href=\"javascript:void(0)\" (click)=\"cardPayment()\" >pay by credit or debit card</a>.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isPBAAccountPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-panel govuk-panel--confirmation pba-payments--confirmation\">\n <h1 class=\"govuk-panel__title pba-payments--title\">\n Payment successful\n </h1>\n <div class=\"govuk-panel__body pba-payments__body\">\n Your payment reference is <br><strong>{{pbaAccountrPaymentResult.payment_reference}}</strong>\n </div>\n </div>\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </main>\n </div>\n</ng-container>\n</ng-container>\n\n\n\n",
138
- styles: [".pba-payments-govuk__label{font-weight:700;line-height:1.31578947}.pba-payments-19-font{font-size:19px}.pba-payments-24-font{font-size:24px}.pba-payments-20-margin{margin-bottom:20px}.pba-payments-select-box--size{width:40%}.pba-payments-error-box--size{width:80%}.pba-payments-ref-box--size{width:60%}.pba-payments-error-16-font{font-size:16px;line-height:34px}.pba-payments-margin-10{margin-right:10px}.pba-payments-margin-top-10{margin-top:15px}.pba-payments-heading-lg{font-size:40px;font-weight:700;line-height:72px}.pba-payments--confirmation{background:#00703c!important}.pba-payments__body{font-size:36px!important}.pba-payments--title{font-size:48px!important}.warning-heading-m{font-size:29px;font-weight:700}"]
139
- }] }
140
- ];
141
- /** @nocollapse */
142
- PbaPaymentComponent.ctorParameters = () => [
143
- { type: PaymentLibComponent },
144
- { type: PaymentViewService }
145
- ];
146
- PbaPaymentComponent.propDecorators = {
147
- pbaPayOrderRef: [{ type: Input }]
148
- };
149
- if (false) {
150
- /** @type {?} */
151
- PbaPaymentComponent.prototype.pbaPayOrderRef;
152
- /** @type {?} */
153
- PbaPaymentComponent.prototype.viewStatus;
154
- /** @type {?} */
155
- PbaPaymentComponent.prototype.pbaAccountList;
156
- /** @type {?} */
157
- PbaPaymentComponent.prototype.errorMsg;
158
- /** @type {?} */
159
- PbaPaymentComponent.prototype.isInSufficiantFund;
160
- /** @type {?} */
161
- PbaPaymentComponent.prototype.isPBAAccountNotExist;
162
- /** @type {?} */
163
- PbaPaymentComponent.prototype.isPBAServerError;
164
- /** @type {?} */
165
- PbaPaymentComponent.prototype.isGetPBAAccountSucceed;
166
- /** @type {?} */
167
- PbaPaymentComponent.prototype.selectedPbaAccount;
168
- /** @type {?} */
169
- PbaPaymentComponent.prototype.pbaAccountRef;
170
- /** @type {?} */
171
- PbaPaymentComponent.prototype.isContinueButtondisabled;
172
- /** @type {?} */
173
- PbaPaymentComponent.prototype.isPBAAccountPaymentSuccess;
174
- /** @type {?} */
175
- PbaPaymentComponent.prototype.pbaAccountrPaymentResult;
176
- /**
177
- * @type {?}
178
- * @private
179
- */
180
- PbaPaymentComponent.prototype.paymentLibComponent;
181
- /**
182
- * @type {?}
183
- * @private
184
- */
185
- PbaPaymentComponent.prototype.paymentViewService;
186
- }
187
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLXBheW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9wYmEtcGF5bWVudC9wYmEtcGF5bWVudC5jb21wb25lbnQudHMiXSwibmFtZX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pb25QYWdlKCkge1xuICAgIHRoaXMucGF5bWVudExpYkNvbXBvbmVudC52aWV3TmFtZSA9ICdjYXNlLXRyYW5zYWN0aW9ucyc7XG4gICAgdGhpcy5wYXltZW50TGliQ29tcG9uZW50LlRBS0VQQVlNRU5UID0gZmFsc2U7XG4gICAgdGhpcy5wYXltZW50TGliQ29tcG9uZW50LklTQlNFTkFCTEUgPSB0cnVlO1xuICAgIHRoaXMucGF5bWVudExpYkNvbXBvbmVudC5pc0Zyb21TZXJ2aWNlUmVxdWVzdFBhZ2UgPSB0cnVlO1xuICB9XG59XG4iXX0=
@@ -1,23 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import { Component } from '@angular/core';
6
- export class RefundsComponent {
7
- constructor() { }
8
- /**
9
- * @return {?}
10
- */
11
- ngOnInit() {
12
- }
13
- }
14
- RefundsComponent.decorators = [
15
- { type: Component, args: [{
16
- selector: 'ccpay-refunds',
17
- template: "<main class=\"govuk-main-wrapper \" id=\"main-content\" role=\"main\" style=\"padding-top: 25px;\">\n <div style=\"min-width: 960px; max-width: 1860px; margin: 0 30px;\">\n <h1 class=\"govuk-heading-l\">Process refund</h1>\n <h2 class=\"govuk-heading-m\">#4692-3164-5845-4819</h2>\n <br>\n\n <div class=\"govuk-form-group\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--l\" for=\"event-name\">\n Enter help with fees or remission reference\n </label>\n </h1>\n\n <div id=\"event-name-hint\" class=\"govuk-hint\">\n For example: HWF-A1B-23C\n </div>\n \n <input class=\"govuk-input govuk-input--width-10\" id=\"event-name\" name=\"event-name\" type=\"text\" aria-describedby=\"event-name-hint\">\n </div>\n \n \n \n <div class=\"govuk-button-group\">\n \n \n \n \n \n \n \n \n <a href=\"reason\" role=\"button\" draggable=\"false\" class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n Previous\n </a>\n \n \n \n \n \n \n \n <a href=\"transaction\" role=\"button\" draggable=\"false\" class=\"govuk-button\" data-module=\"govuk-button\">\n Continue\n </a>\n \n </div>\n \n <p>\n <a href=\"../v1paymenthistory\">Cancel</a>\n </p>\n <br>\n <br>\n </div>\n </main>",
18
- styles: [""]
19
- }] }
20
- ];
21
- /** @nocollapse */
22
- RefundsComponent.ctorParameters = () => [];
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmdW5kcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvY2NwYXktd2ViLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3JlZnVuZHMvcmVmdW5kcy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFPbEQsTUFBTSxPQUFPLGdCQUFnQjtJQUUzQixnQkFBZ0IsQ0FBQzs7OztJQUVqQixRQUFRO0lBQ1IsQ0FBQzs7O1lBVkYsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxlQUFlO2dCQUN6QixzM0NBQXVDOzthQUV4QyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2NjcGF5LXJlZnVuZHMnLFxuICB0ZW1wbGF0ZVVybDogJy4vcmVmdW5kcy5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL3JlZnVuZHMuY29tcG9uZW50LmNzcyddXG59KVxuZXhwb3J0IGNsYXNzIFJlZnVuZHNDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgbmdPbkluaXQoKSB7XG4gIH1cblxufVxuIl19
@@ -1,23 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- export class IserviceRequestCardPayment {
6
- /**
7
- * @param {?} amount
8
- */
9
- constructor(amount) {
10
- this.amount = amount;
11
- this.currency = 'GBP';
12
- this.language = 'EN';
13
- }
14
- }
15
- if (false) {
16
- /** @type {?} */
17
- IserviceRequestCardPayment.prototype.amount;
18
- /** @type {?} */
19
- IserviceRequestCardPayment.prototype.currency;
20
- /** @type {?} */
21
- IserviceRequestCardPayment.prototype.language;
22
- }
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSXNlcnZpY2VSZXF1ZXN0Q2FyZFBheW1lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvY2NwYXktd2ViLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbImxpYi9pbnRlcmZhY2VzL0lzZXJ2aWNlUmVxdWVzdENhcmRQYXltZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxNQUFNLE9BQU8sMEJBQTBCOzs7O0lBS25DLFlBQVksTUFBZTtRQUN2QixJQUFJLENBQUMsTUFBTSxHQUFHLE1BQU0sQ0FBQztRQUNyQixJQUFJLENBQUMsUUFBUSxHQUFHLEtBQUssQ0FBQztRQUN0QixJQUFJLENBQUMsUUFBUSxHQUFHLElBQUksQ0FBQztJQUN6QixDQUFDO0NBQ0o7OztJQVRHLDRDQUFjOztJQUNkLDhDQUFnQjs7SUFDaEIsOENBQWdCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIElzZXJ2aWNlUmVxdWVzdENhcmRQYXltZW50IHtcbiAgICBhbW91bnQ6IHN0cmluZ1xuICAgIGN1cnJlbmN5OiBzdHJpbmdcbiAgICBsYW5ndWFnZTogc3RyaW5nXG4gICAgXG4gICAgY29uc3RydWN0b3IoYW1vdW50IDogc3RyaW5nKSB7XG4gICAgICAgIHRoaXMuYW1vdW50ID0gYW1vdW50O1xuICAgICAgICB0aGlzLmN1cnJlbmN5ID0gJ0dCUCc7XG4gICAgICAgIHRoaXMubGFuZ3VhZ2UgPSAnRU4nO1xuICAgIH0gXG59XG4gICAgIl19
@@ -1,28 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- export class IserviceRequestPbaPayment {
6
- /**
7
- * @param {?} account_number
8
- * @param {?} amount
9
- * @param {?} customer_reference
10
- */
11
- constructor(account_number, amount, customer_reference) {
12
- this.account_number = account_number;
13
- this.amount = amount;
14
- this.currency = 'GBP';
15
- this.customer_reference = customer_reference;
16
- }
17
- }
18
- if (false) {
19
- /** @type {?} */
20
- IserviceRequestPbaPayment.prototype.account_number;
21
- /** @type {?} */
22
- IserviceRequestPbaPayment.prototype.amount;
23
- /** @type {?} */
24
- IserviceRequestPbaPayment.prototype.currency;
25
- /** @type {?} */
26
- IserviceRequestPbaPayment.prototype.customer_reference;
27
- }
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSXNlcnZpY2VSZXF1ZXN0UGJhUGF5bWVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2ludGVyZmFjZXMvSXNlcnZpY2VSZXF1ZXN0UGJhUGF5bWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsTUFBTSxPQUFPLHlCQUF5Qjs7Ozs7O0lBTWxDLFlBQVksY0FBdUIsRUFBRyxNQUFlLEVBQUUsa0JBQTBCO1FBQzdFLElBQUksQ0FBQyxjQUFjLEdBQUcsY0F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