@hmcts/ccpay-web-component 5.0.10 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-ccpay-web-component.umd.js +5092 -8696
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/hmcts-ccpay-web-component.js +2 -6
- package/esm2015/lib/components/add-remission/add-remission.component.js +33 -406
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +37 -348
- package/esm2015/lib/components/card-details/card-details.component.js +3 -46
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +111 -687
- package/esm2015/lib/components/error-banner/error-banner.component.js +2 -14
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +28 -254
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +22 -180
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +26 -224
- package/esm2015/lib/components/page-not-found.component.js +2 -6
- package/esm2015/lib/components/payment-list/payment-list.component.js +3 -47
- package/esm2015/lib/components/payment-view/payment-view.component.js +38 -335
- package/esm2015/lib/components/pba-details/pba-details.component.js +3 -15
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +12 -119
- package/esm2015/lib/components/process-refund/process-refund.component.js +15 -177
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +3 -41
- package/esm2015/lib/components/refund-list/refund-list.component.js +9 -77
- package/esm2015/lib/components/refund-status/refund-status.component.js +25 -257
- package/esm2015/lib/components/reports/reports.component.js +20 -211
- package/esm2015/lib/components/service-request/service-request.component.js +35 -369
- package/esm2015/lib/components/status-history/status-history.component.js +4 -44
- package/esm2015/lib/components/table/table.component.js +5 -105
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +12 -184
- package/esm2015/lib/interfaces/AddRemissionRequest.js +1 -28
- package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +1 -15
- package/esm2015/lib/interfaces/AllocatePaymentRequest.js +1 -42
- package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +1 -26
- package/esm2015/lib/interfaces/IBSPayments.js +2 -45
- package/esm2015/lib/interfaces/ICardDetails.js +2 -21
- package/esm2015/lib/interfaces/IFee.js +2 -53
- package/esm2015/lib/interfaces/IOrderReferenceFee.js +2 -25
- package/esm2015/lib/interfaces/IPatchRefundAction.js +2 -15
- package/esm2015/lib/interfaces/IPayment.js +2 -65
- package/esm2015/lib/interfaces/IPaymentFailure.js +2 -33
- package/esm2015/lib/interfaces/IPaymentGroup.js +2 -19
- package/esm2015/lib/interfaces/IPaymentStatus.js +1 -25
- package/esm2015/lib/interfaces/IPaymentView.js +2 -17
- package/esm2015/lib/interfaces/IPayments.js +2 -13
- package/esm2015/lib/interfaces/IRefundAction.js +2 -15
- package/esm2015/lib/interfaces/IRefundList.js +2 -29
- package/esm2015/lib/interfaces/IRefundReasons.js +2 -19
- package/esm2015/lib/interfaces/IRefundRejectReason.js +2 -15
- package/esm2015/lib/interfaces/IRefundStatus.js +2 -23
- package/esm2015/lib/interfaces/IRefundStatusHistory.js +2 -15
- package/esm2015/lib/interfaces/IRemission.js +2 -25
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +1 -15
- package/esm2015/lib/interfaces/IStatusHistories.js +2 -19
- package/esm2015/lib/interfaces/IStatusHistory.js +2 -21
- package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +1 -16
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +1 -23
- package/esm2015/lib/interfaces/IssueRefundRequest.js +1 -18
- package/esm2015/lib/interfaces/PayhubAntennaRequest.js +2 -21
- package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +2 -27
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +1 -12
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +1 -15
- package/esm2015/lib/interfaces/RefundsRequest.js +1 -15
- package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +1 -20
- package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +1 -29
- package/esm2015/lib/payment-lib.component.js +2 -147
- package/esm2015/lib/payment-lib.module.js +1 -5
- package/esm2015/lib/payment-lib.service.js +2 -45
- package/esm2015/lib/pipes/capitalize.pipe.js +1 -11
- package/esm2015/lib/pipes/ccd-hyphens.pipe.js +1 -12
- package/esm2015/lib/pipes/key-value.pipe.js +1 -11
- package/esm2015/lib/pipes/sanitize-html.pipe.js +1 -20
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +9 -102
- package/esm2015/lib/services/card-details/card-details.service.js +2 -39
- package/esm2015/lib/services/case-transactions/case-transactions.service.js +2 -39
- package/esm2015/lib/services/orderslist.service.js +2 -251
- package/esm2015/lib/services/payment-list/payment-list.service.js +2 -42
- package/esm2015/lib/services/payment-view/payment-view.service.js +3 -168
- package/esm2015/lib/services/refunds/refunds.service.js +7 -109
- package/esm2015/lib/services/shared/error-handler.service.js +4 -21
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +6 -82
- package/esm2015/lib/services/shared/logger/console-logger.service.js +3 -27
- package/esm2015/lib/services/shared/logger/logger.service.js +3 -35
- package/esm2015/lib/services/status-history/status-history.service.js +2 -40
- package/esm2015/lib/services/xl-file/xl-file.service.js +2 -60
- package/esm2015/public_api.js +4 -8
- package/fesm2015/hmcts-ccpay-web-component.js +546 -3547
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +1 -0
- package/hmcts-ccpay-web-component.d.ts.map +1 -0
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +1 -0
- package/lib/components/add-remission/add-remission.component.d.ts.map +1 -0
- package/lib/components/add-remission/add-remission.component.ngfactory.d.ts.map +1 -0
- package/lib/components/add-remission/add-remission.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +1 -0
- package/lib/components/allocate-payments/allocate-payments.component.d.ts.map +1 -0
- package/lib/components/allocate-payments/allocate-payments.component.ngfactory.d.ts.map +1 -0
- package/lib/components/allocate-payments/allocate-payments.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/card-details/card-details.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/card-details/card-details.component.d.ts +2 -1
- package/lib/components/card-details/card-details.component.d.ts.map +1 -0
- package/lib/components/card-details/card-details.component.ngfactory.d.ts.map +1 -0
- package/lib/components/case-transactions/case-transactions.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/case-transactions/case-transactions.component.d.ts +2 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts.map +1 -0
- package/lib/components/case-transactions/case-transactions.component.ngfactory.d.ts.map +1 -0
- package/lib/components/error-banner/error-banner.component.d.ts +1 -0
- package/lib/components/error-banner/error-banner.component.d.ts.map +1 -0
- package/lib/components/error-banner/error-banner.component.ngfactory.d.ts.map +1 -0
- package/lib/components/error-banner/error-banner.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/fee-summary/fee-summary.component.d.ts +1 -0
- package/lib/components/fee-summary/fee-summary.component.d.ts.map +1 -0
- package/lib/components/fee-summary/fee-summary.component.ngfactory.d.ts.map +1 -0
- package/lib/components/fee-summary/fee-summary.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +1 -0
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts.map +1 -0
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.ngfactory.d.ts.map +1 -0
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +1 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts.map +1 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.ngfactory.d.ts.map +1 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/page-not-found.component.d.ts +1 -0
- package/lib/components/page-not-found.component.d.ts.map +1 -0
- package/lib/components/page-not-found.component.ngfactory.d.ts.map +1 -0
- package/lib/components/payment-list/payment-list.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/payment-list/payment-list.component.d.ts +1 -0
- package/lib/components/payment-list/payment-list.component.d.ts.map +1 -0
- package/lib/components/payment-list/payment-list.component.ngfactory.d.ts.map +1 -0
- package/lib/components/payment-view/payment-view.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/payment-view/payment-view.component.d.ts +3 -2
- package/lib/components/payment-view/payment-view.component.d.ts.map +1 -0
- package/lib/components/payment-view/payment-view.component.ngfactory.d.ts.map +1 -0
- package/lib/components/pba-details/pba-details.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/pba-details/pba-details.component.d.ts +1 -0
- package/lib/components/pba-details/pba-details.component.d.ts.map +1 -0
- package/lib/components/pba-details/pba-details.component.ngfactory.d.ts.map +1 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts +1 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts.map +1 -0
- package/lib/components/pba-payment/pba-payment.component.ngfactory.d.ts.map +1 -0
- package/lib/components/pba-payment/pba-payment.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/process-refund/process-refund.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/process-refund/process-refund.component.d.ts +1 -0
- package/lib/components/process-refund/process-refund.component.d.ts.map +1 -0
- package/lib/components/process-refund/process-refund.component.ngfactory.d.ts.map +1 -0
- package/lib/components/processed-payments/processed-payments.component.d.ts +1 -0
- package/lib/components/processed-payments/processed-payments.component.d.ts.map +1 -0
- package/lib/components/processed-payments/processed-payments.component.ngfactory.d.ts.map +1 -0
- package/lib/components/processed-payments/processed-payments.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/refund-list/refund-list.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/refund-list/refund-list.component.d.ts +1 -0
- package/lib/components/refund-list/refund-list.component.d.ts.map +1 -0
- package/lib/components/refund-list/refund-list.component.ngfactory.d.ts.map +1 -0
- package/lib/components/refund-status/refund-status.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/refund-status/refund-status.component.d.ts +2 -1
- package/lib/components/refund-status/refund-status.component.d.ts.map +1 -0
- package/lib/components/refund-status/refund-status.component.ngfactory.d.ts.map +1 -0
- package/lib/components/reports/reports.component.d.ts +1 -0
- package/lib/components/reports/reports.component.d.ts.map +1 -0
- package/lib/components/reports/reports.component.ngfactory.d.ts.map +1 -0
- package/lib/components/reports/reports.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/service-request/service-request.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/service-request/service-request.component.d.ts +1 -0
- package/lib/components/service-request/service-request.component.d.ts.map +1 -0
- package/lib/components/service-request/service-request.component.ngfactory.d.ts.map +1 -0
- package/lib/components/status-history/status-history.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/status-history/status-history.component.d.ts +1 -0
- package/lib/components/status-history/status-history.component.d.ts.map +1 -0
- package/lib/components/status-history/status-history.component.ngfactory.d.ts.map +1 -0
- package/lib/components/table/table.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/table/table.component.d.ts +1 -0
- package/lib/components/table/table.component.d.ts.map +1 -0
- package/lib/components/table/table.component.ngfactory.d.ts.map +1 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +1 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts.map +1 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.ngfactory.d.ts.map +1 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/interfaces/AddRemissionRequest.d.ts +1 -0
- package/lib/interfaces/AddRemissionRequest.d.ts.map +1 -0
- package/lib/interfaces/AddRetroRemissionRequest.d.ts +1 -0
- package/lib/interfaces/AddRetroRemissionRequest.d.ts.map +1 -0
- package/lib/interfaces/AllocatePaymentRequest.d.ts +1 -0
- package/lib/interfaces/AllocatePaymentRequest.d.ts.map +1 -0
- package/lib/interfaces/IAllocationPaymentsRequest.d.ts +1 -0
- package/lib/interfaces/IAllocationPaymentsRequest.d.ts.map +1 -0
- package/lib/interfaces/IBSPayments.d.ts +1 -0
- package/lib/interfaces/IBSPayments.d.ts.map +1 -0
- package/lib/interfaces/ICardDetails.d.ts +1 -0
- package/lib/interfaces/ICardDetails.d.ts.map +1 -0
- package/lib/interfaces/IFee.d.ts +1 -0
- package/lib/interfaces/IFee.d.ts.map +1 -0
- package/lib/interfaces/IOrderReferenceFee.d.ts +1 -0
- package/lib/interfaces/IOrderReferenceFee.d.ts.map +1 -0
- package/lib/interfaces/IPatchRefundAction.d.ts +1 -0
- package/lib/interfaces/IPatchRefundAction.d.ts.map +1 -0
- package/lib/interfaces/IPayment.d.ts +1 -0
- package/lib/interfaces/IPayment.d.ts.map +1 -0
- package/lib/interfaces/IPaymentFailure.d.ts +1 -0
- package/lib/interfaces/IPaymentFailure.d.ts.map +1 -0
- package/lib/interfaces/IPaymentGroup.d.ts +1 -0
- package/lib/interfaces/IPaymentGroup.d.ts.map +1 -0
- package/lib/interfaces/IPaymentStatus.d.ts +1 -0
- package/lib/interfaces/IPaymentStatus.d.ts.map +1 -0
- package/lib/interfaces/IPaymentView.d.ts +1 -0
- package/lib/interfaces/IPaymentView.d.ts.map +1 -0
- package/lib/interfaces/IPayments.d.ts +1 -0
- package/lib/interfaces/IPayments.d.ts.map +1 -0
- package/lib/interfaces/IRefundAction.d.ts +1 -0
- package/lib/interfaces/IRefundAction.d.ts.map +1 -0
- package/lib/interfaces/IRefundList.d.ts +1 -0
- package/lib/interfaces/IRefundList.d.ts.map +1 -0
- package/lib/interfaces/IRefundReasons.d.ts +1 -0
- package/lib/interfaces/IRefundReasons.d.ts.map +1 -0
- package/lib/interfaces/IRefundRejectReason.d.ts +1 -0
- package/lib/interfaces/IRefundRejectReason.d.ts.map +1 -0
- package/lib/interfaces/IRefundStatus.d.ts +1 -0
- package/lib/interfaces/IRefundStatus.d.ts.map +1 -0
- package/lib/interfaces/IRefundStatusHistory.d.ts +1 -0
- package/lib/interfaces/IRefundStatusHistory.d.ts.map +1 -0
- package/lib/interfaces/IRemission.d.ts +1 -0
- package/lib/interfaces/IRemission.d.ts.map +1 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts +1 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts.map +1 -0
- package/lib/interfaces/IStatusHistories.d.ts +1 -0
- package/lib/interfaces/IStatusHistories.d.ts.map +1 -0
- package/lib/interfaces/IStatusHistory.d.ts +1 -0
- package/lib/interfaces/IStatusHistory.d.ts.map +1 -0
- package/lib/interfaces/IserviceRequestCardPayment.d.ts +1 -0
- package/lib/interfaces/IserviceRequestCardPayment.d.ts.map +1 -0
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +1 -0
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts.map +1 -0
- package/lib/interfaces/IssueRefundRequest.d.ts +1 -0
- package/lib/interfaces/IssueRefundRequest.d.ts.map +1 -0
- package/lib/interfaces/PayhubAntennaRequest.d.ts +1 -0
- package/lib/interfaces/PayhubAntennaRequest.d.ts.map +1 -0
- package/lib/interfaces/PaymentToPayhubRequest.d.ts +1 -0
- package/lib/interfaces/PaymentToPayhubRequest.d.ts.map +1 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +1 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts.map +1 -0
- package/lib/interfaces/PostRefundRetroRemission.d.ts +1 -0
- package/lib/interfaces/PostRefundRetroRemission.d.ts.map +1 -0
- package/lib/interfaces/RefundsRequest.d.ts +1 -0
- package/lib/interfaces/RefundsRequest.d.ts.map +1 -0
- package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +1 -0
- package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts.map +1 -0
- package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +1 -0
- package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts.map +1 -0
- package/lib/payment-lib.component.d.ts +1 -0
- package/lib/payment-lib.component.d.ts.map +1 -0
- package/lib/payment-lib.component.ngfactory.d.ts.map +1 -0
- package/lib/payment-lib.module.d.ts +1 -0
- package/lib/payment-lib.module.d.ts.map +1 -0
- package/lib/payment-lib.module.ngfactory.d.ts.map +1 -0
- package/lib/payment-lib.service.d.ts +1 -0
- package/lib/payment-lib.service.d.ts.map +1 -0
- package/lib/payment-lib.service.ngfactory.d.ts.map +1 -0
- package/lib/pipes/capitalize.pipe.d.ts +1 -0
- package/lib/pipes/capitalize.pipe.d.ts.map +1 -0
- package/lib/pipes/capitalize.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/ccd-hyphens.pipe.d.ts +1 -0
- package/lib/pipes/ccd-hyphens.pipe.d.ts.map +1 -0
- package/lib/pipes/ccd-hyphens.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/key-value.pipe.d.ts +1 -0
- package/lib/pipes/key-value.pipe.d.ts.map +1 -0
- package/lib/pipes/key-value.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +1 -0
- package/lib/pipes/sanitize-html.pipe.d.ts.map +1 -0
- package/lib/pipes/sanitize-html.pipe.ngfactory.d.ts.map +1 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +1 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts.map +1 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.ngfactory.d.ts.map +1 -0
- package/lib/services/card-details/card-details.service.d.ts +1 -0
- package/lib/services/card-details/card-details.service.d.ts.map +1 -0
- package/lib/services/card-details/card-details.service.ngfactory.d.ts.map +1 -0
- package/lib/services/case-transactions/case-transactions.service.d.ts +1 -0
- package/lib/services/case-transactions/case-transactions.service.d.ts.map +1 -0
- package/lib/services/case-transactions/case-transactions.service.ngfactory.d.ts.map +1 -0
- package/lib/services/orderslist.service.d.ts +1 -0
- package/lib/services/orderslist.service.d.ts.map +1 -0
- package/lib/services/orderslist.service.ngfactory.d.ts.map +1 -0
- package/lib/services/payment-list/payment-list.service.d.ts +1 -0
- package/lib/services/payment-list/payment-list.service.d.ts.map +1 -0
- package/lib/services/payment-list/payment-list.service.ngfactory.d.ts.map +1 -0
- package/lib/services/payment-view/payment-view.service.d.ts +1 -0
- package/lib/services/payment-view/payment-view.service.d.ts.map +1 -0
- package/lib/services/payment-view/payment-view.service.ngfactory.d.ts.map +1 -0
- package/lib/services/refunds/refunds.service.d.ts +1 -0
- package/lib/services/refunds/refunds.service.d.ts.map +1 -0
- package/lib/services/refunds/refunds.service.ngfactory.d.ts.map +1 -0
- package/lib/services/shared/error-handler.service.d.ts +2 -1
- package/lib/services/shared/error-handler.service.d.ts.map +1 -0
- package/lib/services/shared/error-handler.service.ngfactory.d.ts.map +1 -0
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +1 -0
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts.map +1 -0
- package/lib/services/shared/httpclient/webcomponent.http.client.ngfactory.d.ts.map +1 -0
- package/lib/services/shared/logger/console-logger.service.d.ts +4 -3
- package/lib/services/shared/logger/console-logger.service.d.ts.map +1 -0
- package/lib/services/shared/logger/console-logger.service.ngfactory.d.ts.map +1 -0
- package/lib/services/shared/logger/logger.service.d.ts +1 -0
- package/lib/services/shared/logger/logger.service.d.ts.map +1 -0
- package/lib/services/shared/logger/logger.service.ngfactory.d.ts.map +1 -0
- package/lib/services/status-history/status-history.service.d.ts +1 -0
- package/lib/services/status-history/status-history.service.d.ts.map +1 -0
- package/lib/services/status-history/status-history.service.ngfactory.d.ts.map +1 -0
- package/lib/services/xl-file/xl-file.service.d.ts +1 -0
- package/lib/services/xl-file/xl-file.service.d.ts.map +1 -0
- package/lib/services/xl-file/xl-file.service.ngfactory.d.ts.map +1 -0
- package/package.json +6 -8
- package/public_api.d.ts +1 -0
- package/public_api.d.ts.map +1 -0
- package/esm5/hmcts-ccpay-web-component.js +0 -48
- package/esm5/lib/components/add-remission/add-remission.component.js +0 -1146
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +0 -745
- package/esm5/lib/components/card-details/card-details.component.js +0 -77
- package/esm5/lib/components/case-transactions/case-transactions.component.js +0 -1444
- package/esm5/lib/components/error-banner/error-banner.component.js +0 -36
- package/esm5/lib/components/fee-summary/fee-summary.component.js +0 -504
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -371
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -474
- package/esm5/lib/components/page-not-found.component.js +0 -17
- package/esm5/lib/components/payment-list/payment-list.component.js +0 -83
- package/esm5/lib/components/payment-view/payment-view.component.js +0 -673
- package/esm5/lib/components/pba-details/pba-details.component.js +0 -36
- package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -269
- package/esm5/lib/components/process-refund/process-refund.component.js +0 -536
- package/esm5/lib/components/processed-payments/processed-payments.component.js +0 -83
- package/esm5/lib/components/refund-list/refund-list.component.js +0 -130
- package/esm5/lib/components/refund-status/refund-status.component.js +0 -554
- package/esm5/lib/components/reports/reports.component.js +0 -515
- package/esm5/lib/components/service-request/service-request.component.js +0 -690
- package/esm5/lib/components/status-history/status-history.component.js +0 -70
- package/esm5/lib/components/table/table.component.js +0 -229
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -418
- package/esm5/lib/interfaces/AddRemissionRequest.js +0 -32
- package/esm5/lib/interfaces/AddRetroRemissionRequest.js +0 -19
- package/esm5/lib/interfaces/AllocatePaymentRequest.js +0 -63
- package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +0 -34
- package/esm5/lib/interfaces/IBSPayments.js +0 -45
- package/esm5/lib/interfaces/ICardDetails.js +0 -21
- package/esm5/lib/interfaces/IFee.js +0 -53
- package/esm5/lib/interfaces/IOrderReferenceFee.js +0 -25
- package/esm5/lib/interfaces/IPatchRefundAction.js +0 -15
- package/esm5/lib/interfaces/IPayment.js +0 -65
- package/esm5/lib/interfaces/IPaymentFailure.js +0 -33
- package/esm5/lib/interfaces/IPaymentGroup.js +0 -19
- package/esm5/lib/interfaces/IPaymentStatus.js +0 -31
- package/esm5/lib/interfaces/IPaymentView.js +0 -17
- package/esm5/lib/interfaces/IPayments.js +0 -13
- package/esm5/lib/interfaces/IRefundAction.js +0 -15
- package/esm5/lib/interfaces/IRefundList.js +0 -29
- package/esm5/lib/interfaces/IRefundReasons.js +0 -19
- package/esm5/lib/interfaces/IRefundRejectReason.js +0 -15
- package/esm5/lib/interfaces/IRefundStatus.js +0 -23
- package/esm5/lib/interfaces/IRefundStatusHistory.js +0 -15
- package/esm5/lib/interfaces/IRemission.js +0 -25
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +0 -19
- package/esm5/lib/interfaces/IStatusHistories.js +0 -19
- package/esm5/lib/interfaces/IStatusHistory.js +0 -21
- package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -22
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
- package/esm5/lib/interfaces/IssueRefundRequest.js +0 -22
- package/esm5/lib/interfaces/PayhubAntennaRequest.js +0 -25
- package/esm5/lib/interfaces/PaymentToPayhubRequest.js +0 -34
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +0 -16
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +0 -19
- package/esm5/lib/interfaces/RefundsRequest.js +0 -19
- package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -28
- package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -37
- package/esm5/lib/payment-lib.component.js +0 -237
- package/esm5/lib/payment-lib.module.js +0 -103
- package/esm5/lib/payment-lib.service.js +0 -111
- package/esm5/lib/pipes/capitalize.pipe.js +0 -32
- package/esm5/lib/pipes/ccd-hyphens.pipe.js +0 -37
- package/esm5/lib/pipes/key-value.pipe.js +0 -37
- package/esm5/lib/pipes/sanitize-html.pipe.js +0 -39
- package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -218
- package/esm5/lib/services/card-details/card-details.service.js +0 -76
- package/esm5/lib/services/case-transactions/case-transactions.service.js +0 -76
- package/esm5/lib/services/orderslist.service.js +0 -531
- package/esm5/lib/services/payment-list/payment-list.service.js +0 -80
- package/esm5/lib/services/payment-view/payment-view.service.js +0 -416
- package/esm5/lib/services/refunds/refunds.service.js +0 -256
- package/esm5/lib/services/shared/error-handler.service.js +0 -127
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +0 -167
- package/esm5/lib/services/shared/logger/console-logger.service.js +0 -88
- package/esm5/lib/services/shared/logger/logger.service.js +0 -68
- package/esm5/lib/services/status-history/status-history.service.js +0 -80
- package/esm5/lib/services/xl-file/xl-file.service.js +0 -254
- package/esm5/public_api.js +0 -11
- package/fesm5/hmcts-ccpay-web-component.js +0 -10017
- package/fesm5/hmcts-ccpay-web-component.js.map +0 -1
|
@@ -1,690 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
7
|
-
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
8
|
-
import { Router } from '@angular/router';
|
|
9
|
-
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
10
|
-
import { OrderslistService } from '../../services/orderslist.service';
|
|
11
|
-
var ServiceRequestComponent = /** @class */ (function () {
|
|
12
|
-
function ServiceRequestComponent(paymentLibComponent, paymentViewService, OrderslistService, router) {
|
|
13
|
-
var _this = this;
|
|
14
|
-
this.paymentLibComponent = paymentLibComponent;
|
|
15
|
-
this.paymentViewService = paymentViewService;
|
|
16
|
-
this.OrderslistService = OrderslistService;
|
|
17
|
-
this.router = router;
|
|
18
|
-
this.goToServiceRquestComponent = new EventEmitter();
|
|
19
|
-
this.paymentGroups = [];
|
|
20
|
-
this.payments = [];
|
|
21
|
-
this.nonPayments = [];
|
|
22
|
-
this.allPayments = [];
|
|
23
|
-
this.remissions = [];
|
|
24
|
-
this.fees = [];
|
|
25
|
-
this.isRefundRemission = true;
|
|
26
|
-
this.isAddFeeBtnEnabled = true;
|
|
27
|
-
this.isExceptionRecord = false;
|
|
28
|
-
this.isUnprocessedRecordSelected = false;
|
|
29
|
-
this.isAnyFeeGroupAvilable = true;
|
|
30
|
-
this.isHistoricGroupAvailable = false;
|
|
31
|
-
this.isRemoveBtnDisabled = false;
|
|
32
|
-
this.clAmountDue = 0;
|
|
33
|
-
this.isFeeRecordsExist = false;
|
|
34
|
-
this.isGrpOutstandingAmtPositive = false;
|
|
35
|
-
this.isAddRemissionEnable = false;
|
|
36
|
-
this.orderRemissionDetails = [];
|
|
37
|
-
this.orderLevelFees = [];
|
|
38
|
-
this.cpoDetails = null;
|
|
39
|
-
this.isPBA = false;
|
|
40
|
-
this.isIssueRefunfBtnEnable = false;
|
|
41
|
-
this.isAddRemissionBtnEnabled = false;
|
|
42
|
-
this.isRefundRemissionBtnEnable = false;
|
|
43
|
-
this.allowedRolesToAccessRefund = ['payments-refund-approver', 'payments-refund'];
|
|
44
|
-
this.check4AllowedRoles2AccessRefund = (/**
|
|
45
|
-
* @return {?}
|
|
46
|
-
*/
|
|
47
|
-
function () {
|
|
48
|
-
return _this.allowedRolesToAccessRefund.some((/**
|
|
49
|
-
* @param {?} role
|
|
50
|
-
* @return {?}
|
|
51
|
-
*/
|
|
52
|
-
function (role) {
|
|
53
|
-
return _this.LOGGEDINUSERROLES.indexOf(role) !== -1;
|
|
54
|
-
}));
|
|
55
|
-
});
|
|
56
|
-
this.allowFurtherAccessAfter4Days = (/**
|
|
57
|
-
* @param {?} payment
|
|
58
|
-
* @return {?}
|
|
59
|
-
*/
|
|
60
|
-
function (payment) {
|
|
61
|
-
if (payment !== null && payment !== undefined) {
|
|
62
|
-
/** @type {?} */
|
|
63
|
-
var tmp4DayAgo = new Date();
|
|
64
|
-
tmp4DayAgo.setDate(tmp4DayAgo.getDate() - 4);
|
|
65
|
-
return tmp4DayAgo >= new Date(payment.date_created);
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* @return {?}
|
|
71
|
-
*/
|
|
72
|
-
ServiceRequestComponent.prototype.ngOnInit = /**
|
|
73
|
-
* @return {?}
|
|
74
|
-
*/
|
|
75
|
-
function () {
|
|
76
|
-
var _this = this;
|
|
77
|
-
if (this.viewStatus === undefined) {
|
|
78
|
-
this.viewStatus = this.paymentLibComponent.viewName;
|
|
79
|
-
}
|
|
80
|
-
if (this.paymentLibComponent.isFromServiceRequestPage && this.paymentLibComponent.isFromPaymentDetailPage) {
|
|
81
|
-
if (this.paymentLibComponent.isFromPaymentDetailPage && this.paymentLibComponent.isFromServiceRequestPage) {
|
|
82
|
-
this.OrderslistService.getorderRefs().subscribe((/**
|
|
83
|
-
* @param {?} data
|
|
84
|
-
* @return {?}
|
|
85
|
-
*/
|
|
86
|
-
function (data) { return _this.orderRef = data; }));
|
|
87
|
-
this.OrderslistService.getorderCCDEvents().subscribe((/**
|
|
88
|
-
* @param {?} data
|
|
89
|
-
* @return {?}
|
|
90
|
-
*/
|
|
91
|
-
function (data) { return _this.orderCCDEvent = data; }));
|
|
92
|
-
this.OrderslistService.getorderCreateds().subscribe((/**
|
|
93
|
-
* @param {?} data
|
|
94
|
-
* @return {?}
|
|
95
|
-
*/
|
|
96
|
-
function (data) { return _this.orderCreated = data; }));
|
|
97
|
-
this.OrderslistService.getorderDetail().subscribe((/**
|
|
98
|
-
* @param {?} data
|
|
99
|
-
* @return {?}
|
|
100
|
-
*/
|
|
101
|
-
function (data) { return _this.orderDetail = data; }));
|
|
102
|
-
this.OrderslistService.getorderPartys().subscribe((/**
|
|
103
|
-
* @param {?} data
|
|
104
|
-
* @return {?}
|
|
105
|
-
*/
|
|
106
|
-
function (data) { return _this.orderParty = data; }));
|
|
107
|
-
this.OrderslistService.getorderRemissionTotals().subscribe((/**
|
|
108
|
-
* @param {?} data
|
|
109
|
-
* @return {?}
|
|
110
|
-
*/
|
|
111
|
-
function (data) { return _this.orderRemissionTotal = data; }));
|
|
112
|
-
this.OrderslistService.getorderFeesTotals().subscribe((/**
|
|
113
|
-
* @param {?} data
|
|
114
|
-
* @return {?}
|
|
115
|
-
*/
|
|
116
|
-
function (data) { return _this.orderFeesTotal = data; }));
|
|
117
|
-
this.OrderslistService.getoorderTotalPaymentss().subscribe((/**
|
|
118
|
-
* @param {?} data
|
|
119
|
-
* @return {?}
|
|
120
|
-
*/
|
|
121
|
-
function (data) { return _this.orderTotalPayments = data; }));
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
// if (this.takePayment) {
|
|
125
|
-
// this.paymentLibComponent.TAKEPAYMENT = this.takePayment;
|
|
126
|
-
// }
|
|
127
|
-
};
|
|
128
|
-
/**
|
|
129
|
-
* @return {?}
|
|
130
|
-
*/
|
|
131
|
-
ServiceRequestComponent.prototype.goToServiceRequestPage = /**
|
|
132
|
-
* @return {?}
|
|
133
|
-
*/
|
|
134
|
-
function () {
|
|
135
|
-
this.goToServiceRquestComponent.emit();
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* @param {?} event
|
|
139
|
-
* @return {?}
|
|
140
|
-
*/
|
|
141
|
-
ServiceRequestComponent.prototype.goToCaseTransationPage = /**
|
|
142
|
-
* @param {?} event
|
|
143
|
-
* @return {?}
|
|
144
|
-
*/
|
|
145
|
-
function (event) {
|
|
146
|
-
event.preventDefault();
|
|
147
|
-
this.OrderslistService.setnavigationPage('servicerequestpage');
|
|
148
|
-
this.OrderslistService.setisFromServiceRequestPage(false);
|
|
149
|
-
this.paymentLibComponent.viewName = 'case-transactions';
|
|
150
|
-
this.paymentLibComponent.ISBSENABLE = true;
|
|
151
|
-
this.paymentLibComponent.isTakePayment = this.paymentLibComponent.TAKEPAYMENT;
|
|
152
|
-
if (this.takePayment) {
|
|
153
|
-
this.paymentLibComponent.isTakePayment = this.takePayment;
|
|
154
|
-
}
|
|
155
|
-
this.paymentLibComponent.SERVICEREQUEST = "true";
|
|
156
|
-
this.paymentLibComponent.isFromServiceRequestPage = false;
|
|
157
|
-
if (this.isServiceRequest !== 'false') {
|
|
158
|
-
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
159
|
-
}
|
|
160
|
-
this.paymentLibComponent.isFromRefundStatusPage = false;
|
|
161
|
-
this.paymentLibComponent.viewName = 'case-transactions';
|
|
162
|
-
this.resetOrderData();
|
|
163
|
-
/** @type {?} */
|
|
164
|
-
var partUrl = this.paymentLibComponent.ISBSENABLE ? '&isBulkScanning=Enable' : '&isBulkScanning=Disable';
|
|
165
|
-
partUrl += this.paymentLibComponent.ISTURNOFF ? '&isTurnOff=Enable' : '&isTurnOff=Disable';
|
|
166
|
-
if (this.isServiceRequest === 'false') {
|
|
167
|
-
partUrl += this.paymentLibComponent.TAKEPAYMENT ? '&takePayment=true' : '&takePayment=false';
|
|
168
|
-
}
|
|
169
|
-
partUrl += this.isStrategicFixEnable ? '&isStFixEnable=Enable' : '&isStFixEnable=Disable';
|
|
170
|
-
partUrl += this.isServiceRequest !== 'false' ? '&servicerequest=true' : '&servicerequest=false';
|
|
171
|
-
partUrl += "&caseType=" + this.paymentLibComponent.CASETYPE;
|
|
172
|
-
/** @type {?} */
|
|
173
|
-
var url = "/payment-history/" + this.paymentLibComponent.CCD_CASE_NUMBER + "?view=case-transactions&selectedOption=" + this.paymentLibComponent.SELECTED_OPTION + partUrl;
|
|
174
|
-
this.router.routeReuseStrategy.shouldReuseRoute = (/**
|
|
175
|
-
* @return {?}
|
|
176
|
-
*/
|
|
177
|
-
function () { return false; });
|
|
178
|
-
this.router.onSameUrlNavigation = 'reload';
|
|
179
|
-
this.router.navigateByUrl(url);
|
|
180
|
-
};
|
|
181
|
-
/**
|
|
182
|
-
* @param {?} feeCode
|
|
183
|
-
* @return {?}
|
|
184
|
-
*/
|
|
185
|
-
ServiceRequestComponent.prototype.chkForAddRemission = /**
|
|
186
|
-
* @param {?} feeCode
|
|
187
|
-
* @return {?}
|
|
188
|
-
*/
|
|
189
|
-
function (feeCode) {
|
|
190
|
-
var e_1, _a;
|
|
191
|
-
if (this.chkForPBAPayment() && this.check4AllowedRoles2AccessRefund()) {
|
|
192
|
-
if (this.orderDetail[0]['remissions'].length > 0) {
|
|
193
|
-
try {
|
|
194
|
-
for (var _b = tslib_1.__values(this.orderDetail[0]['remissions']), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
195
|
-
var remission = _c.value;
|
|
196
|
-
if (remission.fee_code === feeCode) {
|
|
197
|
-
return false;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
202
|
-
finally {
|
|
203
|
-
try {
|
|
204
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
205
|
-
}
|
|
206
|
-
finally { if (e_1) throw e_1.error; }
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
return true;
|
|
210
|
-
}
|
|
211
|
-
else {
|
|
212
|
-
return false;
|
|
213
|
-
}
|
|
214
|
-
};
|
|
215
|
-
/**
|
|
216
|
-
* @return {?}
|
|
217
|
-
*/
|
|
218
|
-
ServiceRequestComponent.prototype.chkForPBAPayment = /**
|
|
219
|
-
* @return {?}
|
|
220
|
-
*/
|
|
221
|
-
function () {
|
|
222
|
-
var _this = this;
|
|
223
|
-
if (this.orderDetail !== null && this.orderDetail !== undefined) {
|
|
224
|
-
this.orderDetail.forEach((/**
|
|
225
|
-
* @param {?} orderDetail
|
|
226
|
-
* @return {?}
|
|
227
|
-
*/
|
|
228
|
-
function (orderDetail) {
|
|
229
|
-
if (orderDetail.payments) {
|
|
230
|
-
orderDetail.payments.forEach((/**
|
|
231
|
-
* @param {?} payment
|
|
232
|
-
* @return {?}
|
|
233
|
-
*/
|
|
234
|
-
function (payment) {
|
|
235
|
-
if (payment.method.toLocaleLowerCase() === 'payment by account' && _this.allowFurtherAccessAfter4Days(payment)) {
|
|
236
|
-
_this.paymentLibComponent.paymentReference = payment.reference;
|
|
237
|
-
_this.isPBA = true;
|
|
238
|
-
}
|
|
239
|
-
}));
|
|
240
|
-
}
|
|
241
|
-
}));
|
|
242
|
-
if (this.isPBA) {
|
|
243
|
-
return true;
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
return false;
|
|
247
|
-
}
|
|
248
|
-
;
|
|
249
|
-
}
|
|
250
|
-
};
|
|
251
|
-
/**
|
|
252
|
-
* @param {?} fee
|
|
253
|
-
* @return {?}
|
|
254
|
-
*/
|
|
255
|
-
ServiceRequestComponent.prototype.addRemission = /**
|
|
256
|
-
* @param {?} fee
|
|
257
|
-
* @return {?}
|
|
258
|
-
*/
|
|
259
|
-
function (fee) {
|
|
260
|
-
var _this = this;
|
|
261
|
-
if (this.chkForAddRemission(fee.code)) {
|
|
262
|
-
this.feeId = fee;
|
|
263
|
-
this.viewStatus = 'addremission';
|
|
264
|
-
this.payment = this.orderDetail[0].payments[0];
|
|
265
|
-
this.paymentViewService.getApportionPaymentDetails(this.orderDetail[0].payments[0].reference).subscribe((/**
|
|
266
|
-
* @param {?} paymentGroup
|
|
267
|
-
* @return {?}
|
|
268
|
-
*/
|
|
269
|
-
function (paymentGroup) {
|
|
270
|
-
_this.paymentGroup = paymentGroup;
|
|
271
|
-
_this.paymentGroup.payments = _this.paymentGroup.payments.filter((/**
|
|
272
|
-
* @param {?} paymentGroupObj
|
|
273
|
-
* @return {?}
|
|
274
|
-
*/
|
|
275
|
-
function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.paymentLibComponent.paymentReference); }));
|
|
276
|
-
_this.payment = _this.paymentGroup.payments[0];
|
|
277
|
-
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
278
|
-
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
279
|
-
}), (/**
|
|
280
|
-
* @param {?} error
|
|
281
|
-
* @return {?}
|
|
282
|
-
*/
|
|
283
|
-
function (error) { return _this.errorMessage = error.replace(/"/g, ""); }));
|
|
284
|
-
}
|
|
285
|
-
};
|
|
286
|
-
/**
|
|
287
|
-
* @param {?} payment
|
|
288
|
-
* @param {?} remission
|
|
289
|
-
* @param {?} fees
|
|
290
|
-
* @return {?}
|
|
291
|
-
*/
|
|
292
|
-
ServiceRequestComponent.prototype.addRefundForRemission = /**
|
|
293
|
-
* @param {?} payment
|
|
294
|
-
* @param {?} remission
|
|
295
|
-
* @param {?} fees
|
|
296
|
-
* @return {?}
|
|
297
|
-
*/
|
|
298
|
-
function (payment, remission, fees) {
|
|
299
|
-
var _this = this;
|
|
300
|
-
this.viewStatus = 'addrefundforremission';
|
|
301
|
-
this.payment = payment;
|
|
302
|
-
this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe((/**
|
|
303
|
-
* @param {?} paymentGroup
|
|
304
|
-
* @return {?}
|
|
305
|
-
*/
|
|
306
|
-
function (paymentGroup) {
|
|
307
|
-
_this.paymentGroup = paymentGroup;
|
|
308
|
-
_this.paymentGroup.payments = _this.paymentGroup.payments.filter((/**
|
|
309
|
-
* @param {?} paymentGroupObj
|
|
310
|
-
* @return {?}
|
|
311
|
-
*/
|
|
312
|
-
function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
|
|
313
|
-
_this.payment = _this.paymentGroup.payments[0];
|
|
314
|
-
_this.remissions = remission;
|
|
315
|
-
_this.remissionFeeAmt = fees.filter((/**
|
|
316
|
-
* @param {?} data
|
|
317
|
-
* @return {?}
|
|
318
|
-
*/
|
|
319
|
-
function (data) { return data.code === _this.remissions['fee_code']; }))[0].net_amount;
|
|
320
|
-
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
321
|
-
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
322
|
-
}), (/**
|
|
323
|
-
* @param {?} error
|
|
324
|
-
* @return {?}
|
|
325
|
-
*/
|
|
326
|
-
function (error) { return _this.errorMessage = error; }));
|
|
327
|
-
};
|
|
328
|
-
/**
|
|
329
|
-
* @return {?}
|
|
330
|
-
*/
|
|
331
|
-
ServiceRequestComponent.prototype.cancelRemoval = /**
|
|
332
|
-
* @return {?}
|
|
333
|
-
*/
|
|
334
|
-
function () {
|
|
335
|
-
this.viewStatus = 'main';
|
|
336
|
-
};
|
|
337
|
-
/**
|
|
338
|
-
* @param {?} fee
|
|
339
|
-
* @return {?}
|
|
340
|
-
*/
|
|
341
|
-
ServiceRequestComponent.prototype.removeFee = /**
|
|
342
|
-
* @param {?} fee
|
|
343
|
-
* @return {?}
|
|
344
|
-
*/
|
|
345
|
-
function (fee) {
|
|
346
|
-
var _this = this;
|
|
347
|
-
this.isRemoveBtnDisabled = true;
|
|
348
|
-
this.paymentViewService.deleteFeeFromPaymentGroup(fee).subscribe((/**
|
|
349
|
-
* @param {?} success
|
|
350
|
-
* @return {?}
|
|
351
|
-
*/
|
|
352
|
-
function (success) {
|
|
353
|
-
window.location.reload();
|
|
354
|
-
}), (/**
|
|
355
|
-
* @param {?} error
|
|
356
|
-
* @return {?}
|
|
357
|
-
*/
|
|
358
|
-
function (error) {
|
|
359
|
-
_this.errorMessage = error;
|
|
360
|
-
_this.isRemoveBtnDisabled = false;
|
|
361
|
-
}));
|
|
362
|
-
};
|
|
363
|
-
/**
|
|
364
|
-
* @param {?} payment
|
|
365
|
-
* @return {?}
|
|
366
|
-
*/
|
|
367
|
-
ServiceRequestComponent.prototype.chkIssueRefundBtnEnable = /**
|
|
368
|
-
* @param {?} payment
|
|
369
|
-
* @return {?}
|
|
370
|
-
*/
|
|
371
|
-
function (payment) {
|
|
372
|
-
if (this.check4AllowedRoles2AccessRefund() && this.allowFurtherAccessAfter4Days(payment) &&
|
|
373
|
-
payment.method === 'payment by account' && payment.status.toLocaleLowerCase() === 'success') {
|
|
374
|
-
this.isIssueRefunfBtnEnable = true;
|
|
375
|
-
}
|
|
376
|
-
if (this.isIssueRefunfBtnEnable) {
|
|
377
|
-
return true;
|
|
378
|
-
}
|
|
379
|
-
else {
|
|
380
|
-
return false;
|
|
381
|
-
}
|
|
382
|
-
;
|
|
383
|
-
};
|
|
384
|
-
/**
|
|
385
|
-
* @return {?}
|
|
386
|
-
*/
|
|
387
|
-
ServiceRequestComponent.prototype.chkIsRefundRemissionBtnEnable = /**
|
|
388
|
-
* @return {?}
|
|
389
|
-
*/
|
|
390
|
-
function () {
|
|
391
|
-
var _this = this;
|
|
392
|
-
if (this.orderDetail !== null && this.orderDetail !== undefined) {
|
|
393
|
-
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
394
|
-
this.orderDetail.forEach((/**
|
|
395
|
-
* @param {?} orderDetail
|
|
396
|
-
* @return {?}
|
|
397
|
-
*/
|
|
398
|
-
function (orderDetail) {
|
|
399
|
-
if (orderDetail.payments) {
|
|
400
|
-
orderDetail.payments.forEach((/**
|
|
401
|
-
* @param {?} payment
|
|
402
|
-
* @return {?}
|
|
403
|
-
*/
|
|
404
|
-
function (payment) {
|
|
405
|
-
if (payment.method.toLocaleLowerCase() === 'payment by account' && payment.status.toLocaleLowerCase() === 'success' && _this.allowFurtherAccessAfter4Days(payment)) {
|
|
406
|
-
_this.isRefundRemissionBtnEnable = true;
|
|
407
|
-
}
|
|
408
|
-
}));
|
|
409
|
-
}
|
|
410
|
-
}));
|
|
411
|
-
if (this.isRefundRemissionBtnEnable) {
|
|
412
|
-
return true;
|
|
413
|
-
}
|
|
414
|
-
else {
|
|
415
|
-
return false;
|
|
416
|
-
}
|
|
417
|
-
;
|
|
418
|
-
}
|
|
419
|
-
};
|
|
420
|
-
/**
|
|
421
|
-
* @param {?} payment
|
|
422
|
-
* @return {?}
|
|
423
|
-
*/
|
|
424
|
-
ServiceRequestComponent.prototype.issueRefund = /**
|
|
425
|
-
* @param {?} payment
|
|
426
|
-
* @return {?}
|
|
427
|
-
*/
|
|
428
|
-
function (payment) {
|
|
429
|
-
if (payment !== null && payment !== undefined) {
|
|
430
|
-
if (this.chkIssueRefundBtnEnable(payment)) {
|
|
431
|
-
this.viewStatus = 'issuerefund';
|
|
432
|
-
this.payment = payment;
|
|
433
|
-
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
434
|
-
this.isRefundRemission = true;
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
/**
|
|
439
|
-
* @param {?} paymentGroupReference
|
|
440
|
-
* @param {?} paymentReference
|
|
441
|
-
* @param {?} paymentMethod
|
|
442
|
-
* @return {?}
|
|
443
|
-
*/
|
|
444
|
-
ServiceRequestComponent.prototype.goToPayementView = /**
|
|
445
|
-
* @param {?} paymentGroupReference
|
|
446
|
-
* @param {?} paymentReference
|
|
447
|
-
* @param {?} paymentMethod
|
|
448
|
-
* @return {?}
|
|
449
|
-
*/
|
|
450
|
-
function (paymentGroupReference, paymentReference, paymentMethod) {
|
|
451
|
-
this.goToPaymentViewComponent({ paymentGroupReference: paymentGroupReference, paymentReference: paymentReference, paymentMethod: paymentMethod });
|
|
452
|
-
};
|
|
453
|
-
/**
|
|
454
|
-
* @param {?} paymentGroup
|
|
455
|
-
* @return {?}
|
|
456
|
-
*/
|
|
457
|
-
ServiceRequestComponent.prototype.goToPaymentViewComponent = /**
|
|
458
|
-
* @param {?} paymentGroup
|
|
459
|
-
* @return {?}
|
|
460
|
-
*/
|
|
461
|
-
function (paymentGroup) {
|
|
462
|
-
this.paymentLibComponent.paymentMethod = paymentGroup.paymentMethod;
|
|
463
|
-
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
464
|
-
this.paymentLibComponent.paymentGroupReference = paymentGroup.paymentGroupReference;
|
|
465
|
-
this.paymentLibComponent.paymentReference = paymentGroup.paymentReference;
|
|
466
|
-
this.OrderslistService.setOrderRef(this.orderRef);
|
|
467
|
-
this.OrderslistService.setorderCCDEvent(this.orderCCDEvent);
|
|
468
|
-
this.OrderslistService.setorderCreated(this.orderCreated);
|
|
469
|
-
this.OrderslistService.setorderDetail(this.orderDetail);
|
|
470
|
-
this.OrderslistService.setorderParty(this.orderParty);
|
|
471
|
-
this.OrderslistService.setorderTotalPayments(this.orderTotalPayments);
|
|
472
|
-
this.OrderslistService.setorderRemissionTotal(this.orderRemissionTotal);
|
|
473
|
-
this.OrderslistService.setorderFeesTotal(this.orderFeesTotal);
|
|
474
|
-
this.viewStatus = 'payment-view';
|
|
475
|
-
};
|
|
476
|
-
/**
|
|
477
|
-
* @return {?}
|
|
478
|
-
*/
|
|
479
|
-
ServiceRequestComponent.prototype.resetOrderData = /**
|
|
480
|
-
* @return {?}
|
|
481
|
-
*/
|
|
482
|
-
function () {
|
|
483
|
-
this.OrderslistService.setOrderRef(null);
|
|
484
|
-
this.OrderslistService.setorderCCDEvent(null);
|
|
485
|
-
this.OrderslistService.setorderCreated(null);
|
|
486
|
-
this.OrderslistService.setorderDetail(null);
|
|
487
|
-
this.OrderslistService.setorderParty(null);
|
|
488
|
-
this.OrderslistService.setorderTotalPayments(null);
|
|
489
|
-
this.OrderslistService.setorderRemissionTotal(null);
|
|
490
|
-
this.OrderslistService.setorderFeesTotal(null);
|
|
491
|
-
};
|
|
492
|
-
ServiceRequestComponent.decorators = [
|
|
493
|
-
{ type: Component, args: [{
|
|
494
|
-
selector: 'ccpay-service-request',
|
|
495
|
-
template: "<!-- Order Full View Details-->\n<ng-container *ngIf=\"viewStatus === 'order-full-view'\">\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\" *ngIf=\"isServiceRequest === 'false'\">\n <a href=\"javascript:void(0)\" (click)=\"goToCaseTransationPage($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n <li class=\"govuk-breadcrumbs__list-item\" *ngIf=\"isServiceRequest !== 'false'\">\n <a href=\"javascript:void(0)\" (click)=\"goToServiceRequestPage()\" id=\"bckLnksize\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n <div class=\"govuk-grid-column-full\">\n <div class=\"column\">\n <h1 class=\"heading-large govuk-!-margin-top-0\">Service request</h1>\n </div>\n <table >\n <tbody>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Service request reference</td>\n <td>{{orderRef}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Status</td>\n <td>{{orderStatus}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Date created</td>\n <td>{{orderCreated | date:'dd MMMM yyyy'}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Party</td>\n <td>{{orderParty}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">CCD event</td>\n <td>{{orderCCDEvent}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <div class=\"govuk-grid-column-full 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-51\" scope=\"col\" *ngIf=\"isServiceRequest === 'false'\">Fee</td>\n <td class=\"govuk-table__header col-51\" scope=\"col\" colspan=\"2\" *ngIf=\"isServiceRequest !== 'false'\">Fee</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\">Total</td>\n <td class=\"govuk-table__header\" scope=\"col\" *ngIf=\"isServiceRequest === 'false'\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngFor=\"let order of orderDetail;\">\n <tr class=\"govuk-table__row\" *ngFor=\"let fee of order.fees; let i = index;\">\n <td class=\"govuk-table__cell col-60 whitespace-inherit\" *ngIf=\"isServiceRequest === 'false'\">{{fee.description}}</td>\n <td class=\"govuk-table__cell col-60 whitespace-inherit\" colspan=\"2\" *ngIf=\"isServiceRequest !== 'false'\">{{fee.description}}</td>\n <td class=\"govuk-table__cell\">{{fee.volume? fee.volume : '-'}} X {{ fee.calculated_amount/fee.volume| currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"govuk-table__cell\">{{ fee?.net_amount | currency:'GBP':'symbol-narrow':'1.2-2' }}</td>\n <td class=\"govuk-table__cell alignright\" *ngIf=\"isServiceRequest === 'false'\">\n <button [disabled]=\"!chkForAddRemission(fee.code)\" (click)=\"addRemission(fee)\" class=\"govuk-button govuk-button--secondary\"> Add remission</button>\n </td>\n\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngFor=\"let order of orderDetail;\">\n <tr class=\"govuk-table__row\" *ngIf=\"order.fees?.length === 0\" >\n <td class=\"govuk-table__cell alignleft\" colspan=\"7\">No fees recorded</td>\n </tr>\n </tbody>\n </table>\n\n </div>\n <div class=\"maxwidth\">\n <p class=\"totalfees\">Total fees: {{orderFeesTotal | currency:'GBP':'symbol-narrow':'1.2-2' }}</p>\n </div>\n </div>\n <!-- remissions -->\n<ng-container *ngFor=\"let order of orderDetail;\" >\n <div class=\"govuk-grid-column-full order-class\" *ngIf=\"order.remissions\">\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 *ngIf=\"order.remissions?.length > 0\" class=\"govuk-table__body\" >\n <tr class=\"govuk-table__row\" *ngFor=\"let remission of order.remissions\">\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(order.payments[0],remission,order.fees)\" class=\"govuk-button govuk-button--secondary\"> Add refund</button>\n </td>\n <!-- <td class=\"govuk-table__cell refundBtn whitespace-inherit\" >\n\n </td> -->\n </tr>\n </tbody>\n\n\n </table>\n <div *ngIf=\"order.remissions?.length === 0\">\n <span >No help with fees or remissions.</span>\n </div>\n <div class=\"summarypagealign\">\n <p>Total reductions: {{orderRemissionTotal | currency:'GBP':'symbol-narrow':'1.2-2' }}</p>\n </div>\n <div class=\"summarypagealign\">\n <p class=\"summarypage\">Total fees to pay: {{(orderFeesTotal - orderRemissionTotal) | currency:'GBP':'symbol-narrow':'1.2-2' }}</p>\n </div>\n </div>\n\n\n</ng-container>\n\n\n <!--Payments-->\n <ng-container *ngFor=\"let order of orderDetail;\" >\n <div class=\"govuk-grid-column-full\" *ngIf=\"order.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-25\" scope=\"col\"></td>\n <td class=\"govuk-table__header\" scope=\"col\">Date created</td>\n <td class=\"govuk-table__header\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody *ngIf=\"order.payments?.length > 0\" class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let payment of order.payments\">\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 <td class=\"govuk-table__cell whitespace-inherit\">{{ payment?.date_created | date:'dd MMM yyyy' }}</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 alignright\">\n <button [disabled] = \"!chkIssueRefundBtnEnable(payment)\" (click)=\"issueRefund(payment)\" class=\"govuk-button govuk-button--secondary\">Issue refund</button>\n </td>\n <!-- <td *ngIf=\"!chkIssueRefundBtnEnable(payment)\" class=\"govuk-table__cell\" style=\"text-align: right;\">\n </td> -->\n </tr>\n </tbody>\n </table>\n\n <div *ngIf=\"order.payments === undefined || order.payments === null\">\n <!-- <h3 class=\"heading-medium mar-17\">Payments</h3> -->\n <span class=\"mar-17\" >No Payments recorded</span>\n </div>\n</div>\n</ng-container>\n<div *ngIf=\"isServiceRequest === 'false'\">\n <div *ngIf=\"((orderFeesTotal - orderRemissionTotal)- orderTotalPayments) > 0\" >\n <p class=\"totalPay\">Total left to pay: <b>{{((orderFeesTotal - orderRemissionTotal)- orderTotalPayments )| currency:'GBP':'symbol-narrow':'1.2-2' }}</b> </p>\n </div>\n <div *ngIf=\"((orderFeesTotal - orderRemissionTotal)- orderTotalPayments) < 0\" >\n <p class=\"totalPay\">Total left to pay: <b>0</b> </p>\n </div>\n</div>\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\"\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[orderFeesTotal] = \"orderFeesTotal\"\n[orderTotalPayments] = \"orderTotalPayments\"\n[orderRemissionTotal] = \"orderRemissionTotal\"\n></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\"\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[orderFeesTotal] = \"orderFeesTotal\"\n[orderTotalPayments] = \"orderTotalPayments\"\n[orderRemissionTotal] = \"orderRemissionTotal\"></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\"\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[orderFeesTotal] = \"orderFeesTotal\"\n[orderTotalPayments] = \"orderTotalPayments\"\n[orderRemissionTotal] = \"orderRemissionTotal\"></ccpay-add-remission>\n\n<ccpay-payment-view *ngIf=\"viewStatus === '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[isServiceRequest] = \"isServiceRequest\">\n</ccpay-payment-view>\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",
|
|
496
|
-
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}#bckLnksize{font-size:16px!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}.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}.col-51{width:51%!important}.alignright{text-align:right}.alignleft{text-align:left}.alignself{align-self:flex-end}.maxwidth{width:100%}"]
|
|
497
|
-
}] }
|
|
498
|
-
];
|
|
499
|
-
/** @nocollapse */
|
|
500
|
-
ServiceRequestComponent.ctorParameters = function () { return [
|
|
501
|
-
{ type: PaymentLibComponent },
|
|
502
|
-
{ type: PaymentViewService },
|
|
503
|
-
{ type: OrderslistService },
|
|
504
|
-
{ type: Router }
|
|
505
|
-
]; };
|
|
506
|
-
ServiceRequestComponent.propDecorators = {
|
|
507
|
-
LOGGEDINUSERROLES: [{ type: Input, args: ['LOGGEDINUSERROLES',] }],
|
|
508
|
-
viewStatus: [{ type: Input, args: ['viewStatus',] }],
|
|
509
|
-
orderDetail: [{ type: Input, args: ['orderDetail',] }],
|
|
510
|
-
orderRef: [{ type: Input, args: ['orderRef',] }],
|
|
511
|
-
orderStatus: [{ type: Input, args: ['orderStatus',] }],
|
|
512
|
-
orderParty: [{ type: Input, args: ['orderParty',] }],
|
|
513
|
-
orderCreated: [{ type: Input, args: ['orderCreated',] }],
|
|
514
|
-
orderCCDEvent: [{ type: Input, args: ['orderCCDEvent',] }],
|
|
515
|
-
orderFeesTotal: [{ type: Input, args: ['orderFeesTotal',] }],
|
|
516
|
-
orderTotalPayments: [{ type: Input, args: ['orderTotalPayments',] }],
|
|
517
|
-
orderRemissionTotal: [{ type: Input, args: ['orderRemissionTotal',] }],
|
|
518
|
-
takePayment: [{ type: Input, args: ['takePayment',] }],
|
|
519
|
-
ccdCaseNumber: [{ type: Input, args: ['ccdCaseNumber',] }],
|
|
520
|
-
isServiceRequest: [{ type: Input, args: ["isServiceRequest",] }],
|
|
521
|
-
goToServiceRquestComponent: [{ type: Output }]
|
|
522
|
-
};
|
|
523
|
-
return ServiceRequestComponent;
|
|
524
|
-
}());
|
|
525
|
-
export { ServiceRequestComponent };
|
|
526
|
-
if (false) {
|
|
527
|
-
/** @type {?} */
|
|
528
|
-
ServiceRequestComponent.prototype.LOGGEDINUSERROLES;
|
|
529
|
-
/** @type {?} */
|
|
530
|
-
ServiceRequestComponent.prototype.viewStatus;
|
|
531
|
-
/** @type {?} */
|
|
532
|
-
ServiceRequestComponent.prototype.orderDetail;
|
|
533
|
-
/** @type {?} */
|
|
534
|
-
ServiceRequestComponent.prototype.orderRef;
|
|
535
|
-
/** @type {?} */
|
|
536
|
-
ServiceRequestComponent.prototype.orderStatus;
|
|
537
|
-
/** @type {?} */
|
|
538
|
-
ServiceRequestComponent.prototype.orderParty;
|
|
539
|
-
/** @type {?} */
|
|
540
|
-
ServiceRequestComponent.prototype.orderCreated;
|
|
541
|
-
/** @type {?} */
|
|
542
|
-
ServiceRequestComponent.prototype.orderCCDEvent;
|
|
543
|
-
/** @type {?} */
|
|
544
|
-
ServiceRequestComponent.prototype.orderFeesTotal;
|
|
545
|
-
/** @type {?} */
|
|
546
|
-
ServiceRequestComponent.prototype.orderTotalPayments;
|
|
547
|
-
/** @type {?} */
|
|
548
|
-
ServiceRequestComponent.prototype.orderRemissionTotal;
|
|
549
|
-
/** @type {?} */
|
|
550
|
-
ServiceRequestComponent.prototype.takePayment;
|
|
551
|
-
/** @type {?} */
|
|
552
|
-
ServiceRequestComponent.prototype.ccdCaseNumber;
|
|
553
|
-
/** @type {?} */
|
|
554
|
-
ServiceRequestComponent.prototype.isServiceRequest;
|
|
555
|
-
/** @type {?} */
|
|
556
|
-
ServiceRequestComponent.prototype.goToServiceRquestComponent;
|
|
557
|
-
/** @type {?} */
|
|
558
|
-
ServiceRequestComponent.prototype.servicerequest;
|
|
559
|
-
/** @type {?} */
|
|
560
|
-
ServiceRequestComponent.prototype.excReference;
|
|
561
|
-
/** @type {?} */
|
|
562
|
-
ServiceRequestComponent.prototype.paymentGroups;
|
|
563
|
-
/** @type {?} */
|
|
564
|
-
ServiceRequestComponent.prototype.payments;
|
|
565
|
-
/** @type {?} */
|
|
566
|
-
ServiceRequestComponent.prototype.nonPayments;
|
|
567
|
-
/** @type {?} */
|
|
568
|
-
ServiceRequestComponent.prototype.allPayments;
|
|
569
|
-
/** @type {?} */
|
|
570
|
-
ServiceRequestComponent.prototype.remissions;
|
|
571
|
-
/** @type {?} */
|
|
572
|
-
ServiceRequestComponent.prototype.fees;
|
|
573
|
-
/** @type {?} */
|
|
574
|
-
ServiceRequestComponent.prototype.errorMessage;
|
|
575
|
-
/** @type {?} */
|
|
576
|
-
ServiceRequestComponent.prototype.totalFees;
|
|
577
|
-
/** @type {?} */
|
|
578
|
-
ServiceRequestComponent.prototype.totalPayments;
|
|
579
|
-
/** @type {?} */
|
|
580
|
-
ServiceRequestComponent.prototype.totalNonOffPayments;
|
|
581
|
-
/** @type {?} */
|
|
582
|
-
ServiceRequestComponent.prototype.totalRemissions;
|
|
583
|
-
/** @type {?} */
|
|
584
|
-
ServiceRequestComponent.prototype.selectedOption;
|
|
585
|
-
/** @type {?} */
|
|
586
|
-
ServiceRequestComponent.prototype.dcnNumber;
|
|
587
|
-
/** @type {?} */
|
|
588
|
-
ServiceRequestComponent.prototype.paymentRef;
|
|
589
|
-
/** @type {?} */
|
|
590
|
-
ServiceRequestComponent.prototype.isTurnOff;
|
|
591
|
-
/** @type {?} */
|
|
592
|
-
ServiceRequestComponent.prototype.isRefundRemission;
|
|
593
|
-
/** @type {?} */
|
|
594
|
-
ServiceRequestComponent.prototype.isStrategicFixEnable;
|
|
595
|
-
/** @type {?} */
|
|
596
|
-
ServiceRequestComponent.prototype.isAddFeeBtnEnabled;
|
|
597
|
-
/** @type {?} */
|
|
598
|
-
ServiceRequestComponent.prototype.isExceptionRecord;
|
|
599
|
-
/** @type {?} */
|
|
600
|
-
ServiceRequestComponent.prototype.isUnprocessedRecordSelected;
|
|
601
|
-
/** @type {?} */
|
|
602
|
-
ServiceRequestComponent.prototype.exceptionRecordReference;
|
|
603
|
-
/** @type {?} */
|
|
604
|
-
ServiceRequestComponent.prototype.isAnyFeeGroupAvilable;
|
|
605
|
-
/** @type {?} */
|
|
606
|
-
ServiceRequestComponent.prototype.isHistoricGroupAvailable;
|
|
607
|
-
/** @type {?} */
|
|
608
|
-
ServiceRequestComponent.prototype.isBulkScanEnable;
|
|
609
|
-
/** @type {?} */
|
|
610
|
-
ServiceRequestComponent.prototype.isRemissionsMatch;
|
|
611
|
-
/** @type {?} */
|
|
612
|
-
ServiceRequestComponent.prototype.isRemoveBtnDisabled;
|
|
613
|
-
/** @type {?} */
|
|
614
|
-
ServiceRequestComponent.prototype.feeId;
|
|
615
|
-
/** @type {?} */
|
|
616
|
-
ServiceRequestComponent.prototype.clAmountDue;
|
|
617
|
-
/** @type {?} */
|
|
618
|
-
ServiceRequestComponent.prototype.unprocessedRecordCount;
|
|
619
|
-
/** @type {?} */
|
|
620
|
-
ServiceRequestComponent.prototype.isFeeRecordsExist;
|
|
621
|
-
/** @type {?} */
|
|
622
|
-
ServiceRequestComponent.prototype.isGrpOutstandingAmtPositive;
|
|
623
|
-
/** @type {?} */
|
|
624
|
-
ServiceRequestComponent.prototype.totalRefundAmount;
|
|
625
|
-
/** @type {?} */
|
|
626
|
-
ServiceRequestComponent.prototype.caseType;
|
|
627
|
-
/** @type {?} */
|
|
628
|
-
ServiceRequestComponent.prototype.payment;
|
|
629
|
-
/** @type {?} */
|
|
630
|
-
ServiceRequestComponent.prototype.paymentGroup;
|
|
631
|
-
/** @type {?} */
|
|
632
|
-
ServiceRequestComponent.prototype.paymentView;
|
|
633
|
-
/** @type {?} */
|
|
634
|
-
ServiceRequestComponent.prototype.isAddRemissionEnable;
|
|
635
|
-
/** @type {?} */
|
|
636
|
-
ServiceRequestComponent.prototype.orderRemissionDetails;
|
|
637
|
-
/** @type {?} */
|
|
638
|
-
ServiceRequestComponent.prototype.orderLevelFees;
|
|
639
|
-
/** @type {?} */
|
|
640
|
-
ServiceRequestComponent.prototype.cpoDetails;
|
|
641
|
-
/** @type {?} */
|
|
642
|
-
ServiceRequestComponent.prototype.serviceRequestValue;
|
|
643
|
-
/** @type {?} */
|
|
644
|
-
ServiceRequestComponent.prototype.orderAddBtnEnable;
|
|
645
|
-
/** @type {?} */
|
|
646
|
-
ServiceRequestComponent.prototype.isCPODown;
|
|
647
|
-
/** @type {?} */
|
|
648
|
-
ServiceRequestComponent.prototype.test;
|
|
649
|
-
/** @type {?} */
|
|
650
|
-
ServiceRequestComponent.prototype.isPBA;
|
|
651
|
-
/** @type {?} */
|
|
652
|
-
ServiceRequestComponent.prototype.isIssueRefunfBtnEnable;
|
|
653
|
-
/** @type {?} */
|
|
654
|
-
ServiceRequestComponent.prototype.isAddRemissionBtnEnabled;
|
|
655
|
-
/** @type {?} */
|
|
656
|
-
ServiceRequestComponent.prototype.isRefundRemissionBtnEnable;
|
|
657
|
-
/** @type {?} */
|
|
658
|
-
ServiceRequestComponent.prototype.allowedRolesToAccessRefund;
|
|
659
|
-
/** @type {?} */
|
|
660
|
-
ServiceRequestComponent.prototype.isFromServiceRequestPage;
|
|
661
|
-
/** @type {?} */
|
|
662
|
-
ServiceRequestComponent.prototype.navigationpage;
|
|
663
|
-
/** @type {?} */
|
|
664
|
-
ServiceRequestComponent.prototype.remissionFeeAmt;
|
|
665
|
-
/** @type {?} */
|
|
666
|
-
ServiceRequestComponent.prototype.check4AllowedRoles2AccessRefund;
|
|
667
|
-
/** @type {?} */
|
|
668
|
-
ServiceRequestComponent.prototype.allowFurtherAccessAfter4Days;
|
|
669
|
-
/**
|
|
670
|
-
* @type {?}
|
|
671
|
-
* @private
|
|
672
|
-
*/
|
|
673
|
-
ServiceRequestComponent.prototype.paymentLibComponent;
|
|
674
|
-
/**
|
|
675
|
-
* @type {?}
|
|
676
|
-
* @private
|
|
677
|
-
*/
|
|
678
|
-
ServiceRequestComponent.prototype.paymentViewService;
|
|
679
|
-
/**
|
|
680
|
-
* @type {?}
|
|
681
|
-
* @private
|
|
682
|
-
*/
|
|
683
|
-
ServiceRequestComponent.prototype.OrderslistService;
|
|
684
|
-
/**
|
|
685
|
-
* @type {?}
|
|
686
|
-
* @private
|
|
687
|
-
*/
|
|
688
|
-
ServiceRequestComponent.prototype.router;
|
|
689
|
-
}
|
|
690
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1yZXF1ZXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvc2VydmljZS1yZXF1ZXN0L3NlcnZpY2UtcmVxdWVzdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFDQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNL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