@hmcts/ccpay-web-component 5.0.8-beta05 → 5.0.10

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 (168) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +5630 -8226
  2. package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
  3. package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -15
  4. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-ccpay-web-component.js +2 -3
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +3 -4
  7. package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +3 -4
  8. package/esm2015/lib/components/card-details/card-details.component.js +2 -3
  9. package/esm2015/lib/components/case-transactions/case-transactions.component.js +3 -4
  10. package/esm2015/lib/components/error-banner/error-banner.component.js +2 -3
  11. package/esm2015/lib/components/fee-summary/fee-summary.component.js +3 -4
  12. package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +3 -4
  13. package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +3 -4
  14. package/esm2015/lib/components/page-not-found.component.js +2 -3
  15. package/esm2015/lib/components/payment-list/payment-list.component.js +2 -3
  16. package/esm2015/lib/components/payment-view/payment-view.component.js +3 -4
  17. package/esm2015/lib/components/pba-details/pba-details.component.js +2 -3
  18. package/esm2015/lib/components/pba-payment/pba-payment.component.js +2 -3
  19. package/esm2015/lib/components/process-refund/process-refund.component.js +2 -3
  20. package/esm2015/lib/components/processed-payments/processed-payments.component.js +2 -3
  21. package/esm2015/lib/components/refund-list/refund-list.component.js +2 -3
  22. package/esm2015/lib/components/refund-status/refund-status.component.js +2 -3
  23. package/esm2015/lib/components/reports/reports.component.js +3 -4
  24. package/esm2015/lib/components/service-request/service-request.component.js +2 -3
  25. package/esm2015/lib/components/status-history/status-history.component.js +2 -3
  26. package/esm2015/lib/components/table/table.component.js +4 -5
  27. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +3 -4
  28. package/esm2015/lib/interfaces/AddRemissionRequest.js +2 -3
  29. package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +2 -3
  30. package/esm2015/lib/interfaces/AllocatePaymentRequest.js +2 -3
  31. package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +2 -3
  32. package/esm2015/lib/interfaces/IBSPayments.js +2 -3
  33. package/esm2015/lib/interfaces/ICardDetails.js +2 -3
  34. package/esm2015/lib/interfaces/IFee.js +2 -3
  35. package/esm2015/lib/interfaces/IOrderReferenceFee.js +2 -3
  36. package/esm2015/lib/interfaces/IPatchRefundAction.js +2 -3
  37. package/esm2015/lib/interfaces/IPayment.js +2 -3
  38. package/esm2015/lib/interfaces/IPaymentFailure.js +2 -3
  39. package/esm2015/lib/interfaces/IPaymentGroup.js +2 -3
  40. package/esm2015/lib/interfaces/IPaymentStatus.js +2 -3
  41. package/esm2015/lib/interfaces/IPaymentView.js +2 -3
  42. package/esm2015/lib/interfaces/IPayments.js +2 -3
  43. package/esm2015/lib/interfaces/IRefundAction.js +2 -3
  44. package/esm2015/lib/interfaces/IRefundList.js +2 -3
  45. package/esm2015/lib/interfaces/IRefundReasons.js +2 -3
  46. package/esm2015/lib/interfaces/IRefundRejectReason.js +2 -3
  47. package/esm2015/lib/interfaces/IRefundStatus.js +2 -3
  48. package/esm2015/lib/interfaces/IRefundStatusHistory.js +2 -3
  49. package/esm2015/lib/interfaces/IRemission.js +2 -3
  50. package/esm2015/lib/interfaces/IResubmitRefundRequest.js +2 -3
  51. package/esm2015/lib/interfaces/IStatusHistories.js +2 -3
  52. package/esm2015/lib/interfaces/IStatusHistory.js +2 -3
  53. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +2 -3
  54. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +2 -3
  55. package/esm2015/lib/interfaces/IssueRefundRequest.js +2 -3
  56. package/esm2015/lib/interfaces/PayhubAntennaRequest.js +2 -3
  57. package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +2 -3
  58. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +2 -3
  59. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +2 -3
  60. package/esm2015/lib/interfaces/RefundsRequest.js +2 -3
  61. package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +2 -3
  62. package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +2 -3
  63. package/esm2015/lib/payment-lib.component.js +2 -3
  64. package/esm2015/lib/payment-lib.module.js +2 -3
  65. package/esm2015/lib/payment-lib.service.js +3 -4
  66. package/esm2015/lib/pipes/capitalize.pipe.js +2 -3
  67. package/esm2015/lib/pipes/ccd-hyphens.pipe.js +2 -3
  68. package/esm2015/lib/pipes/key-value.pipe.js +2 -3
  69. package/esm2015/lib/pipes/sanitize-html.pipe.js +2 -3
  70. package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +3 -4
  71. package/esm2015/lib/services/card-details/card-details.service.js +3 -4
  72. package/esm2015/lib/services/case-transactions/case-transactions.service.js +3 -4
  73. package/esm2015/lib/services/orderslist.service.js +3 -4
  74. package/esm2015/lib/services/payment-list/payment-list.service.js +3 -4
  75. package/esm2015/lib/services/payment-view/payment-view.service.js +3 -4
  76. package/esm2015/lib/services/refunds/refunds.service.js +3 -4
  77. package/esm2015/lib/services/shared/error-handler.service.js +3 -4
  78. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +2 -3
  79. package/esm2015/lib/services/shared/logger/console-logger.service.js +3 -4
  80. package/esm2015/lib/services/shared/logger/logger.service.js +3 -4
  81. package/esm2015/lib/services/status-history/status-history.service.js +3 -4
  82. package/esm2015/lib/services/xl-file/xl-file.service.js +2 -3
  83. package/esm2015/public_api.js +2 -3
  84. package/esm5/hmcts-ccpay-web-component.js +2 -3
  85. package/esm5/lib/components/add-remission/add-remission.component.js +3 -4
  86. package/esm5/lib/components/allocate-payments/allocate-payments.component.js +3 -4
  87. package/esm5/lib/components/card-details/card-details.component.js +2 -3
  88. package/esm5/lib/components/case-transactions/case-transactions.component.js +3 -4
  89. package/esm5/lib/components/error-banner/error-banner.component.js +2 -3
  90. package/esm5/lib/components/fee-summary/fee-summary.component.js +3 -4
  91. package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +3 -4
  92. package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +3 -4
  93. package/esm5/lib/components/page-not-found.component.js +2 -3
  94. package/esm5/lib/components/payment-list/payment-list.component.js +2 -3
  95. package/esm5/lib/components/payment-view/payment-view.component.js +3 -4
  96. package/esm5/lib/components/pba-details/pba-details.component.js +2 -3
  97. package/esm5/lib/components/pba-payment/pba-payment.component.js +2 -3
  98. package/esm5/lib/components/process-refund/process-refund.component.js +2 -3
  99. package/esm5/lib/components/processed-payments/processed-payments.component.js +2 -3
  100. package/esm5/lib/components/refund-list/refund-list.component.js +2 -3
  101. package/esm5/lib/components/refund-status/refund-status.component.js +2 -3
  102. package/esm5/lib/components/reports/reports.component.js +3 -4
  103. package/esm5/lib/components/service-request/service-request.component.js +2 -3
  104. package/esm5/lib/components/status-history/status-history.component.js +2 -3
  105. package/esm5/lib/components/table/table.component.js +4 -5
  106. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +3 -4
  107. package/esm5/lib/interfaces/AddRemissionRequest.js +2 -3
  108. package/esm5/lib/interfaces/AddRetroRemissionRequest.js +2 -3
  109. package/esm5/lib/interfaces/AllocatePaymentRequest.js +2 -3
  110. package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +2 -3
  111. package/esm5/lib/interfaces/IBSPayments.js +2 -3
  112. package/esm5/lib/interfaces/ICardDetails.js +2 -3
  113. package/esm5/lib/interfaces/IFee.js +2 -3
  114. package/esm5/lib/interfaces/IOrderReferenceFee.js +2 -3
  115. package/esm5/lib/interfaces/IPatchRefundAction.js +2 -3
  116. package/esm5/lib/interfaces/IPayment.js +2 -3
  117. package/esm5/lib/interfaces/IPaymentFailure.js +2 -3
  118. package/esm5/lib/interfaces/IPaymentGroup.js +2 -3
  119. package/esm5/lib/interfaces/IPaymentStatus.js +2 -3
  120. package/esm5/lib/interfaces/IPaymentView.js +2 -3
  121. package/esm5/lib/interfaces/IPayments.js +2 -3
  122. package/esm5/lib/interfaces/IRefundAction.js +2 -3
  123. package/esm5/lib/interfaces/IRefundList.js +2 -3
  124. package/esm5/lib/interfaces/IRefundReasons.js +2 -3
  125. package/esm5/lib/interfaces/IRefundRejectReason.js +2 -3
  126. package/esm5/lib/interfaces/IRefundStatus.js +2 -3
  127. package/esm5/lib/interfaces/IRefundStatusHistory.js +2 -3
  128. package/esm5/lib/interfaces/IRemission.js +2 -3
  129. package/esm5/lib/interfaces/IResubmitRefundRequest.js +2 -3
  130. package/esm5/lib/interfaces/IStatusHistories.js +2 -3
  131. package/esm5/lib/interfaces/IStatusHistory.js +2 -3
  132. package/esm5/lib/interfaces/IserviceRequestCardPayment.js +2 -3
  133. package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +2 -3
  134. package/esm5/lib/interfaces/IssueRefundRequest.js +2 -3
  135. package/esm5/lib/interfaces/PayhubAntennaRequest.js +2 -3
  136. package/esm5/lib/interfaces/PaymentToPayhubRequest.js +2 -3
  137. package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +2 -3
  138. package/esm5/lib/interfaces/PostRefundRetroRemission.js +2 -3
  139. package/esm5/lib/interfaces/RefundsRequest.js +2 -3
  140. package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +2 -3
  141. package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +2 -3
  142. package/esm5/lib/payment-lib.component.js +2 -3
  143. package/esm5/lib/payment-lib.module.js +2 -3
  144. package/esm5/lib/payment-lib.service.js +3 -4
  145. package/esm5/lib/pipes/capitalize.pipe.js +2 -3
  146. package/esm5/lib/pipes/ccd-hyphens.pipe.js +2 -3
  147. package/esm5/lib/pipes/key-value.pipe.js +2 -3
  148. package/esm5/lib/pipes/sanitize-html.pipe.js +2 -3
  149. package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +3 -4
  150. package/esm5/lib/services/card-details/card-details.service.js +3 -4
  151. package/esm5/lib/services/case-transactions/case-transactions.service.js +3 -4
  152. package/esm5/lib/services/orderslist.service.js +3 -4
  153. package/esm5/lib/services/payment-list/payment-list.service.js +3 -4
  154. package/esm5/lib/services/payment-view/payment-view.service.js +3 -4
  155. package/esm5/lib/services/refunds/refunds.service.js +3 -4
  156. package/esm5/lib/services/shared/error-handler.service.js +3 -4
  157. package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +2 -3
  158. package/esm5/lib/services/shared/logger/console-logger.service.js +3 -4
  159. package/esm5/lib/services/shared/logger/logger.service.js +3 -4
  160. package/esm5/lib/services/status-history/status-history.service.js +3 -4
  161. package/esm5/lib/services/xl-file/xl-file.service.js +2 -3
  162. package/esm5/public_api.js +2 -3
  163. package/fesm2015/hmcts-ccpay-web-component.js +116 -2354
  164. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  165. package/fesm5/hmcts-ccpay-web-component.js +117 -2363
  166. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  167. package/hmcts-ccpay-web-component.metadata.json +1 -1
  168. package/package.json +1 -1
@@ -1,25 +1,24 @@
1
- import { Injectable, ɵɵdefineInjectable, Component, ChangeDetectorRef, Input, ɵɵinject, EventEmitter, Output, Pipe, ViewChild, NgModule } from '@angular/core';
1
+ import { _throw } from 'rxjs/observable/throw';
2
2
  import { BehaviorSubject } from 'rxjs';
3
3
  import { HttpClient, HttpHeaders, HttpClientModule } from '@angular/common/http';
4
- import { Location, formatDate, CommonModule } from '@angular/common';
5
4
  import { catchError } from 'rxjs/operators';
6
- import { _throw } from 'rxjs/observable/throw';
7
- import { __values } from 'tslib';
8
5
  import { Meta, DomSanitizer } from '@angular/platform-browser';
9
- import { FormControl, Validators, FormBuilder, FormsModule, ReactiveFormsModule } from '@angular/forms';
10
- import { Router, ActivatedRoute } from '@angular/router';
6
+ import { Location, formatDate, CommonModule } from '@angular/common';
11
7
  import { saveAs } from 'file-saver';
12
8
  import { utils, write } from 'xlsx';
13
9
  import { MatTableDataSource, MatTableModule } from '@angular/material/table';
14
- import { MatSort, MatSortModule } from '@angular/material/sort';
15
10
  import { MatPaginator, MatPaginatorModule } from '@angular/material/paginator';
11
+ import { MatSort, MatSortModule } from '@angular/material/sort';
16
12
  import { MatFormFieldModule } from '@angular/material/form-field';
17
13
  import { MatInputModule } from '@angular/material/input';
14
+ import { FormBuilder, Validators, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
15
+ import { __values } from 'tslib';
16
+ import { ActivatedRoute, Router } from '@angular/router';
17
+ import { Injectable, Component, Input, Output, EventEmitter, ViewChild, ChangeDetectorRef, Pipe, NgModule, defineInjectable, inject } from '@angular/core';
18
18
 
19
19
  /**
20
20
  * @fileoverview added by tsickle
21
- * Generated from: lib/payment-lib.service.ts
22
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
21
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
23
22
  */
24
23
  var PaymentLibService = /** @class */ (function () {
25
24
  function PaymentLibService() {
@@ -111,24 +110,13 @@ var PaymentLibService = /** @class */ (function () {
111
110
  ];
112
111
  /** @nocollapse */
113
112
  PaymentLibService.ctorParameters = function () { return []; };
114
- /** @nocollapse */ PaymentLibService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PaymentLibService_Factory() { return new PaymentLibService(); }, token: PaymentLibService, providedIn: "root" });
113
+ /** @nocollapse */ PaymentLibService.ngInjectableDef = defineInjectable({ factory: function PaymentLibService_Factory() { return new PaymentLibService(); }, token: PaymentLibService, providedIn: "root" });
115
114
  return PaymentLibService;
116
115
  }());
117
- if (false) {
118
- /** @type {?} */
119
- PaymentLibService.prototype.API_ROOT;
120
- /** @type {?} */
121
- PaymentLibService.prototype.BULKSCAN_API_ROOT;
122
- /** @type {?} */
123
- PaymentLibService.prototype.REFUNDS_API_ROOT;
124
- /** @type {?} */
125
- PaymentLibService.prototype.CARDPAYMENTRETURNURL;
126
- }
127
116
 
128
117
  /**
129
118
  * @fileoverview added by tsickle
130
- * Generated from: lib/services/orderslist.service.ts
131
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
119
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
132
120
  */
133
121
  var OrderslistService = /** @class */ (function () {
134
122
  function OrderslistService() {
@@ -531,138 +519,19 @@ var OrderslistService = /** @class */ (function () {
531
519
  ];
532
520
  /** @nocollapse */
533
521
  OrderslistService.ctorParameters = function () { return []; };
534
- /** @nocollapse */ OrderslistService.ngInjectableDef = ɵɵdefineInjectable({ factory: function OrderslistService_Factory() { return new OrderslistService(); }, token: OrderslistService, providedIn: "root" });
522
+ /** @nocollapse */ OrderslistService.ngInjectableDef = defineInjectable({ factory: function OrderslistService_Factory() { return new OrderslistService(); }, token: OrderslistService, providedIn: "root" });
535
523
  return OrderslistService;
536
524
  }());
537
- if (false) {
538
- /**
539
- * @type {?}
540
- * @private
541
- */
542
- OrderslistService.prototype.ordersList;
543
- /**
544
- * @type {?}
545
- * @private
546
- */
547
- OrderslistService.prototype.refundView;
548
- /**
549
- * @type {?}
550
- * @private
551
- */
552
- OrderslistService.prototype.caseType;
553
- /** @type {?} */
554
- OrderslistService.prototype.getcaseType;
555
- /**
556
- * @type {?}
557
- * @private
558
- */
559
- OrderslistService.prototype.feeExists;
560
- /** @type {?} */
561
- OrderslistService.prototype.getFeeExist;
562
- /**
563
- * @type {?}
564
- * @private
565
- */
566
- OrderslistService.prototype.ccdCaseNumber;
567
- /** @type {?} */
568
- OrderslistService.prototype.getCCDCaseNumberforRefund;
569
- /**
570
- * @type {?}
571
- * @private
572
- */
573
- OrderslistService.prototype.isFromServiceRequestPage;
574
- /** @type {?} */
575
- OrderslistService.prototype.getisFromServiceRequestPage;
576
- /**
577
- * @type {?}
578
- * @private
579
- */
580
- OrderslistService.prototype.OrderRefId;
581
- /** @type {?} */
582
- OrderslistService.prototype.getOrderRefId;
583
- /**
584
- * @type {?}
585
- * @private
586
- */
587
- OrderslistService.prototype.navigationPage;
588
- /** @type {?} */
589
- OrderslistService.prototype.getnavigationPage;
590
- /**
591
- * @type {?}
592
- * @private
593
- */
594
- OrderslistService.prototype.orderRef;
595
- /** @type {?} */
596
- OrderslistService.prototype.getorderRef;
597
- /**
598
- * @type {?}
599
- * @private
600
- */
601
- OrderslistService.prototype.orderCCDEvent;
602
- /** @type {?} */
603
- OrderslistService.prototype.getorderCCDEvent;
604
- /**
605
- * @type {?}
606
- * @private
607
- */
608
- OrderslistService.prototype.orderCreated;
609
- /** @type {?} */
610
- OrderslistService.prototype.getorderCreated;
611
- /**
612
- * @type {?}
613
- * @private
614
- */
615
- OrderslistService.prototype.orderParty;
616
- /** @type {?} */
617
- OrderslistService.prototype.getorderParty;
618
- /**
619
- * @type {?}
620
- * @private
621
- */
622
- OrderslistService.prototype.orderRemissionTotal;
623
- /** @type {?} */
624
- OrderslistService.prototype.getorderRemissionTotal;
625
- /**
626
- * @type {?}
627
- * @private
628
- */
629
- OrderslistService.prototype.orderFeesTotal;
630
- /** @type {?} */
631
- OrderslistService.prototype.getorderFeesTotal;
632
- /**
633
- * @type {?}
634
- * @private
635
- */
636
- OrderslistService.prototype.orderTotalPayments;
637
- /** @type {?} */
638
- OrderslistService.prototype.getorderTotalPayments;
639
- /**
640
- * @type {?}
641
- * @private
642
- */
643
- OrderslistService.prototype.rolesList;
644
- /**
645
- * @type {?}
646
- * @private
647
- */
648
- OrderslistService.prototype.orderDetail;
649
- /**
650
- * @type {?}
651
- * @private
652
- */
653
- OrderslistService.prototype.paymentPageView;
654
- }
655
525
 
656
526
  /**
657
527
  * @fileoverview added by tsickle
658
- * Generated from: lib/payment-lib.component.ts
659
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
528
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
660
529
  */
661
530
  var PaymentLibComponent = /** @class */ (function () {
662
- function PaymentLibComponent(paymentLibService, cd, OrderslistService) {
531
+ function PaymentLibComponent(paymentLibService, cd, OrderslistService$$1) {
663
532
  this.paymentLibService = paymentLibService;
664
533
  this.cd = cd;
665
- this.OrderslistService = OrderslistService;
534
+ this.OrderslistService = OrderslistService$$1;
666
535
  this.unProcessedPaymentServiceId = null;
667
536
  this.unProcessedPayment = null;
668
537
  this.orderFeesTotal = 0.00;
@@ -757,140 +626,10 @@ var PaymentLibComponent = /** @class */ (function () {
757
626
  };
758
627
  return PaymentLibComponent;
759
628
  }());
760
- if (false) {
761
- /** @type {?} */
762
- PaymentLibComponent.prototype.API_ROOT;
763
- /** @type {?} */
764
- PaymentLibComponent.prototype.BULKSCAN_API_ROOT;
765
- /** @type {?} */
766
- PaymentLibComponent.prototype.REFUNDS_API_ROOT;
767
- /** @type {?} */
768
- PaymentLibComponent.prototype.CARDPAYMENTRETURNURL;
769
- /** @type {?} */
770
- PaymentLibComponent.prototype.CCD_CASE_NUMBER;
771
- /** @type {?} */
772
- PaymentLibComponent.prototype.EXC_REFERENCE;
773
- /** @type {?} */
774
- PaymentLibComponent.prototype.PAYMENT_METHOD;
775
- /** @type {?} */
776
- PaymentLibComponent.prototype.VIEW;
777
- /** @type {?} */
778
- PaymentLibComponent.prototype.VIEWSERVICE;
779
- /** @type {?} */
780
- PaymentLibComponent.prototype.PAYMENT_GROUP_REF;
781
- /** @type {?} */
782
- PaymentLibComponent.prototype.TAKEPAYMENT;
783
- /** @type {?} */
784
- PaymentLibComponent.prototype.SERVICEREQUEST;
785
- /** @type {?} */
786
- PaymentLibComponent.prototype.DCN_NUMBER;
787
- /** @type {?} */
788
- PaymentLibComponent.prototype.SELECTED_OPTION;
789
- /** @type {?} */
790
- PaymentLibComponent.prototype.ISBSENABLE;
791
- /** @type {?} */
792
- PaymentLibComponent.prototype.ISSFENABLE;
793
- /** @type {?} */
794
- PaymentLibComponent.prototype.ISTURNOFF;
795
- /** @type {?} */
796
- PaymentLibComponent.prototype.CASETYPE;
797
- /** @type {?} */
798
- PaymentLibComponent.prototype.ISPAYMENTSTATUSENABLED;
799
- /** @type {?} */
800
- PaymentLibComponent.prototype.rootUrl;
801
- /** @type {?} */
802
- PaymentLibComponent.prototype.REFUNDLIST;
803
- /** @type {?} */
804
- PaymentLibComponent.prototype.USERID;
805
- /** @type {?} */
806
- PaymentLibComponent.prototype.LOGGEDINUSERROLES;
807
- /** @type {?} */
808
- PaymentLibComponent.prototype.LOGGEDINUSEREMAIL;
809
- /** @type {?} */
810
- PaymentLibComponent.prototype.isFromServiceRequestPage;
811
- /** @type {?} */
812
- PaymentLibComponent.prototype.paymentMethod;
813
- /** @type {?} */
814
- PaymentLibComponent.prototype.bspaymentdcn;
815
- /** @type {?} */
816
- PaymentLibComponent.prototype.unProcessedPaymentServiceId;
817
- /** @type {?} */
818
- PaymentLibComponent.prototype.paymentGroupReference;
819
- /** @type {?} */
820
- PaymentLibComponent.prototype.paymentReference;
821
- /** @type {?} */
822
- PaymentLibComponent.prototype.refundReference;
823
- /** @type {?} */
824
- PaymentLibComponent.prototype.refundlistsource;
825
- /** @type {?} */
826
- PaymentLibComponent.prototype.viewName;
827
- /** @type {?} */
828
- PaymentLibComponent.prototype.isTurnOff;
829
- /** @type {?} */
830
- PaymentLibComponent.prototype.caseType;
831
- /** @type {?} */
832
- PaymentLibComponent.prototype.unProcessedPayment;
833
- /** @type {?} */
834
- PaymentLibComponent.prototype.isRefundStatusView;
835
- /** @type {?} */
836
- PaymentLibComponent.prototype.isRedirectFromCaseTransactionPage;
837
- /** @type {?} */
838
- PaymentLibComponent.prototype.isCallFromRefundList;
839
- /** @type {?} */
840
- PaymentLibComponent.prototype.isFromRefundStatusPage;
841
- /** @type {?} */
842
- PaymentLibComponent.prototype.iscancelClicked;
843
- /** @type {?} */
844
- PaymentLibComponent.prototype.isFromPaymentDetailPage;
845
- /** @type {?} */
846
- PaymentLibComponent.prototype.pbaPayOrderRef;
847
- /** @type {?} */
848
- PaymentLibComponent.prototype.isTakePayment;
849
- /** @type {?} */
850
- PaymentLibComponent.prototype.orderDetail;
851
- /** @type {?} */
852
- PaymentLibComponent.prototype.orderRef;
853
- /** @type {?} */
854
- PaymentLibComponent.prototype.orderStatus;
855
- /** @type {?} */
856
- PaymentLibComponent.prototype.orderParty;
857
- /** @type {?} */
858
- PaymentLibComponent.prototype.orderCreated;
859
- /** @type {?} */
860
- PaymentLibComponent.prototype.orderCCDEvent;
861
- /** @type {?} */
862
- PaymentLibComponent.prototype.serviceRequestValue;
863
- /** @type {?} */
864
- PaymentLibComponent.prototype.orderAddBtnEnable;
865
- /** @type {?} */
866
- PaymentLibComponent.prototype.orderFeesTotal;
867
- /** @type {?} */
868
- PaymentLibComponent.prototype.orderRemissionTotal;
869
- /** @type {?} */
870
- PaymentLibComponent.prototype.orderTotalPayments;
871
- /** @type {?} */
872
- PaymentLibComponent.prototype.orderPendingPayments;
873
- /**
874
- * @type {?}
875
- * @private
876
- */
877
- PaymentLibComponent.prototype.paymentLibService;
878
- /**
879
- * @type {?}
880
- * @private
881
- */
882
- PaymentLibComponent.prototype.cd;
883
- /**
884
- * @type {?}
885
- * @private
886
- */
887
- PaymentLibComponent.prototype.OrderslistService;
888
- }
889
629
 
890
630
  /**
891
631
  * @fileoverview added by tsickle
892
- * Generated from: lib/services/shared/error-handler.service.ts
893
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
632
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
894
633
  */
895
634
  var ErrorHandlerService = /** @class */ (function () {
896
635
  function ErrorHandlerService() {
@@ -1007,40 +746,14 @@ var ErrorHandlerService = /** @class */ (function () {
1007
746
  ];
1008
747
  /** @nocollapse */
1009
748
  ErrorHandlerService.ctorParameters = function () { return []; };
1010
- /** @nocollapse */ ErrorHandlerService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ErrorHandlerService_Factory() { return new ErrorHandlerService(); }, token: ErrorHandlerService, providedIn: "root" });
749
+ /** @nocollapse */ ErrorHandlerService.ngInjectableDef = defineInjectable({ factory: function ErrorHandlerService_Factory() { return new ErrorHandlerService(); }, token: ErrorHandlerService, providedIn: "root" });
1011
750
  return ErrorHandlerService;
1012
751
  }());
1013
752
 
1014
753
  /**
1015
754
  * @fileoverview added by tsickle
1016
- * Generated from: lib/services/shared/logger/logger.service.ts
1017
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
755
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1018
756
  */
1019
- /** @type {?} */
1020
- var noop = (/**
1021
- * @return {?}
1022
- */
1023
- function () { return undefined; });
1024
- var ɵ0 = noop;
1025
- /**
1026
- * @abstract
1027
- */
1028
- var /**
1029
- * @abstract
1030
- */
1031
- Logger = /** @class */ (function () {
1032
- function Logger() {
1033
- }
1034
- return Logger;
1035
- }());
1036
- if (false) {
1037
- /** @type {?} */
1038
- Logger.prototype.info;
1039
- /** @type {?} */
1040
- Logger.prototype.warn;
1041
- /** @type {?} */
1042
- Logger.prototype.error;
1043
- }
1044
757
  var LoggerService = /** @class */ (function () {
1045
758
  function LoggerService() {
1046
759
  }
@@ -1060,22 +773,13 @@ var LoggerService = /** @class */ (function () {
1060
773
  providedIn: 'root'
1061
774
  },] }
1062
775
  ];
1063
- /** @nocollapse */ LoggerService.ngInjectableDef = ɵɵdefineInjectable({ factory: function LoggerService_Factory() { return new LoggerService(); }, token: LoggerService, providedIn: "root" });
776
+ /** @nocollapse */ LoggerService.ngInjectableDef = defineInjectable({ factory: function LoggerService_Factory() { return new LoggerService(); }, token: LoggerService, providedIn: "root" });
1064
777
  return LoggerService;
1065
778
  }());
1066
- if (false) {
1067
- /** @type {?} */
1068
- LoggerService.prototype.info;
1069
- /** @type {?} */
1070
- LoggerService.prototype.warn;
1071
- /** @type {?} */
1072
- LoggerService.prototype.error;
1073
- }
1074
779
 
1075
780
  /**
1076
781
  * @fileoverview added by tsickle
1077
- * Generated from: lib/services/payment-list/payment-list.service.ts
1078
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
782
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1079
783
  */
1080
784
  var PaymentListService = /** @class */ (function () {
1081
785
  function PaymentListService(http, logger, errorHandlerService, paymentLibService) {
@@ -1113,38 +817,13 @@ var PaymentListService = /** @class */ (function () {
1113
817
  { type: ErrorHandlerService },
1114
818
  { type: PaymentLibService }
1115
819
  ]; };
1116
- /** @nocollapse */ PaymentListService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PaymentListService_Factory() { return new PaymentListService(ɵɵinject(HttpClient), ɵɵinject(LoggerService), ɵɵinject(ErrorHandlerService), ɵɵinject(PaymentLibService)); }, token: PaymentListService, providedIn: "root" });
820
+ /** @nocollapse */ PaymentListService.ngInjectableDef = defineInjectable({ factory: function PaymentListService_Factory() { return new PaymentListService(inject(HttpClient), inject(LoggerService), inject(ErrorHandlerService), inject(PaymentLibService)); }, token: PaymentListService, providedIn: "root" });
1117
821
  return PaymentListService;
1118
822
  }());
1119
- if (false) {
1120
- /** @type {?} */
1121
- PaymentListService.prototype.payments;
1122
- /**
1123
- * @type {?}
1124
- * @private
1125
- */
1126
- PaymentListService.prototype.http;
1127
- /**
1128
- * @type {?}
1129
- * @private
1130
- */
1131
- PaymentListService.prototype.logger;
1132
- /**
1133
- * @type {?}
1134
- * @private
1135
- */
1136
- PaymentListService.prototype.errorHandlerService;
1137
- /**
1138
- * @type {?}
1139
- * @private
1140
- */
1141
- PaymentListService.prototype.paymentLibService;
1142
- }
1143
823
 
1144
824
  /**
1145
825
  * @fileoverview added by tsickle
1146
- * Generated from: lib/components/payment-list/payment-list.component.ts
1147
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
826
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1148
827
  */
1149
828
  var PaymentListComponent = /** @class */ (function () {
1150
829
  function PaymentListComponent(paymentListService, paymentLibComponent) {
@@ -1202,29 +881,10 @@ var PaymentListComponent = /** @class */ (function () {
1202
881
  ]; };
1203
882
  return PaymentListComponent;
1204
883
  }());
1205
- if (false) {
1206
- /** @type {?} */
1207
- PaymentListComponent.prototype.payments;
1208
- /** @type {?} */
1209
- PaymentListComponent.prototype.errorMessage;
1210
- /** @type {?} */
1211
- PaymentListComponent.prototype.code;
1212
- /**
1213
- * @type {?}
1214
- * @private
1215
- */
1216
- PaymentListComponent.prototype.paymentListService;
1217
- /**
1218
- * @type {?}
1219
- * @private
1220
- */
1221
- PaymentListComponent.prototype.paymentLibComponent;
1222
- }
1223
884
 
1224
885
  /**
1225
886
  * @fileoverview added by tsickle
1226
- * Generated from: lib/services/shared/httpclient/webcomponent.http.client.ts
1227
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
887
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1228
888
  */
1229
889
  var WebComponentHttpClient = /** @class */ (function () {
1230
890
  function WebComponentHttpClient(http, meta) {
@@ -1372,23 +1032,10 @@ var WebComponentHttpClient = /** @class */ (function () {
1372
1032
  ]; };
1373
1033
  return WebComponentHttpClient;
1374
1034
  }());
1375
- if (false) {
1376
- /**
1377
- * @type {?}
1378
- * @private
1379
- */
1380
- WebComponentHttpClient.prototype.http;
1381
- /**
1382
- * @type {?}
1383
- * @private
1384
- */
1385
- WebComponentHttpClient.prototype.meta;
1386
- }
1387
1035
 
1388
1036
  /**
1389
1037
  * @fileoverview added by tsickle
1390
- * Generated from: lib/services/payment-view/payment-view.service.ts
1391
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1038
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1392
1039
  */
1393
1040
  var PaymentViewService = /** @class */ (function () {
1394
1041
  function PaymentViewService(http, https, logger, errorHandlerService, paymentLibService) {
@@ -1746,61 +1393,21 @@ var PaymentViewService = /** @class */ (function () {
1746
1393
  { type: ErrorHandlerService },
1747
1394
  { type: PaymentLibService }
1748
1395
  ]; };
1749
- /** @nocollapse */ PaymentViewService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PaymentViewService_Factory() { return new PaymentViewService(ɵɵinject(HttpClient), ɵɵinject(WebComponentHttpClient), ɵɵinject(LoggerService), ɵɵinject(ErrorHandlerService), ɵɵinject(PaymentLibService)); }, token: PaymentViewService, providedIn: "root" });
1396
+ /** @nocollapse */ PaymentViewService.ngInjectableDef = defineInjectable({ factory: function PaymentViewService_Factory() { return new PaymentViewService(inject(HttpClient), inject(WebComponentHttpClient), inject(LoggerService), inject(ErrorHandlerService), inject(PaymentLibService)); }, token: PaymentViewService, providedIn: "root" });
1750
1397
  return PaymentViewService;
1751
1398
  }());
1752
- if (false) {
1753
- /**
1754
- * @type {?}
1755
- * @private
1756
- */
1757
- PaymentViewService.prototype.ordersList;
1758
- /**
1759
- * @type {?}
1760
- * @private
1761
- */
1762
- PaymentViewService.prototype.meta;
1763
- /**
1764
- * @type {?}
1765
- * @private
1766
- */
1767
- PaymentViewService.prototype.http;
1768
- /**
1769
- * @type {?}
1770
- * @private
1771
- */
1772
- PaymentViewService.prototype.https;
1773
- /**
1774
- * @type {?}
1775
- * @private
1776
- */
1777
- PaymentViewService.prototype.logger;
1778
- /**
1779
- * @type {?}
1780
- * @private
1781
- */
1782
- PaymentViewService.prototype.errorHandlerService;
1783
- /**
1784
- * @type {?}
1785
- * @private
1786
- */
1787
- PaymentViewService.prototype.paymentLibService;
1788
- }
1789
1399
 
1790
1400
  /**
1791
1401
  * @fileoverview added by tsickle
1792
- * Generated from: lib/components/payment-view/payment-view.component.ts
1793
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1402
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1794
1403
  */
1795
- /** @type {?} */
1796
- var BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
1797
1404
  var PaymentViewComponent = /** @class */ (function () {
1798
- function PaymentViewComponent(paymentViewService, paymentLibComponent, cd, OrderslistService) {
1405
+ function PaymentViewComponent(paymentViewService, paymentLibComponent, cd, OrderslistService$$1) {
1799
1406
  var _this = this;
1800
1407
  this.paymentViewService = paymentViewService;
1801
1408
  this.paymentLibComponent = paymentLibComponent;
1802
1409
  this.cd = cd;
1803
- this.OrderslistService = OrderslistService;
1410
+ this.OrderslistService = OrderslistService$$1;
1804
1411
  this.isRefundRemission = false;
1805
1412
  this.isAddFeeBtnEnabled = false;
1806
1413
  this.isIssueRefunfBtnEnable = false;
@@ -2149,7 +1756,6 @@ var PaymentViewComponent = /** @class */ (function () {
2149
1756
  else {
2150
1757
  return false;
2151
1758
  }
2152
- ;
2153
1759
  }
2154
1760
  };
2155
1761
  /**
@@ -2222,7 +1828,6 @@ var PaymentViewComponent = /** @class */ (function () {
2222
1828
  else {
2223
1829
  return false;
2224
1830
  }
2225
- ;
2226
1831
  };
2227
1832
  /**
2228
1833
  * @return {?}
@@ -2318,7 +1923,7 @@ var PaymentViewComponent = /** @class */ (function () {
2318
1923
  PaymentViewComponent.decorators = [
2319
1924
  { type: Component, args: [{
2320
1925
  selector: 'ccpay-payment-view',
2321
- template: "\n<ng-container *ngIf=\"viewStatus === 'paymentview'\">\n<div class=\"govuk-width-container\">\n\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"goToCaseTransationPage($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n\n <main class=\"govuk-main-wrapper govuk-!-padding-top-0\" id=\"main-content\" role=\"main\">\n\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payment details could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <div class=\"payment-view-alignment\" *ngIf=\"!errorMessage && paymentGroup?.payments[0]\">\n\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='PAYMENTDETAILS'>\n <div class=\"govuk-grid-row\">\n <div class=\"column\">\n <h1 class=\"heading-large govuk-!-margin-top-0\">Payment details</h1>\n </div>\n </div>\n <table>\n <tbody>\n\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Service request reference</td>\n <td class=\"tb-col-w\">{{ serviceReference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment reference</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment amount</td>\n <td class=\"tb-col-w\">\u00A3{{ paymentGroup?.payments[0]?.amount | number:'.2' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.document_control_number && !paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">Payment asset number(DCN)</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.document_control_number }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.document_control_number && !paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">Banked date</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.banked_date | date:'dd MMM yyyy' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">GovPay Transaction ID</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.external_reference }}</td>\n </tr>\n <tr class=\"section\" >\n <td class=\"bold tb-col-w\">Payment method</td>\n <td class=\"tb-col-w text-transform\">{{ paymentGroup?.payments[0]?.method }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.method === 'payment by account'\" >\n <td class=\"bold tb-col-w\">Type</td>\n <td class=\"tb-col-w\" *ngIf=\"paymentGroup?.payments[0]?.method !== 'card'\">Credit</td>\n <td class=\"tb-col-w\" *ngIf=\"paymentGroup?.payments[0]?.method === 'card'\">Card</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Channel</td>\n <td class=\"tb-col-w text-transform\">{{ paymentGroup?.payments[0]?.channel }}</td>\n </tr>\n <!-- <tr class=\"section\">\n <td class=\"bold tb-col-w\">Method</td>\n <td *ngIf=\"paymentGroup?.payments[0]?.method !== 'card'\">{{ paymentGroup?.payments[0]?.method }}</td>\n <td *ngIf=\"paymentGroup?.payments[0]?.method === 'card'\">CARD</td>\n </tr> -->\n <!-- <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.channel !== 'telephony'\">\n <td class=\"bold tb-col-w\">Status</td>\n <td>{{ paymentGroup?.payments[0]?.status }}</td>\n </tr> -->\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.payment_allocation[0] !== undefined\">\n <td class=\"bold tb-col-w\">Allocaton status</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.payment_allocation[0]?.allocation_status }}</td>\n </tr>\n\n <tr *ngIf=\"paymentGroup?.payments[0].organisation_name\">\n <td class=\"bold tb-col-w\">PBA account name</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.organisation_name }}</td>\n </tr>\n\n <tr *ngIf=\"paymentGroup?.payments[0].account_number\">\n <td class=\"bold tb-col-w\">PBA number</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.account_number }}</td>\n </tr>\n\n <tr *ngIf=\"paymentGroup?.payments[0].customer_reference\">\n <td class=\"bold tb-col-w\">Customer internal reference</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.customer_reference }}</td>\n </tr>\n\n </tbody>\n </table>\n\n <div>\n <!-- Status histories -->\n <ccpay-payment-statuses *ngIf=\"isStatusAllocated\" [isTakePayment]=\"isTakePayment\"></ccpay-payment-statuses>\n </div>\n <div class=\"remission\">\n <button [disabled]=\"!chkIssueRefundBtnEnable(paymentGroup?.payments[0])\" (click)=\"issueRefund(paymentGroup)\" class=\"govuk-button govuk-button--secondary\">Issue refund</button>\n </div>\n<div *ngIf=\"ISPAYMENTSTATUSENABLED\">\n <div class=\"column\">\n <h2 class=\"heading-medium\">Disputed payment history</h2>\n </div>\n \n <div>\n <table>\n <thead>\n <tr>\n <th>Status</th>\n <th>Amount</th>\n <th>Date</th>\n <th>Payment reference</th>\n <th>Event</th>\n <th></th>\n </tr>\n </thead> \n <tbody *ngIf=\"!errorMsg && allPaymentsFailure.length > 0\">\n <tr *ngFor=\"let payment of allPaymentsFailure\">\n <td>{{ payment.status | capitalize }}</td>\n <td>\u00A3{{ payment.disputed_amount | number:'.2' }}</td>\n <td>{{(payment.representment_date ? payment.representment_date : payment.failure_event_date_time) | date:'dd MMM yyyy'}}</td>\n <td>{{ payment.payment_reference }}</td>\n <td >{{ payment.failure_type }}</td>\n <td>\n \n <a href=\"javascript:void(0)\" (click)=\"goToPaymentFailuePage(payment)\">Show detail</a>\n\n </td>\n </tr>\n </tbody>\n <tbody *ngIf=\"errorMsg || allPaymentsFailure.length === 0\">\n <tr>\n <td colspan=\"6\"> No disputed payment history available. </td>\n </tr>\n </tbody>\n </table>\n </div>\n <br/>\n <br/>\n </div>\n \n <div *ngIf=\"checkForFees(paymentGroup)\">\n <div *ngIf=\"paymentGroup.fees.length > 0\">\n <div class=\"column\">\n <br/>\n <br/>\n <h2 class=\"heading-large\">Fee and remission details</h2>\n\n </div>\n </div>\n\n <div *ngFor=\"let fee of paymentGroup.fees\">\n <table class=\"table\">\n <tbody>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Description</td>\n <td class=\"tb-col-w\">Application for {{ fee.description }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Fee code</td>\n <td class=\"tb-col-w\">{{ fee?.code }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\" [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions && !isTurnOff }\">Fee amount</td>\n <td [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions && !isTurnOff}\">\u00A3{{ fee?.calculated_amount | number:'.2' }}</td>\n </tr>\n\n <tr *ngIf=\"fee.apportion_amount\">\n <td class=\"bold tb-col-w tr-border\" [ngClass]=\"{'tr-border': !fee.remissions}\">Allocated amount</td>\n <td [ngClass]=\"{'tr-border': !fee.remissions}\">\u00A3{{ fee?.apportion_amount | number:'.2' }}</td>\n </tr>\n\n </tbody>\n </table>\n <button [disabled]=\"!chkForAddRemission(fee.code)\" (click)=\"addRemission(fee)\" class=\"govuk-button govuk-button--secondary\"> Add remission</button>\n </div>\n\n <!-- remissions -->\n <div class=\"order-class\">\n <div class=\"column\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-24 whitespace-inherit\" scope=\"col\">Help with fees or remission code</td>\n <td class=\"govuk-table__header col-27 whitespace-inherit\" scope=\"col\">Reference</td>\n <td class=\"govuk-table__header whitespace-inherit\" scope=\"col\">Fee</td>\n <td class=\"govuk-table__header whitespace-inherit\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header whitespace-inherit refundBtn\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngFor=\"let remission of paymentGroup.remissions\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.hwf_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.remission_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.fee_code }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n <td class=\"govuk-table__cell refundBtn whitespace-inherit\" >\n <button [disabled]=\"!chkIsRefundRemissionBtnEnable()\" (click)=\"addRefundForRemission(paymentGroup.payments[0],remission,paymentGroup.fees)\" class=\"govuk-button govuk-button--secondary\"> Add refund</button>\n </td>\n </tr>\n </tbody>\n\n\n </table>\n </div></div>\n\n <div *ngIf=\"paymentGroup.remissions?.length === 0\">\n <span class=\"mar-17\" >No help with fees or remissions.</span>\n </div>\n\n </div>\n </div>\n </main>\n</div>\n\n</ng-container>\n<ng-container *ngIf=\"viewStatus === 'addremission' && feeId\">\n<ccpay-add-remission\n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[fee]=\"feeId\"\n[payment] = \"payment\"\n[orderStatus] =\"paymentGroup.payments[0].status\"\n[paidAmount]= \"paymentGroup.payments[0].amount\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[paymentGroupRef]=\"paymentGroup.payment_group_reference\"\n[isFromPaymentDetailPage] = \"true\"\n[ccdCaseNumber]=\"ccdCaseNumber\"\n[orderFeesTotal] = \"orderFeesTotal\"\n[orderTotalPayments] = \"orderTotalPayments\"\n[orderRemissionTotal] = \"orderRemissionTotal\"\n[orderRef] = \"orderRef\"\n[orderCreated] = \"orderCreated\"\n[orderParty] = \"orderParty\"\n[orderCCDEvent] = \"orderCCDEvent\"\n[orderDetail] = \"orderDetail\"\n[LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"></ccpay-add-remission>\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'addrefundforremission' && payment\">\n\n<ccpay-add-remission\n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[payment]=\"payment\"\n[orderStatus] =\"orderStatus\"\n[paidAmount]= \"orderTotalPayments\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[feeamount]=\"remissionFeeAmt\"\n[remission] = \"remissions\"\n[isFromServiceRequestPage]=\"false\"\n[paymentGroupRef]=\"paymentGroup.payment_group_reference\"\n[ccdCaseNumber]=\"ccdCaseNumber\"\n[orderFeesTotal] = \"orderFeesTotal\"\n[orderTotalPayments] = \"orderTotalPayments\"\n[orderRemissionTotal] = \"orderRemissionTotal\"\n[orderRef] = \"orderRef\"\n[orderCreated] = \"orderCreated\"\n[orderParty] = \"orderParty\"\n[orderCCDEvent] = \"orderCCDEvent\"\n[orderDetail] = \"orderDetail\"\n[LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"></ccpay-add-remission>\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'issuerefund'\">\n <ccpay-add-remission\n [isTurnOff]=\"isTurnOff\"\n [isStrategicFixEnable]=\"isStrategicFixEnable\"\n [payment] = 'paymentGroup.payments[0]'\n [viewCompStatus]= \"viewStatus\"\n [orderStatus] =\"paymentGroup.payments[0].status\"\n [paidAmount]= \"paymentGroup.payments[0].amount\"\n [isRefundRemission]=\"isRefundRemission\"\n [caseType]=\"caseType\"\n [isFromServiceRequestPage]=\"isFromServiceRequestPage\"\n [isFromPaymentDetailPage] = \"isFromPaymentDetailPage\"\n [paymentGroupRef]=\"paymentGroup.payment_group_reference\"\n [ccdCaseNumber]=\"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\"\n [orderRef] = \"orderRef\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\">\n ></ccpay-add-remission>\n</ng-container>\n<ng-container *ngIf=\"viewStatus === 'order-full-view'\">\n <ccpay-service-request\n [viewStatus] = \"viewStatus\"\n [orderRef] = \"orderRef\"\n [orderStatus] = \"orderStatus\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"\n [takePayment] = \"isTakePayment\"\n [ccdCaseNumber] = \"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\"\n [isServiceRequest] = \"isServiceRequest\"\n (goToServiceRquestComponent) = \"goToServiceRequestPage()\"\n>\n</ccpay-service-request>\n\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'payment-failure'\">\n <div class=\"payment-failure-alignment\">\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"goBackToPaymentView($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n <div class=\"govuk-grid-row\">\n <div class=\"column\">\n <h1 class=\"heading-large govuk-!-margin-top-0\">Failure event details</h1>\n </div>\n </div>\n <table>\n <tbody>\n\n <tr class=\"section\">\n <td class=\"bold\">Failure reference</td>\n <td>\t{{selectedPaymentsStatus.failure_reference}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Failure reason</td>\n <td>\t{{selectedPaymentsStatus.failure_reason}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Payment reference</td>\n <td>{{ selectedPaymentsStatus.payment_reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Payment amount</td>\n <td> \u00A3{{ paymentGroup?.payments[0]?.amount | number:'.2' }}</td>\n\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Disputed amount</td>\n <td>\t\u00A3{{selectedPaymentsStatus.disputed_amount | number:'.2'}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Additional information</td>\n <td>\t{{selectedPaymentsStatus.additional_reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Failure type</td>\n <td>\t{{ selectedPaymentsStatus.failure_type }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Failure event date and time</td>\n <td> {{ selectedPaymentsStatus.failure_event_date_time | date:'dd MMM yyyy HH:mm:ss' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"selectedPaymentsStatus.has_amount_debited\">\n <td class=\"bold\">Has disputed amount debited</td>\n <td>\t{{selectedPaymentsStatus.has_amount_debited}}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"selectedPaymentsStatus.representment_status\">\n <td class=\"bold\">Status following representation of payment</td>\n <td>\t{{(selectedPaymentsStatus.representment_status === 'Yes' || selectedPaymentsStatus.representment_status === 'yes') ? 'Success' : 'Failure'}}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"selectedPaymentsStatus.representment_date\">\n <td class=\"bold\">Date payment represented</td>\n <td>\t{{selectedPaymentsStatus.representment_date | date:'dd MMM yyyy HH:mm:ss'}}</td>\n </tr>\n </tbody>\n </table>\n\n <div>\n </div>\n </div>\n</ng-container>\n",
1926
+ template: "\n<ng-container *ngIf=\"viewStatus === 'paymentview'\">\n<div class=\"govuk-width-container\">\n\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"goToCaseTransationPage($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n\n <main class=\"govuk-main-wrapper govuk-!-padding-top-0\" id=\"main-content\" role=\"main\">\n\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payment details could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <div class=\"payment-view-alignment\" *ngIf=\"!errorMessage && paymentGroup?.payments[0]\">\n\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='PAYMENTDETAILS'>\n <div class=\"govuk-grid-row\">\n <div class=\"column\">\n <h1 class=\"heading-large govuk-!-margin-top-0\">Payment details</h1>\n </div>\n </div>\n <table>\n <tbody>\n\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Service request reference</td>\n <td class=\"tb-col-w\">{{ serviceReference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment reference</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment amount</td>\n <td class=\"tb-col-w\">\u00A3{{ paymentGroup?.payments[0]?.amount | number:'.2' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.document_control_number && !paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">Payment asset number(DCN)</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.document_control_number }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.document_control_number && !paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">Banked date</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.banked_date | date:'dd MMM yyyy' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">GovPay Transaction ID</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.external_reference }}</td>\n </tr>\n <tr class=\"section\" >\n <td class=\"bold tb-col-w\">Payment method</td>\n <td class=\"tb-col-w text-transform\">{{ paymentGroup?.payments[0]?.method }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.method === 'payment by account'\" >\n <td class=\"bold tb-col-w\">Type</td>\n <td class=\"tb-col-w\" *ngIf=\"paymentGroup?.payments[0]?.method !== 'card'\">Credit</td>\n <td class=\"tb-col-w\" *ngIf=\"paymentGroup?.payments[0]?.method === 'card'\">Card</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Channel</td>\n <td class=\"tb-col-w text-transform\">{{ paymentGroup?.payments[0]?.channel }}</td>\n </tr>\n <!-- <tr class=\"section\">\n <td class=\"bold tb-col-w\">Method</td>\n <td *ngIf=\"paymentGroup?.payments[0]?.method !== 'card'\">{{ paymentGroup?.payments[0]?.method }}</td>\n <td *ngIf=\"paymentGroup?.payments[0]?.method === 'card'\">CARD</td>\n </tr> -->\n <!-- <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.channel !== 'telephony'\">\n <td class=\"bold tb-col-w\">Status</td>\n <td>{{ paymentGroup?.payments[0]?.status }}</td>\n </tr> -->\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.payment_allocation[0] !== undefined\">\n <td class=\"bold tb-col-w\">Allocaton status</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.payment_allocation[0]?.allocation_status }}</td>\n </tr>\n\n <tr *ngIf=\"paymentGroup?.payments[0].organisation_name\">\n <td class=\"bold tb-col-w\">PBA account name</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.organisation_name }}</td>\n </tr>\n\n <tr *ngIf=\"paymentGroup?.payments[0].account_number\">\n <td class=\"bold tb-col-w\">PBA number</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.account_number }}</td>\n </tr>\n\n <tr *ngIf=\"paymentGroup?.payments[0].customer_reference\">\n <td class=\"bold tb-col-w\">Customer internal reference</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.customer_reference }}</td>\n </tr>\n\n </tbody>\n </table>\n\n <div>\n <!-- Status histories -->\n <ccpay-payment-statuses *ngIf=\"isStatusAllocated\" [isTakePayment]=\"isTakePayment\"></ccpay-payment-statuses>\n </div>\n <div class=\"remission\">\n <button [disabled]=\"!chkIssueRefundBtnEnable(paymentGroup?.payments[0])\" (click)=\"issueRefund(paymentGroup)\" class=\"govuk-button govuk-button--secondary\">Issue refund</button>\n </div>\n<div *ngIf=\"ISPAYMENTSTATUSENABLED\">\n <div class=\"column\">\n <h2 class=\"heading-medium\">Disputed payment history</h2>\n </div>\n \n <div>\n <table>\n <thead>\n <tr>\n <th>Status</th>\n <th>Amount</th>\n <th>Date</th>\n <th>Payment reference</th>\n <th>Event</th>\n <th></th>\n </tr>\n </thead> \n <tbody *ngIf=\"!errorMsg && allPaymentsFailure.length > 0\">\n <tr *ngFor=\"let payment of allPaymentsFailure\">\n <td>{{ payment.status | capitalize }}</td>\n <td>\u00A3{{ payment.disputed_amount | number:'.2' }}</td>\n <td>{{(payment.representment_date ? payment.representment_date : payment.failure_event_date_time) | date:'dd MMM yyyy'}}</td>\n <td>{{ payment.payment_reference }}</td>\n <td >{{ payment.failure_type }}</td>\n <td>\n \n <a href=\"javascript:void(0)\" (click)=\"goToPaymentFailuePage(payment)\">Show detail</a>\n\n </td>\n </tr>\n </tbody>\n <tbody *ngIf=\"errorMsg || allPaymentsFailure.length === 0\">\n <tr>\n <td colspan=\"6\"> No disputed payment history available. </td>\n </tr>\n </tbody>\n </table>\n </div>\n <br/>\n <br/>\n </div>\n \n <div *ngIf=\"checkForFees(paymentGroup)\">\n <div *ngIf=\"paymentGroup.fees.length > 0\">\n <div class=\"column\">\n <br/>\n <br/>\n <h2 class=\"heading-large\">Fee and remission details</h2>\n\n </div>\n </div>\n\n <div *ngFor=\"let fee of paymentGroup.fees\">\n <table class=\"table\">\n <tbody>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Description</td>\n <td class=\"tb-col-w\">Application for {{ fee.description }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Fee code</td>\n <td class=\"tb-col-w\">{{ fee?.code }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\" [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions && !isTurnOff }\">Fee amount</td>\n <td [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions && !isTurnOff}\">\u00A3{{ fee?.calculated_amount | number:'.2' }}</td>\n </tr>\n\n <tr *ngIf=\"fee.apportion_amount\">\n <td class=\"bold tb-col-w tr-border\" [ngClass]=\"{'tr-border': !fee.remissions}\">Allocated amount</td>\n <td [ngClass]=\"{'tr-border': !fee.remissions}\">\u00A3{{ fee?.apportion_amount | number:'.2' }}</td>\n </tr>\n\n </tbody>\n </table>\n <button [disabled]=\"!chkForAddRemission(fee.code)\" (click)=\"addRemission(fee)\" class=\"govuk-button govuk-button--secondary\"> Add remission</button>\n </div>\n\n <!-- remissions -->\n <div class=\"order-class\">\n <div class=\"column\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-24 whitespace-inherit\" scope=\"col\">Help with fees or remission code</td>\n <td class=\"govuk-table__header col-27 whitespace-inherit\" scope=\"col\">Reference</td>\n <td class=\"govuk-table__header whitespace-inherit\" scope=\"col\">Fee</td>\n <td class=\"govuk-table__header whitespace-inherit\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header whitespace-inherit refundBtn\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngFor=\"let remission of paymentGroup.remissions\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.hwf_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.remission_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.fee_code }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n <td class=\"govuk-table__cell refundBtn whitespace-inherit\" >\n <button [disabled]=\"!chkIsRefundRemissionBtnEnable()\" (click)=\"addRefundForRemission(paymentGroup.payments[0],remission,paymentGroup.fees)\" class=\"govuk-button govuk-button--secondary\"> Add refund</button>\n </td>\n </tr>\n </tbody>\n\n\n </table>\n </div></div>\n\n <div *ngIf=\"paymentGroup.remissions?.length === 0\">\n <span class=\"mar-17\" >No help with fees or remissions.</span>\n </div>\n\n </div>\n </div>\n </main>\n</div>\n\n</ng-container>\n<ng-container *ngIf=\"viewStatus === 'addremission' && feeId\">\n<ccpay-add-remission\n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[fee]=\"feeId\"\n[payment] = \"payment\"\n[orderStatus] =\"paymentGroup.payments[0].status\"\n[paidAmount]= \"paymentGroup.payments[0].amount\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[paymentGroupRef]=\"paymentGroup.payment_group_reference\"\n[isFromPaymentDetailPage] = \"true\"\n[ccdCaseNumber]=\"ccdCaseNumber\"\n[orderFeesTotal] = \"orderFeesTotal\"\n[orderTotalPayments] = \"orderTotalPayments\"\n[orderRemissionTotal] = \"orderRemissionTotal\"\n[orderRef] = \"orderRef\"\n[orderCreated] = \"orderCreated\"\n[orderParty] = \"orderParty\"\n[orderCCDEvent] = \"orderCCDEvent\"\n[orderDetail] = \"orderDetail\"\n[LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"></ccpay-add-remission>\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'addrefundforremission' && payment\">\n\n<ccpay-add-remission\n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[payment]=\"payment\"\n[orderStatus] =\"orderStatus\"\n[paidAmount]= \"orderTotalPayments\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[feeamount]=\"remissionFeeAmt\"\n[remission] = \"remissions\"\n[isFromServiceRequestPage]=\"false\"\n[paymentGroupRef]=\"paymentGroup.payment_group_reference\"\n[ccdCaseNumber]=\"ccdCaseNumber\"\n[orderFeesTotal] = \"orderFeesTotal\"\n[orderTotalPayments] = \"orderTotalPayments\"\n[orderRemissionTotal] = \"orderRemissionTotal\"\n[orderRef] = \"orderRef\"\n[orderCreated] = \"orderCreated\"\n[orderParty] = \"orderParty\"\n[orderCCDEvent] = \"orderCCDEvent\"\n[orderDetail] = \"orderDetail\"\n[LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"></ccpay-add-remission>\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'issuerefund'\">\n <ccpay-add-remission\n [isTurnOff]=\"isTurnOff\"\n [isStrategicFixEnable]=\"isStrategicFixEnable\"\n [payment] = 'paymentGroup.payments[0]'\n [viewCompStatus]= \"viewStatus\"\n [orderStatus] =\"paymentGroup.payments[0].status\"\n [paidAmount]= \"paymentGroup.payments[0].amount\"\n [isRefundRemission]=\"isRefundRemission\"\n [caseType]=\"caseType\"\n [isFromServiceRequestPage]=\"isFromServiceRequestPage\"\n [isFromPaymentDetailPage] = \"isFromPaymentDetailPage\"\n [paymentGroupRef]=\"paymentGroup.payment_group_reference\"\n [ccdCaseNumber]=\"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\"\n [orderRef] = \"orderRef\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\">\n ></ccpay-add-remission>\n</ng-container>\n<ng-container *ngIf=\"viewStatus === 'order-full-view'\">\n <ccpay-service-request\n [viewStatus] = \"viewStatus\"\n [orderRef] = \"orderRef\"\n [orderStatus] = \"orderStatus\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"\n [takePayment] = \"isTakePayment\"\n [ccdCaseNumber] = \"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\"\n [isServiceRequest] = \"isServiceRequest\"\n (goToServiceRquestComponent) = \"goToServiceRequestPage()\"\n>\n</ccpay-service-request>\n\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'payment-failure'\">\n <div class=\"payment-failure-alignment\">\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"goBackToPaymentView($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n <div class=\"govuk-grid-row\">\n <div class=\"column\">\n <h1 class=\"heading-large govuk-!-margin-top-0\">Failure event details</h1>\n </div>\n </div>\n <table>\n <tbody>\n\n <tr class=\"section\">\n <td class=\"bold\">Failure reference</td>\n <td>\t{{selectedPaymentsStatus.failure_reference}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Failure reason</td>\n <td>\t{{selectedPaymentsStatus.failure_reason}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Payment reference</td>\n <td>{{ selectedPaymentsStatus.payment_reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Payment amount</td>\n <td> \u00A3{{ paymentGroup?.payments[0]?.amount | number:'.2' }}</td>\n\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Disputed amount</td>\n <td>\t\u00A3{{selectedPaymentsStatus.disputed_amount | number:'.2'}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Additional information</td>\n <td>\t{{selectedPaymentsStatus.additional_reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Failure type</td>\n <td>\t{{ selectedPaymentsStatus.failure_type }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Failure event date and time</td>\n <td> {{ selectedPaymentsStatus.failure_event_date_time | date:'dd MMM yyyy HH:mm:ss' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"selectedPaymentsStatus.has_amount_debited\">\n <td class=\"bold\">Has disputed amount debited</td>\n <td>\t{{selectedPaymentsStatus.has_amount_debited}}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"selectedPaymentsStatus.representment_status\">\n <td class=\"bold\">Status following representation of payment</td>\n <td>\t{{(selectedPaymentsStatus.representment_status === 'Yes' || selectedPaymentsStatus.representment_status === 'yes') ? 'Success' : 'Failure'}}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"selectedPaymentsStatus.representment_date\">\n <td class=\"bold\">Date payment represented</td>\n <td>\t{{selectedPaymentsStatus.representment_date | date:'dd MMM yyyy HH:mm:ss'}}</td>\n </tr>\n </tbody>\n </table>\n\n <div>\n </div>\n </div>\n</ng-container>\n",
2322
1927
  styles: [".tb-col-w{width:330px}.tr-border{border-bottom:2px solid}.payment-view-alignment{margin-left:30px}.govuk-button{font-size:19px;float:left;margin-top:2em}.remission{margin-bottom:7em}.govuk-error-summary__title{font-size:24px!important}.govuk-table__cell,.govuk-table__header{padding:0;line-height:1.3;vertical-align:middle}.govuk-table__row{line-height:1.3}.govuk-table__cell:last-child{text-align:right}.text-transform::first-letter{text-transform:capitalize}.govuk-link{cursor:pointer}.mar-17{font-size:19px!important}.payment-failure-alignment{margin-bottom:50px!important;margin-left:15px!important}"]
2323
1928
  }] }
2324
1929
  ];
@@ -2349,115 +1954,10 @@ var PaymentViewComponent = /** @class */ (function () {
2349
1954
  };
2350
1955
  return PaymentViewComponent;
2351
1956
  }());
2352
- if (false) {
2353
- /** @type {?} */
2354
- PaymentViewComponent.prototype.isTurnOff;
2355
- /** @type {?} */
2356
- PaymentViewComponent.prototype.isTakePayment;
2357
- /** @type {?} */
2358
- PaymentViewComponent.prototype.caseType;
2359
- /** @type {?} */
2360
- PaymentViewComponent.prototype.orderRef;
2361
- /** @type {?} */
2362
- PaymentViewComponent.prototype.orderStatus;
2363
- /** @type {?} */
2364
- PaymentViewComponent.prototype.orderTotalPayments;
2365
- /** @type {?} */
2366
- PaymentViewComponent.prototype.payment;
2367
- /** @type {?} */
2368
- PaymentViewComponent.prototype.LOGGEDINUSERROLES;
2369
- /** @type {?} */
2370
- PaymentViewComponent.prototype.ISPAYMENTSTATUSENABLED;
2371
- /** @type {?} */
2372
- PaymentViewComponent.prototype.orderParty;
2373
- /** @type {?} */
2374
- PaymentViewComponent.prototype.orderCreated;
2375
- /** @type {?} */
2376
- PaymentViewComponent.prototype.orderCCDEvent;
2377
- /** @type {?} */
2378
- PaymentViewComponent.prototype.orderFeesTotal;
2379
- /** @type {?} */
2380
- PaymentViewComponent.prototype.orderRemissionTotal;
2381
- /** @type {?} */
2382
- PaymentViewComponent.prototype.orderDetail;
2383
- /** @type {?} */
2384
- PaymentViewComponent.prototype.isServiceRequest;
2385
- /** @type {?} */
2386
- PaymentViewComponent.prototype.errorMsg;
2387
- /** @type {?} */
2388
- PaymentViewComponent.prototype.paymentGroup;
2389
- /** @type {?} */
2390
- PaymentViewComponent.prototype.errorMessage;
2391
- /** @type {?} */
2392
- PaymentViewComponent.prototype.ccdCaseNumber;
2393
- /** @type {?} */
2394
- PaymentViewComponent.prototype.selectedOption;
2395
- /** @type {?} */
2396
- PaymentViewComponent.prototype.dcnNumber;
2397
- /** @type {?} */
2398
- PaymentViewComponent.prototype.isStatusAllocated;
2399
- /** @type {?} */
2400
- PaymentViewComponent.prototype.isRemissionsMatch;
2401
- /** @type {?} */
2402
- PaymentViewComponent.prototype.feeId;
2403
- /** @type {?} */
2404
- PaymentViewComponent.prototype.viewStatus;
2405
- /** @type {?} */
2406
- PaymentViewComponent.prototype.isRefundRemission;
2407
- /** @type {?} */
2408
- PaymentViewComponent.prototype.isStrategicFixEnable;
2409
- /** @type {?} */
2410
- PaymentViewComponent.prototype.isAddFeeBtnEnabled;
2411
- /** @type {?} */
2412
- PaymentViewComponent.prototype.isIssueRefunfBtnEnable;
2413
- /** @type {?} */
2414
- PaymentViewComponent.prototype.allowedRolesToAccessRefund;
2415
- /** @type {?} */
2416
- PaymentViewComponent.prototype.remissions;
2417
- /** @type {?} */
2418
- PaymentViewComponent.prototype.allPaymentsFailure;
2419
- /** @type {?} */
2420
- PaymentViewComponent.prototype.selectedPaymentsStatus;
2421
- /** @type {?} */
2422
- PaymentViewComponent.prototype.remissionFeeAmt;
2423
- /** @type {?} */
2424
- PaymentViewComponent.prototype.isRefundRemissionBtnEnable;
2425
- /** @type {?} */
2426
- PaymentViewComponent.prototype.serviceReference;
2427
- /** @type {?} */
2428
- PaymentViewComponent.prototype.isFromServiceRequestPage;
2429
- /** @type {?} */
2430
- PaymentViewComponent.prototype.isFromPaymentDetailPage;
2431
- /** @type {?} */
2432
- PaymentViewComponent.prototype.check4AllowedRoles2AccessRefund;
2433
- /** @type {?} */
2434
- PaymentViewComponent.prototype.allowFurtherAccessAfter4Days;
2435
- /**
2436
- * @type {?}
2437
- * @private
2438
- */
2439
- PaymentViewComponent.prototype.paymentViewService;
2440
- /**
2441
- * @type {?}
2442
- * @private
2443
- */
2444
- PaymentViewComponent.prototype.paymentLibComponent;
2445
- /**
2446
- * @type {?}
2447
- * @private
2448
- */
2449
- PaymentViewComponent.prototype.cd;
2450
- /**
2451
- * @type {?}
2452
- * @private
2453
- */
2454
- PaymentViewComponent.prototype.OrderslistService;
2455
- }
2456
1957
 
2457
1958
  /**
2458
1959
  * @fileoverview added by tsickle
2459
- * Generated from: lib/services/refunds/refunds.service.ts
2460
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1960
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2461
1961
  */
2462
1962
  var RefundsService = /** @class */ (function () {
2463
1963
  function RefundsService(http, https, errorHandlerService, paymentLibService, meta) {
@@ -2666,47 +2166,19 @@ var RefundsService = /** @class */ (function () {
2666
2166
  { type: PaymentLibService },
2667
2167
  { type: Meta }
2668
2168
  ]; };
2669
- /** @nocollapse */ RefundsService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RefundsService_Factory() { return new RefundsService(ɵɵinject(HttpClient), ɵɵinject(WebComponentHttpClient), ɵɵinject(ErrorHandlerService), ɵɵinject(PaymentLibService), ɵɵinject(Meta)); }, token: RefundsService, providedIn: "root" });
2169
+ /** @nocollapse */ RefundsService.ngInjectableDef = defineInjectable({ factory: function RefundsService_Factory() { return new RefundsService(inject(HttpClient), inject(WebComponentHttpClient), inject(ErrorHandlerService), inject(PaymentLibService), inject(Meta)); }, token: RefundsService, providedIn: "root" });
2670
2170
  return RefundsService;
2671
2171
  }());
2672
- if (false) {
2673
- /**
2674
- * @type {?}
2675
- * @private
2676
- */
2677
- RefundsService.prototype.http;
2678
- /**
2679
- * @type {?}
2680
- * @private
2681
- */
2682
- RefundsService.prototype.https;
2683
- /**
2684
- * @type {?}
2685
- * @private
2686
- */
2687
- RefundsService.prototype.errorHandlerService;
2688
- /**
2689
- * @type {?}
2690
- * @private
2691
- */
2692
- RefundsService.prototype.paymentLibService;
2693
- /**
2694
- * @type {?}
2695
- * @private
2696
- */
2697
- RefundsService.prototype.meta;
2698
- }
2699
2172
 
2700
2173
  /**
2701
2174
  * @fileoverview added by tsickle
2702
- * Generated from: lib/components/process-refund/process-refund.component.ts
2703
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2175
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2704
2176
  */
2705
2177
  var ProcessRefundComponent = /** @class */ (function () {
2706
- function ProcessRefundComponent(RefundsService, formBuilder, OrderslistService, paymentLibComponent, router, activeRoute) {
2707
- this.RefundsService = RefundsService;
2178
+ function ProcessRefundComponent(RefundsService$$1, formBuilder, OrderslistService$$1, paymentLibComponent, router, activeRoute) {
2179
+ this.RefundsService = RefundsService$$1;
2708
2180
  this.formBuilder = formBuilder;
2709
- this.OrderslistService = OrderslistService;
2181
+ this.OrderslistService = OrderslistService$$1;
2710
2182
  this.paymentLibComponent = paymentLibComponent;
2711
2183
  this.router = router;
2712
2184
  this.activeRoute = activeRoute;
@@ -3144,93 +2616,10 @@ var ProcessRefundComponent = /** @class */ (function () {
3144
2616
  };
3145
2617
  return ProcessRefundComponent;
3146
2618
  }());
3147
- if (false) {
3148
- /** @type {?} */
3149
- ProcessRefundComponent.prototype.refundReference;
3150
- /** @type {?} */
3151
- ProcessRefundComponent.prototype.refundlistsource;
3152
- /** @type {?} */
3153
- ProcessRefundComponent.prototype.processRefundForm;
3154
- /** @type {?} */
3155
- ProcessRefundComponent.prototype.errorMessage;
3156
- /** @type {?} */
3157
- ProcessRefundComponent.prototype.sendmeback;
3158
- /** @type {?} */
3159
- ProcessRefundComponent.prototype.viewStatus;
3160
- /** @type {?} */
3161
- ProcessRefundComponent.prototype.refundActionList;
3162
- /** @type {?} */
3163
- ProcessRefundComponent.prototype.refundRejectReasonList;
3164
- /** @type {?} */
3165
- ProcessRefundComponent.prototype.isSendMeBackClicked;
3166
- /** @type {?} */
3167
- ProcessRefundComponent.prototype.isRejectClicked;
3168
- /** @type {?} */
3169
- ProcessRefundComponent.prototype.isOtherClicked;
3170
- /** @type {?} */
3171
- ProcessRefundComponent.prototype.isSuccesspageEnable;
3172
- /** @type {?} */
3173
- ProcessRefundComponent.prototype.refundActionsHasError;
3174
- /** @type {?} */
3175
- ProcessRefundComponent.prototype.refundRejectReasonHasError;
3176
- /** @type {?} */
3177
- ProcessRefundComponent.prototype.isReasonFieldEmpty;
3178
- /** @type {?} */
3179
- ProcessRefundComponent.prototype.isReasonFieldInvalid;
3180
- /** @type {?} */
3181
- ProcessRefundComponent.prototype.reasonFieldMinHasError;
3182
- /** @type {?} */
3183
- ProcessRefundComponent.prototype.reasonFieldMaxHasError;
3184
- /** @type {?} */
3185
- ProcessRefundComponent.prototype.isReasonEmpty;
3186
- /** @type {?} */
3187
- ProcessRefundComponent.prototype.isReasonInvalid;
3188
- /** @type {?} */
3189
- ProcessRefundComponent.prototype.successMsg;
3190
- /** @type {?} */
3191
- ProcessRefundComponent.prototype.navigationpage;
3192
- /** @type {?} */
3193
- ProcessRefundComponent.prototype.ccdCaseNumber;
3194
- /** @type {?} */
3195
- ProcessRefundComponent.prototype.isFromRefundListPage;
3196
- /** @type {?} */
3197
- ProcessRefundComponent.prototype.isConfirmButtondisabled;
3198
- /**
3199
- * @type {?}
3200
- * @private
3201
- */
3202
- ProcessRefundComponent.prototype.RefundsService;
3203
- /**
3204
- * @type {?}
3205
- * @private
3206
- */
3207
- ProcessRefundComponent.prototype.formBuilder;
3208
- /**
3209
- * @type {?}
3210
- * @private
3211
- */
3212
- ProcessRefundComponent.prototype.OrderslistService;
3213
- /**
3214
- * @type {?}
3215
- * @private
3216
- */
3217
- ProcessRefundComponent.prototype.paymentLibComponent;
3218
- /**
3219
- * @type {?}
3220
- * @private
3221
- */
3222
- ProcessRefundComponent.prototype.router;
3223
- /**
3224
- * @type {?}
3225
- * @private
3226
- */
3227
- ProcessRefundComponent.prototype.activeRoute;
3228
- }
3229
2619
 
3230
2620
  /**
3231
2621
  * @fileoverview added by tsickle
3232
- * Generated from: lib/components/refund-list/refund-list.component.ts
3233
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2622
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3234
2623
  */
3235
2624
  var RefundListComponent = /** @class */ (function () {
3236
2625
  function RefundListComponent(refundService) {
@@ -3317,48 +2706,10 @@ var RefundListComponent = /** @class */ (function () {
3317
2706
  };
3318
2707
  return RefundListComponent;
3319
2708
  }());
3320
- if (false) {
3321
- /** @type {?} */
3322
- RefundListComponent.prototype.USERID;
3323
- /** @type {?} */
3324
- RefundListComponent.prototype.LOGGEDINUSERROLES;
3325
- /** @type {?} */
3326
- RefundListComponent.prototype.LOGGEDINUSEREMAIL;
3327
- /** @type {?} */
3328
- RefundListComponent.prototype.tableApprovalHeader;
3329
- /** @type {?} */
3330
- RefundListComponent.prototype.tableRejectedHeader;
3331
- /** @type {?} */
3332
- RefundListComponent.prototype.submittedRefundList;
3333
- /** @type {?} */
3334
- RefundListComponent.prototype.rejectedRefundList;
3335
- /** @type {?} */
3336
- RefundListComponent.prototype.approvalStatus;
3337
- /** @type {?} */
3338
- RefundListComponent.prototype.rejectStatus;
3339
- /** @type {?} */
3340
- RefundListComponent.prototype.errorMessage;
3341
- /** @type {?} */
3342
- RefundListComponent.prototype.isApproveTableVisible;
3343
- /** @type {?} */
3344
- RefundListComponent.prototype.isRejectTableVisible;
3345
- /** @type {?} */
3346
- RefundListComponent.prototype.dropdownvalue;
3347
- /** @type {?} */
3348
- RefundListComponent.prototype.isAuthorized;
3349
- /** @type {?} */
3350
- RefundListComponent.prototype.userLst;
3351
- /**
3352
- * @type {?}
3353
- * @private
3354
- */
3355
- RefundListComponent.prototype.refundService;
3356
- }
3357
2709
 
3358
2710
  /**
3359
2711
  * @fileoverview added by tsickle
3360
- * Generated from: lib/services/card-details/card-details.service.ts
3361
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2712
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3362
2713
  */
3363
2714
  var CardDetailsService = /** @class */ (function () {
3364
2715
  function CardDetailsService(http, logger, errorHandlerService, paymentLibService) {
@@ -3394,36 +2745,13 @@ var CardDetailsService = /** @class */ (function () {
3394
2745
  { type: ErrorHandlerService },
3395
2746
  { type: PaymentLibService }
3396
2747
  ]; };
3397
- /** @nocollapse */ CardDetailsService.ngInjectableDef = ɵɵdefineInjectable({ factory: function CardDetailsService_Factory() { return new CardDetailsService(ɵɵinject(HttpClient), ɵɵinject(LoggerService), ɵɵinject(ErrorHandlerService), ɵɵinject(PaymentLibService)); }, token: CardDetailsService, providedIn: "root" });
2748
+ /** @nocollapse */ CardDetailsService.ngInjectableDef = defineInjectable({ factory: function CardDetailsService_Factory() { return new CardDetailsService(inject(HttpClient), inject(LoggerService), inject(ErrorHandlerService), inject(PaymentLibService)); }, token: CardDetailsService, providedIn: "root" });
3398
2749
  return CardDetailsService;
3399
2750
  }());
3400
- if (false) {
3401
- /**
3402
- * @type {?}
3403
- * @private
3404
- */
3405
- CardDetailsService.prototype.http;
3406
- /**
3407
- * @type {?}
3408
- * @private
3409
- */
3410
- CardDetailsService.prototype.logger;
3411
- /**
3412
- * @type {?}
3413
- * @private
3414
- */
3415
- CardDetailsService.prototype.errorHandlerService;
3416
- /**
3417
- * @type {?}
3418
- * @private
3419
- */
3420
- CardDetailsService.prototype.paymentLibService;
3421
- }
3422
2751
 
3423
2752
  /**
3424
2753
  * @fileoverview added by tsickle
3425
- * Generated from: lib/components/card-details/card-details.component.ts
3426
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2754
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3427
2755
  */
3428
2756
  var CardDetailsComponent = /** @class */ (function () {
3429
2757
  function CardDetailsComponent(cardDetailsService, paymentLibComponent) {
@@ -3473,31 +2801,10 @@ var CardDetailsComponent = /** @class */ (function () {
3473
2801
  ]; };
3474
2802
  return CardDetailsComponent;
3475
2803
  }());
3476
- if (false) {
3477
- /** @type {?} */
3478
- CardDetailsComponent.prototype.pageTitle;
3479
- /** @type {?} */
3480
- CardDetailsComponent.prototype.cardDetails;
3481
- /** @type {?} */
3482
- CardDetailsComponent.prototype.paymentReference;
3483
- /** @type {?} */
3484
- CardDetailsComponent.prototype.errorMessage;
3485
- /**
3486
- * @type {?}
3487
- * @private
3488
- */
3489
- CardDetailsComponent.prototype.cardDetailsService;
3490
- /**
3491
- * @type {?}
3492
- * @private
3493
- */
3494
- CardDetailsComponent.prototype.paymentLibComponent;
3495
- }
3496
2804
 
3497
2805
  /**
3498
2806
  * @fileoverview added by tsickle
3499
- * Generated from: lib/components/page-not-found.component.ts
3500
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2807
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3501
2808
  */
3502
2809
  var PageNotFoundComponent = /** @class */ (function () {
3503
2810
  function PageNotFoundComponent() {
@@ -3512,8 +2819,7 @@ var PageNotFoundComponent = /** @class */ (function () {
3512
2819
 
3513
2820
  /**
3514
2821
  * @fileoverview added by tsickle
3515
- * Generated from: lib/services/status-history/status-history.service.ts
3516
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2822
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3517
2823
  */
3518
2824
  var StatusHistoryService = /** @class */ (function () {
3519
2825
  function StatusHistoryService(http, logger, errorHandlerService, paymentLibService) {
@@ -3553,36 +2859,13 @@ var StatusHistoryService = /** @class */ (function () {
3553
2859
  { type: ErrorHandlerService },
3554
2860
  { type: PaymentLibService }
3555
2861
  ]; };
3556
- /** @nocollapse */ StatusHistoryService.ngInjectableDef = ɵɵdefineInjectable({ factory: function StatusHistoryService_Factory() { return new StatusHistoryService(ɵɵinject(HttpClient), ɵɵinject(LoggerService), ɵɵinject(ErrorHandlerService), ɵɵinject(PaymentLibService)); }, token: StatusHistoryService, providedIn: "root" });
2862
+ /** @nocollapse */ StatusHistoryService.ngInjectableDef = defineInjectable({ factory: function StatusHistoryService_Factory() { return new StatusHistoryService(inject(HttpClient), inject(LoggerService), inject(ErrorHandlerService), inject(PaymentLibService)); }, token: StatusHistoryService, providedIn: "root" });
3557
2863
  return StatusHistoryService;
3558
2864
  }());
3559
- if (false) {
3560
- /**
3561
- * @type {?}
3562
- * @private
3563
- */
3564
- StatusHistoryService.prototype.http;
3565
- /**
3566
- * @type {?}
3567
- * @private
3568
- */
3569
- StatusHistoryService.prototype.logger;
3570
- /**
3571
- * @type {?}
3572
- * @private
3573
- */
3574
- StatusHistoryService.prototype.errorHandlerService;
3575
- /**
3576
- * @type {?}
3577
- * @private
3578
- */
3579
- StatusHistoryService.prototype.paymentLibService;
3580
- }
3581
2865
 
3582
2866
  /**
3583
2867
  * @fileoverview added by tsickle
3584
- * Generated from: lib/components/status-history/status-history.component.ts
3585
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2868
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3586
2869
  */
3587
2870
  var StatusHistoryComponent = /** @class */ (function () {
3588
2871
  function StatusHistoryComponent(statusHistoryService, paymentLibComponent) {
@@ -3625,31 +2908,10 @@ var StatusHistoryComponent = /** @class */ (function () {
3625
2908
  };
3626
2909
  return StatusHistoryComponent;
3627
2910
  }());
3628
- if (false) {
3629
- /** @type {?} */
3630
- StatusHistoryComponent.prototype.isTakePayment;
3631
- /** @type {?} */
3632
- StatusHistoryComponent.prototype.pageTitle;
3633
- /** @type {?} */
3634
- StatusHistoryComponent.prototype.statuses;
3635
- /** @type {?} */
3636
- StatusHistoryComponent.prototype.errorMessage;
3637
- /**
3638
- * @type {?}
3639
- * @private
3640
- */
3641
- StatusHistoryComponent.prototype.statusHistoryService;
3642
- /**
3643
- * @type {?}
3644
- * @private
3645
- */
3646
- StatusHistoryComponent.prototype.paymentLibComponent;
3647
- }
3648
2911
 
3649
2912
  /**
3650
2913
  * @fileoverview added by tsickle
3651
- * Generated from: lib/components/pba-details/pba-details.component.ts
3652
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2914
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3653
2915
  */
3654
2916
  var PbaDetailsComponent = /** @class */ (function () {
3655
2917
  function PbaDetailsComponent() {
@@ -3676,24 +2938,16 @@ var PbaDetailsComponent = /** @class */ (function () {
3676
2938
  };
3677
2939
  return PbaDetailsComponent;
3678
2940
  }());
3679
- if (false) {
3680
- /** @type {?} */
3681
- PbaDetailsComponent.prototype.payment;
3682
- }
3683
2941
 
3684
2942
  /**
3685
2943
  * @fileoverview added by tsickle
3686
- * Generated from: lib/services/shared/logger/console-logger.service.ts
3687
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2944
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3688
2945
  */
3689
2946
  /** @type {?} */
3690
- var isDebugMode = false;
3691
- /** @type {?} */
3692
2947
  var noop$1 = (/**
3693
2948
  * @return {?}
3694
2949
  */
3695
2950
  function () { return undefined; });
3696
- var ɵ0$1 = noop$1;
3697
2951
  var ConsoleLoggerService = /** @class */ (function () {
3698
2952
  function ConsoleLoggerService() {
3699
2953
  }
@@ -3702,10 +2956,7 @@ var ConsoleLoggerService = /** @class */ (function () {
3702
2956
  * @return {?}
3703
2957
  */
3704
2958
  function () {
3705
- if (isDebugMode) {
3706
- return console.info.bind(console);
3707
- }
3708
- else {
2959
+ {
3709
2960
  return noop$1;
3710
2961
  }
3711
2962
  },
@@ -3717,10 +2968,7 @@ var ConsoleLoggerService = /** @class */ (function () {
3717
2968
  * @return {?}
3718
2969
  */
3719
2970
  function () {
3720
- if (isDebugMode) {
3721
- return console.warn.bind(console);
3722
- }
3723
- else {
2971
+ {
3724
2972
  return noop$1;
3725
2973
  }
3726
2974
  },
@@ -3732,10 +2980,7 @@ var ConsoleLoggerService = /** @class */ (function () {
3732
2980
  * @return {?}
3733
2981
  */
3734
2982
  function () {
3735
- if (isDebugMode) {
3736
- return console.error.bind(console);
3737
- }
3738
- else {
2983
+ {
3739
2984
  return noop$1;
3740
2985
  }
3741
2986
  },
@@ -3762,14 +3007,13 @@ var ConsoleLoggerService = /** @class */ (function () {
3762
3007
  providedIn: 'root'
3763
3008
  },] }
3764
3009
  ];
3765
- /** @nocollapse */ ConsoleLoggerService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ConsoleLoggerService_Factory() { return new ConsoleLoggerService(); }, token: ConsoleLoggerService, providedIn: "root" });
3010
+ /** @nocollapse */ ConsoleLoggerService.ngInjectableDef = defineInjectable({ factory: function ConsoleLoggerService_Factory() { return new ConsoleLoggerService(); }, token: ConsoleLoggerService, providedIn: "root" });
3766
3011
  return ConsoleLoggerService;
3767
3012
  }());
3768
3013
 
3769
3014
  /**
3770
3015
  * @fileoverview added by tsickle
3771
- * Generated from: lib/services/case-transactions/case-transactions.service.ts
3772
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3016
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3773
3017
  */
3774
3018
  var CaseTransactionsService = /** @class */ (function () {
3775
3019
  function CaseTransactionsService(http, logger, errorHandlerService, paymentLibService) {
@@ -3805,36 +3049,13 @@ var CaseTransactionsService = /** @class */ (function () {
3805
3049
  { type: ErrorHandlerService },
3806
3050
  { type: PaymentLibService }
3807
3051
  ]; };
3808
- /** @nocollapse */ CaseTransactionsService.ngInjectableDef = ɵɵdefineInjectable({ factory: function CaseTransactionsService_Factory() { return new CaseTransactionsService(ɵɵinject(HttpClient), ɵɵinject(LoggerService), ɵɵinject(ErrorHandlerService), ɵɵinject(PaymentLibService)); }, token: CaseTransactionsService, providedIn: "root" });
3052
+ /** @nocollapse */ CaseTransactionsService.ngInjectableDef = defineInjectable({ factory: function CaseTransactionsService_Factory() { return new CaseTransactionsService(inject(HttpClient), inject(LoggerService), inject(ErrorHandlerService), inject(PaymentLibService)); }, token: CaseTransactionsService, providedIn: "root" });
3809
3053
  return CaseTransactionsService;
3810
3054
  }());
3811
- if (false) {
3812
- /**
3813
- * @type {?}
3814
- * @private
3815
- */
3816
- CaseTransactionsService.prototype.http;
3817
- /**
3818
- * @type {?}
3819
- * @private
3820
- */
3821
- CaseTransactionsService.prototype.logger;
3822
- /**
3823
- * @type {?}
3824
- * @private
3825
- */
3826
- CaseTransactionsService.prototype.errorHandlerService;
3827
- /**
3828
- * @type {?}
3829
- * @private
3830
- */
3831
- CaseTransactionsService.prototype.paymentLibService;
3832
- }
3833
3055
 
3834
3056
  /**
3835
3057
  * @fileoverview added by tsickle
3836
- * Generated from: lib/services/bulk-scaning-payment/bulk-scaning-payment.service.ts
3837
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3058
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3838
3059
  */
3839
3060
  var BulkScaningPaymentService = /** @class */ (function () {
3840
3061
  function BulkScaningPaymentService(http, https, errorHandlerService, paymentLibService) {
@@ -4012,48 +3233,23 @@ var BulkScaningPaymentService = /** @class */ (function () {
4012
3233
  { type: ErrorHandlerService },
4013
3234
  { type: PaymentLibService }
4014
3235
  ]; };
4015
- /** @nocollapse */ BulkScaningPaymentService.ngInjectableDef = ɵɵdefineInjectable({ factory: function BulkScaningPaymentService_Factory() { return new BulkScaningPaymentService(ɵɵinject(HttpClient), ɵɵinject(WebComponentHttpClient), ɵɵinject(ErrorHandlerService), ɵɵinject(PaymentLibService)); }, token: BulkScaningPaymentService, providedIn: "root" });
3236
+ /** @nocollapse */ BulkScaningPaymentService.ngInjectableDef = defineInjectable({ factory: function BulkScaningPaymentService_Factory() { return new BulkScaningPaymentService(inject(HttpClient), inject(WebComponentHttpClient), inject(ErrorHandlerService), inject(PaymentLibService)); }, token: BulkScaningPaymentService, providedIn: "root" });
4016
3237
  return BulkScaningPaymentService;
4017
3238
  }());
4018
- if (false) {
4019
- /**
4020
- * @type {?}
4021
- * @private
4022
- */
4023
- BulkScaningPaymentService.prototype.http;
4024
- /**
4025
- * @type {?}
4026
- * @private
4027
- */
4028
- BulkScaningPaymentService.prototype.https;
4029
- /**
4030
- * @type {?}
4031
- * @private
4032
- */
4033
- BulkScaningPaymentService.prototype.errorHandlerService;
4034
- /**
4035
- * @type {?}
4036
- * @private
4037
- */
4038
- BulkScaningPaymentService.prototype.paymentLibService;
4039
- }
4040
3239
 
4041
3240
  /**
4042
3241
  * @fileoverview added by tsickle
4043
- * Generated from: lib/components/case-transactions/case-transactions.component.ts
4044
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3242
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4045
3243
  */
4046
- /** @type {?} */
4047
- var BS_ENABLE_FLAG$1 = 'bulk-scan-enabling-fe';
4048
3244
  var CaseTransactionsComponent = /** @class */ (function () {
4049
- function CaseTransactionsComponent(router, paymentViewService, bulkScaningPaymentService, caseTransactionsService, paymentLibComponent, OrderslistService) {
3245
+ function CaseTransactionsComponent(router, paymentViewService, bulkScaningPaymentService, caseTransactionsService, paymentLibComponent, OrderslistService$$1) {
4050
3246
  var _this = this;
4051
3247
  this.router = router;
4052
3248
  this.paymentViewService = paymentViewService;
4053
3249
  this.bulkScaningPaymentService = bulkScaningPaymentService;
4054
3250
  this.caseTransactionsService = caseTransactionsService;
4055
3251
  this.paymentLibComponent = paymentLibComponent;
4056
- this.OrderslistService = OrderslistService;
3252
+ this.OrderslistService = OrderslistService$$1;
4057
3253
  this.paymentGroups = [];
4058
3254
  this.payments = [];
4059
3255
  this.nonPayments = [];
@@ -4377,8 +3573,6 @@ var CaseTransactionsComponent = /** @class */ (function () {
4377
3573
  */
4378
3574
  function () {
4379
3575
  var _this = this;
4380
- /** @type {?} */
4381
- var feesTotal = 0.00;
4382
3576
  this.paymentGroups.forEach((/**
4383
3577
  * @param {?} paymentGroup
4384
3578
  * @return {?}
@@ -4435,7 +3629,6 @@ var CaseTransactionsComponent = /** @class */ (function () {
4435
3629
  }
4436
3630
  }));
4437
3631
  };
4438
- ;
4439
3632
  /**
4440
3633
  * @return {?}
4441
3634
  */
@@ -4449,7 +3642,6 @@ var CaseTransactionsComponent = /** @class */ (function () {
4449
3642
  this.orderPendingPayments = 0.00;
4450
3643
  this.isAddFeeBtnEnabled = true;
4451
3644
  };
4452
- ;
4453
3645
  /**
4454
3646
  * @param {?} orderReferenceObj
4455
3647
  * @return {?}
@@ -5197,7 +4389,6 @@ var CaseTransactionsComponent = /** @class */ (function () {
5197
4389
  else {
5198
4390
  return false;
5199
4391
  }
5200
- ;
5201
4392
  }
5202
4393
  };
5203
4394
  /**
@@ -5219,7 +4410,6 @@ var CaseTransactionsComponent = /** @class */ (function () {
5219
4410
  else {
5220
4411
  return false;
5221
4412
  }
5222
- ;
5223
4413
  };
5224
4414
  /**
5225
4415
  * @return {?}
@@ -5254,7 +4444,6 @@ var CaseTransactionsComponent = /** @class */ (function () {
5254
4444
  else {
5255
4445
  return false;
5256
4446
  }
5257
- ;
5258
4447
  }
5259
4448
  };
5260
4449
  /**
@@ -5272,7 +4461,7 @@ var CaseTransactionsComponent = /** @class */ (function () {
5272
4461
  CaseTransactionsComponent.decorators = [
5273
4462
  { type: Component, args: [{
5274
4463
  selector: 'ccpay-case-transactions',
5275
- template: "<div class=\"govuk-width-container\">\n\n <main class=\"govuk-main-wrapper\">\n <ng-container *ngIf=\"viewStatus === 'main1'\">\n <div *ngIf=\"viewStatus === 'main1'&& !isTurnOff && takePayment\">\n <div *ngIf=\"takePayment\" class=\"govuk-grid-row\">\n\n <div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-xl\">Case transactions</h1>\n </div>\n </div>\n\n <div *ngIf=\"takePayment\" class=\"govuk-grid-row\">\n <div *ngIf='!isExceptionRecord' class=\"govuk-grid-column-two-thirds govuk-!-padding-bottom-6 govuk-!-padding-top-6\">\n <h3 class=\"heading-medium\">CCD reference:</h3>\n <span> {{ ccdCaseNumber | ccdHyphens }}</span>\n </div>\n\n <div *ngIf='isExceptionRecord' class=\"govuk-grid-column-two-thirds govuk-!-padding-bottom-6 govuk-!-padding-top-6\">\n <h3 class=\"heading-medium\">Exception reference:</h3>\n <span> {{ ccdCaseNumber | ccdHyphens }}</span>\n </div>\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Total payments</td>\n <td class=\"govuk-table__header\" scope=\"col\">Total remissions</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount due</td>\n <td class=\"govuk-table__header govuk-table__header--custom\" scope=\"col\" *ngIf=\"isBulkScanEnable\">Unallocated payments</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"totalpayments govuk-table__row\">\n <td class=\"govuk-table__cell summary-table-font\">{{ totalPayments | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell summary-table-font\">{{ totalRemissions | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell summary-table-font\">{{ clAmountDue | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td class=\"govuk-table__cell case-transaction__color summary-table-font\" *ngIf=\"isBulkScanEnable\">{{unprocessedRecordCount}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <div class=\"govuk-grid-column-two-thirds\" *ngIf=\"takePayment\">\n <button type=\"submit\" (click)=\"redirectToFeeSearchPage($event)\"\n [disabled]=\"!isAddFeeBtnEnabled\"\n [ngClass]='!isAddFeeBtnEnabled ? \"govuk-button govuk-button--secondary govuk-button--disabled govuk-!-margin-right-1\" : \"govuk-button govuk-button--secondary govuk-!-margin-right-1\"'>\n Take telephony payment\n </button>\n </div>\n\n </div>\n <div class=\"govuk-grid-row\">\n\n </div>\n <div *ngIf=\"takePayment\" class=\" govuk-!-margin-top-9\">\n\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <h3 class=\"heading-medium\">Fees</h3>\n </div>\n <div class=\"govuk-grid-column-full\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Description</td>\n <td class=\"govuk-table__header\" scope=\"col\">Volume</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Calculated amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount due</td>\n <td class=\"govuk-table__header\" scope=\"col\">Action</td>\n\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngFor=\"let paymentGroup of paymentGroups;\">\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell\">\t{{fee.code}} </td>\n <td class=\"govuk-table__cell\">{{fee.description}}</td>\n <td class=\"govuk-table__cell\">{{fee.volume? fee.volume : '-'}}</td>\n <td class=\"govuk-table__cell\">{{ fee.net_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"govuk-table__cell\">{{fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\" [attr.rowspan]=\"paymentGroup.fees.length\" *ngIf=\"paymentGroup.old && i==0\"> {{getGroupOutstandingAmount(paymentGroup)| currency:'GBP':'symbol-narrow':'1.2-2'}}* </td>\n <td class=\"govuk-table__cell\" *ngIf=\"!paymentGroup.old\"> {{calculateAmountDue(fee) | currency:'GBP':'symbol-narrow':'1.2-2'}} </td>\n <td class=\"govuk-table__cell\" *ngIf=\"!paymentGroup.old\">\n <a (click)=\"confirmRemoveFee(fee.id)\" [ngClass]='!isCheckAmountdueExist(fee.amount_due) || fee.remissions ? \"disable-link\" : \"\"'>Remove</a>\n </td>\n <td class=\"govuk-table__cell\" *ngIf=\"paymentGroup.old\">\n <a (click)=\"confirmRemoveFee(fee.id)\" [ngClass]='paymentGroup.payments?.length > 0 || paymentGroup.remissions?.length > 0 ? \"disable-link\" : \"\"'>Remove</a>\n </td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroups?.length === 0\">\n <tr class=\"govuk-table__row\" >\n <td class=\"govuk-table__cell\" colspan=\"7\">No fees recorded</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div class=\"hmcts-banner\" *ngIf=\"isHistoricGroupAvailable\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z\"></path>\n </svg>\n <div class=\"hmcts-banner__message\">\n <span class=\"hmcts-banner__assistive\">information</span>\n * These fees have already been processed offline. Check the notes in CCD for more information.\n </div>\n </div>\n <div class=\"panel panel-no--style\" *ngIf=\"allPayments?.length > 0 || remissions?.length > 0\">\n <!-- payments -->\n <h3 class=\"heading-medium\">Payments</h3>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-28\" scope=\"col\">Payment reference</td>\n <td class=\"govuk-table__header\" scope=\"col\">Date created</td>\n <td class=\"govuk-table__header\" scope=\"col\">Channel</td>\n <td class=\"govuk-table__header\" scope=\"col\">Method</td>\n <td class=\"govuk-table__header col-15\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Allocation status</td>\n <td class=\"govuk-table__header\" scope=\"col\">Payment status</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let payment of allPayments\">\n <td class=\"govuk-table__cell whitespace-inherit\">\n <a href=\"javascript:void(0)\" (click)=\"goToPayementView(payment.paymentGroupReference, payment.reference, payment.method)\">{{ payment.reference }}</a>\n </td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"channel govuk-table__cell whitespace-inherit\">{{ payment.channel | lowercase }}</td>\n <td class=\"govuk-table__cell capitalize whitespace-inherit\">{{ payment.method | lowercase}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\"> {{getAllocationStatus(payment)}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.status }}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length === 0\">\n <td class=\"govuk-table__cell\" colspan=\"7\">No payments recorded</td>\n </tbody>\n </table>\n\n <!-- remissions -->\n <h3 class=\"heading-medium\">Remissions</h3>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Remission reference</td>\n <td class=\"govuk-table__header\" scope=\"col\">Date created</td>\n <td class=\"govuk-table__header\" scope=\"col\">Remission code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Remission amount</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"remissions?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let remission of remissions\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.remission_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.hwf_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.fee_code }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"remissions?.length === 0\">\n <td class=\"govuk-table__cell\" colspan=\"5\">No remissions recorded</td>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"takePayment && isTurnOff\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-xl\">Case transactions</h1>\n </div>\n\n <div class=\"govuk-grid-column-one-third\" align=\"right\" >\n <a [ngClass]=\"{ 'disable': !isAddFeeBtnEnabled} \" (click)=\"redirectToFeeSearchPage($event)\" class=\"button\">Add a new fee</a>\n </div>\n </div>\n\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds govuk-!-padding-bottom-6\">\n <h3 class=\"heading-medium\">CCD reference:</h3>\n <span> {{ ccdCaseNumber | ccdHyphens }}</span>\n </div>\n\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Total payments</td>\n <td class=\"govuk-table__header\" scope=\"col\">Total remissions</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount due</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"totalpayments govuk-table__row\">\n <td class=\"govuk-table__cell\">{{ totalPayments | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell\">{{ totalRemissions | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell\">{{ (totalFees - totalRemissions) - totalPayments | currency :'GBP':'symbol':'1.2-2'}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n\n\n <!-- No fees start -->\n <div *ngIf=\"paymentGroups?.length === 0\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <span class=\"heading-small\">Existing fees</span>\n </div>\n\n <div class=\"govuk-grid-column-full\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Description</td>\n <td class=\"govuk-table__header\" scope=\"col\">Volume</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Calculated amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Group amount outstanding</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No fees recorded</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n\n <!-- No fees end -->\n\n <div *ngFor=\"let paymentGroup of paymentGroups\">\n\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full govuk-grid-column-full--gr\">\n <span class=\"heading-medium\">Group reference: {{paymentGroup.payment_group_reference}}</span>\n </div>\n </div>\n <div class=\"govuk-grid-row\">\n\n <!--New Code start-->\n\n <div class=\"govuk-grid-column-full\">\n <span class=\"heading-small\">Exisiting fees</span>\n </div>\n <div class=feeclass>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Description</td>\n <td class=\"govuk-table__header\" scope=\"col\">Volume</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Calculated amount</td>\n <td class=\"groupamount govuk-table__header\" scope=\"col\">Group amount outstanding</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" >\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell govuk-table__cell--col1\">{{fee.code}}</td>\n <td class=\"govuk-table__cell govuk-table__cell--col2\"> {{fee.description}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col3 align-center\"> {{fee.volume? fee.volume : '-'}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col4\"> {{ fee.net_amount | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col5\"> {{fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col6 govuk-table__custom--col6\" [attr.rowspan]=\"paymentGroup.fees.length\" *ngIf=\"i==0\">\n {{getGroupOutstandingAmount(paymentGroup) | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.fees.length==0\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n </div>\n </div>\n <div class=\"govuk-inset-text govuk-inset-text__no-border\" *ngIf=\"paymentGroup.payments || paymentGroup.remissions\">\n <details>\n <summary class=\"govuk-hidetext\">\n <span class=\"summary\">Allocated payments and remissions</span>\n </summary>\n\n <div class=\"panel panel-border-narrow\">\n <!-- payments -->\n <span class=\"heading-medium\">Payments</span>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Payment reference</td>\n <td class=\"govuk-table__header\" scope=\"col\">Date created</td>\n <td class=\"govuk-table__header\" scope=\"col\">Channel</td>\n <td class=\"govuk-table__header\" scope=\"col\">Method</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Allocation status</td>\n <td class=\"govuk-table__header\" scope=\"col\">Status</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.payments?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let payment of paymentGroup.payments\">\n <td class=\"govuk-table__cell whitespace-inherit\">\n <a href=\"javascript:void(0)\" (click)=\"goToPayementView(paymentGroup.payment_group_reference, payment.reference, payment.method)\">{{ payment.reference }}</a>\n </td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"channel govuk-table__cell whitespace-inherit\">{{ payment.channel | lowercase }}</td>\n <td class=\"govuk-table__cell capitalize whitespace-inherit\">{{ payment.method | lowercase}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.amount }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\"> {{getAllocationStatus(payment)}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.status }}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.payments?.length === 0\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n\n <!-- remissions -->\n <span class=\"heading-medium\">Remissions</span>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Remission reference</td>\n <td class=\"govuk-table__header\" scope=\"col\">Date created</td>\n <td class=\"govuk-table__header\" scope=\"col\">Remission code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee applied against</td>\n <td class=\"govuk-table__header\" scope=\"col\">Remission amount</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.remissions?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let remission of paymentGroup.remissions\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.remission_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.date_created | date:'dd MMM' }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.hwf_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.fee_code }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.hwf_amount }}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.remissions?.length === 0\">\n <td class=\"govuk-table__cell\" colspan=\"5\">No remissions recorded</td>\n </tbody>\n </table>\n </div>\n </details>\n\n\n <div *ngIf=\"takePayment\">\n <button type=\"submit\" (click)=\"loadFeeSummaryPage(paymentGroup)\"\n [disabled]=\"(getGroupOutstandingAmount(paymentGroup) <= 0 || isUnprocessedRecordSelected)\"\n [ngClass]='(getGroupOutstandingAmount(paymentGroup) <= 0 || isUnprocessedRecordSelected) ? \"govuk-button govuk-button--secondary govuk-button--disabled govuk-!-margin-right-1\" : \"govuk-button govuk-button--secondary govuk-!-margin-right-1\"'>\n Add telephone payment\n </button>\n </div>\n </div>\n </div>\n <ccpay-app-unprocessed-payments\n *ngIf=\"isBulkScanEnable\"\n [IS_BUTTON_ENABLE]=\"takePayment\"\n [LEVEL]=\"5\"\n [PAYMENTSLENGTH]=\"allPayments?.length\"\n [PAYMENTREF]=\"paymentRef\"\n [ISTURNOFF]=\"isTurnOff\"\n [ISSFENABLE]=\"isStrategicFixEnable\"\n [FEE_RECORDS_EXISTS]=\"isFeeRecordsExist\"\n (getUnprocessedFeeCount) = \"getUnprocessedFeeCount($event)\"\n [IS_OS_AMT_AVAILABLE]=\"isGrpOutstandingAmtPositive\"\n (selectedUnprocessedFeeEvent) = \"selectedUnprocessedFeeEvent($event)\">\n </ccpay-app-unprocessed-payments>\n <div class=\"govuk-grid-row govuk-grid__surplus-payments\" *ngIf=\"totalRefundAmount > 0 && takePayment\">\n <div class=\"govuk-grid-column-full govuk-grid__surplus-payments-col1\">\n <h3 class=\"heading-medium\">Surplus payments</h3>\n </div>\n <div class=\"govuk-grid-column-full\">\n Total surplus payments received: {{totalRefundAmount | currency :'GBP':'symbol':'1.2-2'}}\n </div>\n </div>\n </div>\n\n <div *ngIf=\"takePayment\">\n <ccpay-app-unprocessed-payments\n *ngIf=\"isBulkScanEnable && !takePayment\"\n [IS_BUTTON_ENABLE]=\"takePayment\"\n [LEVEL]=\"1\"\n [ISTURNOFF]=\"isTurnOff\"\n [ISSFENABLE]=\"isStrategicFixEnable\"\n [FEE_RECORDS_EXISTS]=\"isFeeRecordsExist\"\n [IS_OS_AMT_AVAILABLE]=\"isGrpOutstandingAmtPositive\"\n (getUnprocessedFeeCount) = \"getUnprocessedFeeCount($event)\"\n [PAYMENTSLENGTH]=\"allPayments?.length\"\n [PAYMENTREF]=\"paymentRef\"\n (selectedUnprocessedFeeEvent) = \"selectedUnprocessedFeeEvent($event)\">\n </ccpay-app-unprocessed-payments>\n </div>\n\n <div *ngIf=\"!takePayment\" class=\"govuk-grid-row govuk-grid__surplus-payments\">\n\n <div class=\"govuk-grid-column-full\">\n\n <span class=\"heading-medium\">Payments</span>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-13\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-10\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-14\" scope=\"col\">Date allocated</td>\n <td class=\"govuk-table__header col-20\" scope=\"col\">Request reference</td>\n <td class=\"govuk-table__header col-9\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let payment of allPayments\">\n <td class=\"govuk-table__cell col-13 whitespace-inherit\">{{ payment.status }}</td>\n <td class=\"govuk-table__cell col-10 whitespace-inherit\">{{ payment.amount | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell col-17 whitespace-inherit\">{{ payment.date_created | date:'dd MMM yyyy HH:mm:ss' }}</td>\n <td class=\"govuk-table__cell col-24 whitespace-inherit\">{{ payment.paymentGroupReference }}</td>\n <td class=\"govuk-table__cell col-13 whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\">\n <a href=\"javascript:void(0)\" (click)=\"goToPayementView(payment.paymentGroupReference, payment.reference, payment.method)\">Review</a>\n </td>\n </tr>\n </tbody>\n\n </table>\n <ccpay-app-unprocessed-payments class=\"govuk-table\"\n *ngIf=\"isBulkScanEnable && !takePayment\"\n [IS_BUTTON_ENABLE]=\"takePayment\"\n [LEVEL]=\"2\"\n [ISTURNOFF]=\"isTurnOff\"\n [ISSFENABLE]=\"isStrategicFixEnable\"\n [FEE_RECORDS_EXISTS]=\"isFeeRecordsExist\"\n [IS_OS_AMT_AVAILABLE]=\"isGrpOutstandingAmtPositive\"\n [PAYMENTSLENGTH]=\"allPayments?.length\"\n [PAYMENTREF]=\"paymentRef\"\n (getUnprocessedFeeCount) = \"getUnprocessedFeeCount($event)\"\n (selectedUnprocessedFeeEvent) = \"selectedUnprocessedFeeEvent($event)\">\n </ccpay-app-unprocessed-payments>\n </div>\n </div>\n </ng-container>\n\n<!--Order Case Transactions Page-->\n <ng-container *ngIf=\"viewStatus === 'main' && !isTurnOff && takePayment\">\n <div>\n\n <div>\n <h1 class=\"govuk-grid-column-two-thirds govuk-heading-l govuk-!-margin-top-0\">Case transactions</h1>\n <ng-container *ngIf='!isExceptionRecord' class=\" govuk-!-margin-bottom-6 alignself\">\n <b> Case reference: </b>{{ ccdCaseNumber | ccdHyphens }}\n </ng-container>\n <ng-container *ngIf='isExceptionRecord' class=\"govuk-!-margin-bottom-3 col-55 alignself\" >\n <b> Exception reference:</b>{{ ccdCaseNumber | ccdHyphens }}\n </ng-container>\n <div>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-25\" scope=\"col\">Total payments</td>\n <td class=\"govuk-table__header govuk-table__header--custom col-25\" scope=\"col\" *ngIf=\"isBulkScanEnable\">Unallocated payments</td>\n <td class=\"govuk-table__header col-25\" scope=\"col\">Total remissions</td>\n <td class=\"govuk-table__header col-25\" scope=\"col\">Amount due</td>\n\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"totalpayments govuk-table__row\">\n <td class=\"govuk-table__cell summary-table-font\">{{ totalPayments | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell case-transaction__color summary-table-font\" *ngIf=\"isBulkScanEnable\">{{unprocessedRecordCount}}</td>\n\n <td class=\"govuk-table__cell summary-table-font\">{{ totalRemissions | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell summary-table-font\">{{ clAmountDue | currency :'GBP':'symbol':'1.2-2'}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='ORDERIDDETAILS'>\n\n <!--Payment Request-->\n <div class=\"paymentrequest\">\n <span class=\"heading-medium\">Service requests</span>\n <ng-container>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-14\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-10\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-18\" scope=\"col\">Party</td>\n <td class=\"govuk-table__header col-21\" scope=\"col\">Request reference</td>\n <td class=\"govuk-table__header col-9\" scope=\"col\"></td>\n <td class=\"govuk-table__header col\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"orderLevelFees?.length > 0\">\n <tr *ngFor=\"let orderRef of orderLevelFees;let i = index;\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{orderRef.orderStatus}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ orderRef.orderTotalFees | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td *ngIf=\"cpoDetails !== null\" class=\"govuk-table__cell whitespace-inherit\">{{cpoDetails['responsibleParty']}}</td>\n <td *ngIf=\"cpoDetails === null\" class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{orderRef.orderRefId}}</td>\n <td class=\"govuk-table__cell\">\n <a href=\"javascript:void(0)\" (click)=\"goToOrderViewDetailSection(orderRef)\">Review</a>\n </td>\n <td class=\"alignright\">\n\n <button type=\"submit\" (click)=\"redirectToOrderFeeSearchPage($event,orderRef)\"\n [disabled]=\"!orderRef.orderAddBtnEnable\"\n [ngClass]='!orderRef.orderAddBtnEnable ? \"govuk-button govuk-button--secondary govuk-button--disabled govuk-!-margin-right-1\" : \"govuk-button govuk-button--secondary govuk-!-margin-right-1\"'>\n Take telephony payment\n </button></td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body alignleft\" *ngIf=\"orderLevelFees?.length === 0\">\n <td colspan=\"6\">No service requests on this case.</td>\n </tbody>\n </table>\n </ng-container>\n <!-- <ng-container *ngIf=\"orderLevelFees?.length === 0\">\n <br/>No service requests on this case.<br/>\n </ng-container> -->\n <span>\n <br/>\n <a (click)=\"redirectToFeeSearchPage($event)\"\n [class.disabled]=\"!isAddFeeBtnEnabled\">Create service request and pay</a><br/>\n </span>\n </div>\n <div>\n <span class=\"heading-medium\"><br/>Payments</span>\n <ccpay-app-unprocessed-payments\n *ngIf=\"isBulkScanEnable\"\n [IS_BUTTON_ENABLE]=\"takePayment\"\n [LEVEL]=\"3\"\n [PAYMENTSLENGTH]=\"allPayments?.length\"\n [ISTURNOFF]=\"isTurnOff\"\n [ISSFENABLE]=\"isStrategicFixEnable\"\n [PAYMENTREF]=\"paymentRef\"\n [FEE_RECORDS_EXISTS]=\"isFeeRecordsExist\"\n (getUnprocessedFeeCount) = \"getUnprocessedFeeCount($event)\"\n [IS_OS_AMT_AVAILABLE]=\"isGrpOutstandingAmtPositive\"\n (selectedUnprocessedFeeEvent) = \"selectedUnprocessedFeeEvent($event)\">\n </ccpay-app-unprocessed-payments>\n\n <ng-container>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let payment of allPayments\">\n <td class=\"govuk-table__cell col-14 whitespace-inherit\">{{ payment.status }}</td>\n <td class=\"govuk-table__cell col-10 whitespace-inherit\">{{ payment.amount | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell col-17 whitespace-inherit\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"govuk-table__cell col-24 whitespace-inherit\">{{ payment.paymentGroupReference }}</td>\n <td class=\"govuk-table__cell col-13 whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\">\n <a href=\"javascript:void(0)\" (click)=\"goToPayementView(payment.paymentGroupReference, payment.reference, payment.method)\">Review</a>\n </td>\n </tr>\n </tbody>\n\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length === 0 && unprocessedRecordCount <= 0\">\n <td colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n\n </ng-container>\n\n </div>\n <div *ngIf=\"!check4AllowedRoles2AccessPBApayment()\">\n <span class=\"heading-medium\"><br/>Refunds</span>\n <ccpay-refund-status\n [ccdCaseNumber]=\"ccdCaseNumber\"\n [isTurnOff]=\"isTurnOff\"\n [LOGGEDINUSERROLES]=\"LOGGEDINUSERROLES\" \n [isEliginbleToAccess] = check4AllowedRoles2AccessRefund()\n ></ccpay-refund-status>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"!takePayment && viewStatus === 'main'\">\n <div class=\"govuk-grid-column-full\" [ngClass]='serviceRequestValue!== \"false\" ? \"govuk-margin-btm-20px\" : \"\"'>\n <!-- <span *ngIf=\"serviceRequestValue === 'false'\" class=\"heading-medium\">Service requests</span> -->\n <ng-container *ngIf=\"!(orderLevelFees?.length === 0 && !isAnyFeeGroupAvilable) && serviceRequestValue !== 'false' \">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-14\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-18\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-18\" scope=\"col\">Party</td>\n <td class=\"govuk-table__header col-24\" scope=\"col\">Request reference\t</td>\n <td class=\"govuk-table__header col-9\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"orderLevelFees?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let orderRef of orderLevelFees;let i = index;\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{orderRef.orderStatus}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{orderRef.orderTotalFees | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td *ngIf=\"cpoDetails !== null\" class=\"govuk-table__cell whitespace-inherit\">{{cpoDetails['responsibleParty']}}</td>\n <td *ngIf=\"cpoDetails === null\" class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{orderRef.orderRefId}}</td>\n <td class=\"govuk-table__cell of-visible\"> <a href=\"javascript:void(0)\" (click)=\"loadPBAAccountPage(orderRef)\" *ngIf=\"serviceRequestValue !== 'false' && check4AllowedRoles2AccessPBApayment() && orderRef.orderStatus === 'Not paid'\"> Pay now</a></td>\n <td class=\"govuk-table__cell\">\n <a href=\"javascript:void(0)\" (click)=\"goToOrderViewDetailSection(orderRef)\">Review</a>\n </td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"orderLevelFees?.length === 0 && serviceRequestValue === 'false'\">\n <tr class=\"govuk-table__row\" >\n <td class=\"alignleft\" colspan=\"7\">No service requests on this case.</td>\n </tr>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"orderLevelFees?.length === 0 && serviceRequestValue !== 'false' && !isAnyFeeGroupAvilable\">\n <h1 class=\"govuk-heading-l govuk-heading-lw\">If you are expecting to pay and are not able to see a service request,</h1>\n <p>please refresh and try in some time.</p>\n </ng-container>\n\n <!-- </div> -->\n\n </div>\n\n <div class=\"govuk-grid-column-full\">\n <div *ngIf=\"serviceRequestValue === 'false'\">\n <span class=\"heading-medium\"><br/>Payments</span>\n <ng-container >\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-14\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-10\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-17\" scope=\"col\">Date</td>\n <td class=\"govuk-table__header col-24\" scope=\"col\">Payment reference</td>\n <td class=\"govuk-table__header col-13\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let payment of allPayments\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.status }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.amount | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment?.reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\">\n <a href=\"javascript:void(0)\" (click)=\"goToPayementView(payment.paymentGroupReference, payment.reference, payment.method)\">Review</a>\n </td>\n </tr>\n </tbody>\n\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length === 0\">\n <td colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n <ccpay-app-unprocessed-payments class=\"govuk-table\"\n *ngIf=\"isBulkScanEnable && !takePayment\"\n [IS_BUTTON_ENABLE]=\"takePayment\"\n [LEVEL]=\"4\"\n [ISTURNOFF]=\"isTurnOff\"\n [ISSFENABLE]=\"isStrategicFixEnable\"\n [PAYMENTSLENGTH]=\"allPayments?.length\"\n [PAYMENTREF]=\"paymentRef\"\n (getUnprocessedFeeCount) = \"getUnprocessedFeeCount($event)\"\n [FEE_RECORDS_EXISTS]=\"isAnyFeeGroupAvilable\"\n [IS_OS_AMT_AVAILABLE]=\"isGrpOutstandingAmtPositive\"\n (selectedUnprocessedFeeEvent) = \"selectedUnprocessedFeeEvent($event)\">\n </ccpay-app-unprocessed-payments>\n </ng-container>\n\n </div>\n </div>\n <div class=\"govuk-grid-column-full\" *ngIf=\"!check4AllowedRoles2AccessPBApayment()\">\n <span class=\"heading-medium\"><br/>Refunds</span>\n <ccpay-refund-status \n [ccdCaseNumber]=\"ccdCaseNumber\"\n [isEliginbleToAccess] = check4AllowedRoles2AccessRefund()\n ></ccpay-refund-status>\n </div>\n\n </ng-container>\n\n\n<input #myInput type='hidden' id='iFrameDrivenImageValue' value='FEEREMOVALCONFIRMATION_2'>\n\n<!-- Order Full View Details-->\n<ng-container *ngIf=\"viewStatus === 'order-full-view'\">\n <ccpay-service-request\n [viewStatus] = \"viewStatus\"\n [orderRef] = \"orderRef\"\n [orderStatus] = \"orderStatus\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"\n [ccdCaseNumber] = \"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\"\n [isServiceRequest] = \"serviceRequestValue\"\n (goToServiceRquestComponent) = \"goToServiceRequestPage()\"\n ></ccpay-service-request>\n\n</ng-container>\n<ccpay-add-remission *ngIf=\"viewStatus === 'addremission' && feeId\"\n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[fee]=\"feeId\"\n[orderStatus] =\"orderStatus\"\n[paidAmount]= \"orderTotalPayments\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[paymentGroupRef]=\"orderRef\"\n[isFromServiceRequestPage] = \"true\"\n[payment] = \"payment\"\n[ccdCaseNumber]=\"ccdCaseNumber\"></ccpay-add-remission>\n\n<ccpay-add-remission *ngIf=\"viewStatus === 'issuerefund' && payment\"\n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[isFromServiceRequestPage] = \"true\"\n[payment]=\"payment\"\n[orderStatus] =\"orderStatus\"\n[paidAmount]= \"orderTotalPayments\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[paymentGroupRef]=\"orderRef\"\n[ccdCaseNumber]=\"ccdCaseNumber\"></ccpay-add-remission>\n\n<ccpay-add-remission *ngIf=\"viewStatus === 'addrefundforremission' && payment\"\n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[payment]=\"payment\"\n[orderStatus] =\"orderStatus\"\n[paidAmount]= \"orderTotalPayments\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[feeamount]=\"remissionFeeAmt\"\n[remission] = \"remissions\"\n[isFromServiceRequestPage]=\"true\"\n[ccdCaseNumber]=\"ccdCaseNumber\"></ccpay-add-remission>\n\n<ng-container *ngIf=\"viewStatus === 'feeRemovalConfirmation'\">\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 Are you sure you want to delete this fee?\n </strong>\n </div>\n <div class=\"govuk-button-grb\">\n <form novalidate>\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"cancelRemoval()\">\n Cancel\n </button>\n <button type=\"submit\" class=\"button\"\n [disabled]=\"isRemoveBtnDisabled\"\n [ngClass]='isRemoveBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'\n (click)=\"removeFee(feeId)\">\n Remove\n </button>\n </form>\n </div>\n</ng-container>\n\n</main>\n</div>\n",
4464
+ template: "<div class=\"govuk-width-container\">\n\n <main class=\"govuk-main-wrapper\">\n <ng-container *ngIf=\"viewStatus === 'main1'\">\n <div *ngIf=\"viewStatus === 'main1'&& !isTurnOff && takePayment\">\n <div *ngIf=\"takePayment\" class=\"govuk-grid-row\">\n\n <div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-xl\">Case transactions</h1>\n </div>\n </div>\n\n <div *ngIf=\"takePayment\" class=\"govuk-grid-row\">\n <div *ngIf='!isExceptionRecord' class=\"govuk-grid-column-two-thirds govuk-!-padding-bottom-6 govuk-!-padding-top-6\">\n <h3 class=\"heading-medium\">CCD reference:</h3>\n <span> {{ ccdCaseNumber | ccdHyphens }}</span>\n </div>\n\n <div *ngIf='isExceptionRecord' class=\"govuk-grid-column-two-thirds govuk-!-padding-bottom-6 govuk-!-padding-top-6\">\n <h3 class=\"heading-medium\">Exception reference:</h3>\n <span> {{ ccdCaseNumber | ccdHyphens }}</span>\n </div>\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Total payments</td>\n <td class=\"govuk-table__header\" scope=\"col\">Total remissions</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount due</td>\n <td class=\"govuk-table__header govuk-table__header--custom\" scope=\"col\" *ngIf=\"isBulkScanEnable\">Unallocated payments</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"totalpayments govuk-table__row\">\n <td class=\"govuk-table__cell summary-table-font\">{{ totalPayments | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell summary-table-font\">{{ totalRemissions | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell summary-table-font\">{{ clAmountDue | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td class=\"govuk-table__cell case-transaction__color summary-table-font\" *ngIf=\"isBulkScanEnable\">{{unprocessedRecordCount}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <div class=\"govuk-grid-column-two-thirds\" *ngIf=\"takePayment\">\n <button type=\"submit\" (click)=\"redirectToFeeSearchPage($event)\"\n [disabled]=\"!isAddFeeBtnEnabled\"\n [ngClass]='!isAddFeeBtnEnabled ? \"govuk-button govuk-button--secondary govuk-button--disabled govuk-!-margin-right-1\" : \"govuk-button govuk-button--secondary govuk-!-margin-right-1\"'>\n Take telephony payment\n </button>\n </div>\n\n </div>\n <div class=\"govuk-grid-row\">\n\n </div>\n <div *ngIf=\"takePayment\" class=\" govuk-!-margin-top-9\">\n\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <h3 class=\"heading-medium\">Fees</h3>\n </div>\n <div class=\"govuk-grid-column-full\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Description</td>\n <td class=\"govuk-table__header\" scope=\"col\">Volume</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Calculated amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount due</td>\n <td class=\"govuk-table__header\" scope=\"col\">Action</td>\n\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngFor=\"let paymentGroup of paymentGroups;\">\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell\">\t{{fee.code}} </td>\n <td class=\"govuk-table__cell\">{{fee.description}}</td>\n <td class=\"govuk-table__cell\">{{fee.volume? fee.volume : '-'}}</td>\n <td class=\"govuk-table__cell\">{{ fee.net_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"govuk-table__cell\">{{fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\" [attr.rowspan]=\"paymentGroup.fees.length\" *ngIf=\"paymentGroup.old && i==0\"> {{getGroupOutstandingAmount(paymentGroup)| currency:'GBP':'symbol-narrow':'1.2-2'}}* </td>\n <td class=\"govuk-table__cell\" *ngIf=\"!paymentGroup.old\"> {{calculateAmountDue(fee) | currency:'GBP':'symbol-narrow':'1.2-2'}} </td>\n <td class=\"govuk-table__cell\" *ngIf=\"!paymentGroup.old\">\n <a (click)=\"confirmRemoveFee(fee.id)\" [ngClass]='!isCheckAmountdueExist(fee.amount_due) || fee.remissions ? \"disable-link\" : \"\"'>Remove</a>\n </td>\n <td class=\"govuk-table__cell\" *ngIf=\"paymentGroup.old\">\n <a (click)=\"confirmRemoveFee(fee.id)\" [ngClass]='paymentGroup.payments?.length > 0 || paymentGroup.remissions?.length > 0 ? \"disable-link\" : \"\"'>Remove</a>\n </td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroups?.length === 0\">\n <tr class=\"govuk-table__row\" >\n <td class=\"govuk-table__cell\" colspan=\"7\">No fees recorded</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div class=\"hmcts-banner\" *ngIf=\"isHistoricGroupAvailable\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z\"></path>\n </svg>\n <div class=\"hmcts-banner__message\">\n <span class=\"hmcts-banner__assistive\">information</span>\n * These fees have already been processed offline. Check the notes in CCD for more information.\n </div>\n </div>\n <div class=\"panel panel-no--style\" *ngIf=\"allPayments?.length > 0 || remissions?.length > 0\">\n <!-- payments -->\n <h3 class=\"heading-medium\">Payments</h3>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-28\" scope=\"col\">Payment reference</td>\n <td class=\"govuk-table__header\" scope=\"col\">Date created</td>\n <td class=\"govuk-table__header\" scope=\"col\">Channel</td>\n <td class=\"govuk-table__header\" scope=\"col\">Method</td>\n <td class=\"govuk-table__header col-15\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Allocation status</td>\n <td class=\"govuk-table__header\" scope=\"col\">Payment status</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let payment of allPayments\">\n <td class=\"govuk-table__cell whitespace-inherit\">\n <a href=\"javascript:void(0)\" (click)=\"goToPayementView(payment.paymentGroupReference, payment.reference, payment.method)\">{{ payment.reference }}</a>\n </td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"channel govuk-table__cell whitespace-inherit\">{{ payment.channel | lowercase }}</td>\n <td class=\"govuk-table__cell capitalize whitespace-inherit\">{{ payment.method | lowercase}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\"> {{getAllocationStatus(payment)}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.status }}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length === 0\">\n <td class=\"govuk-table__cell\" colspan=\"7\">No payments recorded</td>\n </tbody>\n </table>\n\n <!-- remissions -->\n <h3 class=\"heading-medium\">Remissions</h3>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Remission reference</td>\n <td class=\"govuk-table__header\" scope=\"col\">Date created</td>\n <td class=\"govuk-table__header\" scope=\"col\">Remission code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Remission amount</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"remissions?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let remission of remissions\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.remission_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.hwf_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.fee_code }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"remissions?.length === 0\">\n <td class=\"govuk-table__cell\" colspan=\"5\">No remissions recorded</td>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"takePayment && isTurnOff\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-xl\">Case transactions</h1>\n </div>\n\n <div class=\"govuk-grid-column-one-third\" align=\"right\" >\n <a [ngClass]=\"{ 'disable': !isAddFeeBtnEnabled} \" (click)=\"redirectToFeeSearchPage($event)\" class=\"button\">Add a new fee</a>\n </div>\n </div>\n\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds govuk-!-padding-bottom-6\">\n <h3 class=\"heading-medium\">CCD reference:</h3>\n <span> {{ ccdCaseNumber | ccdHyphens }}</span>\n </div>\n\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Total payments</td>\n <td class=\"govuk-table__header\" scope=\"col\">Total remissions</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount due</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"totalpayments govuk-table__row\">\n <td class=\"govuk-table__cell\">{{ totalPayments | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell\">{{ totalRemissions | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell\">{{ (totalFees - totalRemissions) - totalPayments | currency :'GBP':'symbol':'1.2-2'}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n\n\n <!-- No fees start -->\n <div *ngIf=\"paymentGroups?.length === 0\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <span class=\"heading-small\">Existing fees</span>\n </div>\n\n <div class=\"govuk-grid-column-full\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Description</td>\n <td class=\"govuk-table__header\" scope=\"col\">Volume</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Calculated amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Group amount outstanding</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No fees recorded</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n\n <!-- No fees end -->\n\n <div *ngFor=\"let paymentGroup of paymentGroups\">\n\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full govuk-grid-column-full--gr\">\n <span class=\"heading-medium\">Group reference: {{paymentGroup.payment_group_reference}}</span>\n </div>\n </div>\n <div class=\"govuk-grid-row\">\n\n <!--New Code start-->\n\n <div class=\"govuk-grid-column-full\">\n <span class=\"heading-small\">Exisiting fees</span>\n </div>\n <div class=feeclass>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Description</td>\n <td class=\"govuk-table__header\" scope=\"col\">Volume</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Calculated amount</td>\n <td class=\"groupamount govuk-table__header\" scope=\"col\">Group amount outstanding</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" >\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell govuk-table__cell--col1\">{{fee.code}}</td>\n <td class=\"govuk-table__cell govuk-table__cell--col2\"> {{fee.description}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col3 align-center\"> {{fee.volume? fee.volume : '-'}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col4\"> {{ fee.net_amount | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col5\"> {{fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col6 govuk-table__custom--col6\" [attr.rowspan]=\"paymentGroup.fees.length\" *ngIf=\"i==0\">\n {{getGroupOutstandingAmount(paymentGroup) | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.fees.length==0\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n </div>\n </div>\n <div class=\"govuk-inset-text govuk-inset-text__no-border\" *ngIf=\"paymentGroup.payments || paymentGroup.remissions\">\n <details>\n <summary class=\"govuk-hidetext\">\n <span class=\"summary\">Allocated payments and remissions</span>\n </summary>\n\n <div class=\"panel panel-border-narrow\">\n <!-- payments -->\n <span class=\"heading-medium\">Payments</span>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Payment reference</td>\n <td class=\"govuk-table__header\" scope=\"col\">Date created</td>\n <td class=\"govuk-table__header\" scope=\"col\">Channel</td>\n <td class=\"govuk-table__header\" scope=\"col\">Method</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Allocation status</td>\n <td class=\"govuk-table__header\" scope=\"col\">Status</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.payments?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let payment of paymentGroup.payments\">\n <td class=\"govuk-table__cell whitespace-inherit\">\n <a href=\"javascript:void(0)\" (click)=\"goToPayementView(paymentGroup.payment_group_reference, payment.reference, payment.method)\">{{ payment.reference }}</a>\n </td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"channel govuk-table__cell whitespace-inherit\">{{ payment.channel | lowercase }}</td>\n <td class=\"govuk-table__cell capitalize whitespace-inherit\">{{ payment.method | lowercase}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.amount }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\"> {{getAllocationStatus(payment)}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.status }}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.payments?.length === 0\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n\n <!-- remissions -->\n <span class=\"heading-medium\">Remissions</span>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Remission reference</td>\n <td class=\"govuk-table__header\" scope=\"col\">Date created</td>\n <td class=\"govuk-table__header\" scope=\"col\">Remission code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee applied against</td>\n <td class=\"govuk-table__header\" scope=\"col\">Remission amount</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.remissions?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let remission of paymentGroup.remissions\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.remission_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.date_created | date:'dd MMM' }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.hwf_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.fee_code }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission.hwf_amount }}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.remissions?.length === 0\">\n <td class=\"govuk-table__cell\" colspan=\"5\">No remissions recorded</td>\n </tbody>\n </table>\n </div>\n </details>\n\n\n <div *ngIf=\"takePayment\">\n <button type=\"submit\" (click)=\"loadFeeSummaryPage(paymentGroup)\"\n [disabled]=\"(getGroupOutstandingAmount(paymentGroup) <= 0 || isUnprocessedRecordSelected)\"\n [ngClass]='(getGroupOutstandingAmount(paymentGroup) <= 0 || isUnprocessedRecordSelected) ? \"govuk-button govuk-button--secondary govuk-button--disabled govuk-!-margin-right-1\" : \"govuk-button govuk-button--secondary govuk-!-margin-right-1\"'>\n Add telephone payment\n </button>\n </div>\n </div>\n </div>\n <ccpay-app-unprocessed-payments\n *ngIf=\"isBulkScanEnable\"\n [IS_BUTTON_ENABLE]=\"takePayment\"\n [LEVEL]=\"5\"\n [PAYMENTSLENGTH]=\"allPayments?.length\"\n [PAYMENTREF]=\"paymentRef\"\n [ISTURNOFF]=\"isTurnOff\"\n [ISSFENABLE]=\"isStrategicFixEnable\"\n [FEE_RECORDS_EXISTS]=\"isFeeRecordsExist\"\n (getUnprocessedFeeCount) = \"getUnprocessedFeeCount($event)\"\n [IS_OS_AMT_AVAILABLE]=\"isGrpOutstandingAmtPositive\"\n (selectedUnprocessedFeeEvent) = \"selectedUnprocessedFeeEvent($event)\">\n </ccpay-app-unprocessed-payments>\n <div class=\"govuk-grid-row govuk-grid__surplus-payments\" *ngIf=\"totalRefundAmount > 0 && takePayment\">\n <div class=\"govuk-grid-column-full govuk-grid__surplus-payments-col1\">\n <h3 class=\"heading-medium\">Surplus payments</h3>\n </div>\n <div class=\"govuk-grid-column-full\">\n Total surplus payments received: {{totalRefundAmount | currency :'GBP':'symbol':'1.2-2'}}\n </div>\n </div>\n </div>\n\n <div *ngIf=\"takePayment\">\n <ccpay-app-unprocessed-payments\n *ngIf=\"isBulkScanEnable && !takePayment\"\n [IS_BUTTON_ENABLE]=\"takePayment\"\n [LEVEL]=\"1\"\n [ISTURNOFF]=\"isTurnOff\"\n [ISSFENABLE]=\"isStrategicFixEnable\"\n [FEE_RECORDS_EXISTS]=\"isFeeRecordsExist\"\n [IS_OS_AMT_AVAILABLE]=\"isGrpOutstandingAmtPositive\"\n (getUnprocessedFeeCount) = \"getUnprocessedFeeCount($event)\"\n [PAYMENTSLENGTH]=\"allPayments?.length\"\n [PAYMENTREF]=\"paymentRef\"\n (selectedUnprocessedFeeEvent) = \"selectedUnprocessedFeeEvent($event)\">\n </ccpay-app-unprocessed-payments>\n </div>\n\n <div *ngIf=\"!takePayment\" class=\"govuk-grid-row govuk-grid__surplus-payments\">\n\n <div class=\"govuk-grid-column-full\">\n\n <span class=\"heading-medium\">Payments</span>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-13\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-10\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-14\" scope=\"col\">Date allocated</td>\n <td class=\"govuk-table__header col-20\" scope=\"col\">Request reference</td>\n <td class=\"govuk-table__header col-9\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let payment of allPayments\">\n <td class=\"govuk-table__cell col-13 whitespace-inherit\">{{ payment.status }}</td>\n <td class=\"govuk-table__cell col-10 whitespace-inherit\">{{ payment.amount | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell col-17 whitespace-inherit\">{{ payment.date_created | date:'dd MMM yyyy HH:mm:ss' }}</td>\n <td class=\"govuk-table__cell col-24 whitespace-inherit\">{{ payment.paymentGroupReference }}</td>\n <td class=\"govuk-table__cell col-13 whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\">\n <a href=\"javascript:void(0)\" (click)=\"goToPayementView(payment.paymentGroupReference, payment.reference, payment.method)\">Review</a>\n </td>\n </tr>\n </tbody>\n\n </table>\n <ccpay-app-unprocessed-payments class=\"govuk-table\"\n *ngIf=\"isBulkScanEnable && !takePayment\"\n [IS_BUTTON_ENABLE]=\"takePayment\"\n [LEVEL]=\"2\"\n [ISTURNOFF]=\"isTurnOff\"\n [ISSFENABLE]=\"isStrategicFixEnable\"\n [FEE_RECORDS_EXISTS]=\"isFeeRecordsExist\"\n [IS_OS_AMT_AVAILABLE]=\"isGrpOutstandingAmtPositive\"\n [PAYMENTSLENGTH]=\"allPayments?.length\"\n [PAYMENTREF]=\"paymentRef\"\n (getUnprocessedFeeCount) = \"getUnprocessedFeeCount($event)\"\n (selectedUnprocessedFeeEvent) = \"selectedUnprocessedFeeEvent($event)\">\n </ccpay-app-unprocessed-payments>\n </div>\n </div>\n </ng-container>\n\n<!--Order Case Transactions Page-->\n <ng-container *ngIf=\"viewStatus === 'main' && !isTurnOff && takePayment\">\n <div>\n\n <div>\n <h1 class=\"govuk-grid-column-two-thirds govuk-heading-l govuk-!-margin-top-0\">Case transactions</h1>\n <ng-container *ngIf='!isExceptionRecord' class=\" govuk-!-margin-bottom-6 alignself\">\n <b> Case reference: </b>{{ ccdCaseNumber | ccdHyphens }}\n </ng-container>\n <ng-container *ngIf='isExceptionRecord' class=\"govuk-!-margin-bottom-3 col-55 alignself\" >\n <b> Exception reference:</b>{{ ccdCaseNumber | ccdHyphens }}\n </ng-container>\n <div>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-25\" scope=\"col\">Total payments</td>\n <td class=\"govuk-table__header govuk-table__header--custom col-25\" scope=\"col\" *ngIf=\"isBulkScanEnable\">Unallocated payments</td>\n <td class=\"govuk-table__header col-25\" scope=\"col\">Total remissions</td>\n <td class=\"govuk-table__header col-25\" scope=\"col\">Amount due</td>\n\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"totalpayments govuk-table__row\">\n <td class=\"govuk-table__cell summary-table-font\">{{ totalPayments | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell case-transaction__color summary-table-font\" *ngIf=\"isBulkScanEnable\">{{unprocessedRecordCount}}</td>\n\n <td class=\"govuk-table__cell summary-table-font\">{{ totalRemissions | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell summary-table-font\">{{ clAmountDue | currency :'GBP':'symbol':'1.2-2'}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='ORDERIDDETAILS'>\n\n <!--Payment Request-->\n <div class=\"paymentrequest\">\n <span class=\"heading-medium\">Service requests</span>\n <ng-container>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-14\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-10\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-18\" scope=\"col\">Party</td>\n <td class=\"govuk-table__header col-21\" scope=\"col\">Request reference</td>\n <td class=\"govuk-table__header col-9\" scope=\"col\"></td>\n <td class=\"govuk-table__header col\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"orderLevelFees?.length > 0\">\n <tr *ngFor=\"let orderRef of orderLevelFees;let i = index;\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{orderRef.orderStatus}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ orderRef.orderTotalFees | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td *ngIf=\"cpoDetails !== null\" class=\"govuk-table__cell whitespace-inherit\">{{cpoDetails['responsibleParty']}}</td>\n <td *ngIf=\"cpoDetails === null\" class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{orderRef.orderRefId}}</td>\n <td class=\"govuk-table__cell\">\n <a href=\"javascript:void(0)\" (click)=\"goToOrderViewDetailSection(orderRef)\">Review</a>\n </td>\n <td class=\"alignright\">\n\n <button type=\"submit\" (click)=\"redirectToOrderFeeSearchPage($event,orderRef)\"\n [disabled]=\"!orderRef.orderAddBtnEnable\"\n [ngClass]='!orderRef.orderAddBtnEnable ? \"govuk-button govuk-button--secondary govuk-button--disabled govuk-!-margin-right-1\" : \"govuk-button govuk-button--secondary govuk-!-margin-right-1\"'>\n Take telephony payment\n </button></td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body alignleft\" *ngIf=\"orderLevelFees?.length === 0\">\n <td colspan=\"6\">No service requests on this case.</td>\n </tbody>\n </table>\n </ng-container>\n <!-- <ng-container *ngIf=\"orderLevelFees?.length === 0\">\n <br/>No service requests on this case.<br/>\n </ng-container> -->\n <span>\n <br/>\n <a (click)=\"redirectToFeeSearchPage($event)\"\n [class.disabled]=\"!isAddFeeBtnEnabled\">Create service request and pay</a><br/>\n </span>\n </div>\n <div>\n <span class=\"heading-medium\"><br/>Payments</span>\n <ccpay-app-unprocessed-payments\n *ngIf=\"isBulkScanEnable\"\n [IS_BUTTON_ENABLE]=\"takePayment\"\n [LEVEL]=\"3\"\n [PAYMENTSLENGTH]=\"allPayments?.length\"\n [ISTURNOFF]=\"isTurnOff\"\n [ISSFENABLE]=\"isStrategicFixEnable\"\n [PAYMENTREF]=\"paymentRef\"\n [FEE_RECORDS_EXISTS]=\"isFeeRecordsExist\"\n (getUnprocessedFeeCount) = \"getUnprocessedFeeCount($event)\"\n [IS_OS_AMT_AVAILABLE]=\"isGrpOutstandingAmtPositive\"\n (selectedUnprocessedFeeEvent) = \"selectedUnprocessedFeeEvent($event)\">\n </ccpay-app-unprocessed-payments>\n\n <ng-container>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let payment of allPayments\">\n <td class=\"govuk-table__cell col-14 whitespace-inherit\">{{ payment.status }}</td>\n <td class=\"govuk-table__cell col-10 whitespace-inherit\">{{ payment.amount | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell col-17 whitespace-inherit\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"govuk-table__cell col-24 whitespace-inherit\">{{ payment.paymentGroupReference }}</td>\n <td class=\"govuk-table__cell col-13 whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\">\n <a href=\"javascript:void(0)\" (click)=\"goToPayementView(payment.paymentGroupReference, payment.reference, payment.method)\">Review</a>\n </td>\n </tr>\n </tbody>\n\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length === 0 && unprocessedRecordCount <= 0\">\n <td colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n\n </ng-container>\n\n </div>\n <div *ngIf=\"!check4AllowedRoles2AccessPBApayment()\">\n <span class=\"heading-medium\"><br/>Refunds</span>\n <ccpay-refund-status\n [ccdCaseNumber]=\"ccdCaseNumber\"\n [isTurnOff]=\"isTurnOff\"\n [LOGGEDINUSERROLES]=\"LOGGEDINUSERROLES\" \n [isEliginbleToAccess] = check4AllowedRoles2AccessRefund()\n ></ccpay-refund-status>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"!takePayment && viewStatus === 'main'\">\n <div class=\"govuk-grid-column-full\" [ngClass]='serviceRequestValue!== \"false\" ? \"govuk-margin-btm-20px\" : \"\"'>\n <!-- <span *ngIf=\"serviceRequestValue === 'false'\" class=\"heading-medium\">Service requests</span> -->\n <ng-container *ngIf=\"!(orderLevelFees?.length === 0 && !isAnyFeeGroupAvilable) && serviceRequestValue !== 'false' \">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-14\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-18\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-18\" scope=\"col\">Party</td>\n <td class=\"govuk-table__header col-24\" scope=\"col\">Request reference\t</td>\n <td class=\"govuk-table__header col-9\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"orderLevelFees?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let orderRef of orderLevelFees;let i = index;\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{orderRef.orderStatus}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{orderRef.orderTotalFees | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td *ngIf=\"cpoDetails !== null\" class=\"govuk-table__cell whitespace-inherit\">{{cpoDetails['responsibleParty']}}</td>\n <td *ngIf=\"cpoDetails === null\" class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{orderRef.orderRefId}}</td>\n <td class=\"govuk-table__cell of-visible\"> <a href=\"javascript:void(0)\" (click)=\"loadPBAAccountPage(orderRef)\" *ngIf=\"serviceRequestValue !== 'false' && check4AllowedRoles2AccessPBApayment() && orderRef.orderStatus === 'Not paid'\"> Pay now</a></td>\n <td class=\"govuk-table__cell\">\n <a href=\"javascript:void(0)\" (click)=\"goToOrderViewDetailSection(orderRef)\">Review</a>\n </td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"orderLevelFees?.length === 0 && serviceRequestValue === 'false'\">\n <tr class=\"govuk-table__row\" >\n <td class=\"alignleft\" colspan=\"7\">No service requests on this case.</td>\n </tr>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"orderLevelFees?.length === 0 && serviceRequestValue !== 'false' && !isAnyFeeGroupAvilable\">\n <h1 class=\"govuk-heading-l govuk-heading-lw\">If you are expecting to pay and are not able to see a service request,</h1>\n <p>please refresh and try in some time.</p>\n </ng-container>\n\n <!-- </div> -->\n\n </div>\n\n <div class=\"govuk-grid-column-full\">\n <div *ngIf=\"serviceRequestValue === 'false'\">\n <span class=\"heading-medium\"><br/>Payments</span>\n <ng-container >\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-14\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-10\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-17\" scope=\"col\">Date</td>\n <td class=\"govuk-table__header col-24\" scope=\"col\">Payment reference</td>\n <td class=\"govuk-table__header col-13\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let payment of allPayments\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.status }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.amount | currency :'GBP':'symbol':'1.2-2' }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ payment?.reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\">\n <a href=\"javascript:void(0)\" (click)=\"goToPayementView(payment.paymentGroupReference, payment.reference, payment.method)\">Review</a>\n </td>\n </tr>\n </tbody>\n\n <tbody class=\"govuk-table__body\" *ngIf=\"allPayments?.length === 0\">\n <td colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n <ccpay-app-unprocessed-payments class=\"govuk-table\"\n *ngIf=\"isBulkScanEnable && !takePayment\"\n [IS_BUTTON_ENABLE]=\"takePayment\"\n [LEVEL]=\"4\"\n [ISTURNOFF]=\"isTurnOff\"\n [ISSFENABLE]=\"isStrategicFixEnable\"\n [PAYMENTSLENGTH]=\"allPayments?.length\"\n [PAYMENTREF]=\"paymentRef\"\n (getUnprocessedFeeCount) = \"getUnprocessedFeeCount($event)\"\n [FEE_RECORDS_EXISTS]=\"isAnyFeeGroupAvilable\"\n [IS_OS_AMT_AVAILABLE]=\"isGrpOutstandingAmtPositive\"\n (selectedUnprocessedFeeEvent) = \"selectedUnprocessedFeeEvent($event)\">\n </ccpay-app-unprocessed-payments>\n </ng-container>\n\n </div>\n </div>\n <div class=\"govuk-grid-column-full\" *ngIf=\"!check4AllowedRoles2AccessPBApayment()\">\n <span class=\"heading-medium\"><br/>Refunds</span>\n <ccpay-refund-status \n [ccdCaseNumber]=\"ccdCaseNumber\"\n [isEliginbleToAccess] = check4AllowedRoles2AccessRefund()\n ></ccpay-refund-status>\n </div>\n\n </ng-container>\n\n\n<input #myInput type='hidden' class='iFrameDrivenImageValue' value='FEEREMOVALCONFIRMATION_2'>\n\n<!-- Order Full View Details-->\n<ng-container *ngIf=\"viewStatus === 'order-full-view'\">\n <ccpay-service-request\n [viewStatus] = \"viewStatus\"\n [orderRef] = \"orderRef\"\n [orderStatus] = \"orderStatus\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"\n [ccdCaseNumber] = \"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\"\n [isServiceRequest] = \"serviceRequestValue\"\n (goToServiceRquestComponent) = \"goToServiceRequestPage()\"\n ></ccpay-service-request>\n\n</ng-container>\n<ccpay-add-remission *ngIf=\"viewStatus === 'addremission' && feeId\"\n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[fee]=\"feeId\"\n[orderStatus] =\"orderStatus\"\n[paidAmount]= \"orderTotalPayments\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[paymentGroupRef]=\"orderRef\"\n[isFromServiceRequestPage] = \"true\"\n[payment] = \"payment\"\n[ccdCaseNumber]=\"ccdCaseNumber\"></ccpay-add-remission>\n\n<ccpay-add-remission *ngIf=\"viewStatus === 'issuerefund' && payment\"\n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[isFromServiceRequestPage] = \"true\"\n[payment]=\"payment\"\n[orderStatus] =\"orderStatus\"\n[paidAmount]= \"orderTotalPayments\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[paymentGroupRef]=\"orderRef\"\n[ccdCaseNumber]=\"ccdCaseNumber\"></ccpay-add-remission>\n\n<ccpay-add-remission *ngIf=\"viewStatus === 'addrefundforremission' && payment\"\n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[payment]=\"payment\"\n[orderStatus] =\"orderStatus\"\n[paidAmount]= \"orderTotalPayments\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[feeamount]=\"remissionFeeAmt\"\n[remission] = \"remissions\"\n[isFromServiceRequestPage]=\"true\"\n[ccdCaseNumber]=\"ccdCaseNumber\"></ccpay-add-remission>\n\n<ng-container *ngIf=\"viewStatus === 'feeRemovalConfirmation'\">\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 Are you sure you want to delete this fee?\n </strong>\n </div>\n <div class=\"govuk-button-grb\">\n <form novalidate>\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"cancelRemoval()\">\n Cancel\n </button>\n <button type=\"submit\" class=\"button\"\n [disabled]=\"isRemoveBtnDisabled\"\n [ngClass]='isRemoveBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'\n (click)=\"removeFee(feeId)\">\n Remove\n </button>\n </form>\n </div>\n</ng-container>\n\n</main>\n</div>\n",
5276
4465
  styles: [".govuk-grid-column-full--gr{position:relative;margin-bottom:10px}.disable{text-decoration:none;cursor:default;color:#fff;background-color:grey;pointer-events:none}.govuk-grid__surplus-payments{margin:20px 0}.govuk-grid__surplus-payments>.govuk-grid-column-full{padding:0}.govuk-grid__surplus-payments-col1{margin-bottom:10px}.govuk-inset-text__no-border{border-left:0}.govuk-hidetext{font-size:22px;padding-bottom:10px}.lowercase{text-transform:lowercase}.channel::first-letter{text-transform:uppercase}.govuk-heading-xl{font-size:48px;margin-bottom:1px}.govuk-section-break--visible{border-bottom:2px solid #000}.totalpayments.govuk-table__row{border-bottom:2px solid #000!important}.govuk-inset-text{margin-left:1em}.govuk-button{font-size:19px;margin-bottom:0!important}.govuk-table__cell.govuk-table__cell--col6.govuk-table__custom--col6,.groupamount.govuk-table__header{text-align:right}.feeclass{padding-left:.7em}.align-center{text-align:center}details summary{display:list-item}.case-transaction__color{color:#a71414;font-weight:700;text-align:center}.capitalize::first-letter{text-transform:uppercase}.govuk-inset-text__no-left-margin{margin-left:0;padding-left:0}.whitespace-inherit{white-space:inherit!important}.govuk-section-records-break{margin:10px;border-bottom:2px solid #000!important}.exisitng-fees{margin-left:12px}.add-telephony-payment{margin-top:-2em;margin-left:-2em}.govuk-table__header--custom{text-align:center}.disable-link{cursor:default;pointer-events:none;color:#8e8c8c}.panel-no--style{border-left-style:none}.col-28{width:28%!important}.col-8{width:8%!important}.col-60{width:60%!important}.col-32{width:32%!important}.col-34{width:34%!important}.col-15{width:15%!important;padding-right:0!important;padding-left:0!important}.col-16{width:16%!important}.col-14{width:14%!important}.col-17{width:17%!important}.col-12{width:12%!important}.col-9{width:9%!important}.col-10{width:10%!important}.col-11{width:11%!important}.col-13{width:13%!important}.col-21{width:21%!important}.col-20{width:20%!important}.col-24{width:24%!important}.govuk-table__cell,.govuk-table__header{padding:10px 10px 10px 0}.col-27{width:27%!important}td{white-space:nowrap;overflow:hidden!important}.col-19{width:19%!important;padding-left:0!important}.col-18{width:18%!important;padding-left:0!important;padding-right:0!important}.col-37{width:37%!important}.col-55{width:55%!important}.govuk-table{margin-bottom:1px}.hmcts-banner>.hmcts-banner__message{font-size:19px;line-height:1.25}.summary-table-font{font-size:36px}.order-class{padding-top:3em}.govuk-table__cell:last-child,.govuk-table__header:last-child{text-align:right}.govuk-grid-column-two-thirds{width:64%!important;padding:0!important}.govuk-heading-l{font-size:36px;margin-bottom:10px}.govuk-heading-lw{width:70%}.paymentrequest{margin-top:1em}.mar-17{margin-left:17px}.col-61{width:61px!important;padding:0!important}.error{width:960px;margin:auto}.summarypage{padding-left:36em;margin-top:2em}.summarypagealign{width:100%;text-align:right;margin-top:2em}.govuk-inset-text{font-size:2.1875rem}table{table-layout:fixed;width:100%}td,th{word-wrap:break-word}.totalPay{padding-right:14px;float:right;margin-top:2em}.govuk-back-link{font-size:1.5rem!important}.totalfees{float:right;margin-top:2em}.refundBtn{text-align:right;width:18%}.col-25{width:25%!important}.of-visible{overflow:visible!important}.col-51{width:51%!important}.alignright{text-align:right}.alignleft{text-align:left}.alignself{align-self:flex-end}.maxwidth{width:100%}.govuk-padding-btm{padding-bottom:50px}.govuk-margin-btm-20px{margin-bottom:20px}"]
5277
4466
  }] }
5278
4467
  ];
@@ -5291,193 +4480,10 @@ var CaseTransactionsComponent = /** @class */ (function () {
5291
4480
  };
5292
4481
  return CaseTransactionsComponent;
5293
4482
  }());
5294
- if (false) {
5295
- /** @type {?} */
5296
- CaseTransactionsComponent.prototype.LOGGEDINUSERROLES;
5297
- /** @type {?} */
5298
- CaseTransactionsComponent.prototype.isTakePayment;
5299
- /** @type {?} */
5300
- CaseTransactionsComponent.prototype.takePayment;
5301
- /** @type {?} */
5302
- CaseTransactionsComponent.prototype.ccdCaseNumber;
5303
- /** @type {?} */
5304
- CaseTransactionsComponent.prototype.excReference;
5305
- /** @type {?} */
5306
- CaseTransactionsComponent.prototype.paymentGroups;
5307
- /** @type {?} */
5308
- CaseTransactionsComponent.prototype.payments;
5309
- /** @type {?} */
5310
- CaseTransactionsComponent.prototype.nonPayments;
5311
- /** @type {?} */
5312
- CaseTransactionsComponent.prototype.allPayments;
5313
- /** @type {?} */
5314
- CaseTransactionsComponent.prototype.remissions;
5315
- /** @type {?} */
5316
- CaseTransactionsComponent.prototype.fees;
5317
- /** @type {?} */
5318
- CaseTransactionsComponent.prototype.errorMessage;
5319
- /** @type {?} */
5320
- CaseTransactionsComponent.prototype.totalFees;
5321
- /** @type {?} */
5322
- CaseTransactionsComponent.prototype.totalPayments;
5323
- /** @type {?} */
5324
- CaseTransactionsComponent.prototype.totalNonOffPayments;
5325
- /** @type {?} */
5326
- CaseTransactionsComponent.prototype.totalRemissions;
5327
- /** @type {?} */
5328
- CaseTransactionsComponent.prototype.selectedOption;
5329
- /** @type {?} */
5330
- CaseTransactionsComponent.prototype.dcnNumber;
5331
- /** @type {?} */
5332
- CaseTransactionsComponent.prototype.paymentRef;
5333
- /** @type {?} */
5334
- CaseTransactionsComponent.prototype.isTurnOff;
5335
- /** @type {?} */
5336
- CaseTransactionsComponent.prototype.isRefundRemission;
5337
- /** @type {?} */
5338
- CaseTransactionsComponent.prototype.isStrategicFixEnable;
5339
- /** @type {?} */
5340
- CaseTransactionsComponent.prototype.isAddFeeBtnEnabled;
5341
- /** @type {?} */
5342
- CaseTransactionsComponent.prototype.isExceptionRecord;
5343
- /** @type {?} */
5344
- CaseTransactionsComponent.prototype.isUnprocessedRecordSelected;
5345
- /** @type {?} */
5346
- CaseTransactionsComponent.prototype.exceptionRecordReference;
5347
- /** @type {?} */
5348
- CaseTransactionsComponent.prototype.isAnyFeeGroupAvilable;
5349
- /** @type {?} */
5350
- CaseTransactionsComponent.prototype.isHistoricGroupAvailable;
5351
- /** @type {?} */
5352
- CaseTransactionsComponent.prototype.isBulkScanEnable;
5353
- /** @type {?} */
5354
- CaseTransactionsComponent.prototype.isRemissionsMatch;
5355
- /** @type {?} */
5356
- CaseTransactionsComponent.prototype.viewStatus;
5357
- /** @type {?} */
5358
- CaseTransactionsComponent.prototype.isRemoveBtnDisabled;
5359
- /** @type {?} */
5360
- CaseTransactionsComponent.prototype.feeId;
5361
- /** @type {?} */
5362
- CaseTransactionsComponent.prototype.clAmountDue;
5363
- /** @type {?} */
5364
- CaseTransactionsComponent.prototype.unprocessedRecordCount;
5365
- /** @type {?} */
5366
- CaseTransactionsComponent.prototype.isFeeRecordsExist;
5367
- /** @type {?} */
5368
- CaseTransactionsComponent.prototype.isGrpOutstandingAmtPositive;
5369
- /** @type {?} */
5370
- CaseTransactionsComponent.prototype.totalRefundAmount;
5371
- /** @type {?} */
5372
- CaseTransactionsComponent.prototype.caseType;
5373
- /** @type {?} */
5374
- CaseTransactionsComponent.prototype.payment;
5375
- /** @type {?} */
5376
- CaseTransactionsComponent.prototype.paymentGroup;
5377
- /** @type {?} */
5378
- CaseTransactionsComponent.prototype.paymentView;
5379
- /** @type {?} */
5380
- CaseTransactionsComponent.prototype.orderDetail;
5381
- /** @type {?} */
5382
- CaseTransactionsComponent.prototype.isAddRemissionEnable;
5383
- /** @type {?} */
5384
- CaseTransactionsComponent.prototype.orderRemissionDetails;
5385
- /** @type {?} */
5386
- CaseTransactionsComponent.prototype.orderLevelFees;
5387
- /** @type {?} */
5388
- CaseTransactionsComponent.prototype.ispaymentGroupApisuccess;
5389
- /** @type {?} */
5390
- CaseTransactionsComponent.prototype.cpoDetails;
5391
- /** @type {?} */
5392
- CaseTransactionsComponent.prototype.orderRef;
5393
- /** @type {?} */
5394
- CaseTransactionsComponent.prototype.orderStatus;
5395
- /** @type {?} */
5396
- CaseTransactionsComponent.prototype.orderParty;
5397
- /** @type {?} */
5398
- CaseTransactionsComponent.prototype.orderCreated;
5399
- /** @type {?} */
5400
- CaseTransactionsComponent.prototype.orderCCDEvent;
5401
- /** @type {?} */
5402
- CaseTransactionsComponent.prototype.serviceRequestValue;
5403
- /** @type {?} */
5404
- CaseTransactionsComponent.prototype.orderAddBtnEnable;
5405
- /** @type {?} */
5406
- CaseTransactionsComponent.prototype.orderFeesTotal;
5407
- /** @type {?} */
5408
- CaseTransactionsComponent.prototype.orderRemissionTotal;
5409
- /** @type {?} */
5410
- CaseTransactionsComponent.prototype.orderTotalPayments;
5411
- /** @type {?} */
5412
- CaseTransactionsComponent.prototype.orderPendingPayments;
5413
- /** @type {?} */
5414
- CaseTransactionsComponent.prototype.isCPODown;
5415
- /** @type {?} */
5416
- CaseTransactionsComponent.prototype.test;
5417
- /** @type {?} */
5418
- CaseTransactionsComponent.prototype.isPBA;
5419
- /** @type {?} */
5420
- CaseTransactionsComponent.prototype.isIssueRefunfBtnEnable;
5421
- /** @type {?} */
5422
- CaseTransactionsComponent.prototype.isAddRemissionBtnEnabled;
5423
- /** @type {?} */
5424
- CaseTransactionsComponent.prototype.isRefundRemissionBtnEnable;
5425
- /** @type {?} */
5426
- CaseTransactionsComponent.prototype.allowedRolesToAccessRefund;
5427
- /** @type {?} */
5428
- CaseTransactionsComponent.prototype.isEligible4PBAPayment;
5429
- /** @type {?} */
5430
- CaseTransactionsComponent.prototype.currentDate;
5431
- /** @type {?} */
5432
- CaseTransactionsComponent.prototype.isFromServiceRequestPage;
5433
- /** @type {?} */
5434
- CaseTransactionsComponent.prototype.navigationpage;
5435
- /** @type {?} */
5436
- CaseTransactionsComponent.prototype.remissionFeeAmt;
5437
- /** @type {?} */
5438
- CaseTransactionsComponent.prototype.check4AllowedRoles2AccessRefund;
5439
- /** @type {?} */
5440
- CaseTransactionsComponent.prototype.check4AllowedRoles2AccessPBApayment;
5441
- /** @type {?} */
5442
- CaseTransactionsComponent.prototype.allowFurtherAccessAfter4Days;
5443
- /**
5444
- * @type {?}
5445
- * @private
5446
- */
5447
- CaseTransactionsComponent.prototype.router;
5448
- /**
5449
- * @type {?}
5450
- * @private
5451
- */
5452
- CaseTransactionsComponent.prototype.paymentViewService;
5453
- /**
5454
- * @type {?}
5455
- * @private
5456
- */
5457
- CaseTransactionsComponent.prototype.bulkScaningPaymentService;
5458
- /**
5459
- * @type {?}
5460
- * @private
5461
- */
5462
- CaseTransactionsComponent.prototype.caseTransactionsService;
5463
- /**
5464
- * @type {?}
5465
- * @private
5466
- */
5467
- CaseTransactionsComponent.prototype.paymentLibComponent;
5468
- /**
5469
- * @type {?}
5470
- * @private
5471
- */
5472
- CaseTransactionsComponent.prototype.OrderslistService;
5473
- /* Skipping unhandled member: ;*/
5474
- /* Skipping unhandled member: ;*/
5475
- }
5476
4483
 
5477
4484
  /**
5478
4485
  * @fileoverview added by tsickle
5479
- * Generated from: lib/interfaces/PaymentToPayhubRequest.ts
5480
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4486
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5481
4487
  */
5482
4488
  var PaymentToPayhubRequest = /** @class */ (function () {
5483
4489
  function PaymentToPayhubRequest(ccd_case_number, amount, caseType) {
@@ -5491,27 +4497,10 @@ var PaymentToPayhubRequest = /** @class */ (function () {
5491
4497
  }
5492
4498
  return PaymentToPayhubRequest;
5493
4499
  }());
5494
- if (false) {
5495
- /** @type {?} */
5496
- PaymentToPayhubRequest.prototype.currency;
5497
- /** @type {?} */
5498
- PaymentToPayhubRequest.prototype.description;
5499
- /** @type {?} */
5500
- PaymentToPayhubRequest.prototype.channel;
5501
- /** @type {?} */
5502
- PaymentToPayhubRequest.prototype.provider;
5503
- /** @type {?} */
5504
- PaymentToPayhubRequest.prototype.case_type;
5505
- /** @type {?} */
5506
- PaymentToPayhubRequest.prototype.ccd_case_number;
5507
- /** @type {?} */
5508
- PaymentToPayhubRequest.prototype.amount;
5509
- }
5510
4500
 
5511
4501
  /**
5512
4502
  * @fileoverview added by tsickle
5513
- * Generated from: lib/interfaces/PayhubAntennaRequest.ts
5514
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4503
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5515
4504
  */
5516
4505
  var PayhubAntennaRequest = /** @class */ (function () {
5517
4506
  function PayhubAntennaRequest(ccd_case_number, amount, caseType) {
@@ -5522,32 +4511,21 @@ var PayhubAntennaRequest = /** @class */ (function () {
5522
4511
  }
5523
4512
  return PayhubAntennaRequest;
5524
4513
  }());
5525
- if (false) {
5526
- /** @type {?} */
5527
- PayhubAntennaRequest.prototype.currency;
5528
- /** @type {?} */
5529
- PayhubAntennaRequest.prototype.case_type;
5530
- /** @type {?} */
5531
- PayhubAntennaRequest.prototype.ccd_case_number;
5532
- /** @type {?} */
5533
- PayhubAntennaRequest.prototype.amount;
5534
- }
5535
4514
 
5536
4515
  /**
5537
4516
  * @fileoverview added by tsickle
5538
- * Generated from: lib/components/fee-summary/fee-summary.component.ts
5539
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4517
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5540
4518
  */
5541
4519
  /** @type {?} */
5542
4520
  var BS_ENABLE_FLAG$2 = 'bulk-scan-enabling-fe';
5543
4521
  var FeeSummaryComponent = /** @class */ (function () {
5544
- function FeeSummaryComponent(router, bulkScaningPaymentService, location, paymentViewService, paymentLibComponent, OrderslistService) {
4522
+ function FeeSummaryComponent(router, bulkScaningPaymentService, location, paymentViewService, paymentLibComponent, OrderslistService$$1) {
5545
4523
  this.router = router;
5546
4524
  this.bulkScaningPaymentService = bulkScaningPaymentService;
5547
4525
  this.location = location;
5548
4526
  this.paymentViewService = paymentViewService;
5549
4527
  this.paymentLibComponent = paymentLibComponent;
5550
- this.OrderslistService = OrderslistService;
4528
+ this.OrderslistService = OrderslistService$$1;
5551
4529
  this.viewStatus = 'main';
5552
4530
  this.service = "";
5553
4531
  this.platForm = "";
@@ -5923,7 +4901,7 @@ var FeeSummaryComponent = /** @class */ (function () {
5923
4901
  FeeSummaryComponent.decorators = [
5924
4902
  { type: Component, args: [{
5925
4903
  selector: 'ccpay-fee-summary',
5926
- template: "\n<div class=\"govuk-breadcrumbs\" *ngIf=\"isBackButtonEnable\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\" *ngIf=\"!isTurnOff\">\n <a (click)=\"loadCaseTransactionPage()\" class=\"govuk-back-link govuk-label\">Back</a>\n </li>\n <li class=\"govuk-breadcrumbs__list-item\" *ngIf=\"isTurnOff\">\n <a (click)=\"redirectToFeeSearchPage($event,'summary')\" class=\"govuk-back-link govuk-label\">Back</a>\n </li>\n </ol>\n</div>\n<div class=\"fee-summary\" *ngIf=\"viewStatus === 'main'\">\n <main class=\"govuk-main-wrapper\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='FEESUMMARY'>\n <div class=\"summaryheader\">\n <h1 class=\"heading-large govuk-!-margin-top-3 govuk-!-margin-bottom-4\">Summary </h1>\n <p class=\"govuk-!-margin-top-5 caseref\">Case reference:{{ccdCaseNumber | ccdHyphens}}</p>\n </div>\n\n <!-- <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"heading-xlarge\">Fee Summary</h1>\n </div>\n\n\n \u00A0<div\u00A0class=\"govuk-grid-column-one-third\"\u00A0align=\"right\">\n \u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<button\u00A0 *ngIf=\"!isTurnOff\" (click)=\"redirectToFeeSearchPage($event,'summary')\"\n \u00A0\u00A0\u00A0\u00A0\u00A0\u00A0[disabled]=\"isPaymentExist\"\n \u00A0\u00A0\u00A0\u00A0\u00A0\u00A0[ngClass]='isPaymentExist ?\u00A0\"button\u00A0button--disabled govuk-!-margin-right-1\"\u00A0:\u00A0\"button govuk-!-margin-right-1\"'>\n Add a new fee\n </button>\n\n <a *ngIf=\"isTurnOff\" (click)=\"redirectToFeeSearchPage($event,'summary')\" class=\"button\">Add a new fee</a>\n </div>\n </div> -->\n\n\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payment Group details could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <!-- <table class=\"govuk-table\" *ngIf=\"!errorMessage && paymentGroup\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header govuk-!-font-weight-bold\" scope=\"col\">Fee Code</th>\n <th class=\"govuk-table__header govuk-!-font-weight-bold\" scope=\"col\">Fee description</th>\n <th class=\"govuk-table__header govuk-!-font-weight-bold\" scope=\"col\">Remission code</th>\n <th class=\"govuk-table__header govuk-!-font-weight-bold\" scope=\"col\"></th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.fees\">\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell\">{{ fee.code }}</td>\n <td class=\"govuk-table__cell\">{{ fee.description }}</td>\n <td class=\"govuk-table__cell\">{{ getRemissionByFeeCode(fee.code)?.hwf_reference }}</td>\n <td class=\"govuk-table__cell grey-text\">\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"no-border grey-text subcolumn-1\">Fee amount:</td>\n <td class=\"no-border subcolumn-2\">{{ fee.fee_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"no-border subcolumn-3\" *ngIf=\"!isTurnOff\">\n <a (click)=\"confirmRemoveFee(fee.id)\" [ngClass]='isPaymentExist || fee.remissions ? \"disable-link\" : \"\"'>remove fee</a>\n </td>\n <td class=\"no-border subcolumn-3\" *ngIf=\"isTurnOff\">\n <a (click)=\"confirmRemoveFee(fee.id)\">remove fee</a>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"fee.volume && fee.volume > 0\">\n <td class=\"no-border grey-text subcolumn-1\">Volume:</td>\n <td class=\"no-border subcolumn-2\">{{ fee.volume }}</td>\n <td class=\"no-border subcolumn-3\"></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border grey-text subcolumn-1\">Fee total:</td>\n <td class=\"no-border subcolumn-2\">{{ fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"no-border subcolumn-3\"></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border grey-text subcolumn-1\">Remission amount:</td>\n <td class=\"no-border subcolumn-2\">{{ getRemissionByFeeCode(fee.code)?.hwf_amount? ( getRemissionByFeeCode(fee.code)?.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2') : '-' }}</td>\n <td class=\"no-border subcolumn-3\" *ngIf=\"!isTurnOff\">\n <a (click)=\"addRemission(fee)\" *ngIf=\"(getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount) && !isPaymentExist\">\n Deduct remission\n </a>\n </td>\n <td class=\"no-border subcolumn-3\" *ngIf=\"isTurnOff\">\n <a (click)=\"addRemission(fee)\" *ngIf=\"getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount\">\n Deduct remission\n </a>\n </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border grey-text subcolumn-1\">Total after remission:</td>\n <td class=\"no-border subcolumn-2\">{{ fee.net_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"no-border subcolumn-3\"></td>\n </tr>\n </table>\n </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\">\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"no-border govuk-!-font-weight-bold subcolumn-1\">Total payment</td>\n <td class=\"no-border subcolumn-2\">{{ totalAfterRemission - outStandingAmount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n <td class=\"no-border subcolumn-3\"></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border govuk-!-font-weight-bold subcolumn-1\">Total outstanding amount</td>\n <td class=\"no-border subcolumn-2\">{{ outStandingAmount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n <td class=\"no-border subcolumn-3\"></td>\n </tr>\n </table>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"!bsPaymentDcnNumber && isOldPcipalOff && isNewPcipalOff\">\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\">\n <div class=\"govuk-form-group govuk-form-group--mg\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <span class=\"govuk-fieldset__heading govuk-fieldset__heading--fz\">\n Which system are you using to take the payment?\n </span>\n </legend>\n <div class=\"govuk-radios govuk-radios--small\">\n <div class=\"govuk-radios__item\">\n <input id=\"changed-name\" class=\"govuk-radios__input\" [(ngModel)]=\"platForm\" type=\"radio\" aria-label=\"8x8\" value=\"8x8\">\n <label class=\"govuk-label govuk-radios__label\" for=\"changed-name\">\n 8x8\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input id=\"changed-name-2\" class=\"govuk-radios__input\" [(ngModel)]=\"platForm\" type=\"radio\" aria-label=\"Antenna\" value=\"Antenna\">\n <label class=\"govuk-label govuk-radios__label\" for=\"changed-name-2\">\n Antenna\n </label>\n </div>\n </div>\n </fieldset>\n </div>\n </td>\n </tr>\n </tbody>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\">\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"no-border subcolumn-2\">\n <button *ngIf=\"!bsPaymentDcnNumber\" type=\"submit\" (click)=\"takePayment()\"\n [disabled]=\"totalFee <= 0 || !platForm || isConfirmationBtnDisabled\"\n [ngClass]='totalFee <= 0 || !platForm || isConfirmationBtnDisabled? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'>\n Take payment\n </button>\n <button *ngIf=\"bsPaymentDcnNumber\" type=\"button\" (click)=\"goToAllocatePage(outStandingAmount, isFeeAmountZero)\" class=\"button govuk-!-margin-right-1\">\n <span *ngIf=\"outStandingAmount > 0 || (isFeeAmountZero && outStandingAmount === 0)\">\n Allocate payment\n </span>\n <span *ngIf=\"outStandingAmount < 0 || (!isFeeAmountZero && outStandingAmount === 0)\">\n Continue\n </span>\n </button>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </tbody>\n </table> -->\n\n <div class=\"govuk-!-margin-top-3\">\n <table class=\"govuk-table govuk-!-margin-bottom-2\" *ngIf=\"!errorMessage && paymentGroup\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header\" scope=\"col\" class=\"class600\">Description</th>\n <th class=\"govuk-table__header\" scope=\"col\" class=\"class60\">Quantity</th>\n <th class=\"govuk-table__header\" scope=\"col\" class=\"class80\"></th>\n <th class=\"govuk-table__header\" scope=\"col\" class=\"class100\">Amount</th>\n </tr>\n </thead>\n\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.fees\">\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell\">{{ fee.description }}\n\n <span class=\"no-border\" *ngIf=\"(isPaymentExist || (getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount)) && !isTurnOff\">\n\n\n <a (click)=\"confirmRemoveFee(fee.id)\" *ngIf=\"(!isPaymentExist || !fee.remissions)\" [ngClass]='isPaymentExist || fee.remissions? \"disable-link\" : \"\"'> <br>Remove</a>\n </span>\n\n <span class=\"no-border\" *ngIf=\"(!isPaymentExist || (getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount)) && isTurnOff \">\n <a (click)=\"confirmRemoveFee(fee.id)\">Remove</a>\n </span>\n\n <a (click)=\"addRemission(fee)\" class=\"remissionActive\" *ngIf=\"(getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount) && !isPaymentExist && !isTurnOff\">\n Add help with fees or remission\n </a>\n <a (click)=\"addRemission(fee)\" class=\"remissionActive\" *ngIf=\"(getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount) && isTurnOff\">\n Add help with fees or remission\n </a>\n <span *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">\n <br>\n <div class=\"govuk-table__cell_border\" *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">Remission,{{ getRemissionByFeeCode(fee.code)?.hwf_reference }}</div>\n </span>\n </td>\n\n <td class=\"govuk-table__cell\" *ngIf=\"fee.volume && fee.volume > 0\">\n {{ fee.volume }}\n <span *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">\n <br>\n <div class=\"govuk-table__cell_border\">1</div>\n </span>\n </td>\n\n <td class=\"govuk-table__cell alignright\">\n <br>\n <div *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\" class=\"govuk-table__cell_border\"> <br><br></div>\n </td>\n <td class=\"govuk-table__cell alignright\" >\n {{ fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}\n <span *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">\n <br>\n <div class=\"govuk-table__cell_rmborder alignright\">\n -{{ getRemissionByFeeCode(fee.code)?.hwf_amount? ( getRemissionByFeeCode(fee.code)?.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2') : '-' }}\n </div>\n </span>\n </td>\n\n\n </tr>\n <!-- <tr>\n <td *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">\n <br>\n <div class=\"govuk-table__cell_border\" *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">Remission,{{ getRemissionByFeeCode(fee.code)?.hwf_reference }}</div>\n </td>\n <td *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount ===''\">\n <div class=\"govuk-table__cell_border\"></div>\n </td>\n <td *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount === ''\">\n <br>\n <div class=\"govuk-table__cell_border\" *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount === ''\"></div>\n </td>\n <td>\n <br>\n <div class=\"govuk-table__cell_border\" style=\"text-align: right;\">\n -{{ getRemissionByFeeCode(fee.code)?.hwf_amount? ( getRemissionByFeeCode(fee.code)?.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2') : '-' }}\n </div>\n </td>\n </tr> -->\n </tbody>\n </table>\n </div>\n <div class=\"addfee\">\n <button *ngIf=\"!isTurnOff\" (click)=\"redirectToFeeSearchPage($event,'summary')\"\n [disabled]=\"isPaymentExist\"\n [ngClass]='isPaymentExist ? \"govuk-button govuk-button--secondary button--disabled\" : \"govuk-button govuk-button--secondary\"'>\n Add fee\n </button>\n <a *ngIf=\"isTurnOff\" (click)=\"redirectToFeeSearchPage($event,'summary')\" class=\"govuk-button govuk-button--secondary\">Add a new fee</a>\n <div class=\"feeAddButton\">\n <p class=\"paddigleft govuk-!-margin-top-2\">Total to pay: {{ outStandingAmount | currency:'GBP':'symbol-narrow':'1.2-2'}}</p>\n </div>\n </div>\n<!--\n <div class=\"govuk-form-group govuk-form-group--mg\" *ngIf=\"!bsPaymentDcnNumber\">\n <label class=\"govuk-label custom-govuk-label govuk-fieldset__heading--fz\" for=\"responsibleOffice\">\n <strong>What service is this fee for?</strong>\n </label>\n <select class=\"govuk-select govuk-select--custom\" id=\"responsibleOffice\" [(ngModel)]=\"service\" name=\"responsibleOffice\">\n <option value=\"\" selected='selected'>Please select</option>\n <option value=\"AA07\">Divorce</option>\n <option value=\"AA09\">Financial Remedy</option>\n <option value=\"AA08\">Probate</option>\n </select>\n </div> -->\n\n <div>\n <button *ngIf=\"!bsPaymentDcnNumber\" type=\"submit\" (click)=\"takePayment()\"\n [disabled]=\"totalFee <= 0 || isConfirmationBtnDisabled\"\n [ngClass]='totalFee <= 0 || !platForm || !service || isConfirmationBtnDisabled? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'>\n Take payment\n </button>\n <button *ngIf=\"bsPaymentDcnNumber\" type=\"button\" (click)=\"goToAllocatePage(outStandingAmount, isFeeAmountZero)\" class=\"button govuk-!-margin-right-1\">\n <span *ngIf=\"outStandingAmount > 0 || (isFeeAmountZero && outStandingAmount === 0)\">\n Allocate payment\n </span>\n <span *ngIf=\"outStandingAmount < 0 || (!isFeeAmountZero && outStandingAmount === 0)\">\n Continue\n </span>\n </button>\n </div>\n\n</main>\n</div>\n\n <ng-container *ngIf=\"viewStatus === 'feeRemovalConfirmation'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='FEEREMOVALCONFIRMATION_1'>\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 Are you sure you want to delete this fee?\n </strong>\n </div>\n <div class=\"govuk-button-grb\">\n <form novalidate>\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"cancelRemission()\">\n Cancel\n </button>\n <button type=\"submit\" class=\"button\"\n *ngIf =\"!isRemoveBtnDisabled\"\n [ngClass]='isRemoveBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'\n (click)=\"removeFee(currentFee)\">\n Remove\n </button>\n </form>\n </div>\n </ng-container>\n<ccpay-add-remission *ngIf=\"viewStatus === 'add_remission' && currentFee\"\n [isTurnOff]=\"isTurnOff\"\n [isStrategicFixEnable]=\"isStrategicFixEnable\"\n [fee]=\"currentFee\"\n [caseType]=\"caseType\"\n [ccdCaseNumber]=\"ccdCaseNumber\"\n [paymentGroupRef]=\"paymentGroupRef\"\n (cancelRemission)=\"cancelRemission()\"></ccpay-add-remission>\n <input *ngIf=\"viewStatus === 'payhub_view' && payhubHtml\" #myInput type='hidden' id='iFrameDrivenImageValue' value='PCIPAL'>\n",
4904
+ template: "\n<div class=\"govuk-breadcrumbs\" *ngIf=\"isBackButtonEnable\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\" *ngIf=\"!isTurnOff\">\n <a (click)=\"loadCaseTransactionPage()\" class=\"govuk-back-link govuk-label\">Back</a>\n </li>\n <li class=\"govuk-breadcrumbs__list-item\" *ngIf=\"isTurnOff\">\n <a (click)=\"redirectToFeeSearchPage($event,'summary')\" class=\"govuk-back-link govuk-label\">Back</a>\n </li>\n </ol>\n</div>\n<div class=\"fee-summary\" *ngIf=\"viewStatus === 'main'\">\n <main class=\"govuk-main-wrapper\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='FEESUMMARY'>\n <div class=\"summaryheader\">\n <h1 class=\"heading-large govuk-!-margin-top-3 govuk-!-margin-bottom-4\">Summary </h1>\n <p class=\"govuk-!-margin-top-5 caseref\">Case reference:{{ccdCaseNumber | ccdHyphens}}</p>\n </div>\n\n <!-- <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"heading-xlarge\">Fee Summary</h1>\n </div>\n\n\n \u00A0<div\u00A0class=\"govuk-grid-column-one-third\"\u00A0align=\"right\">\n \u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<button\u00A0 *ngIf=\"!isTurnOff\" (click)=\"redirectToFeeSearchPage($event,'summary')\"\n \u00A0\u00A0\u00A0\u00A0\u00A0\u00A0[disabled]=\"isPaymentExist\"\n \u00A0\u00A0\u00A0\u00A0\u00A0\u00A0[ngClass]='isPaymentExist ?\u00A0\"button\u00A0button--disabled govuk-!-margin-right-1\"\u00A0:\u00A0\"button govuk-!-margin-right-1\"'>\n Add a new fee\n </button>\n\n <a *ngIf=\"isTurnOff\" (click)=\"redirectToFeeSearchPage($event,'summary')\" class=\"button\">Add a new fee</a>\n </div>\n </div> -->\n\n\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payment Group details could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <!-- <table class=\"govuk-table\" *ngIf=\"!errorMessage && paymentGroup\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header govuk-!-font-weight-bold\" scope=\"col\">Fee Code</th>\n <th class=\"govuk-table__header govuk-!-font-weight-bold\" scope=\"col\">Fee description</th>\n <th class=\"govuk-table__header govuk-!-font-weight-bold\" scope=\"col\">Remission code</th>\n <th class=\"govuk-table__header govuk-!-font-weight-bold\" scope=\"col\"></th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.fees\">\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell\">{{ fee.code }}</td>\n <td class=\"govuk-table__cell\">{{ fee.description }}</td>\n <td class=\"govuk-table__cell\">{{ getRemissionByFeeCode(fee.code)?.hwf_reference }}</td>\n <td class=\"govuk-table__cell grey-text\">\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"no-border grey-text subcolumn-1\">Fee amount:</td>\n <td class=\"no-border subcolumn-2\">{{ fee.fee_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"no-border subcolumn-3\" *ngIf=\"!isTurnOff\">\n <a (click)=\"confirmRemoveFee(fee.id)\" [ngClass]='isPaymentExist || fee.remissions ? \"disable-link\" : \"\"'>remove fee</a>\n </td>\n <td class=\"no-border subcolumn-3\" *ngIf=\"isTurnOff\">\n <a (click)=\"confirmRemoveFee(fee.id)\">remove fee</a>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"fee.volume && fee.volume > 0\">\n <td class=\"no-border grey-text subcolumn-1\">Volume:</td>\n <td class=\"no-border subcolumn-2\">{{ fee.volume }}</td>\n <td class=\"no-border subcolumn-3\"></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border grey-text subcolumn-1\">Fee total:</td>\n <td class=\"no-border subcolumn-2\">{{ fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"no-border subcolumn-3\"></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border grey-text subcolumn-1\">Remission amount:</td>\n <td class=\"no-border subcolumn-2\">{{ getRemissionByFeeCode(fee.code)?.hwf_amount? ( getRemissionByFeeCode(fee.code)?.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2') : '-' }}</td>\n <td class=\"no-border subcolumn-3\" *ngIf=\"!isTurnOff\">\n <a (click)=\"addRemission(fee)\" *ngIf=\"(getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount) && !isPaymentExist\">\n Deduct remission\n </a>\n </td>\n <td class=\"no-border subcolumn-3\" *ngIf=\"isTurnOff\">\n <a (click)=\"addRemission(fee)\" *ngIf=\"getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount\">\n Deduct remission\n </a>\n </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border grey-text subcolumn-1\">Total after remission:</td>\n <td class=\"no-border subcolumn-2\">{{ fee.net_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"no-border subcolumn-3\"></td>\n </tr>\n </table>\n </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\">\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"no-border govuk-!-font-weight-bold subcolumn-1\">Total payment</td>\n <td class=\"no-border subcolumn-2\">{{ totalAfterRemission - outStandingAmount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n <td class=\"no-border subcolumn-3\"></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border govuk-!-font-weight-bold subcolumn-1\">Total outstanding amount</td>\n <td class=\"no-border subcolumn-2\">{{ outStandingAmount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n <td class=\"no-border subcolumn-3\"></td>\n </tr>\n </table>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"!bsPaymentDcnNumber && isOldPcipalOff && isNewPcipalOff\">\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\">\n <div class=\"govuk-form-group govuk-form-group--mg\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <span class=\"govuk-fieldset__heading govuk-fieldset__heading--fz\">\n Which system are you using to take the payment?\n </span>\n </legend>\n <div class=\"govuk-radios govuk-radios--small\">\n <div class=\"govuk-radios__item\">\n <input id=\"changed-name\" class=\"govuk-radios__input\" [(ngModel)]=\"platForm\" type=\"radio\" aria-label=\"8x8\" value=\"8x8\">\n <label class=\"govuk-label govuk-radios__label\" for=\"changed-name\">\n 8x8\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input id=\"changed-name-2\" class=\"govuk-radios__input\" [(ngModel)]=\"platForm\" type=\"radio\" aria-label=\"Antenna\" value=\"Antenna\">\n <label class=\"govuk-label govuk-radios__label\" for=\"changed-name-2\">\n Antenna\n </label>\n </div>\n </div>\n </fieldset>\n </div>\n </td>\n </tr>\n </tbody>\n <tr class=\"govuk-table__row\">\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\"></td>\n <td class=\"no-border\">\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"no-border subcolumn-2\">\n <button *ngIf=\"!bsPaymentDcnNumber\" type=\"submit\" (click)=\"takePayment()\"\n [disabled]=\"totalFee <= 0 || !platForm || isConfirmationBtnDisabled\"\n [ngClass]='totalFee <= 0 || !platForm || isConfirmationBtnDisabled? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'>\n Take payment\n </button>\n <button *ngIf=\"bsPaymentDcnNumber\" type=\"button\" (click)=\"goToAllocatePage(outStandingAmount, isFeeAmountZero)\" class=\"button govuk-!-margin-right-1\">\n <span *ngIf=\"outStandingAmount > 0 || (isFeeAmountZero && outStandingAmount === 0)\">\n Allocate payment\n </span>\n <span *ngIf=\"outStandingAmount < 0 || (!isFeeAmountZero && outStandingAmount === 0)\">\n Continue\n </span>\n </button>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </tbody>\n </table> -->\n\n <div class=\"govuk-!-margin-top-3\">\n <table class=\"govuk-table govuk-!-margin-bottom-2\" *ngIf=\"!errorMessage && paymentGroup\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header\" scope=\"col\" class=\"class600\">Description</th>\n <th class=\"govuk-table__header\" scope=\"col\" class=\"class60\">Quantity</th>\n <th class=\"govuk-table__header\" scope=\"col\" class=\"class80\"></th>\n <th class=\"govuk-table__header\" scope=\"col\" class=\"class100\">Amount</th>\n </tr>\n </thead>\n\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.fees\">\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell\">{{ fee.description }}\n\n <span class=\"no-border\" *ngIf=\"(isPaymentExist || (getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount)) && !isTurnOff\">\n\n\n <a (click)=\"confirmRemoveFee(fee.id)\" *ngIf=\"(!isPaymentExist || !fee.remissions)\" [ngClass]='isPaymentExist || fee.remissions? \"disable-link\" : \"\"'> <br>Remove</a>\n </span>\n\n <span class=\"no-border\" *ngIf=\"(!isPaymentExist || (getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount)) && isTurnOff \">\n <a (click)=\"confirmRemoveFee(fee.id)\">Remove</a>\n </span>\n\n <a (click)=\"addRemission(fee)\" class=\"remissionActive\" *ngIf=\"(getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount) && !isPaymentExist && !isTurnOff\">\n Add help with fees or remission\n </a>\n <a (click)=\"addRemission(fee)\" class=\"remissionActive\" *ngIf=\"(getRemissionByFeeCode(fee.code)?.hwf_amount === 0 || !getRemissionByFeeCode(fee.code)?.hwf_amount) && isTurnOff\">\n Add help with fees or remission\n </a>\n <span *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">\n <br>\n <div class=\"govuk-table__cell_border\" *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">Remission,{{ getRemissionByFeeCode(fee.code)?.hwf_reference }}</div>\n </span>\n </td>\n\n <td class=\"govuk-table__cell\" *ngIf=\"fee.volume && fee.volume > 0\">\n {{ fee.volume }}\n <span *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">\n <br>\n <div class=\"govuk-table__cell_border\">1</div>\n </span>\n </td>\n\n <td class=\"govuk-table__cell alignright\">\n <br>\n <div *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\" class=\"govuk-table__cell_border\"> <br><br></div>\n </td>\n <td class=\"govuk-table__cell alignright\" >\n {{ fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}\n <span *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">\n <br>\n <div class=\"govuk-table__cell_rmborder alignright\">\n -{{ getRemissionByFeeCode(fee.code)?.hwf_amount? ( getRemissionByFeeCode(fee.code)?.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2') : '-' }}\n </div>\n </span>\n </td>\n\n\n </tr>\n <!-- <tr>\n <td *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">\n <br>\n <div class=\"govuk-table__cell_border\" *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount > 0\">Remission,{{ getRemissionByFeeCode(fee.code)?.hwf_reference }}</div>\n </td>\n <td *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount ===''\">\n <div class=\"govuk-table__cell_border\"></div>\n </td>\n <td *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount === ''\">\n <br>\n <div class=\"govuk-table__cell_border\" *ngIf = \"getRemissionByFeeCode(fee.code)?.hwf_amount === ''\"></div>\n </td>\n <td>\n <br>\n <div class=\"govuk-table__cell_border\" style=\"text-align: right;\">\n -{{ getRemissionByFeeCode(fee.code)?.hwf_amount? ( getRemissionByFeeCode(fee.code)?.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2') : '-' }}\n </div>\n </td>\n </tr> -->\n </tbody>\n </table>\n </div>\n <div class=\"addfee\">\n <button *ngIf=\"!isTurnOff\" (click)=\"redirectToFeeSearchPage($event,'summary')\"\n [disabled]=\"isPaymentExist\"\n [ngClass]='isPaymentExist ? \"govuk-button govuk-button--secondary button--disabled\" : \"govuk-button govuk-button--secondary\"'>\n Add fee\n </button>\n <a *ngIf=\"isTurnOff\" (click)=\"redirectToFeeSearchPage($event,'summary')\" class=\"govuk-button govuk-button--secondary\">Add a new fee</a>\n <div class=\"feeAddButton\">\n <p class=\"paddigleft govuk-!-margin-top-2\">Total to pay: {{ outStandingAmount | currency:'GBP':'symbol-narrow':'1.2-2'}}</p>\n </div>\n </div>\n<!--\n <div class=\"govuk-form-group govuk-form-group--mg\" *ngIf=\"!bsPaymentDcnNumber\">\n <label class=\"govuk-label custom-govuk-label govuk-fieldset__heading--fz\" for=\"responsibleOffice\">\n <strong>What service is this fee for?</strong>\n </label>\n <select class=\"govuk-select govuk-select--custom\" id=\"responsibleOffice\" [(ngModel)]=\"service\" name=\"responsibleOffice\">\n <option value=\"\" selected='selected'>Please select</option>\n <option value=\"AA07\">Divorce</option>\n <option value=\"AA09\">Financial Remedy</option>\n <option value=\"AA08\">Probate</option>\n </select>\n </div> -->\n\n <div>\n <button *ngIf=\"!bsPaymentDcnNumber\" type=\"submit\" (click)=\"takePayment()\"\n [disabled]=\"totalFee <= 0 || isConfirmationBtnDisabled\"\n [ngClass]='totalFee <= 0 || !platForm || !service || isConfirmationBtnDisabled? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'>\n Take payment\n </button>\n <button *ngIf=\"bsPaymentDcnNumber\" type=\"button\" (click)=\"goToAllocatePage(outStandingAmount, isFeeAmountZero)\" class=\"button govuk-!-margin-right-1\">\n <span *ngIf=\"outStandingAmount > 0 || (isFeeAmountZero && outStandingAmount === 0)\">\n Allocate payment\n </span>\n <span *ngIf=\"outStandingAmount < 0 || (!isFeeAmountZero && outStandingAmount === 0)\">\n Continue\n </span>\n </button>\n </div>\n\n</main>\n</div>\n\n <ng-container *ngIf=\"viewStatus === 'feeRemovalConfirmation'\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='FEEREMOVALCONFIRMATION_1'>\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 Are you sure you want to delete this fee?\n </strong>\n </div>\n <div class=\"govuk-button-grb\">\n <form novalidate>\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"cancelRemission()\">\n Cancel\n </button>\n <button type=\"submit\" class=\"button\"\n *ngIf =\"!isRemoveBtnDisabled\"\n [ngClass]='isRemoveBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'\n (click)=\"removeFee(currentFee)\">\n Remove\n </button>\n </form>\n </div>\n </ng-container>\n<ccpay-add-remission *ngIf=\"viewStatus === 'add_remission' && currentFee\"\n [isTurnOff]=\"isTurnOff\"\n [isStrategicFixEnable]=\"isStrategicFixEnable\"\n [fee]=\"currentFee\"\n [caseType]=\"caseType\"\n [ccdCaseNumber]=\"ccdCaseNumber\"\n [paymentGroupRef]=\"paymentGroupRef\"\n (cancelRemission)=\"cancelRemission()\"></ccpay-add-remission>\n <input *ngIf=\"viewStatus === 'payhub_view' && payhubHtml\" #myInput type='hidden' class='iFrameDrivenImageValue' value='PCIPAL'>\n",
5927
4905
  styles: [".fee-summary .grey-text{color:#6b7376;font-weight:500}.fee-summary .govuk-table{margin-bottom:0}.fee-summary .no-border{border:none;border-bottom:none}.fee-summary table td,.fee-summary table th{font-size:19px;vertical-align:top}.fee-summary table td .no-padding,.fee-summary table th .no-padding{padding:0}.fee-summary table td .subcolumn-1,.fee-summary table th .subcolumn-1{width:45%}.fee-summary table td .subcolumn-2,.fee-summary table th .subcolumn-2{width:25%;text-align:right}.fee-summary table td .subcolumn-3,.fee-summary table th .subcolumn-3{width:30%;text-align:center}table th{font-weight:700}.govuk-button-grb{padding-bottom:20px}.govuk-button-grb .govuk-button--secondary{background-color:#dee0e2;box-shadow:0 2px 0 #858688;color:#0b0c0c;margin-right:10px}.govuk-form-group--mg{margin-top:10px!important}.govuk-fieldset__heading--fz{font-size:16px}.remissionDisable{color:grey;cursor:default}.heading-xlarge{margin:0 0 14px -20px}.govuk-select--custom{width:50%}.disable-link{cursor:default;pointer-events:none;color:#8e8c8c}.govuk-table__cell_border,.govuk-table__header{padding:10px 0 0;border-top:1px solid #bfc1c3;text-align:left}.govuk-table__cell,.govuk-table__header{padding:10px 0}.govuk-table__cell_rmborder,.govuk-table__header{padding:10px 0 0;border-top:1px solid #bfc1c3;text-align:left}.govuk-table__fessheader{font-weight:700}.govuk-button{font-size:19px}.feeAddButton{padding-left:65rem}.remissionActive{padding-left:10px}.paddigleft{padding-left:2em}.govuk-back-link{font-size:1.5rem!important}.govuk-warning-text__text{font-size:19px}.summaryheader{display:flex;flex-direction:row;justify-content:space-between;width:960px}.class600{width:600px}.class60{width:60px}.class80{width:80px;text-align:right}.class100{width:100px;text-align:right}.alignright{text-align:right}.caseref{align-self:flex-end}.addfee{display:flex;flex-direction:row}"]
5928
4906
  }] }
5929
4907
  ];
@@ -5944,93 +4922,10 @@ var FeeSummaryComponent = /** @class */ (function () {
5944
4922
  };
5945
4923
  return FeeSummaryComponent;
5946
4924
  }());
5947
- if (false) {
5948
- /** @type {?} */
5949
- FeeSummaryComponent.prototype.paymentGroupRef;
5950
- /** @type {?} */
5951
- FeeSummaryComponent.prototype.ccdCaseNumber;
5952
- /** @type {?} */
5953
- FeeSummaryComponent.prototype.isTurnOff;
5954
- /** @type {?} */
5955
- FeeSummaryComponent.prototype.caseType;
5956
- /** @type {?} */
5957
- FeeSummaryComponent.prototype.bsPaymentDcnNumber;
5958
- /** @type {?} */
5959
- FeeSummaryComponent.prototype.paymentGroup;
5960
- /** @type {?} */
5961
- FeeSummaryComponent.prototype.errorMessage;
5962
- /** @type {?} */
5963
- FeeSummaryComponent.prototype.viewStatus;
5964
- /** @type {?} */
5965
- FeeSummaryComponent.prototype.currentFee;
5966
- /** @type {?} */
5967
- FeeSummaryComponent.prototype.totalFee;
5968
- /** @type {?} */
5969
- FeeSummaryComponent.prototype.payhubHtml;
5970
- /** @type {?} */
5971
- FeeSummaryComponent.prototype.service;
5972
- /** @type {?} */
5973
- FeeSummaryComponent.prototype.platForm;
5974
- /** @type {?} */
5975
- FeeSummaryComponent.prototype.upPaymentErrorMessage;
5976
- /** @type {?} */
5977
- FeeSummaryComponent.prototype.selectedOption;
5978
- /** @type {?} */
5979
- FeeSummaryComponent.prototype.isBackButtonEnable;
5980
- /** @type {?} */
5981
- FeeSummaryComponent.prototype.outStandingAmount;
5982
- /** @type {?} */
5983
- FeeSummaryComponent.prototype.isFeeAmountZero;
5984
- /** @type {?} */
5985
- FeeSummaryComponent.prototype.totalAfterRemission;
5986
- /** @type {?} */
5987
- FeeSummaryComponent.prototype.isConfirmationBtnDisabled;
5988
- /** @type {?} */
5989
- FeeSummaryComponent.prototype.isRemoveBtnDisabled;
5990
- /** @type {?} */
5991
- FeeSummaryComponent.prototype.isPaymentExist;
5992
- /** @type {?} */
5993
- FeeSummaryComponent.prototype.isRemissionsExist;
5994
- /** @type {?} */
5995
- FeeSummaryComponent.prototype.isRemissionsMatch;
5996
- /** @type {?} */
5997
- FeeSummaryComponent.prototype.isStrategicFixEnable;
5998
- /**
5999
- * @type {?}
6000
- * @private
6001
- */
6002
- FeeSummaryComponent.prototype.router;
6003
- /**
6004
- * @type {?}
6005
- * @private
6006
- */
6007
- FeeSummaryComponent.prototype.bulkScaningPaymentService;
6008
- /**
6009
- * @type {?}
6010
- * @private
6011
- */
6012
- FeeSummaryComponent.prototype.location;
6013
- /**
6014
- * @type {?}
6015
- * @private
6016
- */
6017
- FeeSummaryComponent.prototype.paymentViewService;
6018
- /**
6019
- * @type {?}
6020
- * @private
6021
- */
6022
- FeeSummaryComponent.prototype.paymentLibComponent;
6023
- /**
6024
- * @type {?}
6025
- * @private
6026
- */
6027
- FeeSummaryComponent.prototype.OrderslistService;
6028
- }
6029
4925
 
6030
4926
  /**
6031
4927
  * @fileoverview added by tsickle
6032
- * Generated from: lib/components/error-banner/error-banner.component.ts
6033
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4928
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6034
4929
  */
6035
4930
  var ErrorBannerComponent = /** @class */ (function () {
6036
4931
  function ErrorBannerComponent() {
@@ -6057,15 +4952,10 @@ var ErrorBannerComponent = /** @class */ (function () {
6057
4952
  };
6058
4953
  return ErrorBannerComponent;
6059
4954
  }());
6060
- if (false) {
6061
- /** @type {?} */
6062
- ErrorBannerComponent.prototype.errorMessage;
6063
- }
6064
4955
 
6065
4956
  /**
6066
4957
  * @fileoverview added by tsickle
6067
- * Generated from: lib/interfaces/UnidentifiedPaymentsRequest.ts
6068
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4958
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6069
4959
  */
6070
4960
  var UnidentifiedPaymentsRequest = /** @class */ (function () {
6071
4961
  function UnidentifiedPaymentsRequest(payment_group_reference, payment_reference, unidentified_reason) {
@@ -6079,21 +4969,10 @@ var UnidentifiedPaymentsRequest = /** @class */ (function () {
6079
4969
  }
6080
4970
  return UnidentifiedPaymentsRequest;
6081
4971
  }());
6082
- if (false) {
6083
- /** @type {?} */
6084
- UnidentifiedPaymentsRequest.prototype.payment_allocation_status;
6085
- /** @type {?} */
6086
- UnidentifiedPaymentsRequest.prototype.payment_group_reference;
6087
- /** @type {?} */
6088
- UnidentifiedPaymentsRequest.prototype.payment_reference;
6089
- /** @type {?} */
6090
- UnidentifiedPaymentsRequest.prototype.unidentified_reason;
6091
- }
6092
4972
 
6093
4973
  /**
6094
4974
  * @fileoverview added by tsickle
6095
- * Generated from: lib/interfaces/AllocatePaymentRequest.ts
6096
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4975
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6097
4976
  */
6098
4977
  var AllocatePaymentRequest = /** @class */ (function () {
6099
4978
  function AllocatePaymentRequest(ccd_case_number, unAllocatedPayment, caseType, exceptionRecord, allocatedRequest) {
@@ -6122,41 +5001,10 @@ var AllocatePaymentRequest = /** @class */ (function () {
6122
5001
  }
6123
5002
  return AllocatePaymentRequest;
6124
5003
  }());
6125
- if (false) {
6126
- /** @type {?} */
6127
- AllocatePaymentRequest.prototype.amount;
6128
- /** @type {?} */
6129
- AllocatePaymentRequest.prototype.banked_date;
6130
- /** @type {?} */
6131
- AllocatePaymentRequest.prototype.ccd_case_number;
6132
- /** @type {?} */
6133
- AllocatePaymentRequest.prototype.exception_record;
6134
- /** @type {?} */
6135
- AllocatePaymentRequest.prototype.currency;
6136
- /** @type {?} */
6137
- AllocatePaymentRequest.prototype.document_control_number;
6138
- /** @type {?} */
6139
- AllocatePaymentRequest.prototype.external_provider;
6140
- /** @type {?} */
6141
- AllocatePaymentRequest.prototype.giro_slip_no;
6142
- /** @type {?} */
6143
- AllocatePaymentRequest.prototype.payer_name;
6144
- /** @type {?} */
6145
- AllocatePaymentRequest.prototype.payment_channel;
6146
- /** @type {?} */
6147
- AllocatePaymentRequest.prototype.payment_status;
6148
- /** @type {?} */
6149
- AllocatePaymentRequest.prototype.payment_method;
6150
- /** @type {?} */
6151
- AllocatePaymentRequest.prototype.case_type;
6152
- /** @type {?} */
6153
- AllocatePaymentRequest.prototype.payment_allocation_dto;
6154
- }
6155
5004
 
6156
5005
  /**
6157
5006
  * @fileoverview added by tsickle
6158
- * Generated from: lib/components/mark-unidentified-payment/mark-unidentified-payment.component.ts
6159
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5007
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6160
5008
  */
6161
5009
  var MarkUnidentifiedPaymentComponent = /** @class */ (function () {
6162
5010
  function MarkUnidentifiedPaymentComponent(formBuilder, paymentViewService, paymentLibComponent, bulkScaningPaymentService) {
@@ -6444,7 +5292,7 @@ var MarkUnidentifiedPaymentComponent = /** @class */ (function () {
6444
5292
  MarkUnidentifiedPaymentComponent.decorators = [
6445
5293
  { type: Component, args: [{
6446
5294
  selector: 'app-mark-unidentified-payment',
6447
- template: "<div class=\"mkpay-unidentified\" >\n <div *ngIf=\"viewStatus === 'mainForm'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='MARKUNIDENTIFIED'>\n <h1 class=\"heading-large\">Mark payment as unidentified</h1>\n\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Payment asset number (DCN)</td>\n <td class=\"govuk-table__header\" scope=\"col\">Banked date</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Method</td>\n \n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\">{{unassignedRecord.dcn_reference}}</td>\n <td class=\"govuk-table__cell\"> {{unassignedRecord.date_banked | date:'dd MMM yyyy'}}</td>\n <td class=\"govuk-table__cell\"> {{unassignedRecord.amount | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td class=\"capitalize govuk-table__cell\"> {{trimUnderscore(unassignedRecord.payment_method) | lowercase}} </td>\n </tr>\n </tbody>\n </table>\n </div>\n <form [formGroup]=\"markPaymentUnidentifiedForm\" novalidate>\n <div class=\"govuk-form-group\">\n <p class=\"unidentifiedSubText\">\n Give a reason for marking this payment as unidentified.\n <br/>\n Include any investigations you've made.\n </p>\n <label class=\"heading-small\" for=\"investicationDetail\">\n\n </label>\n <textarea class=\"form-control form-control-3-4\" [ngClass]=\"{'inline-error-class': isInvesticationDetailEmpty || investicationDetailHasError || investicationDetailMinHasError || investicationDetailMaxHasError}\" name=\"investicationDetail\" id=\"investicationDetail\" rows=\"5\" formControlName=\"investicationDetail\">\n </textarea>\n <p class=\"inline-error-message\" *ngIf=\"isInvesticationDetailEmpty || investicationDetailHasError || investicationDetailMinHasError || investicationDetailMaxHasError\">\n <span *ngIf=\"isInvesticationDetailEmpty\">Enter a reason for marking this payment as unidentified.</span>\n <span *ngIf=\"investicationDetailHasError\">Enter a vaild reason</span>\n <span *ngIf=\"investicationDetailMinHasError\">Reason should be at least 3 characters.</span>\n <span *ngIf=\"investicationDetailMaxHasError\">Reason should be 255 characters or under.</span>\n </p>\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" class=\"button\" (click)=\"saveAndContinue()\">\n Continue\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnidentifiedPayments('cancel')\">\n Cancel\n </button>\n </div>\n </form>\n </div>\n <ng-container *ngIf=\"viewStatus === 'unidentifiedContinueConfirm'\">\n <ccpay-error-banner *ngIf=\"errorMessage.showError\" [errorMessage]=\"errorMessage\"></ccpay-error-banner>\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='UNIDENTIFIEDCONFIRMATION'>\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 <h1 class=\"heading-small\"> Are you sure you want to mark this payment as unidentified? </h1>\n \n </strong>\n\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Investigations</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\">{{investigationComment}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" class=\"button\" [disabled]=\"isConfirmButtondisabled\" (click)=\"confirmPayments()\">\n Confirm\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnidentifiedPayments()\">\n Cancel\n </button>\n </div>\n </ng-container>\n <ng-container *ngIf=\"viewStatus === 'unidentifiedCancelConfirm'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='CANCELUNIDENTIFIED'>\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 Are you sure you want to cancel?\n </strong>\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" class=\"button\" (click)=\"gotoCasetransationPage()\">\n Yes\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnidentifiedPayments()\">\n No\n </button>\n </div>\n </ng-container>\n</div>\n",
5295
+ template: "<div class=\"mkpay-unidentified\" >\n <div *ngIf=\"viewStatus === 'mainForm'\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='MARKUNIDENTIFIED'>\n <h1 class=\"heading-large\">Mark payment as unidentified</h1>\n\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Payment asset number (DCN)</td>\n <td class=\"govuk-table__header\" scope=\"col\">Banked date</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Method</td>\n \n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\">{{unassignedRecord.dcn_reference}}</td>\n <td class=\"govuk-table__cell\"> {{unassignedRecord.date_banked | date:'dd MMM yyyy'}}</td>\n <td class=\"govuk-table__cell\"> {{unassignedRecord.amount | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td class=\"capitalize govuk-table__cell\"> {{trimUnderscore(unassignedRecord.payment_method) | lowercase}} </td>\n </tr>\n </tbody>\n </table>\n </div>\n <form [formGroup]=\"markPaymentUnidentifiedForm\" novalidate>\n <div class=\"govuk-form-group\">\n <p class=\"unidentifiedSubText\">\n Give a reason for marking this payment as unidentified.\n <br/>\n Include any investigations you've made.\n </p>\n <label class=\"heading-small\" for=\"investicationDetail\">\n\n </label>\n <textarea class=\"form-control form-control-3-4\" [ngClass]=\"{'inline-error-class': isInvesticationDetailEmpty || investicationDetailHasError || investicationDetailMinHasError || investicationDetailMaxHasError}\" name=\"investicationDetail\" id=\"investicationDetail\" rows=\"5\" formControlName=\"investicationDetail\">\n </textarea>\n <p class=\"inline-error-message\" *ngIf=\"isInvesticationDetailEmpty || investicationDetailHasError || investicationDetailMinHasError || investicationDetailMaxHasError\">\n <span *ngIf=\"isInvesticationDetailEmpty\">Enter a reason for marking this payment as unidentified.</span>\n <span *ngIf=\"investicationDetailHasError\">Enter a vaild reason</span>\n <span *ngIf=\"investicationDetailMinHasError\">Reason should be at least 3 characters.</span>\n <span *ngIf=\"investicationDetailMaxHasError\">Reason should be 255 characters or under.</span>\n </p>\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" class=\"button\" (click)=\"saveAndContinue()\">\n Continue\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnidentifiedPayments('cancel')\">\n Cancel\n </button>\n </div>\n </form>\n </div>\n <ng-container *ngIf=\"viewStatus === 'unidentifiedContinueConfirm'\">\n <ccpay-error-banner *ngIf=\"errorMessage.showError\" [errorMessage]=\"errorMessage\"></ccpay-error-banner>\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='UNIDENTIFIEDCONFIRMATION'>\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 <h1 class=\"heading-small\"> Are you sure you want to mark this payment as unidentified? </h1>\n \n </strong>\n\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Investigations</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\">{{investigationComment}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" class=\"button\" [disabled]=\"isConfirmButtondisabled\" (click)=\"confirmPayments()\">\n Confirm\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnidentifiedPayments()\">\n Cancel\n </button>\n </div>\n </ng-container>\n <ng-container *ngIf=\"viewStatus === 'unidentifiedCancelConfirm'\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='CANCELUNIDENTIFIED'>\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 Are you sure you want to cancel?\n </strong>\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" class=\"button\" (click)=\"gotoCasetransationPage()\">\n Yes\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnidentifiedPayments()\">\n No\n </button>\n </div>\n </ng-container>\n</div>\n",
6448
5296
  styles: [".mkpay-unidentified{margin:10px 0 20px}.mkpay-unidentified .govuk-button--group .govuk-button--secondary{margin-left:10px;background-color:#b3b8bdf2}.mkpay-unidentified .inline-error-class{outline:#a71414 solid 3px;outline-offset:0}.mkpay-unidentified .inline-error-message{color:#a71414;font-weight:700;margin-top:10px}.govuk-grid-column-full{padding:0}.unidentifiedSubText{line-height:45px}.govuk-warning-text__text{font-size:19px}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}"]
6449
5297
  }] }
6450
5298
  ];
@@ -6460,67 +5308,10 @@ var MarkUnidentifiedPaymentComponent = /** @class */ (function () {
6460
5308
  };
6461
5309
  return MarkUnidentifiedPaymentComponent;
6462
5310
  }());
6463
- if (false) {
6464
- /** @type {?} */
6465
- MarkUnidentifiedPaymentComponent.prototype.caseType;
6466
- /** @type {?} */
6467
- MarkUnidentifiedPaymentComponent.prototype.markPaymentUnidentifiedForm;
6468
- /** @type {?} */
6469
- MarkUnidentifiedPaymentComponent.prototype.viewStatus;
6470
- /** @type {?} */
6471
- MarkUnidentifiedPaymentComponent.prototype.ccdCaseNumber;
6472
- /** @type {?} */
6473
- MarkUnidentifiedPaymentComponent.prototype.bspaymentdcn;
6474
- /** @type {?} */
6475
- MarkUnidentifiedPaymentComponent.prototype.isInvesticationDetailEmpty;
6476
- /** @type {?} */
6477
- MarkUnidentifiedPaymentComponent.prototype.investicationDetailHasError;
6478
- /** @type {?} */
6479
- MarkUnidentifiedPaymentComponent.prototype.investicationDetailMinHasError;
6480
- /** @type {?} */
6481
- MarkUnidentifiedPaymentComponent.prototype.investicationDetailMaxHasError;
6482
- /** @type {?} */
6483
- MarkUnidentifiedPaymentComponent.prototype.errorMessage;
6484
- /** @type {?} */
6485
- MarkUnidentifiedPaymentComponent.prototype.unassignedRecord;
6486
- /** @type {?} */
6487
- MarkUnidentifiedPaymentComponent.prototype.siteID;
6488
- /** @type {?} */
6489
- MarkUnidentifiedPaymentComponent.prototype.investigationComment;
6490
- /** @type {?} */
6491
- MarkUnidentifiedPaymentComponent.prototype.isConfirmButtondisabled;
6492
- /** @type {?} */
6493
- MarkUnidentifiedPaymentComponent.prototype.ccdReference;
6494
- /** @type {?} */
6495
- MarkUnidentifiedPaymentComponent.prototype.exceptionReference;
6496
- /** @type {?} */
6497
- MarkUnidentifiedPaymentComponent.prototype.isStrategicFixEnable;
6498
- /**
6499
- * @type {?}
6500
- * @private
6501
- */
6502
- MarkUnidentifiedPaymentComponent.prototype.formBuilder;
6503
- /**
6504
- * @type {?}
6505
- * @private
6506
- */
6507
- MarkUnidentifiedPaymentComponent.prototype.paymentViewService;
6508
- /**
6509
- * @type {?}
6510
- * @private
6511
- */
6512
- MarkUnidentifiedPaymentComponent.prototype.paymentLibComponent;
6513
- /**
6514
- * @type {?}
6515
- * @private
6516
- */
6517
- MarkUnidentifiedPaymentComponent.prototype.bulkScaningPaymentService;
6518
- }
6519
5311
 
6520
5312
  /**
6521
5313
  * @fileoverview added by tsickle
6522
- * Generated from: lib/interfaces/UnsolicitedPaymentsRequest.ts
6523
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5314
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6524
5315
  */
6525
5316
  var UnsolicitedPaymentsRequest = /** @class */ (function () {
6526
5317
  function UnsolicitedPaymentsRequest(payment_group_reference, payment_reference, reason, responsible_office, responsible_person, email_id) {
@@ -6537,27 +5328,10 @@ var UnsolicitedPaymentsRequest = /** @class */ (function () {
6537
5328
  }
6538
5329
  return UnsolicitedPaymentsRequest;
6539
5330
  }());
6540
- if (false) {
6541
- /** @type {?} */
6542
- UnsolicitedPaymentsRequest.prototype.payment_allocation_status;
6543
- /** @type {?} */
6544
- UnsolicitedPaymentsRequest.prototype.payment_group_reference;
6545
- /** @type {?} */
6546
- UnsolicitedPaymentsRequest.prototype.payment_reference;
6547
- /** @type {?} */
6548
- UnsolicitedPaymentsRequest.prototype.receiving_office;
6549
- /** @type {?} */
6550
- UnsolicitedPaymentsRequest.prototype.receiving_email_address;
6551
- /** @type {?} */
6552
- UnsolicitedPaymentsRequest.prototype.sending_email_address;
6553
- /** @type {?} */
6554
- UnsolicitedPaymentsRequest.prototype.unidentified_reason;
6555
- }
6556
5331
 
6557
5332
  /**
6558
5333
  * @fileoverview added by tsickle
6559
- * Generated from: lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.ts
6560
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5334
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6561
5335
  */
6562
5336
  var MarkUnsolicitedPaymentComponent = /** @class */ (function () {
6563
5337
  function MarkUnsolicitedPaymentComponent(formBuilder, paymentViewService, paymentLibComponent, bulkScaningPaymentService) {
@@ -6930,7 +5704,7 @@ var MarkUnsolicitedPaymentComponent = /** @class */ (function () {
6930
5704
  MarkUnsolicitedPaymentComponent.decorators = [
6931
5705
  { type: Component, args: [{
6932
5706
  selector: 'app-mark-unsolicited-payment',
6933
- template: "<div class=\"mkpay-unidentified\">\n <div *ngIf=\"viewStatus === 'mainForm'\">\n <ccpay-error-banner *ngIf=\"errorMessage.showError\" [errorMessage]=\"errorMessage\"></ccpay-error-banner>\n <h1 class=\"heading-large\">Mark payment as transferred</h1>\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Payment asset number (DCN)</td>\n <td class=\"govuk-table__header\" scope=\"col\">Banked date</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Method</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\">{{unassignedRecord.dcn_reference}}</td>\n <td class=\"govuk-table__cell\"> {{unassignedRecord.date_banked | date:'dd MMM yyyy'}}</td>\n <td class=\"govuk-table__cell\"> {{unassignedRecord.amount | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td class=\"capitalize govuk-table__cell\"> {{trimUnderscore(unassignedRecord.payment_method) | lowercase}} </td>\n </tr>\n </tbody>\n </table>\n </div>\n \n <form [formGroup]=\"markPaymentUnsolicitedForm\" novalidate>\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='MARKTRANSFERRED'>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label custom-govuk-label custom-govuk-label\" for=\"reason\">\n Reason for payment being marked as transferred \n </label>\n <textarea class=\"form-control form-control-3-4\" [ngClass]=\"{'inline-error-class': reasonHasError || reasonMinHasError || reasonMaxHasError}\" name=\"reason\" id=\"reason\" rows=\"5\" formControlName=\"reason\">\n </textarea>\n <p class=\"inline-error-message\" *ngIf=\"isReasonEmpty || reasonHasError || reasonMinHasError || reasonMaxHasError\">\n <span *ngIf=\"isReasonEmpty\">Enter a reason for marking this payment as transferred.</span>\n <span *ngIf=\"reasonHasError\">Enter a valid reason</span>\n <span *ngIf=\"reasonMinHasError\">Reason should be at least 3 characters.</span>\n <span *ngIf=\"reasonMaxHasError\">Reason should be 255 characters or under.</span>\n </p>\n </div>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label custom-govuk-label\" for=\"responsibleOffice\">\n Receiving Site ID (Receiving court/Bulk centre site ID) \n </label>\n <select class=\"form-control short-input\" id=\"responsibleOffice\" formControlName=\"responsibleOffice\" (change)=\"selectchange($event)\">\n <option value=\"\" selected='selected'>Please select</option>\n <option *ngFor=\"let siteID of siteIDList;\" value=\"{{siteID.siteId}}\">{{siteID.siteName}} ({{siteID.siteId}})</option>\n </select>\n <p class=\"inline-error-message\" *ngIf=\"isResponsibleOfficeEmpty || responsibleOfficeHasError\">\n <span *ngIf=\"isResponsibleOfficeEmpty\">Please select Receiving Site ID</span>\n <span *ngIf=\"responsibleOfficeHasError\">Please select a valid Receiving Site ID</span>\n </p>\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" [disabled]=\"isContinueButtondisabled\" class=\"button\" (click)=\"saveAndContinue()\">\n Confirm\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnsolicitedPayments('cancel')\">\n Cancel\n </button>\n </div>\n </form>\n \n</div>\n <ng-container *ngIf=\"viewStatus === 'unsolicitedContinueConfirm'\">\n <ccpay-error-banner *ngIf=\"errorMessage.showError\" [errorMessage]=\"errorMessage\"></ccpay-error-banner>\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 <h1 class=\"heading-small\"> Are you sure you want to mark this payment as transferred? </h1>\n </strong>\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='TRANSFERREDCONFIRMATION'>\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Reason</td>\n <td class=\"govuk-table__header\" scope=\"col\">Receiving site ID</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\">{{reason}}</td>\n <td class=\"govuk-table__cell\">{{selectedSiteName}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" class=\"button\" [disabled]=\"isConfirmButtondisabled\" (click)=\"confirmPayments()\">\n Confirm\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnsolicitedPayments()\">\n Cancel\n </button>\n </div>\n </ng-container>\n <ng-container *ngIf=\"viewStatus === 'unsolicitedCancelConfirm'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='CANCELTRANSFERRED'>\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 Are you sure you want to cancel?\n </strong>\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" class=\"button\" (click)=\"gotoCasetransationPage()\">\n Yes\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnsolicitedPayments()\">\n No\n </button>\n </div>\n </ng-container>\n</div>",
5707
+ template: "<div class=\"mkpay-unidentified\">\n <div *ngIf=\"viewStatus === 'mainForm'\">\n <ccpay-error-banner *ngIf=\"errorMessage.showError\" [errorMessage]=\"errorMessage\"></ccpay-error-banner>\n <h1 class=\"heading-large\">Mark payment as transferred</h1>\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Payment asset number (DCN)</td>\n <td class=\"govuk-table__header\" scope=\"col\">Banked date</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Method</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\">{{unassignedRecord.dcn_reference}}</td>\n <td class=\"govuk-table__cell\"> {{unassignedRecord.date_banked | date:'dd MMM yyyy'}}</td>\n <td class=\"govuk-table__cell\"> {{unassignedRecord.amount | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td class=\"capitalize govuk-table__cell\"> {{trimUnderscore(unassignedRecord.payment_method) | lowercase}} </td>\n </tr>\n </tbody>\n </table>\n </div>\n \n <form [formGroup]=\"markPaymentUnsolicitedForm\" novalidate>\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='MARKTRANSFERRED'>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label custom-govuk-label custom-govuk-label\" for=\"reason\">\n Reason for payment being marked as transferred \n </label>\n <textarea class=\"form-control form-control-3-4\" [ngClass]=\"{'inline-error-class': reasonHasError || reasonMinHasError || reasonMaxHasError}\" name=\"reason\" id=\"reason\" rows=\"5\" formControlName=\"reason\">\n </textarea>\n <p class=\"inline-error-message\" *ngIf=\"isReasonEmpty || reasonHasError || reasonMinHasError || reasonMaxHasError\">\n <span *ngIf=\"isReasonEmpty\">Enter a reason for marking this payment as transferred.</span>\n <span *ngIf=\"reasonHasError\">Enter a valid reason</span>\n <span *ngIf=\"reasonMinHasError\">Reason should be at least 3 characters.</span>\n <span *ngIf=\"reasonMaxHasError\">Reason should be 255 characters or under.</span>\n </p>\n </div>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label custom-govuk-label\" for=\"responsibleOffice\">\n Receiving Site ID (Receiving court/Bulk centre site ID) \n </label>\n <select class=\"form-control short-input\" id=\"responsibleOffice\" formControlName=\"responsibleOffice\" (change)=\"selectchange($event)\">\n <option value=\"\" selected='selected'>Please select</option>\n <option *ngFor=\"let siteID of siteIDList;\" value=\"{{siteID.siteId}}\">{{siteID.siteName}} ({{siteID.siteId}})</option>\n </select>\n <p class=\"inline-error-message\" *ngIf=\"isResponsibleOfficeEmpty || responsibleOfficeHasError\">\n <span *ngIf=\"isResponsibleOfficeEmpty\">Please select Receiving Site ID</span>\n <span *ngIf=\"responsibleOfficeHasError\">Please select a valid Receiving Site ID</span>\n </p>\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" [disabled]=\"isContinueButtondisabled\" class=\"button\" (click)=\"saveAndContinue()\">\n Confirm\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnsolicitedPayments('cancel')\">\n Cancel\n </button>\n </div>\n </form>\n \n</div>\n <ng-container *ngIf=\"viewStatus === 'unsolicitedContinueConfirm'\">\n <ccpay-error-banner *ngIf=\"errorMessage.showError\" [errorMessage]=\"errorMessage\"></ccpay-error-banner>\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 <h1 class=\"heading-small\"> Are you sure you want to mark this payment as transferred? </h1>\n </strong>\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='TRANSFERREDCONFIRMATION'>\n <div class=\"govuk-grid-column-full govuk-!-padding-bottom-3\">\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Reason</td>\n <td class=\"govuk-table__header\" scope=\"col\">Receiving site ID</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\">{{reason}}</td>\n <td class=\"govuk-table__cell\">{{selectedSiteName}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" class=\"button\" [disabled]=\"isConfirmButtondisabled\" (click)=\"confirmPayments()\">\n Confirm\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnsolicitedPayments()\">\n Cancel\n </button>\n </div>\n </ng-container>\n <ng-container *ngIf=\"viewStatus === 'unsolicitedCancelConfirm'\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='CANCELTRANSFERRED'>\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 Are you sure you want to cancel?\n </strong>\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" class=\"button\" (click)=\"gotoCasetransationPage()\">\n Yes\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelMarkUnsolicitedPayments()\">\n No\n </button>\n </div>\n </ng-container>\n</div>",
6934
5708
  styles: [".mkpay-unidentified{margin:10px 0 20px}.mkpay-unidentified .govuk-button--secondary{margin-left:10px;background-color:#b3b8bdf2}.mkpay-unidentified .inline-error-class{outline:#a71414 solid 3px;outline-offset:0}.mkpay-unidentified .inline-error-message{color:#a71414;font-weight:700;margin-top:10px}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.custom-govuk-label,.govuk-warning-text__text{font-size:19px}#responsibleOffice{color:#000;width:75%;font-weight:#fff}select option{background:#fff}"]
6935
5709
  }] }
6936
5710
  ];
@@ -6946,93 +5720,18 @@ var MarkUnsolicitedPaymentComponent = /** @class */ (function () {
6946
5720
  };
6947
5721
  return MarkUnsolicitedPaymentComponent;
6948
5722
  }());
6949
- if (false) {
6950
- /** @type {?} */
6951
- MarkUnsolicitedPaymentComponent.prototype.caseType;
6952
- /** @type {?} */
6953
- MarkUnsolicitedPaymentComponent.prototype.markPaymentUnsolicitedForm;
6954
- /** @type {?} */
6955
- MarkUnsolicitedPaymentComponent.prototype.viewStatus;
6956
- /** @type {?} */
6957
- MarkUnsolicitedPaymentComponent.prototype.reasonHasError;
6958
- /** @type {?} */
6959
- MarkUnsolicitedPaymentComponent.prototype.isReasonEmpty;
6960
- /** @type {?} */
6961
- MarkUnsolicitedPaymentComponent.prototype.reasonMinHasError;
6962
- /** @type {?} */
6963
- MarkUnsolicitedPaymentComponent.prototype.reasonMaxHasError;
6964
- /** @type {?} */
6965
- MarkUnsolicitedPaymentComponent.prototype.responsibleOfficeHasError;
6966
- /** @type {?} */
6967
- MarkUnsolicitedPaymentComponent.prototype.isResponsibleOfficeEmpty;
6968
- /** @type {?} */
6969
- MarkUnsolicitedPaymentComponent.prototype.errorMessage;
6970
- /** @type {?} */
6971
- MarkUnsolicitedPaymentComponent.prototype.ccdCaseNumber;
6972
- /** @type {?} */
6973
- MarkUnsolicitedPaymentComponent.prototype.bspaymentdcn;
6974
- /** @type {?} */
6975
- MarkUnsolicitedPaymentComponent.prototype.unassignedRecord;
6976
- /** @type {?} */
6977
- MarkUnsolicitedPaymentComponent.prototype.siteID;
6978
- /** @type {?} */
6979
- MarkUnsolicitedPaymentComponent.prototype.reason;
6980
- /** @type {?} */
6981
- MarkUnsolicitedPaymentComponent.prototype.responsiblePerson;
6982
- /** @type {?} */
6983
- MarkUnsolicitedPaymentComponent.prototype.responsibleOffice;
6984
- /** @type {?} */
6985
- MarkUnsolicitedPaymentComponent.prototype.emailId;
6986
- /** @type {?} */
6987
- MarkUnsolicitedPaymentComponent.prototype.isConfirmButtondisabled;
6988
- /** @type {?} */
6989
- MarkUnsolicitedPaymentComponent.prototype.isContinueButtondisabled;
6990
- /** @type {?} */
6991
- MarkUnsolicitedPaymentComponent.prototype.ccdReference;
6992
- /** @type {?} */
6993
- MarkUnsolicitedPaymentComponent.prototype.exceptionReference;
6994
- /** @type {?} */
6995
- MarkUnsolicitedPaymentComponent.prototype.selectedSiteId;
6996
- /** @type {?} */
6997
- MarkUnsolicitedPaymentComponent.prototype.selectedSiteName;
6998
- /** @type {?} */
6999
- MarkUnsolicitedPaymentComponent.prototype.isStrategicFixEnable;
7000
- /** @type {?} */
7001
- MarkUnsolicitedPaymentComponent.prototype.siteIDList;
7002
- /**
7003
- * @type {?}
7004
- * @private
7005
- */
7006
- MarkUnsolicitedPaymentComponent.prototype.formBuilder;
7007
- /**
7008
- * @type {?}
7009
- * @private
7010
- */
7011
- MarkUnsolicitedPaymentComponent.prototype.paymentViewService;
7012
- /**
7013
- * @type {?}
7014
- * @private
7015
- */
7016
- MarkUnsolicitedPaymentComponent.prototype.paymentLibComponent;
7017
- /**
7018
- * @type {?}
7019
- * @private
7020
- */
7021
- MarkUnsolicitedPaymentComponent.prototype.bulkScaningPaymentService;
7022
- }
7023
5723
 
7024
5724
  /**
7025
5725
  * @fileoverview added by tsickle
7026
- * Generated from: lib/components/unprocessed-payments/unprocessed-payments.component.ts
7027
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5726
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7028
5727
  */
7029
5728
  var UnprocessedPaymentsComponent = /** @class */ (function () {
7030
- function UnprocessedPaymentsComponent(router, bulkScaningPaymentService, paymentLibComponent, paymentViewService, OrderslistService) {
5729
+ function UnprocessedPaymentsComponent(router, bulkScaningPaymentService, paymentLibComponent, paymentViewService, OrderslistService$$1) {
7031
5730
  this.router = router;
7032
5731
  this.bulkScaningPaymentService = bulkScaningPaymentService;
7033
5732
  this.paymentLibComponent = paymentLibComponent;
7034
5733
  this.paymentViewService = paymentViewService;
7035
- this.OrderslistService = OrderslistService;
5734
+ this.OrderslistService = OrderslistService$$1;
7036
5735
  this.selectedUnprocessedFeeEvent = new EventEmitter();
7037
5736
  this.getUnprocessedFeeCount = new EventEmitter();
7038
5737
  this.viewStatus = 'main';
@@ -7319,7 +6018,7 @@ var UnprocessedPaymentsComponent = /** @class */ (function () {
7319
6018
  UnprocessedPaymentsComponent.decorators = [
7320
6019
  { type: Component, args: [{
7321
6020
  selector: 'ccpay-app-unprocessed-payments',
7322
- template: "<!-- <ng-container *ngIf=\"IS_BUTTON_ENABLE\">\n <div class=\"unprocessed-payments govuk-grid-column-full govuk-!-padding-bottom-3\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='CASETRANSACTION'>\n <h3 class=\"heading-medium\" *ngIf=\"!IS_BUTTON_ENABLE\">Unprocessed payments</h3>\n <h3 class=\"heading-medium\" *ngIf=\"IS_BUTTON_ENABLE\">Unallocated payments</h3>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\" *ngIf=\"IS_BUTTON_ENABLE && !isTurnOff\">Select</td>\n <td class=\"govuk-table__header\" scope=\"col\" *ngIf=\"IS_BUTTON_ENABLE && isTurnOff\"><a href=\"#\" (click)=\"unprocessedPaymentUnSelectEvent($event)\">Unselect</a></td>\n \n <td class=\"govuk-table__header\" scope=\"col\">Payment asset number (DCN)</td>\n <td class=\"govuk-table__header\" scope=\"col\">Banked date</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Method</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" >\n <tr class=\"govuk-table__row\" *ngFor=\"let unassignedRecord of unassignedRecordList; let i of index;\">\n <td class=\"govuk-table__cell\" *ngIf=\"IS_BUTTON_ENABLE\">\n <div class=\"multiple-choice unprocessed-payments--radio-button\">\n <input id=\"'unpaiedFee'+i+''\"\n aria-label=\"unassignedRecord\"\n name=\"unassignedRecord\"\n type=\"radio\"\n [(ngModel)]=\"recordId\"\n (click)=\"unprocessedPaymentSelectEvent(unassignedRecord.dcn_reference)\"\n value=\"{{unassignedRecord.dcn_reference}}\" />\n <label for=\"radio-inline-1\"></label>\n </div>\n </td>\n <td class=\"govuk-table__cell whitespace-inherit\">\n {{unassignedRecord.dcn_reference}}\n </td>\n <td class=\"govuk-table__cell whitespace-inherit\"> {{unassignedRecord.date_banked | date:'dd MMM yyyy'}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\"> {{unassignedRecord.amount | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td class=\"capitalize govuk-table__cell whitespace-inherit\"> {{ trimUnderscore(unassignedRecord.payment_method) | lowercase}} </td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"upPaymentErrorMessage !== null\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No unallocated payments record available</td>\n </tbody>\n </table>\n <div class=\"button-grb\" *ngIf=\"IS_BUTTON_ENABLE && !isTurnOff\">\n <button type=\"button\"\n [disabled]=\"!isAllocatedToNewFeebtnEnabled\"\n [ngClass]=\"!isAllocatedToNewFeebtnEnabled ? 'button govuk-button--secondary button--disabled govuk-!-margin-right-1' : 'button govuk-button--secondary govuk-!-margin-right-1'\" (click)=\"redirectToFeeSearchPage($event)\">\n Allocate to a new fee\n </button>\n <button type=\"button\" \n [disabled]=\"!isAllocateToExistingFeebtnEnabled\"\n [ngClass]='!isAllocateToExistingFeebtnEnabled ? \"button govuk-button--secondary button--disabled govuk-!-margin-right-1\" : \"button govuk-button--secondary govuk-!-margin-right-1\"' (click)=\"goToAllocatePage()\">\n Allocate to an existing fee\n </button>\n <button type=\"button\" \n [disabled]=\"!isMarkAsUnidentifiedbtnEnabled\"\n [ngClass]='!isMarkAsUnidentifiedbtnEnabled ? \"button govuk-button--secondary button--disabled govuk-!-margin-right-1\" : \"button govuk-button--secondary govuk-!-margin-right-1\"' (click)=\"loadUnsolicitedPage('unidentifiedPage')\">\n Mark as unidentified\n </button>\n <button type=\"button\" \n [disabled]=\"!isUnprocessedRecordSelected\"\n [ngClass]='!isUnprocessedRecordSelected ? \"button govuk-button--secondary button--disabled govuk-!-margin-right-1\" : \"button govuk-button--secondary govuk-!-margin-right-1\"' (click)=\"loadUnsolicitedPage('unsolicitedPage')\">\n Mark as transferred\n </button> \n </div>\n \n <div class=\"button-grb\" *ngIf=\"IS_BUTTON_ENABLE && isTurnOff\">\n <button type=\"button\"\n [disabled]=\"!isAllocatedToNewFeebtnEnabled\"\n [ngClass]=\"!isAllocatedToNewFeebtnEnabled ? 'button button--disabled govuk-!-margin-right-1' : 'button govuk-!-margin-right-1'\" (click)=\"redirectToFeeSearchPage($event)\">\n Allocate to a new fee\n </button>\n <button type=\"button\" \n [disabled]=\"!isAllocateToExistingFeebtnEnabled\"\n [ngClass]='!isAllocateToExistingFeebtnEnabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"' (click)=\"goToAllocatePage()\">\n Allocate to an existing fee\n </button>\n <button type=\"button\" \n [disabled]=\"!isMarkAsUnidentifiedbtnEnabled\"\n [ngClass]='!isMarkAsUnidentifiedbtnEnabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"' (click)=\"loadUnsolicitedPage('unidentifiedPage')\">\n Mark as unidentified\n </button>\n <button type=\"button\" \n [disabled]=\"!isUnprocessedRecordSelected\"\n [ngClass]='!isUnprocessedRecordSelected ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"' (click)=\"loadUnsolicitedPage('unsolicitedPage')\">\n Mark as transferred\n </button> \n </div>\n </div>\n</ng-container> -->\n\n\n<ng-container *ngIf=\"!IS_BUTTON_ENABLE\">\n <table class=\"govuk-table\">\n \n <thead class=\"govuk-table__head\" *ngIf='PAYMENTSLENGTH === 0 '>\n <!-- <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-14\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-10\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-14\" scope=\"col\">Date</td>\n <td class=\"govuk-table__header col-20\" scope=\"col\">Request reference</td>\n <td class=\"govuk-table__header col-9\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr> -->\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let unassignedRecord of unassignedRecordList; let i of index;\">\n <td class=\"govuk-table__cell whitespace-inherit\" class=\"col-13\">\n Unallocated \n </td>\n <td class=\"govuk-table__cell whitespace-inherit\"> {{unassignedRecord.amount | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\"></td>\n </tr>\n </tbody>\n \n </table>\n\n</ng-container>\n\n\n<!--Orders Unallocated changes-->\n<ng-container *ngIf=\"IS_BUTTON_ENABLE\">\n <div class=\"unprocessed-payments\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='CASETRANSACTION'>\n <table class=\"table\">\n \n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-13\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-9\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-16\" scope=\"col\">Date allocated</td>\n <td class=\"govuk-table__header col-24\" colspan=\"3\" scope=\"col\">Request reference</td>\n <td class=\"govuk-table__header col-13\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let unassignedRecord of unassignedRecordList; let i of index;\">\n <tr>\n <td class=\"govuk-table__cell whitespace-inherit col-13\" >\n Unallocated \n </td>\n <td class=\"govuk-table__cell whitespace-inherit col-10\">\n {{unassignedRecord.amount | currency :'GBP':'symbol':'1.2-2'}}\n </td>\n <td class=\"govuk-table__cell whitespace-inherit\" colspan=\"8\">\n <div *ngIf=\"IS_BUTTON_ENABLE && !isTurnOff\" class=\"alignright\">\n <button type=\"button\"\n [disabled]=\"!isAllocatedToNewFeebtnEnabled\"\n [ngClass]=\"!isAllocatedToNewFeebtnEnabled ? 'button govuk-button--secondary button--disabled' : 'button govuk-button--secondary'\" (click)=\"redirectToFeeSearchPage($event,unassignedRecord.dcn_reference)\">\n Allocate to new service request\n </button><br/>\n <button type=\"button\" \n [disabled]=\"!isAllocateToExistingFeebtnEnabled\"\n [ngClass]='!isAllocateToExistingFeebtnEnabled ? \"button govuk-button--secondary button--disabled\" : \"button govuk-button--secondary\"' (click)=\"goToAllocatePage(unassignedRecord.dcn_reference)\">\n Allocate to existing service request \n </button>\n </div>\n \n </td>\n </tr>\n \n <!-- <ng-container> -->\n <tr>\n <td class=\"unassigned noborders\" colspan=\"10\">\n <summary (click)=\"unassignedRecord.expanded = !unassignedRecord.expanded\" class=\"govuk-details__summary\">\n <span class=\"govuk-details__summary-text\">\n More details and actions\n </span>\n </summary>\n <div *ngIf=\"unassignedRecord.expanded\" class=\"govuk-details__text govuk-!-margin-bottom-5 paddingright\">\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-5\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n Method\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ trimUnderscore(unassignedRecord.payment_method) | lowercase}}\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n Payment assest number (DCN) \n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{unassignedRecord.dcn_reference}}\n </dd>\n </div>\n </dl>\n <div class=\" govuk-!-margin-bottom-5\">\n <button type=\"button\" \n [disabled]=\"!isMarkAsUnidentifiedbtnEnabled\"\n [ngClass]='!isMarkAsUnidentifiedbtnEnabled ? \"button govuk-button--secondary button--disabled\" : \"button govuk-button--secondary\"' (click)=\"loadUnsolicitedPage('unidentifiedPage',unassignedRecord.dcn_reference)\">\n Mark as unidentified\n </button>\n </div>\n <div>\n <button type=\"button\" \n [disabled]=\"!isUnprocessedRecordSelected\"\n [ngClass]='!isUnprocessedRecordSelected ? \"button govuk-button--secondary button--disabled\" : \"button govuk-button--secondary\"' (click)=\"loadUnsolicitedPage('unsolicitedPage',unassignedRecord.dcn_reference)\">\n Mark as transferred\n </button> \n </div>\n\n </div>\n </td> \n </tr> \n <!-- </ng-container> -->\n </ng-container>\n </tbody>\n </table>\n \n </div>\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'main'\">\n\n</ng-container>\n<!-- <ng-container *ngIf=\"PAYMENTSLENGTH === 0 && unassignedRecordListLength === 0\">\n <br/>No payments.<br/>\n</ng-container> -->\n\n",
6021
+ template: "<!-- <ng-container *ngIf=\"IS_BUTTON_ENABLE\">\n <div class=\"unprocessed-payments govuk-grid-column-full govuk-!-padding-bottom-3\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='CASETRANSACTION'>\n <h3 class=\"heading-medium\" *ngIf=\"!IS_BUTTON_ENABLE\">Unprocessed payments</h3>\n <h3 class=\"heading-medium\" *ngIf=\"IS_BUTTON_ENABLE\">Unallocated payments</h3>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\" *ngIf=\"IS_BUTTON_ENABLE && !isTurnOff\">Select</td>\n <td class=\"govuk-table__header\" scope=\"col\" *ngIf=\"IS_BUTTON_ENABLE && isTurnOff\"><a href=\"#\" (click)=\"unprocessedPaymentUnSelectEvent($event)\">Unselect</a></td>\n \n <td class=\"govuk-table__header\" scope=\"col\">Payment asset number (DCN)</td>\n <td class=\"govuk-table__header\" scope=\"col\">Banked date</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Method</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" >\n <tr class=\"govuk-table__row\" *ngFor=\"let unassignedRecord of unassignedRecordList; let i of index;\">\n <td class=\"govuk-table__cell\" *ngIf=\"IS_BUTTON_ENABLE\">\n <div class=\"multiple-choice unprocessed-payments--radio-button\">\n <input id=\"'unpaiedFee'+i+''\"\n aria-label=\"unassignedRecord\"\n name=\"unassignedRecord\"\n type=\"radio\"\n [(ngModel)]=\"recordId\"\n (click)=\"unprocessedPaymentSelectEvent(unassignedRecord.dcn_reference)\"\n value=\"{{unassignedRecord.dcn_reference}}\" />\n <label for=\"radio-inline-1\"></label>\n </div>\n </td>\n <td class=\"govuk-table__cell whitespace-inherit\">\n {{unassignedRecord.dcn_reference}}\n </td>\n <td class=\"govuk-table__cell whitespace-inherit\"> {{unassignedRecord.date_banked | date:'dd MMM yyyy'}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\"> {{unassignedRecord.amount | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td class=\"capitalize govuk-table__cell whitespace-inherit\"> {{ trimUnderscore(unassignedRecord.payment_method) | lowercase}} </td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"upPaymentErrorMessage !== null\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No unallocated payments record available</td>\n </tbody>\n </table>\n <div class=\"button-grb\" *ngIf=\"IS_BUTTON_ENABLE && !isTurnOff\">\n <button type=\"button\"\n [disabled]=\"!isAllocatedToNewFeebtnEnabled\"\n [ngClass]=\"!isAllocatedToNewFeebtnEnabled ? 'button govuk-button--secondary button--disabled govuk-!-margin-right-1' : 'button govuk-button--secondary govuk-!-margin-right-1'\" (click)=\"redirectToFeeSearchPage($event)\">\n Allocate to a new fee\n </button>\n <button type=\"button\" \n [disabled]=\"!isAllocateToExistingFeebtnEnabled\"\n [ngClass]='!isAllocateToExistingFeebtnEnabled ? \"button govuk-button--secondary button--disabled govuk-!-margin-right-1\" : \"button govuk-button--secondary govuk-!-margin-right-1\"' (click)=\"goToAllocatePage()\">\n Allocate to an existing fee\n </button>\n <button type=\"button\" \n [disabled]=\"!isMarkAsUnidentifiedbtnEnabled\"\n [ngClass]='!isMarkAsUnidentifiedbtnEnabled ? \"button govuk-button--secondary button--disabled govuk-!-margin-right-1\" : \"button govuk-button--secondary govuk-!-margin-right-1\"' (click)=\"loadUnsolicitedPage('unidentifiedPage')\">\n Mark as unidentified\n </button>\n <button type=\"button\" \n [disabled]=\"!isUnprocessedRecordSelected\"\n [ngClass]='!isUnprocessedRecordSelected ? \"button govuk-button--secondary button--disabled govuk-!-margin-right-1\" : \"button govuk-button--secondary govuk-!-margin-right-1\"' (click)=\"loadUnsolicitedPage('unsolicitedPage')\">\n Mark as transferred\n </button> \n </div>\n \n <div class=\"button-grb\" *ngIf=\"IS_BUTTON_ENABLE && isTurnOff\">\n <button type=\"button\"\n [disabled]=\"!isAllocatedToNewFeebtnEnabled\"\n [ngClass]=\"!isAllocatedToNewFeebtnEnabled ? 'button button--disabled govuk-!-margin-right-1' : 'button govuk-!-margin-right-1'\" (click)=\"redirectToFeeSearchPage($event)\">\n Allocate to a new fee\n </button>\n <button type=\"button\" \n [disabled]=\"!isAllocateToExistingFeebtnEnabled\"\n [ngClass]='!isAllocateToExistingFeebtnEnabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"' (click)=\"goToAllocatePage()\">\n Allocate to an existing fee\n </button>\n <button type=\"button\" \n [disabled]=\"!isMarkAsUnidentifiedbtnEnabled\"\n [ngClass]='!isMarkAsUnidentifiedbtnEnabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"' (click)=\"loadUnsolicitedPage('unidentifiedPage')\">\n Mark as unidentified\n </button>\n <button type=\"button\" \n [disabled]=\"!isUnprocessedRecordSelected\"\n [ngClass]='!isUnprocessedRecordSelected ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"' (click)=\"loadUnsolicitedPage('unsolicitedPage')\">\n Mark as transferred\n </button> \n </div>\n </div>\n</ng-container> -->\n\n\n<ng-container *ngIf=\"!IS_BUTTON_ENABLE\">\n <table class=\"govuk-table\">\n \n <thead class=\"govuk-table__head\" *ngIf='PAYMENTSLENGTH === 0 '>\n <!-- <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-14\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-10\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-14\" scope=\"col\">Date</td>\n <td class=\"govuk-table__header col-20\" scope=\"col\">Request reference</td>\n <td class=\"govuk-table__header col-9\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr> -->\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let unassignedRecord of unassignedRecordList; let i of index;\">\n <td class=\"govuk-table__cell whitespace-inherit\" class=\"col-13\">\n Unallocated \n </td>\n <td class=\"govuk-table__cell whitespace-inherit\"> {{unassignedRecord.amount | currency :'GBP':'symbol':'1.2-2'}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\"></td>\n <td class=\"govuk-table__cell whitespace-inherit\"></td>\n </tr>\n </tbody>\n \n </table>\n\n</ng-container>\n\n\n<!--Orders Unallocated changes-->\n<ng-container *ngIf=\"IS_BUTTON_ENABLE\">\n <div class=\"unprocessed-payments\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='CASETRANSACTION'>\n <table class=\"table\">\n \n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-13\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-9\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-16\" scope=\"col\">Date allocated</td>\n <td class=\"govuk-table__header col-24\" colspan=\"3\" scope=\"col\">Request reference</td>\n <td class=\"govuk-table__header col-13\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let unassignedRecord of unassignedRecordList; let i of index;\">\n <tr>\n <td class=\"govuk-table__cell whitespace-inherit col-13\" >\n Unallocated \n </td>\n <td class=\"govuk-table__cell whitespace-inherit col-10\">\n {{unassignedRecord.amount | currency :'GBP':'symbol':'1.2-2'}}\n </td>\n <td class=\"govuk-table__cell whitespace-inherit\" colspan=\"8\">\n <div *ngIf=\"IS_BUTTON_ENABLE && !isTurnOff\" class=\"alignright\">\n <button type=\"button\"\n [disabled]=\"!isAllocatedToNewFeebtnEnabled\"\n [ngClass]=\"!isAllocatedToNewFeebtnEnabled ? 'button govuk-button--secondary button--disabled' : 'button govuk-button--secondary'\" (click)=\"redirectToFeeSearchPage($event,unassignedRecord.dcn_reference)\">\n Allocate to new service request\n </button><br/>\n <button type=\"button\" \n [disabled]=\"!isAllocateToExistingFeebtnEnabled\"\n [ngClass]='!isAllocateToExistingFeebtnEnabled ? \"button govuk-button--secondary button--disabled\" : \"button govuk-button--secondary\"' (click)=\"goToAllocatePage(unassignedRecord.dcn_reference)\">\n Allocate to existing service request \n </button>\n </div>\n \n </td>\n </tr>\n \n <!-- <ng-container> -->\n <tr>\n <td class=\"unassigned noborders\" colspan=\"10\">\n <summary (click)=\"unassignedRecord.expanded = !unassignedRecord.expanded\" class=\"govuk-details__summary\">\n <span class=\"govuk-details__summary-text\">\n More details and actions\n </span>\n </summary>\n <div *ngIf=\"unassignedRecord.expanded\" class=\"govuk-details__text govuk-!-margin-bottom-5 paddingright\">\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-5\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n Method\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ trimUnderscore(unassignedRecord.payment_method) | lowercase}}\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n Payment assest number (DCN) \n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{unassignedRecord.dcn_reference}}\n </dd>\n </div>\n </dl>\n <div class=\" govuk-!-margin-bottom-5\">\n <button type=\"button\" \n [disabled]=\"!isMarkAsUnidentifiedbtnEnabled\"\n [ngClass]='!isMarkAsUnidentifiedbtnEnabled ? \"button govuk-button--secondary button--disabled\" : \"button govuk-button--secondary\"' (click)=\"loadUnsolicitedPage('unidentifiedPage',unassignedRecord.dcn_reference)\">\n Mark as unidentified\n </button>\n </div>\n <div>\n <button type=\"button\" \n [disabled]=\"!isUnprocessedRecordSelected\"\n [ngClass]='!isUnprocessedRecordSelected ? \"button govuk-button--secondary button--disabled\" : \"button govuk-button--secondary\"' (click)=\"loadUnsolicitedPage('unsolicitedPage',unassignedRecord.dcn_reference)\">\n Mark as transferred\n </button> \n </div>\n\n </div>\n </td> \n </tr> \n <!-- </ng-container> -->\n </ng-container>\n </tbody>\n </table>\n \n </div>\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'main'\">\n\n</ng-container>\n<!-- <ng-container *ngIf=\"PAYMENTSLENGTH === 0 && unassignedRecordListLength === 0\">\n <br/>No payments.<br/>\n</ng-container> -->\n\n",
7323
6022
  styles: [".unprocessed-payments .unprocessed-payments--radio-button{bottom:10px}.disable{text-decoration:none;padding:.526315em .789473em .263157em;cursor:default;color:#fff;background-color:#00823b;pointer-events:none;font-size:1em;line-height:1.25;outline:transparent solid 1px;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618}.button.disabled,.button[disabled=disabled],.button[disabled]{zoom:1;opacity:.5}.button.disabled:active,.button[disabled=disabled]:active,.button[disabled]:active{top:0;box-shadow:0 2px 0 #003618}.button[disabled=disabled]{background:#00823b}.col-13{width:13%!important}.col-17{width:17%!important}.col-12{width:12%!important}.col-9{width:9%!important}.col-15{width:15%!important}.lowercase{text-transform:lowercase}.capitalize::first-letter{text-transform:uppercase}.whitespace-inherit{white-space:inherit!important}.top_row{display:table;width:100%}.top_row>div{display:table-cell;width:50%;border-bottom:1px solid #eee}.unassigned{border-top:hidden}.col-16{width:16%!important}.col-10{width:10%!important}.col-14{width:14%!important}.col-19{width:19%!important;padding-left:0!important}.col-18{width:18%!important;padding-left:0!important;padding-right:0!important}.col-21{width:21%!important}.col-20{width:20%!important}.col-11{width:11%!important}.col-37{width:37%!important}.noborders>td{border-color:transparent;border-top-style:hidden;border-right-style:hidden;border-left-style:hidden}.govuk-button--secondary{margin-bottom:10px}.govuk-summary-list{font-size:19px}.govuk-summary-list__key{width:35%}td{white-space:nowrap;overflow:hidden!important}table{table-layout:fixed;width:100%}td,th{word-wrap:break-word}.alignright{text-align:right}.paddingright{padding-right:0}"]
7324
6023
  }] }
7325
6024
  ];
@@ -7345,98 +6044,10 @@ var UnprocessedPaymentsComponent = /** @class */ (function () {
7345
6044
  };
7346
6045
  return UnprocessedPaymentsComponent;
7347
6046
  }());
7348
- if (false) {
7349
- /** @type {?} */
7350
- UnprocessedPaymentsComponent.prototype.FEE_RECORDS_EXISTS;
7351
- /** @type {?} */
7352
- UnprocessedPaymentsComponent.prototype.PAYMENTREF;
7353
- /** @type {?} */
7354
- UnprocessedPaymentsComponent.prototype.ISTURNOFF;
7355
- /** @type {?} */
7356
- UnprocessedPaymentsComponent.prototype.IS_BUTTON_ENABLE;
7357
- /** @type {?} */
7358
- UnprocessedPaymentsComponent.prototype.IS_OS_AMT_AVAILABLE;
7359
- /** @type {?} */
7360
- UnprocessedPaymentsComponent.prototype.ISSFENABLE;
7361
- /** @type {?} */
7362
- UnprocessedPaymentsComponent.prototype.PAYMENTSLENGTH;
7363
- /** @type {?} */
7364
- UnprocessedPaymentsComponent.prototype.LEVEL;
7365
- /** @type {?} */
7366
- UnprocessedPaymentsComponent.prototype.selectedUnprocessedFeeEvent;
7367
- /** @type {?} */
7368
- UnprocessedPaymentsComponent.prototype.getUnprocessedFeeCount;
7369
- /** @type {?} */
7370
- UnprocessedPaymentsComponent.prototype.viewStatus;
7371
- /** @type {?} */
7372
- UnprocessedPaymentsComponent.prototype.unassignedRecordList;
7373
- /** @type {?} */
7374
- UnprocessedPaymentsComponent.prototype.upPaymentErrorMessage;
7375
- /** @type {?} */
7376
- UnprocessedPaymentsComponent.prototype.ccdCaseNumber;
7377
- /** @type {?} */
7378
- UnprocessedPaymentsComponent.prototype.recordId;
7379
- /** @type {?} */
7380
- UnprocessedPaymentsComponent.prototype.isRecordExist;
7381
- /** @type {?} */
7382
- UnprocessedPaymentsComponent.prototype.dcnNumber;
7383
- /** @type {?} */
7384
- UnprocessedPaymentsComponent.prototype.selectedOption;
7385
- /** @type {?} */
7386
- UnprocessedPaymentsComponent.prototype.isUnprocessedRecordSelected;
7387
- /** @type {?} */
7388
- UnprocessedPaymentsComponent.prototype.isAllocateToExistingFeebtnEnabled;
7389
- /** @type {?} */
7390
- UnprocessedPaymentsComponent.prototype.isMarkAsUnidentifiedbtnEnabled;
7391
- /** @type {?} */
7392
- UnprocessedPaymentsComponent.prototype.isAllocatedToNewFeebtnEnabled;
7393
- /** @type {?} */
7394
- UnprocessedPaymentsComponent.prototype.isExceptionCase;
7395
- /** @type {?} */
7396
- UnprocessedPaymentsComponent.prototype.serviceId;
7397
- /** @type {?} */
7398
- UnprocessedPaymentsComponent.prototype.isBulkScanEnable;
7399
- /** @type {?} */
7400
- UnprocessedPaymentsComponent.prototype.isTurnOff;
7401
- /** @type {?} */
7402
- UnprocessedPaymentsComponent.prototype.isStFixEnable;
7403
- /** @type {?} */
7404
- UnprocessedPaymentsComponent.prototype.unassignedRecordSelectedList;
7405
- /** @type {?} */
7406
- UnprocessedPaymentsComponent.prototype.unassignedRecordListLength;
7407
- /** @type {?} */
7408
- UnprocessedPaymentsComponent.prototype.showContent;
7409
- /**
7410
- * @type {?}
7411
- * @private
7412
- */
7413
- UnprocessedPaymentsComponent.prototype.router;
7414
- /**
7415
- * @type {?}
7416
- * @private
7417
- */
7418
- UnprocessedPaymentsComponent.prototype.bulkScaningPaymentService;
7419
- /**
7420
- * @type {?}
7421
- * @private
7422
- */
7423
- UnprocessedPaymentsComponent.prototype.paymentLibComponent;
7424
- /**
7425
- * @type {?}
7426
- * @private
7427
- */
7428
- UnprocessedPaymentsComponent.prototype.paymentViewService;
7429
- /**
7430
- * @type {?}
7431
- * @private
7432
- */
7433
- UnprocessedPaymentsComponent.prototype.OrderslistService;
7434
- }
7435
6047
 
7436
6048
  /**
7437
6049
  * @fileoverview added by tsickle
7438
- * Generated from: lib/components/processed-payments/processed-payments.component.ts
7439
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6050
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7440
6051
  */
7441
6052
  var ProcessedPaymentsComponent = /** @class */ (function () {
7442
6053
  function ProcessedPaymentsComponent(router, bulkScaningPaymentService) {
@@ -7496,27 +6107,10 @@ var ProcessedPaymentsComponent = /** @class */ (function () {
7496
6107
  };
7497
6108
  return ProcessedPaymentsComponent;
7498
6109
  }());
7499
- if (false) {
7500
- /** @type {?} */
7501
- ProcessedPaymentsComponent.prototype.NONPAYMENTS;
7502
- /** @type {?} */
7503
- ProcessedPaymentsComponent.prototype.goToPaymentViewComponent;
7504
- /**
7505
- * @type {?}
7506
- * @private
7507
- */
7508
- ProcessedPaymentsComponent.prototype.router;
7509
- /**
7510
- * @type {?}
7511
- * @private
7512
- */
7513
- ProcessedPaymentsComponent.prototype.bulkScaningPaymentService;
7514
- }
7515
6110
 
7516
6111
  /**
7517
6112
  * @fileoverview added by tsickle
7518
- * Generated from: lib/interfaces/IAllocationPaymentsRequest.ts
7519
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6113
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7520
6114
  */
7521
6115
  var IAllocationPaymentsRequest = /** @class */ (function () {
7522
6116
  function IAllocationPaymentsRequest(payment_group_reference, payment_reference, reason, explanation, userName) {
@@ -7532,35 +6126,20 @@ var IAllocationPaymentsRequest = /** @class */ (function () {
7532
6126
  }
7533
6127
  return IAllocationPaymentsRequest;
7534
6128
  }());
7535
- if (false) {
7536
- /** @type {?} */
7537
- IAllocationPaymentsRequest.prototype.payment_allocation_status;
7538
- /** @type {?} */
7539
- IAllocationPaymentsRequest.prototype.payment_group_reference;
7540
- /** @type {?} */
7541
- IAllocationPaymentsRequest.prototype.payment_reference;
7542
- /** @type {?} */
7543
- IAllocationPaymentsRequest.prototype.reason;
7544
- /** @type {?} */
7545
- IAllocationPaymentsRequest.prototype.explanation;
7546
- /** @type {?} */
7547
- IAllocationPaymentsRequest.prototype.user_name;
7548
- }
7549
6129
 
7550
6130
  /**
7551
6131
  * @fileoverview added by tsickle
7552
- * Generated from: lib/components/allocate-payments/allocate-payments.component.ts
7553
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6132
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7554
6133
  */
7555
6134
  var AllocatePaymentsComponent = /** @class */ (function () {
7556
- function AllocatePaymentsComponent(errorHandlerService, caseTransactionsService, formBuilder, paymentViewService, paymentLibComponent, bulkScaningPaymentService, OrderslistService) {
6135
+ function AllocatePaymentsComponent(errorHandlerService, caseTransactionsService, formBuilder, paymentViewService, paymentLibComponent, bulkScaningPaymentService, OrderslistService$$1) {
7557
6136
  this.errorHandlerService = errorHandlerService;
7558
6137
  this.caseTransactionsService = caseTransactionsService;
7559
6138
  this.formBuilder = formBuilder;
7560
6139
  this.paymentViewService = paymentViewService;
7561
6140
  this.paymentLibComponent = paymentLibComponent;
7562
6141
  this.bulkScaningPaymentService = bulkScaningPaymentService;
7563
- this.OrderslistService = OrderslistService;
6142
+ this.OrderslistService = OrderslistService$$1;
7564
6143
  this.unAllocatedPayment = {
7565
6144
  amount: 0
7566
6145
  };
@@ -8130,7 +6709,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
8130
6709
  AllocatePaymentsComponent.decorators = [
8131
6710
  { type: Component, args: [{
8132
6711
  selector: 'app-allocate-payments',
8133
- template: "<div class=\"allocate-payments\">\n <ng-container *ngIf=\"viewStatus === 'mainForm' && !isTurnOff\">\n\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a (click)=\"gotoCasetransationPage()\" class=\"govuk-back-link govuk-label\">Back</a>\n </li>\n </ol>\n </div>\n \n <div class=\"paymentrequest\">\n <h1 class=\"govuk-heading-xl govuk-!-margin-top-3 govuk-!-margin-bottom-4\">Select payment request</h1>\n <p class=\"govuk-!-margin-top-5 casererf\">Case reference: {{ccdReference}}</p>\n </div>\n \n <div *ngFor=\"let orderRef of orderLevelFees; let i of index;\" class=\"multiple-choice unprocessed-payments--radio-button\">\n <input id=\"'orderfee'+i+''\"\n aria-label=\"orderLevelRecord\"\n name=\"orderLevelRecord\"\n \n (click)=\"OrderListSelectEvent(orderRef.orderRefId)\"\n type=\"radio\"\n value=\"{{orderRef.orderTotalFees}}\" />\n <label for=\"radio-inline-1\"> {{orderRef.orderTotalFees | currency :'GBP':'symbol':'1.2-2'}}({{orderRef.orderStatus}})</label>\n </div>\n \n <div class=\"paymentrequest\">\n <button [disabled]=\"isContinueButtondisabled\" type=\"submit\" (click)=\"redirectToOrderFeeSearchPage()\" class=\"button allbtb button--disabled govuk-!-margin-right-1\">\n Continue\n </button>\n </div>\n \n </ng-container>\n\n <div *ngIf=\"viewStatus==='mainForm' && isTurnOff\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='ALLOCATEPAYMENTS'>\n <div class=\"govuk-breadcrumbs\" *ngIf=\"paymentRef\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"#\" (click)=\"gotoSummaryPage($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n <div class=\"govuk-heading-section\">\n <h1 class=\"govuk-heading-xl\">Allocate payment to fee group</h1>\n <h2 class=\"govuk-heading-l\">Amount left to be allocated:\n {{ unAllocatedPayment.amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</h2>\n </div>\n <div class=\"payment-group-section\" *ngFor=\"let paymentGroup of paymentGroups\">\n <h3 class=\"govuk-heading-m\">Group reference: {{paymentGroup.payment_group_reference}}</h3>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\">Code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Description</td>\n <td class=\"govuk-table__header\" scope=\"col\">Volume</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Calculated amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Group amount outstanding</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell govuk-table__cell--col1 govuk-table__custom--col1\"\n [attr.rowspan]=\"paymentGroup.fees.length\" *ngIf=\"i==0\">\n <div class=\"multiple-choice\">\n <input id=\"unpaiedFee-{{i}}\" name=\"unassignedRecord\" type=\"radio\"\n (click)=\"selectedPaymentGroup(paymentGroup)\" />\n <label for=\"unpaiedFee-{{i}}\"></label>\n </div>\n </td>\n <td class=\"govuk-table__cell govuk-table__cell--col1\">{{fee.code}}</td>\n <td class=\"govuk-table__cell govuk-table__cell--col2\"> {{fee.description}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col3\"> {{fee.volume? fee.volume : '-'}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col4\">\n {{ fee.fee_amount | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col5\">\n {{fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col6 govuk-table__custom--col6\"\n [attr.rowspan]=\"paymentGroup.fees.length\" *ngIf=\"i==0\">\n {{getGroupOutstandingAmount(paymentGroup) | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n\n </tr>\n\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.fees.length==0\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n </div>\n <div class=\"govuk-button-group-allocate\">\n <button type=\"button\" class=\"button govuk-!-margin-right-1\" [disabled]=\"isContinueButtondisabled\"\n (click)=\"saveAndContinue()\">\n Continue\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"gotoCasetransationPage()\">\n Cancel\n </button>\n </div>\n </div>\n\n <ng-container *ngIf=\"(viewStatus === 'mainForm' && isTurnOff) || viewStatus === 'allocatePaymentConfirmation'\">\n <ccpay-error-banner *ngIf=\"errorMessage.showError\" [errorMessage]=\"errorMessage\"></ccpay-error-banner>\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='{{feedbackUrlLabel}}'>\n <h1 class=\"govuk-heading-xl\">Confirm allocation</h1>\n <h2 class=\"govuk-heading-l govuk-heading-l--custom\">\n Amount to be allocated: {{amountForAllocation | currency:'GBP':'symbol-narrow':'1.2-2'}}\n </h2>\n <div class=\"payment-group-section\" *ngIf=\"paymentGroup\">\n <h3 class=\"govuk-heading-m--custom\" *ngIf=\"isTurnOff\">Group reference: {{paymentGroup.payment_group_reference}}\n </h3>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Description</td>\n <td class=\"govuk-table__header\" scope=\"col\">Volume</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Calculated amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount Due</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell govuk-table__cell--col1\">{{fee.code}}</td>\n <td class=\"govuk-table__cell govuk-table__cell--col2\"> {{fee.description}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col3\"> {{fee.volume? fee.volume : '-'}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col4\">\n {{ fee.fee_amount | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col5\">\n {{fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2'}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col6\" [attr.rowspan]=\"paymentGroup.fees.length\"\n *ngIf=\"i==0\"> {{afterFeeAllocateOutstanding | currency:'GBP':'symbol-narrow':'1.2-2'}} </td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.fees.length == 0\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n </div>\n <div class=\"govuk-warning-text\" *ngIf=\"isRemainingAmountGtZero || isRemainingAmountLtZero || remainingAmount === 0\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text govuk-warning-text__custom\">\n <span class=\"govuk-warning-text__assistive\">Warning</span>\n {{paymentSectionLabel.title}} {{ remainingAmount | currency:'GBP':'symbol-narrow':'1.2-2' }}\n </strong>\n </div>\n <div class=\"govuk-form-group\" *ngIf=\"isRemainingAmountGtZero || isRemainingAmountLtZero\">\n <div class=\"govuk-form-group\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"how-contacted-conditional-hint\">\n <span id=\"how-contacted-conditional-hint\" class=\"govuk-hint\"\n [ngClass]=\"{'inline-error-message': paymentReasonHasError}\">\n {{paymentSectionLabel.reason}}\n </span>\n <div\n [ngClass]=\"paymentReasonHasError ? 'govuk-radios govuk-radios--conditional form-group-error' : 'govuk-radios govuk-radios--conditional'\"\n data-module=\"govuk-radios\" *ngIf=\"isRemainingAmountGtZero\">\n <div class=\"govuk-radios__item\" *ngFor=\"let reason of reasonList.overPayment | keyValue\">\n <input class=\"govuk-radios__input\" id=\"{{reason.key}}\" name=\"paymentReason\" type=\"radio\"\n [(ngModel)]=\"paymentReason\" value={{reason.value}}>\n <label class=\"govuk-label govuk-radios__label govuk-font__custom\" for=\"how-contacted-conditional\">\n {{reason.value}}\n </label>\n </div>\n </div>\n <div\n [ngClass]=\"paymentReasonHasError ? 'govuk-radios govuk-radios--conditional form-group-error' : 'govuk-radios govuk-radios--conditional'\"\n data-module=\"govuk-radios\" *ngIf=\"isRemainingAmountLtZero\">\n <div class=\"govuk-radios__item\" *ngFor=\"let reason of reasonList.shortFall | keyValue\">\n <input class=\"govuk-radios__input\" id=\"{{reason.key}}\" name=\"paymentReason\" type=\"radio\"\n [(ngModel)]=\"paymentReason\" value={{reason.value}}>\n <label class=\"govuk-label govuk-radios__label govuk-font__custom\" for=\"how-contacted-conditional\">\n {{reason.value}}\n </label>\n </div>\n </div>\n </fieldset>\n </div>\n <div class=\"govuk-form-group\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"how-contacted-conditional-hint\">\n <span id=\"how-contacted-conditional-hint\" class=\"govuk-hint\"\n [ngClass]=\"{'inline-error-message': paymentExplanationHasError}\">\n Provide an explanatory note\n </span>\n <div\n [ngClass]=\"paymentExplanationHasError ? 'govuk-radios govuk-radios--conditional form-group-error' : 'govuk-radios govuk-radios--conditional'\"\n data-module=\"govuk-radios\" *ngIf=\"isRemainingAmountGtZero\">\n <div class=\"govuk-radios__item\" *ngFor=\"let explanation of explanationList.overPayment | keyValue\">\n <input class=\"govuk-radios__input\" id=\"{{explanation.key}}\" name=\"paymentExplanation\" type=\"radio\"\n [(ngModel)]=\"paymentExplanation\" value={{explanation.value}}\n (click)=\"selectRadioButton(explanation.key, 'explanation')\">\n <label class=\"govuk-label govuk-radios__label govuk-font__custom\" for=\"how-contacted-conditional\">\n {{explanation.value}}\n </label>\n </div>\n </div>\n <div\n [ngClass]=\"paymentExplanationHasError ? 'govuk-radios govuk-radios--conditional form-group-error' : 'govuk-radios govuk-radios--conditional'\"\n data-module=\"govuk-radios\" *ngIf=\"isRemainingAmountLtZero\">\n <div class=\"govuk-radios__item\" *ngFor=\"let explanation of explanationList.shortFall | keyValue\">\n <input class=\"govuk-radios__input\" id=\"{{explanation.key}}\" name=\"paymentExplanation\" type=\"radio\"\n [(ngModel)]=\"paymentExplanation\" value={{explanation.value}}\n (click)=\"selectRadioButton(explanation.key, 'explanation')\">\n <label class=\"govuk-label govuk-radios__label govuk-font__custom\" for=\"how-contacted-conditional\">\n {{explanation.value}}\n </label>\n </div>\n </div>\n </fieldset>\n </div>\n </div>\n\n <form [formGroup]=\"overUnderPaymentForm\" novalidate>\n <div\n [ngClass]=\"isMoreDetailsBoxHide ? 'govuk-radios__conditional govuk-radios__conditional--hidden' : isPaymentDetailsEmpty || isPaymentDetailsInvalid || paymentDetailsMinHasError || paymentDetailsMaxHasError ? 'govuk-radios__conditional inline-error-border' : 'govuk-radios__conditional'\"\n id=\"conditional-how-contacted-conditional-3\">\n <div class=\"govuk-form-group\">\n <span id=\"more-detail-hint\" class=\"govuk-hint govuk-font__custom\">\n Please enter details\n </span>\n <textarea class=\"govuk-textarea\"\n [ngClass]=\"{'inline-error-class': isPaymentDetailsEmpty || isPaymentDetailsInvalid || paymentDetailsMinHasError || paymentDetailsMaxHasError}\"\n id=\"moreDetails\" name=\"moreDetails\" rows=\"5\" formControlName=\"moreDetails\">\n </textarea>\n <p class=\"inline-error-message\"\n *ngIf=\"isPaymentDetailsEmpty || isPaymentDetailsInvalid || paymentDetailsMinHasError || paymentDetailsMaxHasError\">\n <span *ngIf=\"isPaymentDetailsEmpty\">Enter a explanation</span>\n <span *ngIf=\"isPaymentDetailsInvalid\">Enter a valid explanation</span>\n <span *ngIf=\"paymentDetailsMinHasError\">Explanation should be at least 3 characters.</span>\n <span *ngIf=\"paymentDetailsMaxHasError\">Explanation should be 255 characters or under.</span>\n </p>\n </div>\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" [disabled]=\"isConfirmButtondisabled\"\n [ngClass]=\"isConfirmButtondisabled ? 'button button--disabled' : 'button'\"\n (click)=\"confirmAllocatePayement()\">\n Confirm\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelAllocatePayment($event)\">\n Cancel\n </button>\n </div>\n </form>\n </ng-container>\n</div>",
6712
+ template: "<div class=\"allocate-payments\">\n <ng-container *ngIf=\"viewStatus === 'mainForm' && !isTurnOff\">\n\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a (click)=\"gotoCasetransationPage()\" class=\"govuk-back-link govuk-label\">Back</a>\n </li>\n </ol>\n </div>\n \n <div class=\"paymentrequest\">\n <h1 class=\"govuk-heading-xl govuk-!-margin-top-3 govuk-!-margin-bottom-4\">Select payment request</h1>\n <p class=\"govuk-!-margin-top-5 casererf\">Case reference: {{ccdReference}}</p>\n </div>\n \n <div *ngFor=\"let orderRef of orderLevelFees; let i of index;\" class=\"multiple-choice unprocessed-payments--radio-button\">\n <input id=\"'orderfee'+i+''\"\n aria-label=\"orderLevelRecord\"\n name=\"orderLevelRecord\"\n \n (click)=\"OrderListSelectEvent(orderRef.orderRefId)\"\n type=\"radio\"\n value=\"{{orderRef.orderTotalFees}}\" />\n <label for=\"radio-inline-1\"> {{orderRef.orderTotalFees | currency :'GBP':'symbol':'1.2-2'}}({{orderRef.orderStatus}})</label>\n </div>\n \n <div class=\"paymentrequest\">\n <button [disabled]=\"isContinueButtondisabled\" type=\"submit\" (click)=\"redirectToOrderFeeSearchPage()\" class=\"button allbtb button--disabled govuk-!-margin-right-1\">\n Continue\n </button>\n </div>\n \n </ng-container>\n\n <div *ngIf=\"viewStatus==='mainForm' && isTurnOff\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='ALLOCATEPAYMENTS'>\n <div class=\"govuk-breadcrumbs\" *ngIf=\"paymentRef\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"#\" (click)=\"gotoSummaryPage($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n <div class=\"govuk-heading-section\">\n <h1 class=\"govuk-heading-xl\">Allocate payment to fee group</h1>\n <h2 class=\"govuk-heading-l\">Amount left to be allocated:\n {{ unAllocatedPayment.amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</h2>\n </div>\n <div class=\"payment-group-section\" *ngFor=\"let paymentGroup of paymentGroups\">\n <h3 class=\"govuk-heading-m\">Group reference: {{paymentGroup.payment_group_reference}}</h3>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\">Code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Description</td>\n <td class=\"govuk-table__header\" scope=\"col\">Volume</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Calculated amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Group amount outstanding</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell govuk-table__cell--col1 govuk-table__custom--col1\"\n [attr.rowspan]=\"paymentGroup.fees.length\" *ngIf=\"i==0\">\n <div class=\"multiple-choice\">\n <input id=\"unpaiedFee-{{i}}\" name=\"unassignedRecord\" type=\"radio\"\n (click)=\"selectedPaymentGroup(paymentGroup)\" />\n <label for=\"unpaiedFee-{{i}}\"></label>\n </div>\n </td>\n <td class=\"govuk-table__cell govuk-table__cell--col1\">{{fee.code}}</td>\n <td class=\"govuk-table__cell govuk-table__cell--col2\"> {{fee.description}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col3\"> {{fee.volume? fee.volume : '-'}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col4\">\n {{ fee.fee_amount | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col5\">\n {{fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col6 govuk-table__custom--col6\"\n [attr.rowspan]=\"paymentGroup.fees.length\" *ngIf=\"i==0\">\n {{getGroupOutstandingAmount(paymentGroup) | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n\n </tr>\n\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.fees.length==0\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n </div>\n <div class=\"govuk-button-group-allocate\">\n <button type=\"button\" class=\"button govuk-!-margin-right-1\" [disabled]=\"isContinueButtondisabled\"\n (click)=\"saveAndContinue()\">\n Continue\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"gotoCasetransationPage()\">\n Cancel\n </button>\n </div>\n </div>\n\n <ng-container *ngIf=\"(viewStatus === 'mainForm' && isTurnOff) || viewStatus === 'allocatePaymentConfirmation'\">\n <ccpay-error-banner *ngIf=\"errorMessage.showError\" [errorMessage]=\"errorMessage\"></ccpay-error-banner>\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='{{feedbackUrlLabel}}'>\n <h1 class=\"govuk-heading-xl\">Confirm allocation</h1>\n <h2 class=\"govuk-heading-l govuk-heading-l--custom\">\n Amount to be allocated: {{amountForAllocation | currency:'GBP':'symbol-narrow':'1.2-2'}}\n </h2>\n <div class=\"payment-group-section\" *ngIf=\"paymentGroup\">\n <h3 class=\"govuk-heading-m--custom\" *ngIf=\"isTurnOff\">Group reference: {{paymentGroup.payment_group_reference}}\n </h3>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header\" scope=\"col\">Code</td>\n <td class=\"govuk-table__header\" scope=\"col\">Description</td>\n <td class=\"govuk-table__header\" scope=\"col\">Volume</td>\n <td class=\"govuk-table__header\" scope=\"col\">Fee amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Calculated amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount Due</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of paymentGroup.fees; let i = index;\">\n <td class=\"govuk-table__cell govuk-table__cell--col1\">{{fee.code}}</td>\n <td class=\"govuk-table__cell govuk-table__cell--col2\"> {{fee.description}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col3\"> {{fee.volume? fee.volume : '-'}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col4\">\n {{ fee.fee_amount | currency:'GBP':'symbol-narrow':'1.2-2' }} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col5\">\n {{fee.calculated_amount | currency:'GBP':'symbol-narrow':'1.2-2'}} </td>\n <td class=\"govuk-table__cell govuk-table__cell--col6\" [attr.rowspan]=\"paymentGroup.fees.length\"\n *ngIf=\"i==0\"> {{afterFeeAllocateOutstanding | currency:'GBP':'symbol-narrow':'1.2-2'}} </td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"paymentGroup.fees.length == 0\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No payments recorded</td>\n </tbody>\n </table>\n </div>\n <div class=\"govuk-warning-text\" *ngIf=\"isRemainingAmountGtZero || isRemainingAmountLtZero || remainingAmount === 0\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text govuk-warning-text__custom\">\n <span class=\"govuk-warning-text__assistive\">Warning</span>\n {{paymentSectionLabel.title}} {{ remainingAmount | currency:'GBP':'symbol-narrow':'1.2-2' }}\n </strong>\n </div>\n <div class=\"govuk-form-group\" *ngIf=\"isRemainingAmountGtZero || isRemainingAmountLtZero\">\n <div class=\"govuk-form-group\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"how-contacted-conditional-hint\">\n <span id=\"how-contacted-conditional-hint\" class=\"govuk-hint\"\n [ngClass]=\"{'inline-error-message': paymentReasonHasError}\">\n {{paymentSectionLabel.reason}}\n </span>\n <div\n [ngClass]=\"paymentReasonHasError ? 'govuk-radios govuk-radios--conditional form-group-error' : 'govuk-radios govuk-radios--conditional'\"\n data-module=\"govuk-radios\" *ngIf=\"isRemainingAmountGtZero\">\n <div class=\"govuk-radios__item\" *ngFor=\"let reason of reasonList.overPayment | keyValue\">\n <input class=\"govuk-radios__input\" id=\"{{reason.key}}\" name=\"paymentReason\" type=\"radio\"\n [(ngModel)]=\"paymentReason\" value={{reason.value}}>\n <label class=\"govuk-label govuk-radios__label govuk-font__custom\" for=\"how-contacted-conditional\">\n {{reason.value}}\n </label>\n </div>\n </div>\n <div\n [ngClass]=\"paymentReasonHasError ? 'govuk-radios govuk-radios--conditional form-group-error' : 'govuk-radios govuk-radios--conditional'\"\n data-module=\"govuk-radios\" *ngIf=\"isRemainingAmountLtZero\">\n <div class=\"govuk-radios__item\" *ngFor=\"let reason of reasonList.shortFall | keyValue\">\n <input class=\"govuk-radios__input\" id=\"{{reason.key}}\" name=\"paymentReason\" type=\"radio\"\n [(ngModel)]=\"paymentReason\" value={{reason.value}}>\n <label class=\"govuk-label govuk-radios__label govuk-font__custom\" for=\"how-contacted-conditional\">\n {{reason.value}}\n </label>\n </div>\n </div>\n </fieldset>\n </div>\n <div class=\"govuk-form-group\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"how-contacted-conditional-hint\">\n <span id=\"how-contacted-conditional-hint\" class=\"govuk-hint\"\n [ngClass]=\"{'inline-error-message': paymentExplanationHasError}\">\n Provide an explanatory note\n </span>\n <div\n [ngClass]=\"paymentExplanationHasError ? 'govuk-radios govuk-radios--conditional form-group-error' : 'govuk-radios govuk-radios--conditional'\"\n data-module=\"govuk-radios\" *ngIf=\"isRemainingAmountGtZero\">\n <div class=\"govuk-radios__item\" *ngFor=\"let explanation of explanationList.overPayment | keyValue\">\n <input class=\"govuk-radios__input\" id=\"{{explanation.key}}\" name=\"paymentExplanation\" type=\"radio\"\n [(ngModel)]=\"paymentExplanation\" value={{explanation.value}}\n (click)=\"selectRadioButton(explanation.key, 'explanation')\">\n <label class=\"govuk-label govuk-radios__label govuk-font__custom\" for=\"how-contacted-conditional\">\n {{explanation.value}}\n </label>\n </div>\n </div>\n <div\n [ngClass]=\"paymentExplanationHasError ? 'govuk-radios govuk-radios--conditional form-group-error' : 'govuk-radios govuk-radios--conditional'\"\n data-module=\"govuk-radios\" *ngIf=\"isRemainingAmountLtZero\">\n <div class=\"govuk-radios__item\" *ngFor=\"let explanation of explanationList.shortFall | keyValue\">\n <input class=\"govuk-radios__input\" id=\"{{explanation.key}}\" name=\"paymentExplanation\" type=\"radio\"\n [(ngModel)]=\"paymentExplanation\" value={{explanation.value}}\n (click)=\"selectRadioButton(explanation.key, 'explanation')\">\n <label class=\"govuk-label govuk-radios__label govuk-font__custom\" for=\"how-contacted-conditional\">\n {{explanation.value}}\n </label>\n </div>\n </div>\n </fieldset>\n </div>\n </div>\n\n <form [formGroup]=\"overUnderPaymentForm\" novalidate>\n <div\n [ngClass]=\"isMoreDetailsBoxHide ? 'govuk-radios__conditional govuk-radios__conditional--hidden' : isPaymentDetailsEmpty || isPaymentDetailsInvalid || paymentDetailsMinHasError || paymentDetailsMaxHasError ? 'govuk-radios__conditional inline-error-border' : 'govuk-radios__conditional'\"\n id=\"conditional-how-contacted-conditional-3\">\n <div class=\"govuk-form-group\">\n <span id=\"more-detail-hint\" class=\"govuk-hint govuk-font__custom\">\n Please enter details\n </span>\n <textarea class=\"govuk-textarea\"\n [ngClass]=\"{'inline-error-class': isPaymentDetailsEmpty || isPaymentDetailsInvalid || paymentDetailsMinHasError || paymentDetailsMaxHasError}\"\n id=\"moreDetails\" name=\"moreDetails\" rows=\"5\" formControlName=\"moreDetails\">\n </textarea>\n <p class=\"inline-error-message\"\n *ngIf=\"isPaymentDetailsEmpty || isPaymentDetailsInvalid || paymentDetailsMinHasError || paymentDetailsMaxHasError\">\n <span *ngIf=\"isPaymentDetailsEmpty\">Enter a explanation</span>\n <span *ngIf=\"isPaymentDetailsInvalid\">Enter a valid explanation</span>\n <span *ngIf=\"paymentDetailsMinHasError\">Explanation should be at least 3 characters.</span>\n <span *ngIf=\"paymentDetailsMaxHasError\">Explanation should be 255 characters or under.</span>\n </p>\n </div>\n </div>\n <div class=\"govuk-button--group\">\n <button type=\"submit\" [disabled]=\"isConfirmButtondisabled\"\n [ngClass]=\"isConfirmButtondisabled ? 'button button--disabled' : 'button'\"\n (click)=\"confirmAllocatePayement()\">\n Confirm\n </button>\n <button type=\"button\" class=\"button govuk-button--secondary\" (click)=\"cancelAllocatePayment($event)\">\n Cancel\n </button>\n </div>\n </form>\n </ng-container>\n</div>",
8134
6713
  styles: [".allocate-payments{margin:20px 0}.allocate-payments .govuk-table__cell--col1,.allocate-payments .govuk-table__cell--col3{width:10%}.allocate-payments .govuk-table__cell--col2,.allocate-payments .govuk-table__cell--col6{width:25%}.allocate-payments .govuk-table__cell--col4,.allocate-payments .govuk-table__cell--col5{width:15%}.allocate-payments .govuk-button-group-allocate{display:flex;justify-content:flex-start}.allocate-payments .govuk-button--secondary{margin-left:10px;background-color:#b3b8bdf2}.allocate-payments .govuk-custom-warning__message{font-size:30px;position:relative;top:12px;font-weight:700}.allocate-payments .govuk-warning-text-custom{margin-bottom:0!important;padding:10px 0 5px}.allocate-payments .govuk-table__custom--col1{padding-top:0;padding-bottom:20px;padding-left:15px}.allocate-payments .govuk-table__custom--col6{text-align:center}.allocate-payments .govuk-list__custom{padding-left:20px}.allocate-payments .govuk-font__custom,.allocate-payments .govuk-heading-m--custom,.allocate-payments .govuk-hint,.allocate-payments .govuk-label--m,.allocate-payments .govuk-list__custom,.allocate-payments .govuk-radios__item,.allocate-payments .govuk-warning-text__custom{font-size:19px}.allocate-payments .govuk-radios__conditional--hidden{display:none}.allocate-payments .form-group-error{border-left:5px solid #b10e1e;padding-left:15px}.allocate-payments .inline-error-class{outline:#a71414 solid 3px;outline-offset:0}.allocate-payments .inline-error-message{color:#a71414;font-weight:700;margin-top:10px}.allocate-payments .inline-error-border{border-color:#a71414}.allbtb{margin-top:2em}.govuk-back-link{font-size:1.5rem!important}.multiple-choice{font-size:19px}.casererf{align-self:flex-end;font-size:19px}.paymentrequest{display:flex;flex-direction:row;justify-content:space-between;width:960px}"]
8135
6714
  }] }
8136
6715
  ];
@@ -8150,142 +6729,10 @@ var AllocatePaymentsComponent = /** @class */ (function () {
8150
6729
  };
8151
6730
  return AllocatePaymentsComponent;
8152
6731
  }());
8153
- if (false) {
8154
- /** @type {?} */
8155
- AllocatePaymentsComponent.prototype.isTurnOff;
8156
- /** @type {?} */
8157
- AllocatePaymentsComponent.prototype.caseType;
8158
- /** @type {?} */
8159
- AllocatePaymentsComponent.prototype.overUnderPaymentForm;
8160
- /** @type {?} */
8161
- AllocatePaymentsComponent.prototype.viewStatus;
8162
- /** @type {?} */
8163
- AllocatePaymentsComponent.prototype.ccdCaseNumber;
8164
- /** @type {?} */
8165
- AllocatePaymentsComponent.prototype.bspaymentdcn;
8166
- /** @type {?} */
8167
- AllocatePaymentsComponent.prototype.recordId;
8168
- /** @type {?} */
8169
- AllocatePaymentsComponent.prototype.feedbackUrlLabel;
8170
- /** @type {?} */
8171
- AllocatePaymentsComponent.prototype.unAllocatedPayment;
8172
- /** @type {?} */
8173
- AllocatePaymentsComponent.prototype.siteID;
8174
- /** @type {?} */
8175
- AllocatePaymentsComponent.prototype.errorMessage;
8176
- /** @type {?} */
8177
- AllocatePaymentsComponent.prototype.paymentGroup;
8178
- /** @type {?} */
8179
- AllocatePaymentsComponent.prototype.paymentGroups;
8180
- /** @type {?} */
8181
- AllocatePaymentsComponent.prototype.remainingAmount;
8182
- /** @type {?} */
8183
- AllocatePaymentsComponent.prototype.isRemainingAmountGtZero;
8184
- /** @type {?} */
8185
- AllocatePaymentsComponent.prototype.isMoreDetailsBoxHide;
8186
- /** @type {?} */
8187
- AllocatePaymentsComponent.prototype.isRemainingAmountLtZero;
8188
- /** @type {?} */
8189
- AllocatePaymentsComponent.prototype.afterFeeAllocateOutstanding;
8190
- /** @type {?} */
8191
- AllocatePaymentsComponent.prototype.amountForAllocation;
8192
- /** @type {?} */
8193
- AllocatePaymentsComponent.prototype.isConfirmButtondisabled;
8194
- /** @type {?} */
8195
- AllocatePaymentsComponent.prototype.isContinueButtondisabled;
8196
- /** @type {?} */
8197
- AllocatePaymentsComponent.prototype.otherPaymentExplanation;
8198
- /** @type {?} */
8199
- AllocatePaymentsComponent.prototype.selectedOption;
8200
- /** @type {?} */
8201
- AllocatePaymentsComponent.prototype.isFeeAmountZero;
8202
- /** @type {?} */
8203
- AllocatePaymentsComponent.prototype.paymentReasonHasError;
8204
- /** @type {?} */
8205
- AllocatePaymentsComponent.prototype.paymentExplanationHasError;
8206
- /** @type {?} */
8207
- AllocatePaymentsComponent.prototype.isPaymentDetailsEmpty;
8208
- /** @type {?} */
8209
- AllocatePaymentsComponent.prototype.isPaymentDetailsInvalid;
8210
- /** @type {?} */
8211
- AllocatePaymentsComponent.prototype.paymentDetailsMinHasError;
8212
- /** @type {?} */
8213
- AllocatePaymentsComponent.prototype.paymentDetailsMaxHasError;
8214
- /** @type {?} */
8215
- AllocatePaymentsComponent.prototype.isUserNameEmpty;
8216
- /** @type {?} */
8217
- AllocatePaymentsComponent.prototype.isUserNameInvalid;
8218
- /** @type {?} */
8219
- AllocatePaymentsComponent.prototype.ccdReference;
8220
- /** @type {?} */
8221
- AllocatePaymentsComponent.prototype.exceptionReference;
8222
- /** @type {?} */
8223
- AllocatePaymentsComponent.prototype.paymentReason;
8224
- /** @type {?} */
8225
- AllocatePaymentsComponent.prototype.paymentExplanation;
8226
- /** @type {?} */
8227
- AllocatePaymentsComponent.prototype.userName;
8228
- /** @type {?} */
8229
- AllocatePaymentsComponent.prototype.paymentSectionLabel;
8230
- /** @type {?} */
8231
- AllocatePaymentsComponent.prototype.paymentRef;
8232
- /** @type {?} */
8233
- AllocatePaymentsComponent.prototype.isStrategicFixEnable;
8234
- /** @type {?} */
8235
- AllocatePaymentsComponent.prototype.orderLevelFees;
8236
- /** @type {?} */
8237
- AllocatePaymentsComponent.prototype.cookieUserName;
8238
- /** @type {?} */
8239
- AllocatePaymentsComponent.prototype.enCookieUserName;
8240
- /** @type {?} */
8241
- AllocatePaymentsComponent.prototype.userNameField;
8242
- /** @type {?} */
8243
- AllocatePaymentsComponent.prototype.reasonList;
8244
- /** @type {?} */
8245
- AllocatePaymentsComponent.prototype.explanationList;
8246
- /** @type {?} */
8247
- AllocatePaymentsComponent.prototype.refund;
8248
- /**
8249
- * @type {?}
8250
- * @private
8251
- */
8252
- AllocatePaymentsComponent.prototype.errorHandlerService;
8253
- /**
8254
- * @type {?}
8255
- * @private
8256
- */
8257
- AllocatePaymentsComponent.prototype.caseTransactionsService;
8258
- /**
8259
- * @type {?}
8260
- * @private
8261
- */
8262
- AllocatePaymentsComponent.prototype.formBuilder;
8263
- /**
8264
- * @type {?}
8265
- * @private
8266
- */
8267
- AllocatePaymentsComponent.prototype.paymentViewService;
8268
- /**
8269
- * @type {?}
8270
- * @private
8271
- */
8272
- AllocatePaymentsComponent.prototype.paymentLibComponent;
8273
- /**
8274
- * @type {?}
8275
- * @private
8276
- */
8277
- AllocatePaymentsComponent.prototype.bulkScaningPaymentService;
8278
- /**
8279
- * @type {?}
8280
- * @private
8281
- */
8282
- AllocatePaymentsComponent.prototype.OrderslistService;
8283
- }
8284
6732
 
8285
6733
  /**
8286
6734
  * @fileoverview added by tsickle
8287
- * Generated from: lib/interfaces/AddRemissionRequest.ts
8288
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6735
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8289
6736
  */
8290
6737
  var AddRemissionRequest = /** @class */ (function () {
8291
6738
  function AddRemissionRequest(ccd_case_number, fee, hwf_amount, hwf_reference, caseType) {
@@ -8297,27 +6744,10 @@ var AddRemissionRequest = /** @class */ (function () {
8297
6744
  }
8298
6745
  return AddRemissionRequest;
8299
6746
  }());
8300
- if (false) {
8301
- /** @type {?} */
8302
- AddRemissionRequest.prototype.beneficiary_name;
8303
- /** @type {?} */
8304
- AddRemissionRequest.prototype.ccd_case_number;
8305
- /** @type {?} */
8306
- AddRemissionRequest.prototype.fee;
8307
- /** @type {?} */
8308
- AddRemissionRequest.prototype.hwf_amount;
8309
- /** @type {?} */
8310
- AddRemissionRequest.prototype.hwf_reference;
8311
- /** @type {?} */
8312
- AddRemissionRequest.prototype.payment_group_reference;
8313
- /** @type {?} */
8314
- AddRemissionRequest.prototype.case_type;
8315
- }
8316
6747
 
8317
6748
  /**
8318
6749
  * @fileoverview added by tsickle
8319
- * Generated from: lib/interfaces/AddRetroRemissionRequest.ts
8320
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6750
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8321
6751
  */
8322
6752
  var AddRetroRemissionRequest = /** @class */ (function () {
8323
6753
  function AddRetroRemissionRequest(hwf_amount, hwf_reference) {
@@ -8326,17 +6756,10 @@ var AddRetroRemissionRequest = /** @class */ (function () {
8326
6756
  }
8327
6757
  return AddRetroRemissionRequest;
8328
6758
  }());
8329
- if (false) {
8330
- /** @type {?} */
8331
- AddRetroRemissionRequest.prototype.hwf_amount;
8332
- /** @type {?} */
8333
- AddRetroRemissionRequest.prototype.hwf_reference;
8334
- }
8335
6759
 
8336
6760
  /**
8337
6761
  * @fileoverview added by tsickle
8338
- * Generated from: lib/interfaces/PostRefundRetroRemission.ts
8339
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6762
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8340
6763
  */
8341
6764
  var PostRefundRetroRemission = /** @class */ (function () {
8342
6765
  function PostRefundRetroRemission(payment_reference, refund_reason) {
@@ -8345,17 +6768,10 @@ var PostRefundRetroRemission = /** @class */ (function () {
8345
6768
  }
8346
6769
  return PostRefundRetroRemission;
8347
6770
  }());
8348
- if (false) {
8349
- /** @type {?} */
8350
- PostRefundRetroRemission.prototype.payment_reference;
8351
- /** @type {?} */
8352
- PostRefundRetroRemission.prototype.refund_reason;
8353
- }
8354
6771
 
8355
6772
  /**
8356
6773
  * @fileoverview added by tsickle
8357
- * Generated from: lib/interfaces/PostIssueRefundRetroRemission.ts
8358
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6774
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8359
6775
  */
8360
6776
  var PostIssueRefundRetroRemission = /** @class */ (function () {
8361
6777
  function PostIssueRefundRetroRemission(remissionReference) {
@@ -8363,27 +6779,20 @@ var PostIssueRefundRetroRemission = /** @class */ (function () {
8363
6779
  }
8364
6780
  return PostIssueRefundRetroRemission;
8365
6781
  }());
8366
- if (false) {
8367
- /** @type {?} */
8368
- PostIssueRefundRetroRemission.prototype.remissionReference;
8369
- }
8370
6782
 
8371
6783
  /**
8372
6784
  * @fileoverview added by tsickle
8373
- * Generated from: lib/components/add-remission/add-remission.component.ts
8374
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6785
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8375
6786
  */
8376
- /** @type {?} */
8377
- var BS_ENABLE_FLAG$3 = 'bulk-scan-enabling-fe';
8378
6787
  var AddRemissionComponent = /** @class */ (function () {
8379
- function AddRemissionComponent(formBuilder, router, paymentViewService, paymentLibComponent, refundService, cd, OrderslistService) {
6788
+ function AddRemissionComponent(formBuilder, router, paymentViewService, paymentLibComponent, refundService, cd, OrderslistService$$1) {
8380
6789
  this.formBuilder = formBuilder;
8381
6790
  this.router = router;
8382
6791
  this.paymentViewService = paymentViewService;
8383
6792
  this.paymentLibComponent = paymentLibComponent;
8384
6793
  this.refundService = refundService;
8385
6794
  this.cd = cd;
8386
- this.OrderslistService = OrderslistService;
6795
+ this.OrderslistService = OrderslistService$$1;
8387
6796
  this.cancelRemission = new EventEmitter();
8388
6797
  //@Output() refundListReason: EventEmitter<any> = new EventEmitter({reason:string, code:string});
8389
6798
  this.refundListReason = new EventEmitter();
@@ -8431,8 +6840,7 @@ var AddRemissionComponent = /** @class */ (function () {
8431
6840
  if (this.viewCompStatus !== '' && this.viewCompStatus !== undefined) {
8432
6841
  this.viewStatus = '';
8433
6842
  }
8434
- if (this.remission) {
8435
- }
6843
+ if (this.remission) ;
8436
6844
  if (this.fee) {
8437
6845
  this.amount = (this.fee.volume * this.fee.calculated_amount);
8438
6846
  }
@@ -9277,7 +7685,7 @@ var AddRemissionComponent = /** @class */ (function () {
9277
7685
  AddRemissionComponent.decorators = [
9278
7686
  { type: Component, args: [{
9279
7687
  selector: 'ccpay-add-remission',
9280
- template: "<div class=\"add-remission pagesize\">\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Error in processing the request\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <ng-container *ngIf=\"viewStatus === 'main' && !isRefundRemission \">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='ADDREMISSION'>\n <h1 class=\"heading-large\">Add remission </h1>\n <form novalidate>\n <div class=\"govuk-form-group\">\n <form [formGroup]=\"remissionForm\" novalidate>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label govuk-label--s\" for=\"remission-code\">\n Add remission to {{ fee?.code }}: {{ fee?.description }}\n <span class=\"form-hint\">Enter remission for reference. For example: HWF-A1B-23C OR PA21-123456</span>\n </label>\n <input [ngClass]=\"{'inline-error-class': isRemissionCodeEmpty || remissionCodeHasError}\" class=\"govuk-input govuk-input--width-20 govuk-!-margin-right-1\" id=\"remissionCode\" aria-label=\"remissionCode\" name=\"remissionCode\" type=\"text\" formControlName=\"remissionCode\">\n <p class=\"inline-error-message\" *ngIf=\"isRemissionCodeEmpty || remissionCodeHasError\">\n <span *ngIf=\"isRemissionCodeEmpty\">Enter a remission code</span>\n <span *ngIf=\"remissionCodeHasError\">Enter a vaild remission code</span>\n </p>\n </div>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label govuk-label--s\" for=\"amount\">\n How much does the applicant need to pay?\n </label>\n\n <div id=\"amount-currency\" class=\"govuk-visually-hidden\">in pounds</div>\n <div class=\"hmcts-currency-input\">\n <div class=\"hmcts-currency-input__symbol\" aria-hidden=\"true\">\u00A3</div>\n <input class=\"govuk-input govuk-input--width-10\" [ngClass]=\"{'inline-error-class': isAmountEmpty || amountHasError || isRemissionLessThanFeeError}\" id=\"amount\" aria-label=\"amount\" name=\"amount\" type=\"text\" aria-describedby=\"amount-currency\" formControlName=\"amount\">\n <p class=\"inline-error-message\" *ngIf=\"isAmountEmpty || amountHasError || isRemissionLessThanFeeError\">\n <span *ngIf=\"isAmountEmpty\">Enter a amount</span>\n <span *ngIf=\"amountHasError\">Enter a vaild amount</span>\n <span *ngIf=\"isRemissionLessThanFeeError\">The remission amount must be less than the total fee</span>\n </p>\n </div>\n </div>\n </form>\n <button class=\"button\" type=\"submit\" (click)=\"addRemission()\">\n Submit\n </button>\n </div>\n </form>\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'confirmation'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='ADDREMISSIONCONFIRMATION'>\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 Are you sure you want to add remission to this fee?\n </strong>\n </div>\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Remission code:</td>\n <td class=\"govuk-table__cell\">{{ remissionForm.controls.remissionCode.value }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Fee code:</td>\n <td class=\"govuk-table__cell\">{{ fee.code }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Fee description:</td>\n <td class=\"govuk-table__cell\">{{ fee.description }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Amount the applicant must pay:</td>\n <td class=\"govuk-table__cell\">{{ remissionForm.controls.amount.value | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n </tr>\n </table>\n\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"cancelRemission.emit()\">\n Cancel\n </button>\n <button type=\"submit\"\n [disabled]=\"isConfirmationBtnDisabled\"\n [ngClass]='isConfirmationBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'\n (click)=\"confirmRemission()\">\n Confirm\n </button>\n\n </ng-container>\n\n <!-- Add retro remission changes-->\n\n <ng-container *ngIf=\"viewCompStatus === 'addremission'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='PROCESSADDRETROREMISSIONPAGE'>\n <h1 class=\"heading-large\">Process remission</h1>\n <h1 class=\"heading-medium\">#{{ccdCaseNumber | ccdHyphens}}</h1>\n <h1 class=\"heading-large\">Enter help with fees or remission reference</h1>\n <form novalidate>\n <div class=\"govuk-form-group\">\n <form [formGroup]=\"remissionForm\" novalidate>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label govuk-label--s\" for=\"remission-code\">\n <span class=\"form-hint\">For example: HWF-A1B-23C OR PA21-123456</span>\n </label>\n <p class=\"inline-error-message\" *ngIf=\"isRemissionCodeEmpty || remissionCodeHasError\">\n <span *ngIf=\"isRemissionCodeEmpty\">Enter a remission code</span>\n <span *ngIf=\"remissionCodeHasError\">Enter a vaild remission code</span>\n </p>\n <input [ngClass]=\"{'inline-error-class': isRemissionCodeEmpty || remissionCodeHasError}\" class=\"govuk-input govuk-input--width-20 govuk-!-margin-right-1\" id=\"remissionCode\" aria-label=\"remissionCode\" name=\"remissionCode\" type=\"text\" formControlName=\"remissionCode\">\n\n </div>\n\n </form>\n <div class=\"govuk-button-group\">\n <button (click)=\"gotoServiceRequestPage($event)\" class=\"govuk-button govuk-button--secondary\"> Previous</button>\n <button (click)=\"addRemissionCode()\" class=\"govuk-button\"> Continue</button>\n </div>\n <p><a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link pointer\" data-module=\"govuk-button\">Cancel</a></p>\n </div>\n </form>\n\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'processretroremissonpage'\" >\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='PROCESSRETROREMISSIONPAGE'>\n <h1 class=\"heading-large\">Process remission</h1>\n <h1 class=\"heading-medium\">#{{ccdCaseNumber | ccdHyphens }}</h1>\n <div class=\"govuk-form-group\">\n <form novalidate>\n <div class=\"govuk-form-group\">\n <form [formGroup]=\"remissionForm\" novalidate>\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h1 *ngIf=\"remessionPayment?.status === 'Success' || isFromRefundListPage\" class=\"heading-medium\">\n Enter the amount to be refunded\n </h1>\n <h1 *ngIf=\"remessionPayment?.status !== 'Success' && !isFromRefundListPage\" class=\"heading-medium\">\n Enter the remission amount\n </h1>\n <h1 *ngIf=\"remessionPayment?.status === 'undefined'\" class=\"heading-medium\">\n Enter the amount\n </h1>\n </legend>\n <div id=\"amount-currency\" class=\"govuk-visually-hidden\">in pounds</div>\n <p class=\"inline-error-message\" *ngIf=\"isAmountEmpty || amountHasError || isRemissionLessThanFeeError\">\n <span *ngIf=\"isAmountEmpty\">Enter a amount</span>\n <span *ngIf=\"amountHasError\">Enter a vaild amount</span>\n <span *ngIf=\"isRemissionLessThanFeeError\">You cannot add a remission that's more than the fee amount.</span>\n </p>\n <div class=\"hmcts-currency-input\">\n\n <div class=\"hmcts-currency-input__symbol\" aria-hidden=\"true\">\u00A3</div>\n <input class=\"govuk-input govuk-input--width-10\" [ngClass]=\"{'inline-error-class': isAmountEmpty || amountHasError || isRemissionLessThanFeeError}\" id=\"amount\" aria-label=\"amount\" name=\"amount\" type=\"number\" aria-describedby=\"amount-currency\" formControlName=\"amount\">\n\n\n </div>\n </fieldset>\n </form>\n\n <div class=\"govuk-button-group\">\n <button (click)=\"gotoAddRetroRemissionCodePage()\" class=\"govuk-button govuk-button--secondary\"> Previous</button>\n <button (click)=\"gotoCheckRetroRemissionPage(payment)\" class=\"govuk-button\"> Continue</button>\n\n </div>\n <p>\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link\" data-module=\"govuk-button\">Cancel</a>\n </p>\n </div>\n\n </form>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'checkretroremissionpage'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='CHECKRETROREMISSIONCONFIRMATION'>\n <div class=\"govuk-warning-text\">\n <h1 class=\"heading-large\"> Check your answers</h1>\n </div>\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment reference</td>\n <td class=\"govuk-table__cell\">{{remessionPayment ? remessionPayment.reference: ' '}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment amount</td>\n <td class=\"govuk-table__cell\">\u00A3{{ remessionPayment ? getFormattedCurrency(remessionPayment.amount): ' ' | currency :'GBP':'symbol':'1.2-2'}} </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment status</td>\n <td class=\"govuk-table__cell\">{{remessionPayment ? remessionPayment.status: ''}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Fee</td>\n <td class=\"govuk-table__cell\">{{ fee.code }} - {{ fee.description }} ({{ fee.calculated_amount/fee.volume| currency:'GBP':'symbol-narrow':'1.2-2' }}) </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Help with fees or remission reference</td>\n <td class=\"govuk-table__cell\"> {{ remissionForm.controls.remissionCode.value }}\n <a (click)=\"gotoProcessRetroRemissionPage()\" class=\"govuk-link right\" >Change</a>\n </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td *ngIf=\"remessionPayment.status === 'Success'\" class=\"govuk-table__cell govuk-!-font-weight-bold\">Refund amount</td>\n <td *ngIf=\"remessionPayment.status !== 'Success'\" class=\"govuk-table__cell govuk-!-font-weight-bold\">Remission amount</td>\n <td class=\"govuk-table__cell\">{{remissionForm.controls.amount.value | currency:'GBP':'symbol-narrow':'1.2-2' }}\n <a (click)=\"addRemissionCode()\" class=\"govuk-link right\" >Change</a>\n </td>\n </tr>\n </table>\n\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"addRemissionCode()\">Previous</button>\n <button type=\"submit\" [disabled]=\"isConfirmationBtnDisabled\" [ngClass]='isConfirmationBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"' (click)=\"confirmRetroRemission()\"> Add remission </button>\n <p> <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link\" data-module=\"govuk-button\"> Cancel</a> </p>\n\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'retroremissionconfirmationpage'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='RETROREMISSIONCONFIRMATIONPAGE'>\n <div class=\"govuk-grid-row\">\n <div >\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n Remission added\n </h1>\n <div *ngIf=\"remessionPayment.status === 'Success'\" class=\"govuk-panel__body\">\n <p class=\"govuk-body white\"><strong>The amount to be refunded should be {{remissionForm.controls.amount.value | currency:'GBP':'symbol-narrow':'1.2-2' }}</strong></p>\n\n </div>\n </div>\n <div *ngIf=\"remessionPayment.status === 'Success'\" >\n <button type=\"submit\" [disabled]=\"!isRemissionApplied\" [ngClass]='isConfirmationBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"' (click)=\"processRefund()\">Submit refund </button>\n </div>\n <p class=\"govuk-body\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link pointer\" data-module=\"govuk-button\">\n Return to case\n </a>\n </p>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'refundconfirmationpage'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='RETROREMISSIONREFUNDCONFIRMATIONPAGE'>\n <div class=\"govuk-grid-row\">\n <div >\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n Refund submitted\n </h1>\n\n <div class=\"govuk-panel__body\">\n <p class=\"govuk-body white\"><strong>Refund reference: {{refundReference}}</strong></p>\n </div>\n\n </div>\n <div *ngIf=\"isPaymentSuccess\">\n <h2 class=\"govuk-heading-l\">What happens next</h2>\n <p class=\"govuk-body\">\n A refund request for {{refundAmount | currency:'GBP':'symbol-narrow':'1.2-2' }} has been created and will be passed to a team leader to approve.\n </p>\n </div>\n <p class=\"govuk-body\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link pointer\" data-module=\"govuk-button\">\n Return to case\n </a>\n </p>\n </div>\n </div>\n\n </ng-container>\n\n <!-- Issue Refund Section -->\n\n <ng-container *ngIf=\"viewCompStatus === 'issuerefund' && isRefundRemission\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='ISSUEREFUNDPAGE'>\n <h1 class=\"heading-large\">Process refund</h1>\n <h1 class=\"heading-medium\">#{{ccdCaseNumber | ccdHyphens }}</h1>\n <h1 class=\"heading-large\">Why are you making this refund?\n </h1>\n\n\n <div class=\"govuk-form-group\">\n <form novalidate>\n <div class=\"govuk-form-group\">\n <form [formGroup]=\"remissionForm\" novalidate>\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"how-contacted-conditional-hint\">\n\n <div\n [ngClass]=\"refundHasError ? 'govuk-radios govuk-radios--conditional form-group-error' : 'govuk-radios govuk-radios--conditional'\"\n data-module=\"govuk-radios\" >\n <p class=\"inline-error-message\" *ngIf=\"refundHasError\">\n <span *ngIf=\"refundHasError\">Select a reason why you\u2019re making this refund</span>\n </p>\n\n\n\n <div class = \"container-fluid\">\n <div class=\"row\">\n <div class=\"govuk-radios__item col-md-4\" *ngFor=\"let refund of commonRefundReasons; let i = index;\">\n <!-- <div *ngIf = \"{{refund.name}} !== 'Retrospective remission'\"> -->\n <input class=\"govuk-radios__input\" id=\"{{refund.name}}\" name=\"refundReason\" type=\"radio\"\n formControlName=\"refundReason\" value={{refund.code}}\n (change)=\"selectRadioButton(refund.name, refund.name)\">\n <label class=\"govuk-label--s govuk-radios__label govuk-font__custom\" for=\"how-contacted-conditional\">\n {{refund.name}}\n </label>\n\n <div class=\"govuk-radios__conditional\" *ngIf=\"isRefundReasonsSelected && showReasonText && selectedRefundReason === refund.name \" >\n <label class=\"govuk-label govuk-label--m\" for=\"{{refund.name}}\">\n Enter reason\n </label>\n <div [ngClass]=\"{'form-group-error': isReasonEmpty}\">\n <p class=\"inline-error-message\" *ngIf=\"isReasonEmpty\">\n <span *ngIf=\"isReasonEmpty\">Enter a reason why you\u2019re making this refund</span>\n </p>\n\n <input class=\"govuk-input govuk-input--width-10\" [ngClass]=\"{'inline-error-class': isReasonEmpty}\" id=\"reason\" aria-label=\"reason\" name=\"reason\" type=\"text\" aria-describedby=\"reason\" maxlength=\"30\" formControlName=\"reason\">\n </div>\n </div>\n <!-- </div> -->\n </div>\n </div>\n </div>\n <br/>\n <div>\n <select formControlName=\"refundDDReason\" class=\"govuk-select\" id=\"sort\" (change)=\"selectchange($event)\">\n <option selected='selected' [defaultSelected]=true [value]=\"default\" >{{default}}</option>\n <!-- <option value=\"\" selected='selected'>Select a different reason</option> -->\n <option *ngFor=\"let refund of refundReasons;\" id=\"{{refund.name}}\" value=\"{{refund.code}}\">{{refund.name}}</option>\n </select>\n\n </div>\n <br/>\n <div class=\"govuk-radios__conditional\" *ngIf=\"showReasonText && !isRefundReasonsSelected\" >\n <div [ngClass]=\"{'form-group-error': isReasonEmpty}\">\n <label class=\"govuk-label govuk-label--m\" for=\"amount\">\n Enter reason\n </label>\n <p class=\"inline-error-message\" *ngIf=\"isReasonEmpty\">\n <span *ngIf=\"isReasonEmpty\">Enter a reason why you\u2019re making this refund</span>\n </p>\n <input class=\"govuk-input govuk-input--width-10\" [ngClass]=\"{'inline-error-class': isReasonEmpty}\" id=\"reason\" aria-label=\"reason\" name=\"reason\" type=\"text\" aria-describedby=\"reason\" maxlength=\"{{reasonLength}}\" formControlName=\"reason\">\n </div>\n </div>\n\n\n </div>\n </fieldset>\n </form>\n </div>\n </form>\n </div>\n <div class=\"govuk-button-group\">\n <button (click)=\"gotoServiceRequestPage($event)\" class=\"govuk-button govuk-button--secondary\"> Previous</button>\n <button (click)=\"gotoIssueRefundConfirmation(payment)\" class=\"govuk-button\"> Continue</button>\n </div>\n <p>\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link\" data-module=\"govuk-button\">\n Cancel\n </a>\n </p>\n\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'checkissuerefundpage'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='CHECKISSUEREFUNDPAGE'>\n <div class=\"govuk-warning-text\">\n\n <h1 class=\"heading-large\"> Check your answers</h1>\n </div>\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Reason for refund</td>\n <td class=\"govuk-table__cell\"> {{ displayRefundReason }}\n <a (click)=\"changeIssueRefundReason()\" class=\"govuk-link right\" >Change</a>\n </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment reference</td>\n <td class=\"govuk-table__cell\">{{this.payment.reference}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment amount</td>\n <td class=\"govuk-table__cell\">{{this.payment.amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n </tr>\n </table>\n <div class=\"govuk-button-group\">\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"gotoIssueRefundPage()\"> Previous </button>\n <button type=\"submit\"\n [disabled]=\"isConfirmationBtnDisabled\"\n [ngClass]='isConfirmationBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'\n (click)=\"confirmIssueRefund()\">\n Submit refund\n </button>\n </div>\n <p>\n <a (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link\" data-module=\"govuk-button\">\n Cancel\n </a>\n </p>\n\n </ng-container>\n\n <!--Retro Refund-->\n <ng-container *ngIf=\"viewCompStatus === 'addrefundforremission'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='ADDREFUNDFORREMISSION'>\n <div class=\"govuk-warning-text\">\n\n <h1 class=\"heading-large\"> Check your answers</h1>\n </div>\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Reason for refund</td>\n <td class=\"govuk-table__cell\"> Retrospective remission </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment reference</td>\n <td class=\"govuk-table__cell\">{{this.payment.reference}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Refund amount</td>\n <td class=\"govuk-table__cell\">{{this.remission.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Fee code</td>\n <td class=\"govuk-table__cell\">{{this.remission.fee_code}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Fee amount</td>\n <td class=\"govuk-table__cell\">{{feeamount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n </tr>\n </table>\n <div class=\"govuk-button-group\">\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"gotoServiceRequestPage($event)\">Previous</button>\n <button type=\"submit\"\n [disabled]=\"isConfirmationBtnDisabled\"\n [ngClass]='isConfirmationBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'\n (click)=\"processRefund()\">\n Submit refund\n </button>\n </div>\n <p>\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link\" data-module=\"govuk-button\">\n Cancel\n </a>\n </p>\n\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'retrorefundconfirmationpage'\">\n <div class=\"govuk-grid-row\">\n <div >\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n Refund submitted\n </h1>\n\n <div class=\"govuk-panel__body\">\n <p class=\"govuk-body white\"><strong>Refund reference: {{refundReference}}</strong></p>\n </div>\n\n </div>\n <div *ngIf=\"isPaymentSuccess\">\n <h2 class=\"govuk-heading-l\">What happens next</h2>\n <p class=\"govuk-body\">\n A refund request for {{ refundAmount| currency:'GBP':'symbol-narrow':'1.2-2'}} has been passed to a team leader to approve.\n </p>\n </div>\n <p class=\"govuk-body\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link pointer\" data-module=\"govuk-button\">\n Return to case\n </a>\n </p>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'order-full-view'\">\n <ccpay-service-request\n [viewStatus] = \"viewStatus\"\n [orderRef] = \"orderRef\"\n [orderStatus] = \"orderStatus\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"\n [takePayment] = \"takePayment\"\n [ccdCaseNumber] = \"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\">\n </ccpay-service-request>\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'payment-view'\">\n <ccpay-payment-view\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"\n [isTurnOff] = \"isTurnOff\"\n [isTakePayment] = \"takePayment\"\n [caseType] = \"caseType\"\n [orderRef] = \"orderRef\"\n [orderStatus] = \"orderStatus\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\"\n >\n </ccpay-payment-view>\n </ng-container>\n\n</div>\n\n\n\n",
7688
+ template: "<div class=\"add-remission pagesize\">\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Error in processing the request\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <ng-container *ngIf=\"viewStatus === 'main' && !isRefundRemission \">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='ADDREMISSION'>\n <h1 class=\"heading-large\">Add remission </h1>\n <form novalidate>\n <div class=\"govuk-form-group\">\n <form [formGroup]=\"remissionForm\" novalidate>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label govuk-label--s\" for=\"remission-code\">\n Add remission to {{ fee?.code }}: {{ fee?.description }}\n <span class=\"form-hint\">Enter remission for reference. For example: HWF-A1B-23C OR PA21-123456</span>\n </label>\n <input [ngClass]=\"{'inline-error-class': isRemissionCodeEmpty || remissionCodeHasError}\" class=\"govuk-input govuk-input--width-20 govuk-!-margin-right-1\" id=\"remissionCode\" aria-label=\"remissionCode\" name=\"remissionCode\" type=\"text\" formControlName=\"remissionCode\">\n <p class=\"inline-error-message\" *ngIf=\"isRemissionCodeEmpty || remissionCodeHasError\">\n <span *ngIf=\"isRemissionCodeEmpty\">Enter a remission code</span>\n <span *ngIf=\"remissionCodeHasError\">Enter a vaild remission code</span>\n </p>\n </div>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label govuk-label--s\" for=\"amount\">\n How much does the applicant need to pay?\n </label>\n\n <div id=\"amount-currency\" class=\"govuk-visually-hidden\">in pounds</div>\n <div class=\"hmcts-currency-input\">\n <div class=\"hmcts-currency-input__symbol\" aria-hidden=\"true\">\u00A3</div>\n <input class=\"govuk-input govuk-input--width-10\" [ngClass]=\"{'inline-error-class': isAmountEmpty || amountHasError || isRemissionLessThanFeeError}\" id=\"amount\" aria-label=\"amount\" name=\"amount\" type=\"text\" aria-describedby=\"amount-currency\" formControlName=\"amount\">\n <p class=\"inline-error-message\" *ngIf=\"isAmountEmpty || amountHasError || isRemissionLessThanFeeError\">\n <span *ngIf=\"isAmountEmpty\">Enter a amount</span>\n <span *ngIf=\"amountHasError\">Enter a vaild amount</span>\n <span *ngIf=\"isRemissionLessThanFeeError\">The remission amount must be less than the total fee</span>\n </p>\n </div>\n </div>\n </form>\n <button class=\"button\" type=\"submit\" (click)=\"addRemission()\">\n Submit\n </button>\n </div>\n </form>\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'confirmation'\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='ADDREMISSIONCONFIRMATION'>\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 Are you sure you want to add remission to this fee?\n </strong>\n </div>\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Remission code:</td>\n <td class=\"govuk-table__cell\">{{ remissionForm.controls.remissionCode.value }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Fee code:</td>\n <td class=\"govuk-table__cell\">{{ fee.code }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Fee description:</td>\n <td class=\"govuk-table__cell\">{{ fee.description }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Amount the applicant must pay:</td>\n <td class=\"govuk-table__cell\">{{ remissionForm.controls.amount.value | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n </tr>\n </table>\n\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"cancelRemission.emit()\">\n Cancel\n </button>\n <button type=\"submit\"\n [disabled]=\"isConfirmationBtnDisabled\"\n [ngClass]='isConfirmationBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'\n (click)=\"confirmRemission()\">\n Confirm\n </button>\n\n </ng-container>\n\n <!-- Add retro remission changes-->\n\n <ng-container *ngIf=\"viewCompStatus === 'addremission'\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='PROCESSADDRETROREMISSIONPAGE'>\n <h1 class=\"heading-large\">Process remission</h1>\n <h1 class=\"heading-medium\">#{{ccdCaseNumber | ccdHyphens}}</h1>\n <h1 class=\"heading-large\">Enter help with fees or remission reference</h1>\n <form novalidate>\n <div class=\"govuk-form-group\">\n <form [formGroup]=\"remissionForm\" novalidate>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label govuk-label--s\" for=\"remission-code\">\n <span class=\"form-hint\">For example: HWF-A1B-23C OR PA21-123456</span>\n </label>\n <p class=\"inline-error-message\" *ngIf=\"isRemissionCodeEmpty || remissionCodeHasError\">\n <span *ngIf=\"isRemissionCodeEmpty\">Enter a remission code</span>\n <span *ngIf=\"remissionCodeHasError\">Enter a vaild remission code</span>\n </p>\n <input [ngClass]=\"{'inline-error-class': isRemissionCodeEmpty || remissionCodeHasError}\" class=\"govuk-input govuk-input--width-20 govuk-!-margin-right-1\" id=\"remissionCode\" aria-label=\"remissionCode\" name=\"remissionCode\" type=\"text\" formControlName=\"remissionCode\">\n\n </div>\n\n </form>\n <div class=\"govuk-button-group\">\n <button (click)=\"gotoServiceRequestPage($event)\" class=\"govuk-button govuk-button--secondary\"> Previous</button>\n <button (click)=\"addRemissionCode()\" class=\"govuk-button\"> Continue</button>\n </div>\n <p><a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link pointer\" data-module=\"govuk-button\">Cancel</a></p>\n </div>\n </form>\n\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'processretroremissonpage'\" >\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='PROCESSRETROREMISSIONPAGE'>\n <h1 class=\"heading-large\">Process remission</h1>\n <h1 class=\"heading-medium\">#{{ccdCaseNumber | ccdHyphens }}</h1>\n <div class=\"govuk-form-group\">\n <form novalidate>\n <div class=\"govuk-form-group\">\n <form [formGroup]=\"remissionForm\" novalidate>\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h1 *ngIf=\"remessionPayment?.status === 'Success' || isFromRefundListPage\" class=\"heading-medium\">\n Enter the amount to be refunded\n </h1>\n <h1 *ngIf=\"remessionPayment?.status !== 'Success' && !isFromRefundListPage\" class=\"heading-medium\">\n Enter the remission amount\n </h1>\n <h1 *ngIf=\"remessionPayment?.status === 'undefined'\" class=\"heading-medium\">\n Enter the amount\n </h1>\n </legend>\n <div id=\"amount-currency\" class=\"govuk-visually-hidden\">in pounds</div>\n <p class=\"inline-error-message\" *ngIf=\"isAmountEmpty || amountHasError || isRemissionLessThanFeeError\">\n <span *ngIf=\"isAmountEmpty\">Enter a amount</span>\n <span *ngIf=\"amountHasError\">Enter a vaild amount</span>\n <span *ngIf=\"isRemissionLessThanFeeError\">You cannot add a remission that's more than the fee amount.</span>\n </p>\n <div class=\"hmcts-currency-input\">\n\n <div class=\"hmcts-currency-input__symbol\" aria-hidden=\"true\">\u00A3</div>\n <input class=\"govuk-input govuk-input--width-10\" [ngClass]=\"{'inline-error-class': isAmountEmpty || amountHasError || isRemissionLessThanFeeError}\" id=\"amount\" aria-label=\"amount\" name=\"amount\" type=\"number\" aria-describedby=\"amount-currency\" formControlName=\"amount\">\n\n\n </div>\n </fieldset>\n </form>\n\n <div class=\"govuk-button-group\">\n <button (click)=\"gotoAddRetroRemissionCodePage()\" class=\"govuk-button govuk-button--secondary\"> Previous</button>\n <button (click)=\"gotoCheckRetroRemissionPage(payment)\" class=\"govuk-button\"> Continue</button>\n\n </div>\n <p>\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link\" data-module=\"govuk-button\">Cancel</a>\n </p>\n </div>\n\n </form>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'checkretroremissionpage'\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='CHECKRETROREMISSIONCONFIRMATION'>\n <div class=\"govuk-warning-text\">\n <h1 class=\"heading-large\"> Check your answers</h1>\n </div>\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment reference</td>\n <td class=\"govuk-table__cell\">{{remessionPayment ? remessionPayment.reference: ' '}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment amount</td>\n <td class=\"govuk-table__cell\">\u00A3{{ remessionPayment ? getFormattedCurrency(remessionPayment.amount): ' ' | currency :'GBP':'symbol':'1.2-2'}} </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment status</td>\n <td class=\"govuk-table__cell\">{{remessionPayment ? remessionPayment.status: ''}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Fee</td>\n <td class=\"govuk-table__cell\">{{ fee.code }} - {{ fee.description }} ({{ fee.calculated_amount/fee.volume| currency:'GBP':'symbol-narrow':'1.2-2' }}) </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Help with fees or remission reference</td>\n <td class=\"govuk-table__cell\"> {{ remissionForm.controls.remissionCode.value }}\n <a (click)=\"gotoProcessRetroRemissionPage()\" class=\"govuk-link right\" >Change</a>\n </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td *ngIf=\"remessionPayment.status === 'Success'\" class=\"govuk-table__cell govuk-!-font-weight-bold\">Refund amount</td>\n <td *ngIf=\"remessionPayment.status !== 'Success'\" class=\"govuk-table__cell govuk-!-font-weight-bold\">Remission amount</td>\n <td class=\"govuk-table__cell\">{{remissionForm.controls.amount.value | currency:'GBP':'symbol-narrow':'1.2-2' }}\n <a (click)=\"addRemissionCode()\" class=\"govuk-link right\" >Change</a>\n </td>\n </tr>\n </table>\n\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"addRemissionCode()\">Previous</button>\n <button type=\"submit\" [disabled]=\"isConfirmationBtnDisabled\" [ngClass]='isConfirmationBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"' (click)=\"confirmRetroRemission()\"> Add remission </button>\n <p> <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link\" data-module=\"govuk-button\"> Cancel</a> </p>\n\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'retroremissionconfirmationpage'\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='RETROREMISSIONCONFIRMATIONPAGE'>\n <div class=\"govuk-grid-row\">\n <div >\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n Remission added\n </h1>\n <div *ngIf=\"remessionPayment.status === 'Success'\" class=\"govuk-panel__body\">\n <p class=\"govuk-body white\"><strong>The amount to be refunded should be {{remissionForm.controls.amount.value | currency:'GBP':'symbol-narrow':'1.2-2' }}</strong></p>\n\n </div>\n </div>\n <div *ngIf=\"remessionPayment.status === 'Success'\" >\n <button type=\"submit\" [disabled]=\"!isRemissionApplied\" [ngClass]='isConfirmationBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"' (click)=\"processRefund()\">Submit refund </button>\n </div>\n <p class=\"govuk-body\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link pointer\" data-module=\"govuk-button\">\n Return to case\n </a>\n </p>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'refundconfirmationpage'\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='RETROREMISSIONREFUNDCONFIRMATIONPAGE'>\n <div class=\"govuk-grid-row\">\n <div >\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n Refund submitted\n </h1>\n\n <div class=\"govuk-panel__body\">\n <p class=\"govuk-body white\"><strong>Refund reference: {{refundReference}}</strong></p>\n </div>\n\n </div>\n <div *ngIf=\"isPaymentSuccess\">\n <h2 class=\"govuk-heading-l\">What happens next</h2>\n <p class=\"govuk-body\">\n A refund request for {{refundAmount | currency:'GBP':'symbol-narrow':'1.2-2' }} has been created and will be passed to a team leader to approve.\n </p>\n </div>\n <p class=\"govuk-body\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link pointer\" data-module=\"govuk-button\">\n Return to case\n </a>\n </p>\n </div>\n </div>\n\n </ng-container>\n\n <!-- Issue Refund Section -->\n\n <ng-container *ngIf=\"viewCompStatus === 'issuerefund' && isRefundRemission\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='ISSUEREFUNDPAGE'>\n <h1 class=\"heading-large\">Process refund</h1>\n <h1 class=\"heading-medium\">#{{ccdCaseNumber | ccdHyphens }}</h1>\n <h1 class=\"heading-large\">Why are you making this refund?\n </h1>\n\n\n <div class=\"govuk-form-group\">\n <form novalidate>\n <div class=\"govuk-form-group\">\n <form [formGroup]=\"remissionForm\" novalidate>\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"how-contacted-conditional-hint\">\n\n <div\n [ngClass]=\"refundHasError ? 'govuk-radios govuk-radios--conditional form-group-error' : 'govuk-radios govuk-radios--conditional'\"\n data-module=\"govuk-radios\" >\n <p class=\"inline-error-message\" *ngIf=\"refundHasError\">\n <span *ngIf=\"refundHasError\">Select a reason why you\u2019re making this refund</span>\n </p>\n\n\n\n <div class = \"container-fluid\">\n <div class=\"row\">\n <div class=\"govuk-radios__item col-md-4\" *ngFor=\"let refund of commonRefundReasons; let i = index;\">\n <!-- <div *ngIf = \"{{refund.name}} !== 'Retrospective remission'\"> -->\n <input class=\"govuk-radios__input\" id=\"{{refund.name}}\" name=\"refundReason\" type=\"radio\"\n formControlName=\"refundReason\" value={{refund.code}}\n (change)=\"selectRadioButton(refund.name, refund.name)\">\n <label class=\"govuk-label--s govuk-radios__label govuk-font__custom\" for=\"how-contacted-conditional\">\n {{refund.name}}\n </label>\n\n <div class=\"govuk-radios__conditional\" *ngIf=\"isRefundReasonsSelected && showReasonText && selectedRefundReason === refund.name \" >\n <label class=\"govuk-label govuk-label--m\" for=\"{{refund.name}}\">\n Enter reason\n </label>\n <div [ngClass]=\"{'form-group-error': isReasonEmpty}\">\n <p class=\"inline-error-message\" *ngIf=\"isReasonEmpty\">\n <span *ngIf=\"isReasonEmpty\">Enter a reason why you\u2019re making this refund</span>\n </p>\n\n <input class=\"govuk-input govuk-input--width-10\" [ngClass]=\"{'inline-error-class': isReasonEmpty}\" id=\"reason\" aria-label=\"reason\" name=\"reason\" type=\"text\" aria-describedby=\"reason\" maxlength=\"30\" formControlName=\"reason\">\n </div>\n </div>\n <!-- </div> -->\n </div>\n </div>\n </div>\n <br/>\n <div>\n <select formControlName=\"refundDDReason\" class=\"govuk-select\" id=\"sort\" (change)=\"selectchange($event)\">\n <option selected='selected' [defaultSelected]=true [value]=\"default\" >{{default}}</option>\n <!-- <option value=\"\" selected='selected'>Select a different reason</option> -->\n <option *ngFor=\"let refund of refundReasons;\" id=\"{{refund.name}}\" value=\"{{refund.code}}\">{{refund.name}}</option>\n </select>\n\n </div>\n <br/>\n <div class=\"govuk-radios__conditional\" *ngIf=\"showReasonText && !isRefundReasonsSelected\" >\n <div [ngClass]=\"{'form-group-error': isReasonEmpty}\">\n <label class=\"govuk-label govuk-label--m\" for=\"amount\">\n Enter reason\n </label>\n <p class=\"inline-error-message\" *ngIf=\"isReasonEmpty\">\n <span *ngIf=\"isReasonEmpty\">Enter a reason why you\u2019re making this refund</span>\n </p>\n <input class=\"govuk-input govuk-input--width-10\" [ngClass]=\"{'inline-error-class': isReasonEmpty}\" id=\"reason\" aria-label=\"reason\" name=\"reason\" type=\"text\" aria-describedby=\"reason\" maxlength=\"{{reasonLength}}\" formControlName=\"reason\">\n </div>\n </div>\n\n\n </div>\n </fieldset>\n </form>\n </div>\n </form>\n </div>\n <div class=\"govuk-button-group\">\n <button (click)=\"gotoServiceRequestPage($event)\" class=\"govuk-button govuk-button--secondary\"> Previous</button>\n <button (click)=\"gotoIssueRefundConfirmation(payment)\" class=\"govuk-button\"> Continue</button>\n </div>\n <p>\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link\" data-module=\"govuk-button\">\n Cancel\n </a>\n </p>\n\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'checkissuerefundpage'\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='CHECKISSUEREFUNDPAGE'>\n <div class=\"govuk-warning-text\">\n\n <h1 class=\"heading-large\"> Check your answers</h1>\n </div>\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Reason for refund</td>\n <td class=\"govuk-table__cell\"> {{ displayRefundReason }}\n <a (click)=\"changeIssueRefundReason()\" class=\"govuk-link right\" >Change</a>\n </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment reference</td>\n <td class=\"govuk-table__cell\">{{this.payment.reference}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment amount</td>\n <td class=\"govuk-table__cell\">{{this.payment.amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n </tr>\n </table>\n <div class=\"govuk-button-group\">\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"gotoIssueRefundPage()\"> Previous </button>\n <button type=\"submit\"\n [disabled]=\"isConfirmationBtnDisabled\"\n [ngClass]='isConfirmationBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'\n (click)=\"confirmIssueRefund()\">\n Submit refund\n </button>\n </div>\n <p>\n <a (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link\" data-module=\"govuk-button\">\n Cancel\n </a>\n </p>\n\n </ng-container>\n\n <!--Retro Refund-->\n <ng-container *ngIf=\"viewCompStatus === 'addrefundforremission'\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='ADDREFUNDFORREMISSION'>\n <div class=\"govuk-warning-text\">\n\n <h1 class=\"heading-large\"> Check your answers</h1>\n </div>\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Reason for refund</td>\n <td class=\"govuk-table__cell\"> Retrospective remission </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment reference</td>\n <td class=\"govuk-table__cell\">{{this.payment.reference}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Refund amount</td>\n <td class=\"govuk-table__cell\">{{this.remission.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Fee code</td>\n <td class=\"govuk-table__cell\">{{this.remission.fee_code}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Fee amount</td>\n <td class=\"govuk-table__cell\">{{feeamount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n </tr>\n </table>\n <div class=\"govuk-button-group\">\n <button type=\"submit\" class=\"button govuk-button--secondary\" (click)=\"gotoServiceRequestPage($event)\">Previous</button>\n <button type=\"submit\"\n [disabled]=\"isConfirmationBtnDisabled\"\n [ngClass]='isConfirmationBtnDisabled ? \"button button--disabled govuk-!-margin-right-1\" : \"button govuk-!-margin-right-1\"'\n (click)=\"processRefund()\">\n Submit refund\n </button>\n </div>\n <p>\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link\" data-module=\"govuk-button\">\n Cancel\n </a>\n </p>\n\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'retrorefundconfirmationpage'\">\n <div class=\"govuk-grid-row\">\n <div >\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n Refund submitted\n </h1>\n\n <div class=\"govuk-panel__body\">\n <p class=\"govuk-body white\"><strong>Refund reference: {{refundReference}}</strong></p>\n </div>\n\n </div>\n <div *ngIf=\"isPaymentSuccess\">\n <h2 class=\"govuk-heading-l\">What happens next</h2>\n <p class=\"govuk-body\">\n A refund request for {{ refundAmount| currency:'GBP':'symbol-narrow':'1.2-2'}} has been passed to a team leader to approve.\n </p>\n </div>\n <p class=\"govuk-body\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPageCancelBtnClicked($event)\" class=\"govuk-link pointer\" data-module=\"govuk-button\">\n Return to case\n </a>\n </p>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'order-full-view'\">\n <ccpay-service-request\n [viewStatus] = \"viewStatus\"\n [orderRef] = \"orderRef\"\n [orderStatus] = \"orderStatus\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"\n [takePayment] = \"takePayment\"\n [ccdCaseNumber] = \"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\">\n </ccpay-service-request>\n </ng-container>\n\n <ng-container *ngIf=\"viewStatus === 'payment-view'\">\n <ccpay-payment-view\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"\n [isTurnOff] = \"isTurnOff\"\n [isTakePayment] = \"takePayment\"\n [caseType] = \"caseType\"\n [orderRef] = \"orderRef\"\n [orderStatus] = \"orderStatus\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\"\n >\n </ccpay-payment-view>\n </ng-container>\n\n</div>\n\n\n\n",
9281
7689
  styles: [".add-remission .button{padding:.5em;font-size:19px;font-weight:200;margin:20px 2px}.add-remission td.govuk-table__cell{width:50%}.add-remission .govuk-button--secondary{background-color:#dee0e2;box-shadow:0 2px 0 #858688;color:#0b0c0c;margin-right:.5em}.add-remission .right{cursor:pointer}.add-remission .govuk-label--s,.add-remission .govuk-warning-text__text,.add-remission .hmcts-currency-input__symbol{font-size:19px;font-weight:400}.add-remission .inline-error-class{outline:#a71414 solid 3px;outline-offset:0;border-color:#a71414}.add-remission .inline-error-message{color:#a71414;border-color:#a71414;font-weight:700;margin-top:10px;font-size:20px}.add-remission .govuk-button,.add-remission .govuk-link{margin-right:1em;font-size:19px;font-weight:200}.add-remission .govuk-button-group{padding-top:2em}.add-remission .heading-medium{margin-top:.875em}.add-remission .heading-large{margin-top:.25em}.add-remission .govuk-panel--confirmation{color:#fff;background:#00703c}.add-remission .govuk-panel__title{font-size:5rem}.add-remission .govuk-body,.add-remission .govuk-body-m{font-size:2.1875rem}.add-remission .govuk-radios__item{clear:initial!important;display:inline-block;width:45%!important}.add-remission .govuk-radios__conditional{padding-top:12px!important}.add-remission .radio,.add-remission .right{float:right}.govuk-input{font-size:19px}.govuk-select{font-size:19px;font-weight:400}.govuk-input--width-10{max-width:50ex}.govuk-label--m{font-size:19px;font-weight:400}.govuk-error-summary__body{font-size:19px!important}.govuk-error-summary__title{font-size:24px!important}.white{color:#fff}.pagesize{margin:2em;width:97%}.right{cursor:pointer}.form-hint{font-size:19px!important}"]
9282
7690
  }] }
9283
7691
  ];
@@ -9324,188 +7732,10 @@ var AddRemissionComponent = /** @class */ (function () {
9324
7732
  };
9325
7733
  return AddRemissionComponent;
9326
7734
  }());
9327
- if (false) {
9328
- /** @type {?} */
9329
- AddRemissionComponent.prototype.fee;
9330
- /** @type {?} */
9331
- AddRemissionComponent.prototype.payment;
9332
- /** @type {?} */
9333
- AddRemissionComponent.prototype.remission;
9334
- /** @type {?} */
9335
- AddRemissionComponent.prototype.ccdCaseNumber;
9336
- /** @type {?} */
9337
- AddRemissionComponent.prototype.caseType;
9338
- /** @type {?} */
9339
- AddRemissionComponent.prototype.viewCompStatus;
9340
- /** @type {?} */
9341
- AddRemissionComponent.prototype.paymentGroupRef;
9342
- /** @type {?} */
9343
- AddRemissionComponent.prototype.isTurnOff;
9344
- /** @type {?} */
9345
- AddRemissionComponent.prototype.isRefundRemission;
9346
- /** @type {?} */
9347
- AddRemissionComponent.prototype.isStrategicFixEnable;
9348
- /** @type {?} */
9349
- AddRemissionComponent.prototype.paidAmount;
9350
- /** @type {?} */
9351
- AddRemissionComponent.prototype.isFromRefundListPage;
9352
- /** @type {?} */
9353
- AddRemissionComponent.prototype.isFromPaymentDetailPage;
9354
- /** @type {?} */
9355
- AddRemissionComponent.prototype.isFromServiceRequestPage;
9356
- /** @type {?} */
9357
- AddRemissionComponent.prototype.feeamount;
9358
- /** @type {?} */
9359
- AddRemissionComponent.prototype.LOGGEDINUSERROLES;
9360
- /** @type {?} */
9361
- AddRemissionComponent.prototype.orderDetail;
9362
- /** @type {?} */
9363
- AddRemissionComponent.prototype.orderRef;
9364
- /** @type {?} */
9365
- AddRemissionComponent.prototype.orderStatus;
9366
- /** @type {?} */
9367
- AddRemissionComponent.prototype.orderParty;
9368
- /** @type {?} */
9369
- AddRemissionComponent.prototype.orderCreated;
9370
- /** @type {?} */
9371
- AddRemissionComponent.prototype.orderCCDEvent;
9372
- /** @type {?} */
9373
- AddRemissionComponent.prototype.takePayment;
9374
- /** @type {?} */
9375
- AddRemissionComponent.prototype.orderFeesTotal;
9376
- /** @type {?} */
9377
- AddRemissionComponent.prototype.orderTotalPayments;
9378
- /** @type {?} */
9379
- AddRemissionComponent.prototype.orderRemissionTotal;
9380
- /** @type {?} */
9381
- AddRemissionComponent.prototype.cancelRemission;
9382
- /** @type {?} */
9383
- AddRemissionComponent.prototype.refundListReason;
9384
- /** @type {?} */
9385
- AddRemissionComponent.prototype.refundListAmount;
9386
- /** @type {?} */
9387
- AddRemissionComponent.prototype.refund;
9388
- /** @type {?} */
9389
- AddRemissionComponent.prototype.remissionForm;
9390
- /** @type {?} */
9391
- AddRemissionComponent.prototype.hasErrors;
9392
- /** @type {?} */
9393
- AddRemissionComponent.prototype.viewStatus;
9394
- /** @type {?} */
9395
- AddRemissionComponent.prototype.errorMessage;
9396
- /** @type {?} */
9397
- AddRemissionComponent.prototype.option;
9398
- /** @type {?} */
9399
- AddRemissionComponent.prototype.isConfirmationBtnDisabled;
9400
- /** @type {?} */
9401
- AddRemissionComponent.prototype.bsPaymentDcnNumber;
9402
- /** @type {?} */
9403
- AddRemissionComponent.prototype.selectedValue;
9404
- /** @type {?} */
9405
- AddRemissionComponent.prototype.amount;
9406
- /** @type {?} */
9407
- AddRemissionComponent.prototype.retroRemission;
9408
- /** @type {?} */
9409
- AddRemissionComponent.prototype.remissionReference;
9410
- /** @type {?} */
9411
- AddRemissionComponent.prototype.refundReference;
9412
- /** @type {?} */
9413
- AddRemissionComponent.prototype.refundAmount;
9414
- /** @type {?} */
9415
- AddRemissionComponent.prototype.paymentExplanationHasError;
9416
- /** @type {?} */
9417
- AddRemissionComponent.prototype.refundReason;
9418
- /** @type {?} */
9419
- AddRemissionComponent.prototype.selectedRefundReason;
9420
- /** @type {?} */
9421
- AddRemissionComponent.prototype.displayRefundReason;
9422
- /** @type {?} */
9423
- AddRemissionComponent.prototype.refundCode;
9424
- /** @type {?} */
9425
- AddRemissionComponent.prototype.remessionPayment;
9426
- /** @type {?} */
9427
- AddRemissionComponent.prototype.isRemissionCodeEmpty;
9428
- /** @type {?} */
9429
- AddRemissionComponent.prototype.remissionCodeHasError;
9430
- /** @type {?} */
9431
- AddRemissionComponent.prototype.isAmountEmpty;
9432
- /** @type {?} */
9433
- AddRemissionComponent.prototype.isReasonEmpty;
9434
- /** @type {?} */
9435
- AddRemissionComponent.prototype.amountHasError;
9436
- /** @type {?} */
9437
- AddRemissionComponent.prototype.isRemissionLessThanFeeError;
9438
- /** @type {?} */
9439
- AddRemissionComponent.prototype.refundHasError;
9440
- /** @type {?} */
9441
- AddRemissionComponent.prototype.isPaymentSuccess;
9442
- /** @type {?} */
9443
- AddRemissionComponent.prototype.isRemissionApplied;
9444
- /** @type {?} */
9445
- AddRemissionComponent.prototype.remissionamt;
9446
- /** @type {?} */
9447
- AddRemissionComponent.prototype.commonRefundReasons;
9448
- /** @type {?} */
9449
- AddRemissionComponent.prototype.showReasonText;
9450
- /** @type {?} */
9451
- AddRemissionComponent.prototype.isRefundReasonsSelected;
9452
- /** @type {?} */
9453
- AddRemissionComponent.prototype.default;
9454
- /** @type {?} */
9455
- AddRemissionComponent.prototype.reasonLength;
9456
- /** @type {?} */
9457
- AddRemissionComponent.prototype.refundReasons;
9458
- /** @type {?} */
9459
- AddRemissionComponent.prototype.pattern1;
9460
- /** @type {?} */
9461
- AddRemissionComponent.prototype.pattern2;
9462
- /** @type {?} */
9463
- AddRemissionComponent.prototype.sendOrderDetail;
9464
- /** @type {?} */
9465
- AddRemissionComponent.prototype.sendOrderRef;
9466
- /** @type {?} */
9467
- AddRemissionComponent.prototype.component;
9468
- /**
9469
- * @type {?}
9470
- * @private
9471
- */
9472
- AddRemissionComponent.prototype.formBuilder;
9473
- /**
9474
- * @type {?}
9475
- * @private
9476
- */
9477
- AddRemissionComponent.prototype.router;
9478
- /**
9479
- * @type {?}
9480
- * @private
9481
- */
9482
- AddRemissionComponent.prototype.paymentViewService;
9483
- /**
9484
- * @type {?}
9485
- * @private
9486
- */
9487
- AddRemissionComponent.prototype.paymentLibComponent;
9488
- /**
9489
- * @type {?}
9490
- * @private
9491
- */
9492
- AddRemissionComponent.prototype.refundService;
9493
- /**
9494
- * @type {?}
9495
- * @private
9496
- */
9497
- AddRemissionComponent.prototype.cd;
9498
- /**
9499
- * @type {?}
9500
- * @private
9501
- */
9502
- AddRemissionComponent.prototype.OrderslistService;
9503
- }
9504
7735
 
9505
7736
  /**
9506
7737
  * @fileoverview added by tsickle
9507
- * Generated from: lib/pipes/ccd-hyphens.pipe.ts
9508
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7738
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9509
7739
  */
9510
7740
  var CcdHyphensPipe = /** @class */ (function () {
9511
7741
  function CcdHyphensPipe() {
@@ -9540,8 +7770,7 @@ var CcdHyphensPipe = /** @class */ (function () {
9540
7770
 
9541
7771
  /**
9542
7772
  * @fileoverview added by tsickle
9543
- * Generated from: lib/pipes/capitalize.pipe.ts
9544
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7773
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9545
7774
  */
9546
7775
  var CapitalizePipe = /** @class */ (function () {
9547
7776
  function CapitalizePipe() {
@@ -9571,8 +7800,7 @@ var CapitalizePipe = /** @class */ (function () {
9571
7800
 
9572
7801
  /**
9573
7802
  * @fileoverview added by tsickle
9574
- * Generated from: lib/pipes/key-value.pipe.ts
9575
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7803
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9576
7804
  */
9577
7805
  var keyValuePipe = /** @class */ (function () {
9578
7806
  function keyValuePipe() {
@@ -9607,8 +7835,7 @@ var keyValuePipe = /** @class */ (function () {
9607
7835
 
9608
7836
  /**
9609
7837
  * @fileoverview added by tsickle
9610
- * Generated from: lib/pipes/sanitize-html.pipe.ts
9611
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7838
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9612
7839
  */
9613
7840
  var SanitizeHtmlPipe = /** @class */ (function () {
9614
7841
  function SanitizeHtmlPipe(sanitizer) {
@@ -9634,18 +7861,10 @@ var SanitizeHtmlPipe = /** @class */ (function () {
9634
7861
  ]; };
9635
7862
  return SanitizeHtmlPipe;
9636
7863
  }());
9637
- if (false) {
9638
- /**
9639
- * @type {?}
9640
- * @private
9641
- */
9642
- SanitizeHtmlPipe.prototype.sanitizer;
9643
- }
9644
7864
 
9645
7865
  /**
9646
7866
  * @fileoverview added by tsickle
9647
- * Generated from: lib/services/xl-file/xl-file.service.ts
9648
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7867
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9649
7868
  */
9650
7869
  /** @type {?} */
9651
7870
  var EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';
@@ -9895,8 +8114,7 @@ var XlFileService = /** @class */ (function () {
9895
8114
 
9896
8115
  /**
9897
8116
  * @fileoverview added by tsickle
9898
- * Generated from: lib/components/reports/reports.component.ts
9899
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8117
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9900
8118
  */
9901
8119
  var ReportsComponent = /** @class */ (function () {
9902
8120
  function ReportsComponent(xlFileService, errorHandlerService, formBuilder, bulkScaningPaymentService, paymentViewService) {
@@ -10328,7 +8546,7 @@ var ReportsComponent = /** @class */ (function () {
10328
8546
  ReportsComponent.decorators = [
10329
8547
  { type: Component, args: [{
10330
8548
  selector: 'ccpay-reports',
10331
- template: "<div class=\"header\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='REPORTS'>\n <ccpay-error-banner *ngIf=\"errorMessage.showError\" [errorMessage]=\"errorMessage\"></ccpay-error-banner>\n <legend class=\"govuk-fieldset__legend--xl\">\n <h1 class=\"govuk-fieldset__heading\"> Choose the report type and date range</h1>\n </legend>\n</div>\n<form [formGroup]=\"reportsForm\">\n <div class=\"govuk-form-group\">\n <div class=\"govuk-radios govuk-radios--conditional\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input \n required\n id=\"DataLoss\"\n class=\"govuk-radios__input\"\n formControlName=\"selectedreport\"\n (click)=\"validateDates('DATA_LOSS')\"\n name=\"selectedreport\"\n type=\"radio\"\n value=\"DATA_LOSS\" \n data-aria-controls=\"DataLoss\"/>\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"DataLoss\">Data loss</label>\n <span class=\"form-hint\">Missing transactions where data has been received from only either of Exela or Bulk scan</span>\n </div>\n\n <div class=\"govuk-radios__item\">\n <input \n id=\"UnprocessedTransactions\"\n class=\"govuk-radios__input\"\n formControlName=\"selectedreport\"\n (click)=\"validateDates('UNPROCESSED')\"\n name=\"selectedreport\"\n type=\"radio\"\n value=\"UNPROCESSED\" \n data-aria-controls=\"UnprocessedTransactions\"/>\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"UnprocessedTransactions\">Unprocessed transactions</label>\n <span class=\"form-hint\">Transaction records that are still unprocessed by staff.</span>\n </div>\n\n <div class=\"govuk-radios__item\">\n <input \n id=\"ProcessedUnallocated\"\n class=\"govuk-radios__input\"\n formControlName=\"selectedreport\"\n name=\"selectedreport\"\n (click)=\"validateDates('PROCESSED_UNALLOCATED')\"\n type=\"radio\"\n value=\"PROCESSED_UNALLOCATED\" \n data-aria-controls=\"ProcessedUnallocated\"/>\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"ProcessedUnallocated\">Processed unallocated</label>\n <span class=\"form-hint\">Payments that are marked as \u2018Unidentified\u2019 or \u2018Transferred\u2019 (Unsolicited requests)</span>\n </div>\n\n <div class=\"govuk-radios__item\">\n <input \n id=\"ShortfallsandSurplus\"\n class=\"govuk-radios__input\"\n formControlName=\"selectedreport\"\n name=\"selectedreport\"\n (click)=\"validateDates('SURPLUS_AND_SHORTFALL')\"\n type=\"radio\"\n value=\"SURPLUS_AND_SHORTFALL\" \n data-aria-controls=\"ShortfallsandSurplus\"/>\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"ShortfallsandSurplus\">Under payment and Over payment</label>\n <span class=\"form-hint\">Requests where balances are marked as Under payment/Over payment further case management.\n E.g: Refund approval, Customer contact</span>\n </div>\n <div class=\"govuk-radios__item\" *ngIf=\"ISPAYMENTSTATUSENABLED\">\n <input \n id=\"PaymentFailureEvent\"\n class=\"govuk-radios__input\"\n formControlName=\"selectedreport\"\n name=\"selectedreport\"\n (click)=\"validateDates('PAYMENT_FAILURE_EVENT')\"\n type=\"radio\"\n value=\"PAYMENT_FAILURE_EVENT\" \n data-aria-controls=\"PaymentFailureEvent\"/>\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"PaymentFailureEvent\">Payment failure event</label>\n <span class=\"form-hint\">Failed payment transaction details</span>\n </div>\n </div>\n </div>\n <div class=\"govuk-form-group\">\n <div class=\"datefrom\">\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"date-from\">Date from</label>\n <input (change)=\"getSelectedFromDate()\" [max]=\"getToday()\" class=\"form-control\" id=\"date-from\" name=\"date-from\" type=\"date\" formControlName=\"startDate\" required/>\n </div>\n\n <div class=\"dateto\">\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"date-to\">Date to</label>\n <input (change)=\"getSelectedFromDate()\" [max]=\"getToday()\" class=\"form-control\" id=\"date-to\" name=\"search\" type=\"date\" formControlName=\"endDate\" required/>\n </div>\n </div>\n <p class=\"inline-error-message\" *ngIf=\"isStartDateLesthanEndDate || isDateRangeBetnWeek || isDateBetwnMonth\">\n <span *ngIf=\"isStartDateLesthanEndDate\">Please select 'Date From' less than or equal to 'Date To'</span>\n <span *ngIf=\"isDateRangeBetnWeek\"> Please select the date range between 7 days</span>\n <span *ngIf=\"isDateBetwnMonth\"> Please select the date range between 30 days</span>\n </p>\n <div class=\"btnsubmit\">\n <button type=\"submit\" (click)=\"downloadReport()\" class=\"button\" [disabled]=\"!reportsForm.valid || isDownLoadButtondisabled || isStartDateLesthanEndDate || isDateRangeBetnWeek\">Download report</button>\n </div>\n </form>\n \n",
8549
+ template: "<div class=\"header\">\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='REPORTS'>\n <ccpay-error-banner *ngIf=\"errorMessage.showError\" [errorMessage]=\"errorMessage\"></ccpay-error-banner>\n <legend class=\"govuk-fieldset__legend--xl\">\n <h1 class=\"govuk-fieldset__heading\"> Choose the report type and date range</h1>\n </legend>\n</div>\n<form [formGroup]=\"reportsForm\">\n <div class=\"govuk-form-group\">\n <div class=\"govuk-radios govuk-radios--conditional\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input \n required\n id=\"DataLoss\"\n class=\"govuk-radios__input\"\n formControlName=\"selectedreport\"\n (click)=\"validateDates('DATA_LOSS')\"\n name=\"selectedreport\"\n type=\"radio\"\n value=\"DATA_LOSS\" \n data-aria-controls=\"DataLoss\"/>\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"DataLoss\">Data loss</label>\n <span class=\"form-hint\">Missing transactions where data has been received from only either of Exela or Bulk scan</span>\n </div>\n\n <div class=\"govuk-radios__item\">\n <input \n id=\"UnprocessedTransactions\"\n class=\"govuk-radios__input\"\n formControlName=\"selectedreport\"\n (click)=\"validateDates('UNPROCESSED')\"\n name=\"selectedreport\"\n type=\"radio\"\n value=\"UNPROCESSED\" \n data-aria-controls=\"UnprocessedTransactions\"/>\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"UnprocessedTransactions\">Unprocessed transactions</label>\n <span class=\"form-hint\">Transaction records that are still unprocessed by staff.</span>\n </div>\n\n <div class=\"govuk-radios__item\">\n <input \n id=\"ProcessedUnallocated\"\n class=\"govuk-radios__input\"\n formControlName=\"selectedreport\"\n name=\"selectedreport\"\n (click)=\"validateDates('PROCESSED_UNALLOCATED')\"\n type=\"radio\"\n value=\"PROCESSED_UNALLOCATED\" \n data-aria-controls=\"ProcessedUnallocated\"/>\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"ProcessedUnallocated\">Processed unallocated</label>\n <span class=\"form-hint\">Payments that are marked as \u2018Unidentified\u2019 or \u2018Transferred\u2019 (Unsolicited requests)</span>\n </div>\n\n <div class=\"govuk-radios__item\">\n <input \n id=\"ShortfallsandSurplus\"\n class=\"govuk-radios__input\"\n formControlName=\"selectedreport\"\n name=\"selectedreport\"\n (click)=\"validateDates('SURPLUS_AND_SHORTFALL')\"\n type=\"radio\"\n value=\"SURPLUS_AND_SHORTFALL\" \n data-aria-controls=\"ShortfallsandSurplus\"/>\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"ShortfallsandSurplus\">Under payment and Over payment</label>\n <span class=\"form-hint\">Requests where balances are marked as Under payment/Over payment further case management.\n E.g: Refund approval, Customer contact</span>\n </div>\n <div class=\"govuk-radios__item\" *ngIf=\"ISPAYMENTSTATUSENABLED\">\n <input \n id=\"PaymentFailureEvent\"\n class=\"govuk-radios__input\"\n formControlName=\"selectedreport\"\n name=\"selectedreport\"\n (click)=\"validateDates('PAYMENT_FAILURE_EVENT')\"\n type=\"radio\"\n value=\"PAYMENT_FAILURE_EVENT\" \n data-aria-controls=\"PaymentFailureEvent\"/>\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"PaymentFailureEvent\">Payment failure event</label>\n <span class=\"form-hint\">Failed payment transaction details</span>\n </div>\n </div>\n </div>\n <div class=\"govuk-form-group\">\n <div class=\"datefrom\">\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"date-from\">Date from</label>\n <input (change)=\"getSelectedFromDate()\" [max]=\"getToday()\" class=\"form-control\" id=\"date-from\" name=\"date-from\" type=\"date\" formControlName=\"startDate\" required/>\n </div>\n\n <div class=\"dateto\">\n <label class=\"govuk-label govuk-radios__label govuk-label--m\" for=\"date-to\">Date to</label>\n <input (change)=\"getSelectedFromDate()\" [max]=\"getToday()\" class=\"form-control\" id=\"date-to\" name=\"search\" type=\"date\" formControlName=\"endDate\" required/>\n </div>\n </div>\n <p class=\"inline-error-message\" *ngIf=\"isStartDateLesthanEndDate || isDateRangeBetnWeek || isDateBetwnMonth\">\n <span *ngIf=\"isStartDateLesthanEndDate\">Please select 'Date From' less than or equal to 'Date To'</span>\n <span *ngIf=\"isDateRangeBetnWeek\"> Please select the date range between 7 days</span>\n <span *ngIf=\"isDateBetwnMonth\"> Please select the date range between 30 days</span>\n </p>\n <div class=\"btnsubmit\">\n <button type=\"submit\" (click)=\"downloadReport()\" class=\"button\" [disabled]=\"!reportsForm.valid || isDownLoadButtondisabled || isStartDateLesthanEndDate || isDateRangeBetnWeek\">Download report</button>\n </div>\n </form>\n \n",
10332
8550
  styles: [".govuk-radios__input:focus+.govuk-radios__label::before{border-width:4px;box-shadow:0 0 0 4px #ffaf00}.datefrom{width:50%;float:left}.dateto{width:50%;float:right}.govuk-label--m{font-size:large}.form-hint{padding-left:.7em}.header{margin-top:10px;margin-bottom:15px}.btnsubmit{margin-bottom:30px}.inline-error-message{color:#a71414;font-weight:700;margin-top:10px}"]
10333
8551
  }] }
10334
8552
  ];
@@ -10345,72 +8563,16 @@ var ReportsComponent = /** @class */ (function () {
10345
8563
  };
10346
8564
  return ReportsComponent;
10347
8565
  }());
10348
- if (false) {
10349
- /** @type {?} */
10350
- ReportsComponent.prototype.ISPAYMENTSTATUSENABLED;
10351
- /** @type {?} */
10352
- ReportsComponent.prototype.fmt;
10353
- /** @type {?} */
10354
- ReportsComponent.prototype.loc;
10355
- /** @type {?} */
10356
- ReportsComponent.prototype.reportsForm;
10357
- /** @type {?} */
10358
- ReportsComponent.prototype.startDate;
10359
- /** @type {?} */
10360
- ReportsComponent.prototype.endDate;
10361
- /** @type {?} */
10362
- ReportsComponent.prototype.errorMeaagse;
10363
- /** @type {?} */
10364
- ReportsComponent.prototype.ccdCaseNumber;
10365
- /** @type {?} */
10366
- ReportsComponent.prototype.isDownLoadButtondisabled;
10367
- /** @type {?} */
10368
- ReportsComponent.prototype.isStartDateLesthanEndDate;
10369
- /** @type {?} */
10370
- ReportsComponent.prototype.isDateBetwnMonth;
10371
- /** @type {?} */
10372
- ReportsComponent.prototype.isDateRangeBetnWeek;
10373
- /** @type {?} */
10374
- ReportsComponent.prototype.errorMessage;
10375
- /** @type {?} */
10376
- ReportsComponent.prototype.paymentGroups;
10377
- /**
10378
- * @type {?}
10379
- * @private
10380
- */
10381
- ReportsComponent.prototype.xlFileService;
10382
- /**
10383
- * @type {?}
10384
- * @private
10385
- */
10386
- ReportsComponent.prototype.errorHandlerService;
10387
- /**
10388
- * @type {?}
10389
- * @private
10390
- */
10391
- ReportsComponent.prototype.formBuilder;
10392
- /**
10393
- * @type {?}
10394
- * @private
10395
- */
10396
- ReportsComponent.prototype.bulkScaningPaymentService;
10397
- /**
10398
- * @type {?}
10399
- * @private
10400
- */
10401
- ReportsComponent.prototype.paymentViewService;
10402
- }
10403
8566
 
10404
8567
  /**
10405
8568
  * @fileoverview added by tsickle
10406
- * Generated from: lib/components/table/table.component.ts
10407
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8569
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10408
8570
  */
10409
8571
  var TableComponent = /** @class */ (function () {
10410
- function TableComponent(paymentLibComponent, cdRef, OrderslistService, router, activeRoute) {
8572
+ function TableComponent(paymentLibComponent, cdRef, OrderslistService$$1, router, activeRoute) {
10411
8573
  this.paymentLibComponent = paymentLibComponent;
10412
8574
  this.cdRef = cdRef;
10413
- this.OrderslistService = OrderslistService;
8575
+ this.OrderslistService = OrderslistService$$1;
10414
8576
  this.router = router;
10415
8577
  this.activeRoute = activeRoute;
10416
8578
  // displayedColumns = ['ccdCaseNumber', 'refundReference', 'reason', 'createBy', 'updateDate', 'Action'];
@@ -10566,67 +8728,15 @@ var TableComponent = /** @class */ (function () {
10566
8728
  DATASOURCE: [{ type: Input, args: ['DATASOURCE',] }],
10567
8729
  STATUS: [{ type: Input, args: ['STATUS',] }],
10568
8730
  errorMessage: [{ type: Input, args: ['errorMessage',] }],
10569
- paginator: [{ type: ViewChild, args: [MatPaginator, { static: false },] }],
10570
- sort: [{ type: ViewChild, args: [MatSort, { static: false },] }]
8731
+ paginator: [{ type: ViewChild, args: [MatPaginator,] }],
8732
+ sort: [{ type: ViewChild, args: [MatSort,] }]
10571
8733
  };
10572
8734
  return TableComponent;
10573
8735
  }());
10574
- if (false) {
10575
- /** @type {?} */
10576
- TableComponent.prototype.DATASOURCE;
10577
- /** @type {?} */
10578
- TableComponent.prototype.STATUS;
10579
- /** @type {?} */
10580
- TableComponent.prototype.errorMessage;
10581
- /** @type {?} */
10582
- TableComponent.prototype.isApprovalFlow;
10583
- /** @type {?} */
10584
- TableComponent.prototype.displayedColumns;
10585
- /** @type {?} */
10586
- TableComponent.prototype.dataSource;
10587
- /** @type {?} */
10588
- TableComponent.prototype.userLst;
10589
- /** @type {?} */
10590
- TableComponent.prototype.actualcount;
10591
- /** @type {?} */
10592
- TableComponent.prototype.count;
10593
- /** @type {?} */
10594
- TableComponent.prototype.refundList;
10595
- /** @type {?} */
10596
- TableComponent.prototype.paginator;
10597
- /** @type {?} */
10598
- TableComponent.prototype.sort;
10599
- /**
10600
- * @type {?}
10601
- * @private
10602
- */
10603
- TableComponent.prototype.paymentLibComponent;
10604
- /**
10605
- * @type {?}
10606
- * @private
10607
- */
10608
- TableComponent.prototype.cdRef;
10609
- /**
10610
- * @type {?}
10611
- * @private
10612
- */
10613
- TableComponent.prototype.OrderslistService;
10614
- /**
10615
- * @type {?}
10616
- * @private
10617
- */
10618
- TableComponent.prototype.router;
10619
- /**
10620
- * @type {?}
10621
- * @private
10622
- */
10623
- TableComponent.prototype.activeRoute;
10624
- }
10625
8736
 
10626
8737
  /**
10627
8738
  * @fileoverview added by tsickle
10628
- * Generated from: lib/interfaces/IResubmitRefundRequest.ts
10629
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8739
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10630
8740
  */
10631
8741
  var IResubmitRefundRequest = /** @class */ (function () {
10632
8742
  function IResubmitRefundRequest(refund_reason, amount) {
@@ -10635,29 +8745,20 @@ var IResubmitRefundRequest = /** @class */ (function () {
10635
8745
  }
10636
8746
  return IResubmitRefundRequest;
10637
8747
  }());
10638
- if (false) {
10639
- /** @type {?} */
10640
- IResubmitRefundRequest.prototype.refund_reason;
10641
- /** @type {?} */
10642
- IResubmitRefundRequest.prototype.amount;
10643
- }
10644
8748
 
10645
8749
  /**
10646
8750
  * @fileoverview added by tsickle
10647
- * Generated from: lib/components/refund-status/refund-status.component.ts
10648
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8751
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10649
8752
  */
10650
- /** @type {?} */
10651
- var BS_ENABLE_FLAG$4 = 'bulk-scan-enabling-fe';
10652
8753
  var RefundStatusComponent = /** @class */ (function () {
10653
- function RefundStatusComponent(formBuilder, refundService, paymentLibComponent, paymentViewService, router, OrderslistService) {
8754
+ function RefundStatusComponent(formBuilder, refundService, paymentLibComponent, paymentViewService, router, OrderslistService$$1) {
10654
8755
  var _this = this;
10655
8756
  this.formBuilder = formBuilder;
10656
8757
  this.refundService = refundService;
10657
8758
  this.paymentLibComponent = paymentLibComponent;
10658
8759
  this.paymentViewService = paymentViewService;
10659
8760
  this.router = router;
10660
- this.OrderslistService = OrderslistService;
8761
+ this.OrderslistService = OrderslistService$$1;
10661
8762
  this.LOGGEDINUSERROLES = [];
10662
8763
  this.rejectedRefundList = [];
10663
8764
  this.approvalStatus = 'Sent for approval';
@@ -11085,120 +9186,17 @@ var RefundStatusComponent = /** @class */ (function () {
11085
9186
  };
11086
9187
  return RefundStatusComponent;
11087
9188
  }());
11088
- if (false) {
11089
- /** @type {?} */
11090
- RefundStatusComponent.prototype.LOGGEDINUSERROLES;
11091
- /** @type {?} */
11092
- RefundStatusComponent.prototype.API_ROOT;
11093
- /** @type {?} */
11094
- RefundStatusComponent.prototype.ccdCaseNumber;
11095
- /** @type {?} */
11096
- RefundStatusComponent.prototype.isTurnOff;
11097
- /** @type {?} */
11098
- RefundStatusComponent.prototype.isEliginbleToAccess;
11099
- /** @type {?} */
11100
- RefundStatusComponent.prototype.refundStatusForm;
11101
- /** @type {?} */
11102
- RefundStatusComponent.prototype.selectedRefundReason;
11103
- /** @type {?} */
11104
- RefundStatusComponent.prototype.rejectedRefundList;
11105
- /** @type {?} */
11106
- RefundStatusComponent.prototype.approvalStatus;
11107
- /** @type {?} */
11108
- RefundStatusComponent.prototype.rejectStatus;
11109
- /** @type {?} */
11110
- RefundStatusComponent.prototype.errorMessage;
11111
- /** @type {?} */
11112
- RefundStatusComponent.prototype.viewName;
11113
- /** @type {?} */
11114
- RefundStatusComponent.prototype.refundReason;
11115
- /** @type {?} */
11116
- RefundStatusComponent.prototype.refundlist;
11117
- /** @type {?} */
11118
- RefundStatusComponent.prototype.bsPaymentDcnNumber;
11119
- /** @type {?} */
11120
- RefundStatusComponent.prototype.isCallFromRefundList;
11121
- /** @type {?} */
11122
- RefundStatusComponent.prototype.refundButtonState;
11123
- /** @type {?} */
11124
- RefundStatusComponent.prototype.isAmountEmpty;
11125
- /** @type {?} */
11126
- RefundStatusComponent.prototype.isReasonEmpty;
11127
- /** @type {?} */
11128
- RefundStatusComponent.prototype.amountHasError;
11129
- /** @type {?} */
11130
- RefundStatusComponent.prototype.isRemissionLessThanFeeError;
11131
- /** @type {?} */
11132
- RefundStatusComponent.prototype.refundHasError;
11133
- /** @type {?} */
11134
- RefundStatusComponent.prototype.refundReasons;
11135
- /** @type {?} */
11136
- RefundStatusComponent.prototype.refundStatusHistories;
11137
- /** @type {?} */
11138
- RefundStatusComponent.prototype.refundReference;
11139
- /** @type {?} */
11140
- RefundStatusComponent.prototype.refundAmount;
11141
- /** @type {?} */
11142
- RefundStatusComponent.prototype.refundCode;
11143
- /** @type {?} */
11144
- RefundStatusComponent.prototype.isRefundBtnDisabled;
11145
- /** @type {?} */
11146
- RefundStatusComponent.prototype.oldRefundReason;
11147
- /** @type {?} */
11148
- RefundStatusComponent.prototype.refundreason;
11149
- /** @type {?} */
11150
- RefundStatusComponent.prototype.navigationpage;
11151
- /** @type {?} */
11152
- RefundStatusComponent.prototype.isLastUpdatedByCurrentUser;
11153
- /** @type {?} */
11154
- RefundStatusComponent.prototype.isProcessRefund;
11155
- /** @type {?} */
11156
- RefundStatusComponent.prototype.changedAmount;
11157
- /** @type {?} */
11158
- RefundStatusComponent.prototype.isFromPayBubble;
11159
- /**
11160
- * @type {?}
11161
- * @private
11162
- */
11163
- RefundStatusComponent.prototype.formBuilder;
11164
- /**
11165
- * @type {?}
11166
- * @private
11167
- */
11168
- RefundStatusComponent.prototype.refundService;
11169
- /**
11170
- * @type {?}
11171
- * @private
11172
- */
11173
- RefundStatusComponent.prototype.paymentLibComponent;
11174
- /**
11175
- * @type {?}
11176
- * @private
11177
- */
11178
- RefundStatusComponent.prototype.paymentViewService;
11179
- /**
11180
- * @type {?}
11181
- * @private
11182
- */
11183
- RefundStatusComponent.prototype.router;
11184
- /**
11185
- * @type {?}
11186
- * @private
11187
- */
11188
- RefundStatusComponent.prototype.OrderslistService;
11189
- }
11190
9189
 
11191
9190
  /**
11192
9191
  * @fileoverview added by tsickle
11193
- * Generated from: lib/components/service-request/service-request.component.ts
11194
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9192
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11195
9193
  */
11196
9194
  var ServiceRequestComponent = /** @class */ (function () {
11197
- function ServiceRequestComponent(paymentLibComponent, paymentViewService, OrderslistService, router) {
9195
+ function ServiceRequestComponent(paymentLibComponent, paymentViewService, OrderslistService$$1, router) {
11198
9196
  var _this = this;
11199
9197
  this.paymentLibComponent = paymentLibComponent;
11200
9198
  this.paymentViewService = paymentViewService;
11201
- this.OrderslistService = OrderslistService;
9199
+ this.OrderslistService = OrderslistService$$1;
11202
9200
  this.router = router;
11203
9201
  this.goToServiceRquestComponent = new EventEmitter();
11204
9202
  this.paymentGroups = [];
@@ -11430,7 +9428,6 @@ var ServiceRequestComponent = /** @class */ (function () {
11430
9428
  else {
11431
9429
  return false;
11432
9430
  }
11433
- ;
11434
9431
  }
11435
9432
  };
11436
9433
  /**
@@ -11564,7 +9561,6 @@ var ServiceRequestComponent = /** @class */ (function () {
11564
9561
  else {
11565
9562
  return false;
11566
9563
  }
11567
- ;
11568
9564
  };
11569
9565
  /**
11570
9566
  * @return {?}
@@ -11599,7 +9595,6 @@ var ServiceRequestComponent = /** @class */ (function () {
11599
9595
  else {
11600
9596
  return false;
11601
9597
  }
11602
- ;
11603
9598
  }
11604
9599
  };
11605
9600
  /**
@@ -11707,175 +9702,10 @@ var ServiceRequestComponent = /** @class */ (function () {
11707
9702
  };
11708
9703
  return ServiceRequestComponent;
11709
9704
  }());
11710
- if (false) {
11711
- /** @type {?} */
11712
- ServiceRequestComponent.prototype.LOGGEDINUSERROLES;
11713
- /** @type {?} */
11714
- ServiceRequestComponent.prototype.viewStatus;
11715
- /** @type {?} */
11716
- ServiceRequestComponent.prototype.orderDetail;
11717
- /** @type {?} */
11718
- ServiceRequestComponent.prototype.orderRef;
11719
- /** @type {?} */
11720
- ServiceRequestComponent.prototype.orderStatus;
11721
- /** @type {?} */
11722
- ServiceRequestComponent.prototype.orderParty;
11723
- /** @type {?} */
11724
- ServiceRequestComponent.prototype.orderCreated;
11725
- /** @type {?} */
11726
- ServiceRequestComponent.prototype.orderCCDEvent;
11727
- /** @type {?} */
11728
- ServiceRequestComponent.prototype.orderFeesTotal;
11729
- /** @type {?} */
11730
- ServiceRequestComponent.prototype.orderTotalPayments;
11731
- /** @type {?} */
11732
- ServiceRequestComponent.prototype.orderRemissionTotal;
11733
- /** @type {?} */
11734
- ServiceRequestComponent.prototype.takePayment;
11735
- /** @type {?} */
11736
- ServiceRequestComponent.prototype.ccdCaseNumber;
11737
- /** @type {?} */
11738
- ServiceRequestComponent.prototype.isServiceRequest;
11739
- /** @type {?} */
11740
- ServiceRequestComponent.prototype.goToServiceRquestComponent;
11741
- /** @type {?} */
11742
- ServiceRequestComponent.prototype.servicerequest;
11743
- /** @type {?} */
11744
- ServiceRequestComponent.prototype.excReference;
11745
- /** @type {?} */
11746
- ServiceRequestComponent.prototype.paymentGroups;
11747
- /** @type {?} */
11748
- ServiceRequestComponent.prototype.payments;
11749
- /** @type {?} */
11750
- ServiceRequestComponent.prototype.nonPayments;
11751
- /** @type {?} */
11752
- ServiceRequestComponent.prototype.allPayments;
11753
- /** @type {?} */
11754
- ServiceRequestComponent.prototype.remissions;
11755
- /** @type {?} */
11756
- ServiceRequestComponent.prototype.fees;
11757
- /** @type {?} */
11758
- ServiceRequestComponent.prototype.errorMessage;
11759
- /** @type {?} */
11760
- ServiceRequestComponent.prototype.totalFees;
11761
- /** @type {?} */
11762
- ServiceRequestComponent.prototype.totalPayments;
11763
- /** @type {?} */
11764
- ServiceRequestComponent.prototype.totalNonOffPayments;
11765
- /** @type {?} */
11766
- ServiceRequestComponent.prototype.totalRemissions;
11767
- /** @type {?} */
11768
- ServiceRequestComponent.prototype.selectedOption;
11769
- /** @type {?} */
11770
- ServiceRequestComponent.prototype.dcnNumber;
11771
- /** @type {?} */
11772
- ServiceRequestComponent.prototype.paymentRef;
11773
- /** @type {?} */
11774
- ServiceRequestComponent.prototype.isTurnOff;
11775
- /** @type {?} */
11776
- ServiceRequestComponent.prototype.isRefundRemission;
11777
- /** @type {?} */
11778
- ServiceRequestComponent.prototype.isStrategicFixEnable;
11779
- /** @type {?} */
11780
- ServiceRequestComponent.prototype.isAddFeeBtnEnabled;
11781
- /** @type {?} */
11782
- ServiceRequestComponent.prototype.isExceptionRecord;
11783
- /** @type {?} */
11784
- ServiceRequestComponent.prototype.isUnprocessedRecordSelected;
11785
- /** @type {?} */
11786
- ServiceRequestComponent.prototype.exceptionRecordReference;
11787
- /** @type {?} */
11788
- ServiceRequestComponent.prototype.isAnyFeeGroupAvilable;
11789
- /** @type {?} */
11790
- ServiceRequestComponent.prototype.isHistoricGroupAvailable;
11791
- /** @type {?} */
11792
- ServiceRequestComponent.prototype.isBulkScanEnable;
11793
- /** @type {?} */
11794
- ServiceRequestComponent.prototype.isRemissionsMatch;
11795
- /** @type {?} */
11796
- ServiceRequestComponent.prototype.isRemoveBtnDisabled;
11797
- /** @type {?} */
11798
- ServiceRequestComponent.prototype.feeId;
11799
- /** @type {?} */
11800
- ServiceRequestComponent.prototype.clAmountDue;
11801
- /** @type {?} */
11802
- ServiceRequestComponent.prototype.unprocessedRecordCount;
11803
- /** @type {?} */
11804
- ServiceRequestComponent.prototype.isFeeRecordsExist;
11805
- /** @type {?} */
11806
- ServiceRequestComponent.prototype.isGrpOutstandingAmtPositive;
11807
- /** @type {?} */
11808
- ServiceRequestComponent.prototype.totalRefundAmount;
11809
- /** @type {?} */
11810
- ServiceRequestComponent.prototype.caseType;
11811
- /** @type {?} */
11812
- ServiceRequestComponent.prototype.payment;
11813
- /** @type {?} */
11814
- ServiceRequestComponent.prototype.paymentGroup;
11815
- /** @type {?} */
11816
- ServiceRequestComponent.prototype.paymentView;
11817
- /** @type {?} */
11818
- ServiceRequestComponent.prototype.isAddRemissionEnable;
11819
- /** @type {?} */
11820
- ServiceRequestComponent.prototype.orderRemissionDetails;
11821
- /** @type {?} */
11822
- ServiceRequestComponent.prototype.orderLevelFees;
11823
- /** @type {?} */
11824
- ServiceRequestComponent.prototype.cpoDetails;
11825
- /** @type {?} */
11826
- ServiceRequestComponent.prototype.serviceRequestValue;
11827
- /** @type {?} */
11828
- ServiceRequestComponent.prototype.orderAddBtnEnable;
11829
- /** @type {?} */
11830
- ServiceRequestComponent.prototype.isCPODown;
11831
- /** @type {?} */
11832
- ServiceRequestComponent.prototype.test;
11833
- /** @type {?} */
11834
- ServiceRequestComponent.prototype.isPBA;
11835
- /** @type {?} */
11836
- ServiceRequestComponent.prototype.isIssueRefunfBtnEnable;
11837
- /** @type {?} */
11838
- ServiceRequestComponent.prototype.isAddRemissionBtnEnabled;
11839
- /** @type {?} */
11840
- ServiceRequestComponent.prototype.isRefundRemissionBtnEnable;
11841
- /** @type {?} */
11842
- ServiceRequestComponent.prototype.allowedRolesToAccessRefund;
11843
- /** @type {?} */
11844
- ServiceRequestComponent.prototype.isFromServiceRequestPage;
11845
- /** @type {?} */
11846
- ServiceRequestComponent.prototype.navigationpage;
11847
- /** @type {?} */
11848
- ServiceRequestComponent.prototype.remissionFeeAmt;
11849
- /** @type {?} */
11850
- ServiceRequestComponent.prototype.check4AllowedRoles2AccessRefund;
11851
- /** @type {?} */
11852
- ServiceRequestComponent.prototype.allowFurtherAccessAfter4Days;
11853
- /**
11854
- * @type {?}
11855
- * @private
11856
- */
11857
- ServiceRequestComponent.prototype.paymentLibComponent;
11858
- /**
11859
- * @type {?}
11860
- * @private
11861
- */
11862
- ServiceRequestComponent.prototype.paymentViewService;
11863
- /**
11864
- * @type {?}
11865
- * @private
11866
- */
11867
- ServiceRequestComponent.prototype.OrderslistService;
11868
- /**
11869
- * @type {?}
11870
- * @private
11871
- */
11872
- ServiceRequestComponent.prototype.router;
11873
- }
11874
9705
 
11875
9706
  /**
11876
9707
  * @fileoverview added by tsickle
11877
- * Generated from: lib/interfaces/IserviceRequestCardPayment.ts
11878
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9708
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11879
9709
  */
11880
9710
  var IserviceRequestCardPayment = /** @class */ (function () {
11881
9711
  function IserviceRequestCardPayment(amount) {
@@ -11885,19 +9715,10 @@ var IserviceRequestCardPayment = /** @class */ (function () {
11885
9715
  }
11886
9716
  return IserviceRequestCardPayment;
11887
9717
  }());
11888
- if (false) {
11889
- /** @type {?} */
11890
- IserviceRequestCardPayment.prototype.amount;
11891
- /** @type {?} */
11892
- IserviceRequestCardPayment.prototype.currency;
11893
- /** @type {?} */
11894
- IserviceRequestCardPayment.prototype.language;
11895
- }
11896
9718
 
11897
9719
  /**
11898
9720
  * @fileoverview added by tsickle
11899
- * Generated from: lib/interfaces/IserviceRequestPbaPayment.ts
11900
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9721
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11901
9722
  */
11902
9723
  var IserviceRequestPbaPayment = /** @class */ (function () {
11903
9724
  function IserviceRequestPbaPayment(account_number, amount, customer_reference, orgName) {
@@ -11909,26 +9730,11 @@ var IserviceRequestPbaPayment = /** @class */ (function () {
11909
9730
  }
11910
9731
  return IserviceRequestPbaPayment;
11911
9732
  }());
11912
- if (false) {
11913
- /** @type {?} */
11914
- IserviceRequestPbaPayment.prototype.account_number;
11915
- /** @type {?} */
11916
- IserviceRequestPbaPayment.prototype.amount;
11917
- /** @type {?} */
11918
- IserviceRequestPbaPayment.prototype.currency;
11919
- /** @type {?} */
11920
- IserviceRequestPbaPayment.prototype.customer_reference;
11921
- /** @type {?} */
11922
- IserviceRequestPbaPayment.prototype.organisation_name;
11923
- }
11924
9733
 
11925
9734
  /**
11926
9735
  * @fileoverview added by tsickle
11927
- * Generated from: lib/components/pba-payment/pba-payment.component.ts
11928
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9736
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11929
9737
  */
11930
- /** @type {?} */
11931
- var BS_ENABLE_FLAG$5 = 'bulk-scan-enabling-fe';
11932
9738
  var PbaPaymentComponent = /** @class */ (function () {
11933
9739
  function PbaPaymentComponent(paymentLibComponent, paymentViewService) {
11934
9740
  this.paymentLibComponent = paymentLibComponent;
@@ -12135,61 +9941,10 @@ var PbaPaymentComponent = /** @class */ (function () {
12135
9941
  };
12136
9942
  return PbaPaymentComponent;
12137
9943
  }());
12138
- if (false) {
12139
- /** @type {?} */
12140
- PbaPaymentComponent.prototype.pbaPayOrderRef;
12141
- /** @type {?} */
12142
- PbaPaymentComponent.prototype.viewStatus;
12143
- /** @type {?} */
12144
- PbaPaymentComponent.prototype.pbaAccountList;
12145
- /** @type {?} */
12146
- PbaPaymentComponent.prototype.isPBAAccountHold;
12147
- /** @type {?} */
12148
- PbaPaymentComponent.prototype.errorMsg;
12149
- /** @type {?} */
12150
- PbaPaymentComponent.prototype.isCardPaymentSuccess;
12151
- /** @type {?} */
12152
- PbaPaymentComponent.prototype.isInSufficiantFund;
12153
- /** @type {?} */
12154
- PbaPaymentComponent.prototype.isPBAAccountNotExist;
12155
- /** @type {?} */
12156
- PbaPaymentComponent.prototype.isPBAServerError;
12157
- /** @type {?} */
12158
- PbaPaymentComponent.prototype.isGetPBAAccountSucceed;
12159
- /** @type {?} */
12160
- PbaPaymentComponent.prototype.selectedPbaAccount;
12161
- /** @type {?} */
12162
- PbaPaymentComponent.prototype.pbaAccountRef;
12163
- /** @type {?} */
12164
- PbaPaymentComponent.prototype.isPbaAccountSelected;
12165
- /** @type {?} */
12166
- PbaPaymentComponent.prototype.isCardPaymentSelected;
12167
- /** @type {?} */
12168
- PbaPaymentComponent.prototype.isPBADropdownSelected;
12169
- /** @type {?} */
12170
- PbaPaymentComponent.prototype.isContinueButtondisabled;
12171
- /** @type {?} */
12172
- PbaPaymentComponent.prototype.isPBAAccountPaymentSuccess;
12173
- /** @type {?} */
12174
- PbaPaymentComponent.prototype.pbaAccountrPaymentResult;
12175
- /** @type {?} */
12176
- PbaPaymentComponent.prototype.orgName;
12177
- /**
12178
- * @type {?}
12179
- * @private
12180
- */
12181
- PbaPaymentComponent.prototype.paymentLibComponent;
12182
- /**
12183
- * @type {?}
12184
- * @private
12185
- */
12186
- PbaPaymentComponent.prototype.paymentViewService;
12187
- }
12188
9944
 
12189
9945
  /**
12190
9946
  * @fileoverview added by tsickle
12191
- * Generated from: lib/payment-lib.module.ts
12192
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9947
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
12193
9948
  */
12194
9949
  var PaymentLibModule = /** @class */ (function () {
12195
9950
  function PaymentLibModule() {
@@ -12249,15 +10004,14 @@ var PaymentLibModule = /** @class */ (function () {
12249
10004
 
12250
10005
  /**
12251
10006
  * @fileoverview added by tsickle
12252
- * Generated from: public_api.ts
12253
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10007
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
12254
10008
  */
12255
10009
 
12256
10010
  /**
12257
10011
  * @fileoverview added by tsickle
12258
- * Generated from: hmcts-ccpay-web-component.ts
12259
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10012
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
12260
10013
  */
12261
10014
 
12262
- export { PaymentLibComponent, PaymentLibModule, PaymentLibService, OrderslistService as ɵa, PaymentListComponent as ɵb, FeeSummaryComponent as ɵba, AddRemissionComponent as ɵbb, CcdHyphensPipe as ɵbc, CapitalizePipe as ɵbd, keyValuePipe as ɵbe, SanitizeHtmlPipe as ɵbf, ReportsComponent as ɵbg, XlFileService as ɵbh, ErrorBannerComponent as ɵbi, TableComponent as ɵbj, RefundStatusComponent as ɵbk, ServiceRequestComponent as ɵbl, ConsoleLoggerService as ɵbm, PaymentListService as ɵc, LoggerService as ɵd, ErrorHandlerService as ɵe, PaymentViewComponent as ɵf, PaymentViewService as ɵg, WebComponentHttpClient as ɵh, PbaPaymentComponent as ɵi, ProcessRefundComponent as ɵj, RefundsService as ɵk, RefundListComponent as ɵl, CardDetailsComponent as ɵm, CardDetailsService as ɵn, PageNotFoundComponent as ɵo, StatusHistoryComponent as ɵp, StatusHistoryService as ɵq, MarkUnidentifiedPaymentComponent as ɵr, BulkScaningPaymentService as ɵs, MarkUnsolicitedPaymentComponent as ɵt, UnprocessedPaymentsComponent as ɵu, ProcessedPaymentsComponent as ɵv, AllocatePaymentsComponent as ɵw, CaseTransactionsService as ɵx, PbaDetailsComponent as ɵy, CaseTransactionsComponent as ɵz };
12263
- //# sourceMappingURL=hmcts-ccpay-web-component.js.map
10015
+ export { PaymentLibService, PaymentLibComponent, PaymentLibModule, AddRemissionComponent as ɵbb, AllocatePaymentsComponent as ɵw, CardDetailsComponent as ɵm, CaseTransactionsComponent as ɵz, ErrorBannerComponent as ɵbi, FeeSummaryComponent as ɵba, MarkUnidentifiedPaymentComponent as ɵr, MarkUnsolicitedPaymentComponent as ɵt, PageNotFoundComponent as ɵo, PaymentListComponent as ɵb, PaymentViewComponent as ɵf, PbaDetailsComponent as ɵy, PbaPaymentComponent as ɵi, ProcessRefundComponent as ɵj, ProcessedPaymentsComponent as ɵv, RefundListComponent as ɵl, RefundStatusComponent as ɵbk, ReportsComponent as ɵbg, ServiceRequestComponent as ɵbl, StatusHistoryComponent as ɵp, TableComponent as ɵbj, UnprocessedPaymentsComponent as ɵu, CapitalizePipe as ɵbd, CcdHyphensPipe as ɵbc, keyValuePipe as ɵbe, SanitizeHtmlPipe as ɵbf, BulkScaningPaymentService as ɵs, CardDetailsService as ɵn, CaseTransactionsService as ɵx, OrderslistService as ɵa, PaymentListService as ɵc, PaymentViewService as ɵg, RefundsService as ɵk, ErrorHandlerService as ɵe, WebComponentHttpClient as ɵh, ConsoleLoggerService as ɵbm, LoggerService as ɵd, StatusHistoryService as ɵq, XlFileService as ɵbh };
10016
+
10017
+ //# sourceMappingURL=hmcts-ccpay-web-component.js.map