@hmcts/ccpay-web-component 5.0.8-beta14 → 5.0.8-beta15
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 +1096 -1423
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -15
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/hmcts-ccpay-web-component.js +1 -1
- package/esm2015/lib/components/add-remission/add-remission.component.js +42 -136
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +15 -28
- package/esm2015/lib/components/card-details/card-details.component.js +10 -14
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +14 -26
- package/esm2015/lib/components/error-banner/error-banner.component.js +13 -16
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +16 -34
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +14 -21
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +14 -21
- package/esm2015/lib/components/page-not-found.component.js +8 -10
- package/esm2015/lib/components/payment-list/payment-list.component.js +10 -14
- package/esm2015/lib/components/payment-view/payment-view.component.js +28 -80
- package/esm2015/lib/components/pba-details/pba-details.component.js +13 -16
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +13 -18
- package/esm2015/lib/components/process-refund/process-refund.component.js +15 -27
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +14 -22
- package/esm2015/lib/components/refund-list/refund-list.component.js +15 -25
- package/esm2015/lib/components/refund-status/refund-status.component.js +18 -39
- package/esm2015/lib/components/reports/reports.component.js +14 -22
- package/esm2015/lib/components/service-request/service-request.component.js +27 -76
- package/esm2015/lib/components/status-history/status-history.component.js +13 -18
- package/esm2015/lib/components/table/table.component.js +17 -37
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +22 -57
- package/esm2015/lib/interfaces/AddRemissionRequest.js +1 -1
- package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +1 -1
- package/esm2015/lib/interfaces/AllocatePaymentRequest.js +1 -1
- package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +1 -1
- package/esm2015/lib/interfaces/IBSPayments.js +2 -1
- package/esm2015/lib/interfaces/ICardDetails.js +2 -1
- package/esm2015/lib/interfaces/IFee.js +2 -1
- package/esm2015/lib/interfaces/IOrderReferenceFee.js +2 -1
- package/esm2015/lib/interfaces/IPatchRefundAction.js +2 -1
- package/esm2015/lib/interfaces/IPayment.js +2 -1
- package/esm2015/lib/interfaces/IPaymentFailure.js +2 -1
- package/esm2015/lib/interfaces/IPaymentGroup.js +2 -1
- package/esm2015/lib/interfaces/IPaymentStatus.js +1 -1
- package/esm2015/lib/interfaces/IPaymentView.js +2 -1
- package/esm2015/lib/interfaces/IPayments.js +2 -1
- package/esm2015/lib/interfaces/IRefundAction.js +2 -1
- package/esm2015/lib/interfaces/IRefundList.js +2 -1
- package/esm2015/lib/interfaces/IRefundReasons.js +2 -1
- package/esm2015/lib/interfaces/IRefundRejectReason.js +2 -1
- package/esm2015/lib/interfaces/IRefundStatus.js +2 -1
- package/esm2015/lib/interfaces/IRefundStatusHistory.js +2 -1
- package/esm2015/lib/interfaces/IRemission.js +2 -1
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +1 -1
- package/esm2015/lib/interfaces/IStatusHistories.js +2 -1
- package/esm2015/lib/interfaces/IStatusHistory.js +2 -1
- package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +1 -1
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +1 -1
- package/esm2015/lib/interfaces/IssueRefundRequest.js +1 -1
- package/esm2015/lib/interfaces/PayhubAntennaRequest.js +1 -1
- package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +1 -1
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +1 -1
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +1 -1
- package/esm2015/lib/interfaces/RefundsRequest.js +1 -1
- package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +1 -1
- package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +1 -1
- package/esm2015/lib/payment-lib.component.js +42 -120
- package/esm2015/lib/payment-lib.module.js +53 -55
- package/esm2015/lib/payment-lib.service.js +9 -11
- package/esm2015/lib/pipes/capitalize.pipe.js +9 -11
- package/esm2015/lib/pipes/ccd-hyphens.pipe.js +9 -11
- package/esm2015/lib/pipes/key-value.pipe.js +9 -11
- package/esm2015/lib/pipes/sanitize-html.pipe.js +7 -10
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +9 -15
- package/esm2015/lib/services/card-details/card-details.service.js +9 -15
- package/esm2015/lib/services/case-transactions/case-transactions.service.js +9 -15
- package/esm2015/lib/services/orderslist.service.js +9 -11
- package/esm2015/lib/services/payment-list/payment-list.service.js +9 -15
- package/esm2015/lib/services/payment-view/payment-view.service.js +10 -17
- package/esm2015/lib/services/refunds/refunds.service.js +9 -16
- package/esm2015/lib/services/shared/error-handler.service.js +9 -11
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +6 -10
- package/esm2015/lib/services/shared/logger/console-logger.service.js +8 -10
- package/esm2015/lib/services/shared/logger/logger.service.js +8 -10
- package/esm2015/lib/services/status-history/status-history.service.js +9 -15
- package/esm2015/lib/services/xl-file/xl-file.service.js +7 -9
- package/esm2015/public_api.js +1 -1
- package/fesm2015/hmcts-ccpay-web-component.js +596 -1051
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 -44
- package/esm5/lib/components/add-remission/add-remission.component.js +0 -790
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +0 -401
- package/esm5/lib/components/card-details/card-details.component.js +0 -38
- package/esm5/lib/components/case-transactions/case-transactions.component.js +0 -754
- package/esm5/lib/components/error-banner/error-banner.component.js +0 -23
- package/esm5/lib/components/fee-summary/fee-summary.component.js +0 -254
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -194
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -249
- package/esm5/lib/components/page-not-found.component.js +0 -14
- package/esm5/lib/components/payment-list/payment-list.component.js +0 -37
- package/esm5/lib/components/payment-view/payment-view.component.js +0 -368
- package/esm5/lib/components/pba-details/pba-details.component.js +0 -23
- package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -150
- package/esm5/lib/components/process-refund/process-refund.component.js +0 -310
- package/esm5/lib/components/processed-payments/processed-payments.component.js +0 -43
- package/esm5/lib/components/refund-list/refund-list.component.js +0 -71
- package/esm5/lib/components/refund-status/refund-status.component.js +0 -291
- package/esm5/lib/components/reports/reports.component.js +0 -289
- package/esm5/lib/components/service-request/service-request.component.js +0 -351
- package/esm5/lib/components/status-history/status-history.component.js +0 -35
- package/esm5/lib/components/table/table.component.js +0 -120
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -235
- package/esm5/lib/interfaces/AddRemissionRequest.js +0 -12
- package/esm5/lib/interfaces/AddRetroRemissionRequest.js +0 -9
- package/esm5/lib/interfaces/AllocatePaymentRequest.js +0 -29
- package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +0 -16
- package/esm5/lib/interfaces/IBSPayments.js +0 -1
- package/esm5/lib/interfaces/ICardDetails.js +0 -1
- package/esm5/lib/interfaces/IFee.js +0 -1
- package/esm5/lib/interfaces/IOrderReferenceFee.js +0 -1
- package/esm5/lib/interfaces/IPatchRefundAction.js +0 -1
- package/esm5/lib/interfaces/IPayment.js +0 -1
- package/esm5/lib/interfaces/IPaymentFailure.js +0 -1
- package/esm5/lib/interfaces/IPaymentGroup.js +0 -1
- package/esm5/lib/interfaces/IPaymentStatus.js +0 -7
- package/esm5/lib/interfaces/IPaymentView.js +0 -1
- package/esm5/lib/interfaces/IPayments.js +0 -1
- package/esm5/lib/interfaces/IRefundAction.js +0 -1
- package/esm5/lib/interfaces/IRefundList.js +0 -1
- package/esm5/lib/interfaces/IRefundReasons.js +0 -1
- package/esm5/lib/interfaces/IRefundRejectReason.js +0 -1
- package/esm5/lib/interfaces/IRefundStatus.js +0 -1
- package/esm5/lib/interfaces/IRefundStatusHistory.js +0 -1
- package/esm5/lib/interfaces/IRemission.js +0 -1
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +0 -9
- package/esm5/lib/interfaces/IStatusHistories.js +0 -1
- package/esm5/lib/interfaces/IStatusHistory.js +0 -1
- package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -10
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -12
- package/esm5/lib/interfaces/IssueRefundRequest.js +0 -10
- package/esm5/lib/interfaces/PayhubAntennaRequest.js +0 -11
- package/esm5/lib/interfaces/PaymentToPayhubRequest.js +0 -14
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +0 -8
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +0 -9
- package/esm5/lib/interfaces/RefundsRequest.js +0 -9
- package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -14
- package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -17
- package/esm5/lib/payment-lib.component.js +0 -168
- package/esm5/lib/payment-lib.module.js +0 -100
- package/esm5/lib/payment-lib.service.js +0 -41
- package/esm5/lib/pipes/capitalize.pipe.js +0 -18
- package/esm5/lib/pipes/ccd-hyphens.pipe.js +0 -22
- package/esm5/lib/pipes/key-value.pipe.js +0 -24
- package/esm5/lib/pipes/sanitize-html.pipe.js +0 -21
- package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -94
- package/esm5/lib/services/card-details/card-details.service.js +0 -46
- package/esm5/lib/services/case-transactions/case-transactions.service.js +0 -46
- package/esm5/lib/services/orderslist.service.js +0 -157
- package/esm5/lib/services/payment-list/payment-list.service.js +0 -46
- package/esm5/lib/services/payment-view/payment-view.service.js +0 -150
- package/esm5/lib/services/refunds/refunds.service.js +0 -122
- package/esm5/lib/services/shared/error-handler.service.js +0 -101
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +0 -66
- package/esm5/lib/services/shared/logger/console-logger.service.js +0 -60
- package/esm5/lib/services/shared/logger/logger.service.js +0 -26
- package/esm5/lib/services/status-history/status-history.service.js +0 -48
- package/esm5/lib/services/xl-file/xl-file.service.js +0 -155
- package/esm5/public_api.js +0 -7
- package/fesm5/hmcts-ccpay-web-component.js +0 -6381
- package/fesm5/hmcts-ccpay-web-component.js.map +0 -1
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
import { PaymentListService } from '../../services/payment-list/payment-list.service';
|
|
4
|
-
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
5
|
-
var PaymentListComponent = /** @class */ (function () {
|
|
6
|
-
function PaymentListComponent(paymentListService, paymentLibComponent) {
|
|
7
|
-
this.paymentListService = paymentListService;
|
|
8
|
-
this.paymentLibComponent = paymentLibComponent;
|
|
9
|
-
}
|
|
10
|
-
PaymentListComponent.prototype.ngOnInit = function () {
|
|
11
|
-
var _this = this;
|
|
12
|
-
this.paymentListService.getPaymentByCcdCaseNumber(this.paymentLibComponent.CCD_CASE_NUMBER, this.paymentLibComponent.PAYMENT_METHOD)
|
|
13
|
-
.subscribe(function (payments) { return _this.payments = payments; }, function (error) { return _this.errorMessage = error; });
|
|
14
|
-
};
|
|
15
|
-
PaymentListComponent.prototype.loadPaymentViewComponent = function (paymentGroupReference, paymentReference, paymentMethod) {
|
|
16
|
-
this.paymentLibComponent.paymentMethod = paymentMethod;
|
|
17
|
-
this.paymentLibComponent.paymentGroupReference = paymentGroupReference;
|
|
18
|
-
this.paymentLibComponent.paymentReference = paymentReference;
|
|
19
|
-
this.paymentLibComponent.viewName = 'payment-view';
|
|
20
|
-
};
|
|
21
|
-
PaymentListComponent.ctorParameters = function () { return [
|
|
22
|
-
{ type: PaymentListService },
|
|
23
|
-
{ type: PaymentLibComponent }
|
|
24
|
-
]; };
|
|
25
|
-
PaymentListComponent = __decorate([
|
|
26
|
-
Component({
|
|
27
|
-
selector: 'ccpay-payment-list',
|
|
28
|
-
template: "<div class=\"govuk-width-container\">\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 Payments list could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <div *ngIf=\"!errorMessage && payments\">\n\n <table class=\"table\">\n <tr>\n <th class=\"bold font-xsmall\">Payment group reference</th>\n <th class=\"bold font-xsmall\">Payment reference</th>\n <th class=\"bold font-xsmall\">Date created</th>\n <th class=\"bold font-xsmall\">Channel</th>\n <th class=\"bold font-xsmall\">Method</th>\n <th class=\"bold font-xsmall\">Amount</th>\n <th class=\"bold font-xsmall\">Status</th>\n </tr>\n <tr *ngFor=\"let payment of payments.payments\">\n <td class=\"font-xsmall\">\n <a href=\"javascript:void(0)\" (click)=\"loadPaymentViewComponent(payment.payment_group_reference, payment.payment_reference, payment.method)\">{{ payment.payment_group_reference }}</a>\n <td class=\"font-xsmall\">{{ payment.payment_reference }}</td>\n <td class=\"font-xsmall\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"font-xsmall\">{{ payment.channel | titlecase }}</td>\n <td class=\"font-xsmall\">{{ payment.method | titlecase }}</td>\n <td class=\"font-xsmall\">\u00A3{{ payment.amount | number:'.2' }}</td>\n <td *ngIf=\"payment.method === 'card' && payment.channel === 'online'\">\n <details>\n <summary><span class=\"summary font-xsmall\">{{ payment.status }}</span></summary>\n <div class=\"panel panel-border-narrow\" *ngIf=\"payment.status === 'Failed'\">\n <div *ngFor=\"let statusHistory of payment.status_histories\">\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0010'\">\n Payment rejected due to payment method selected or payment information entered, for example, failed fraud check, a 3D Secure authentication failure, or the user does not have enough money in account\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0020'\">\n Payment was not confirmed and completed within 90 minutes of being created\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0030'\">\n User clicked on the \u201CCancel payment\u201D button during the payment journey\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0050'\">\n Multiple possible causes, for example a configuration problem with the payment provider, or incorrect login credentials\n </p>\n </div>\n </div>\n </details>\n </td>\n <td *ngIf=\"payment.method === 'card' && payment.channel === 'telephony'\" class=\"font-xsmall\">\n {{ payment.status}}\n </td>\n <td *ngIf=\"payment.method === 'payment by account'\">\n <details>\n <summary><span class=\"summary font-xsmall\">{{ payment.status }}</span></summary>\n <div class=\"panel panel-border-narrow\" *ngIf=\"payment.status === 'Pending'\">\n <p class=\"font-xsmall\">This means the transaction is being processed by Liberata.</p>\n </div>\n </details>\n </td>\n </tr>\n </table>\n\n </div>\n\n</div>\n",
|
|
29
|
-
styles: [""]
|
|
30
|
-
}),
|
|
31
|
-
__metadata("design:paramtypes", [PaymentListService,
|
|
32
|
-
PaymentLibComponent])
|
|
33
|
-
], PaymentListComponent);
|
|
34
|
-
return PaymentListComponent;
|
|
35
|
-
}());
|
|
36
|
-
export { PaymentListComponent };
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcGF5bWVudC1saXN0L3BheW1lbnQtbGlzdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFFaEQsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sa0RBQWtELENBQUM7QUFFcEYsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0sNkJBQTZCLENBQUM7QUFRaEU7SUFLRSw4QkFBb0Isa0JBQXNDLEVBQ3RDLG1CQUF3QztRQUR4Qyx1QkFBa0IsR0FBbEIsa0JBQWtCLENBQW9CO1FBQ3RDLHdCQUFtQixHQUFuQixtQkFBbUIsQ0FBcUI7SUFDNUQsQ0FBQztJQUVELHVDQUFRLEdBQVI7UUFBQSxpQkFNQztRQUxDLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyx5QkFBeUIsQ0FBQyxJQUFJLENBQUMsbUJBQW1CLENBQUMsZUFBZSxFQUFFLElBQUksQ0FBQyxtQkFBbUIsQ0FBQyxjQUFjLENBQUM7YUFDakksU0FBUyxDQUNSLFVBQUEsUUFBUSxJQUFJLE9BQUEsS0FBSSxDQUFDLFFBQVEsR0FBRyxRQUFRLEVBQXhCLENBQXdCLEVBQ3BDLFVBQUMsS0FBVSxJQUFLLE9BQUEsS0FBSSxDQUFDLFlBQVksR0FBUSxLQUFLLEVBQTlCLENBQThCLENBQy9DLENBQUM7SUF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HRoaXMucGF5bWVudExpYkNvbXBvbmVudC5wYXltZW50TWV0aG9kID0gcGF5bWVudE1ldGhvZDtcbiAgICB0aGlzLnBheW1lbnRMaWJDb21wb25lbnQucGF5bWVudEdyb3VwUmVmZXJlbmNlID0gcGF5bWVudEdyb3VwUmVmZXJlbmNlO1xuICAgIHRoaXMucGF5bWVudExpYkNvbXBvbmVudC5wYXltZW50UmVmZXJlbmNlID0gcGF5bWVudFJlZmVyZW5jZTtcbiAgICB0aGlzLnBheW1lbnRMaWJDb21wb25lbnQudmlld05hbWUgPSAncGF5bWVudC12aWV3JztcbiAgfVxufVxuIl19
|
|
@@ -1,368 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata, __values } from "tslib";
|
|
2
|
-
import { Component, Input } from '@angular/core';
|
|
3
|
-
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
4
|
-
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
5
|
-
var BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
|
|
6
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
7
|
-
import { OrderslistService } from '../../services/orderslist.service';
|
|
8
|
-
var PaymentViewComponent = /** @class */ (function () {
|
|
9
|
-
function PaymentViewComponent(paymentViewService, paymentLibComponent, cd, OrderslistService) {
|
|
10
|
-
var _this = this;
|
|
11
|
-
this.paymentViewService = paymentViewService;
|
|
12
|
-
this.paymentLibComponent = paymentLibComponent;
|
|
13
|
-
this.cd = cd;
|
|
14
|
-
this.OrderslistService = OrderslistService;
|
|
15
|
-
this.isRefundRemission = false;
|
|
16
|
-
this.isAddFeeBtnEnabled = false;
|
|
17
|
-
this.isIssueRefunfBtnEnable = false;
|
|
18
|
-
this.allowedRolesToAccessRefund = ['payments-refund-approver', 'payments-refund'];
|
|
19
|
-
this.remissions = [];
|
|
20
|
-
this.allPaymentsFailure = [];
|
|
21
|
-
this.check4AllowedRoles2AccessRefund = function () {
|
|
22
|
-
return _this.allowedRolesToAccessRefund.some(function (role) {
|
|
23
|
-
return _this.LOGGEDINUSERROLES.indexOf(role) !== -1;
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
this.allowFurtherAccessAfter4Days = function (payment) {
|
|
27
|
-
if (payment !== null && payment !== undefined) {
|
|
28
|
-
var tmp4DayAgo = new Date();
|
|
29
|
-
tmp4DayAgo.setDate(tmp4DayAgo.getDate() - 4);
|
|
30
|
-
return tmp4DayAgo >= new Date(payment.date_created);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
PaymentViewComponent.prototype.ngAfterContentChecked = function () {
|
|
35
|
-
this.cd.detectChanges();
|
|
36
|
-
};
|
|
37
|
-
PaymentViewComponent.prototype.ngOnInit = function () {
|
|
38
|
-
var _this = this;
|
|
39
|
-
this.ccdCaseNumber = this.paymentLibComponent.CCD_CASE_NUMBER;
|
|
40
|
-
this.selectedOption = this.paymentLibComponent.SELECTED_OPTION;
|
|
41
|
-
this.dcnNumber = this.paymentLibComponent.DCN_NUMBER;
|
|
42
|
-
this.isTurnOff = this.paymentLibComponent.ISTURNOFF;
|
|
43
|
-
this.serviceReference = this.paymentLibComponent.paymentGroupReference;
|
|
44
|
-
this.viewStatus = 'paymentview';
|
|
45
|
-
this.paymentViewService.getApportionPaymentDetails(this.paymentLibComponent.paymentReference).subscribe(function (paymentGroup) {
|
|
46
|
-
var fees = [];
|
|
47
|
-
paymentGroup.fees.forEach(function (fee) {
|
|
48
|
-
_this.isRemissionsMatch = false;
|
|
49
|
-
paymentGroup.remissions.forEach(function (rem) {
|
|
50
|
-
if (rem.fee_code === fee.code) {
|
|
51
|
-
_this.isRemissionsMatch = true;
|
|
52
|
-
fee['remissions'] = rem;
|
|
53
|
-
fees.push(fee);
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
if (!_this.isRemissionsMatch) {
|
|
57
|
-
fees.push(fee);
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
paymentGroup.fees = fees;
|
|
61
|
-
_this.paymentGroup = paymentGroup;
|
|
62
|
-
_this.paymentGroup.payments = _this.paymentGroup.payments.filter(function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.paymentLibComponent.paymentReference); });
|
|
63
|
-
var paymentAllocation = _this.paymentGroup.payments[0].payment_allocation;
|
|
64
|
-
_this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
65
|
-
}, function (error) { return _this.errorMessage = error; });
|
|
66
|
-
this.paymentViewService.getPaymentFailure(this.paymentLibComponent.paymentReference).subscribe({
|
|
67
|
-
next: function (res) {
|
|
68
|
-
JSON.parse(res).payment_failure_list.reverse().forEach(function (payments) {
|
|
69
|
-
_this.allPaymentsFailure.push(payments.payment_failure_initiated);
|
|
70
|
-
if (payments.payment_failure_closed) {
|
|
71
|
-
_this.allPaymentsFailure.push(payments.payment_failure_closed);
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
_this.allPaymentsFailure = _this.allPaymentsFailure.reverse();
|
|
75
|
-
},
|
|
76
|
-
error: function (e) {
|
|
77
|
-
_this.allPaymentsFailure = [];
|
|
78
|
-
_this.errorMsg = "Server error";
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
Object.defineProperty(PaymentViewComponent.prototype, "isCardPayment", {
|
|
83
|
-
get: function () {
|
|
84
|
-
return this.paymentGroup.payments[0].method === 'card';
|
|
85
|
-
},
|
|
86
|
-
enumerable: true,
|
|
87
|
-
configurable: true
|
|
88
|
-
});
|
|
89
|
-
Object.defineProperty(PaymentViewComponent.prototype, "isTelephonyPayment", {
|
|
90
|
-
get: function () {
|
|
91
|
-
return this.paymentGroup.payments[0].channel === 'telephony';
|
|
92
|
-
},
|
|
93
|
-
enumerable: true,
|
|
94
|
-
configurable: true
|
|
95
|
-
});
|
|
96
|
-
PaymentViewComponent.prototype.goToPaymentList = function () {
|
|
97
|
-
this.paymentLibComponent.viewName = 'payment-list';
|
|
98
|
-
};
|
|
99
|
-
PaymentViewComponent.prototype.goToServiceRequestPage = function () {
|
|
100
|
-
this.paymentLibComponent.viewName = 'case-transactions';
|
|
101
|
-
this.paymentLibComponent.TAKEPAYMENT = false;
|
|
102
|
-
this.paymentLibComponent.SERVICEREQUEST = 'true';
|
|
103
|
-
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
104
|
-
window.location.reload();
|
|
105
|
-
};
|
|
106
|
-
PaymentViewComponent.prototype.goToCaseTransationPage = function (event) {
|
|
107
|
-
var _this = this;
|
|
108
|
-
event.preventDefault();
|
|
109
|
-
if (!this.paymentLibComponent.isFromServiceRequestPage) {
|
|
110
|
-
this.OrderslistService.setnavigationPage('casetransactions');
|
|
111
|
-
this.OrderslistService.setisFromServiceRequestPage(false);
|
|
112
|
-
this.paymentLibComponent.viewName = 'case-transactions';
|
|
113
|
-
this.paymentLibComponent.ISBSENABLE = true;
|
|
114
|
-
this.resetOrderData();
|
|
115
|
-
}
|
|
116
|
-
else {
|
|
117
|
-
this.OrderslistService.getorderRefs().subscribe(function (data) { return _this.orderRef = data; });
|
|
118
|
-
this.OrderslistService.getorderCCDEvents().subscribe(function (data) { return _this.orderCCDEvent = data; });
|
|
119
|
-
this.OrderslistService.getorderCreateds().subscribe(function (data) { return _this.orderCreated = data; });
|
|
120
|
-
this.OrderslistService.getorderDetail().subscribe(function (data) { return _this.orderDetail = data; });
|
|
121
|
-
this.OrderslistService.getorderPartys().subscribe(function (data) { return _this.orderParty = data; });
|
|
122
|
-
this.OrderslistService.getorderRemissionTotals().subscribe(function (data) { return _this.orderRemissionTotal = data; });
|
|
123
|
-
this.OrderslistService.getorderFeesTotals().subscribe(function (data) { return _this.orderFeesTotal = data; });
|
|
124
|
-
this.OrderslistService.getoorderTotalPaymentss().subscribe(function (data) { return _this.orderTotalPayments = data; });
|
|
125
|
-
this.viewStatus = 'order-full-view';
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
PaymentViewComponent.prototype.addRemission = function (fee) {
|
|
129
|
-
var _this = this;
|
|
130
|
-
if (this.chkForAddRemission(fee.code)) {
|
|
131
|
-
this.feeId = fee;
|
|
132
|
-
this.paymentViewService.getApportionPaymentDetails(this.paymentGroup.payments[0].reference).subscribe(function (paymentGroup) {
|
|
133
|
-
_this.paymentGroup = paymentGroup;
|
|
134
|
-
_this.paymentGroup.payments = _this.paymentGroup.payments.filter(function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.paymentLibComponent.paymentReference); });
|
|
135
|
-
_this.payment = _this.paymentGroup.payments[0];
|
|
136
|
-
_this.paymentLibComponent.isFromPaymentDetailPage = true;
|
|
137
|
-
_this.viewStatus = 'addremission';
|
|
138
|
-
_this.isRefundRemission = true;
|
|
139
|
-
_this.cd.detectChanges();
|
|
140
|
-
}, function (error) { return _this.errorMessage = error; });
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
PaymentViewComponent.prototype.checkForFees = function (paymentGroup) {
|
|
144
|
-
if (paymentGroup !== null && paymentGroup !== undefined) {
|
|
145
|
-
if (paymentGroup.fees !== null && paymentGroup.fees !== undefined) {
|
|
146
|
-
return true;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
return false;
|
|
150
|
-
};
|
|
151
|
-
PaymentViewComponent.prototype.addRefundForRemission = function (payment, remission, fees) {
|
|
152
|
-
var _this = this;
|
|
153
|
-
if (this.chkIsRefundRemissionBtnEnable()) {
|
|
154
|
-
this.payment = payment;
|
|
155
|
-
this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe(function (paymentGroup) {
|
|
156
|
-
_this.paymentGroup = paymentGroup;
|
|
157
|
-
_this.paymentGroup.payments = _this.paymentGroup.payments.filter(function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); });
|
|
158
|
-
_this.payment = _this.paymentGroup.payments[0];
|
|
159
|
-
_this.remissions = remission;
|
|
160
|
-
_this.remissionFeeAmt = fees.filter(function (data) { return data.code === _this.remissions['fee_code']; })[0].net_amount;
|
|
161
|
-
_this.viewStatus = 'addrefundforremission';
|
|
162
|
-
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
163
|
-
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
164
|
-
}, function (error) { return _this.errorMessage = error; });
|
|
165
|
-
}
|
|
166
|
-
};
|
|
167
|
-
PaymentViewComponent.prototype.chkIsRefundRemissionBtnEnable = function () {
|
|
168
|
-
var _this = this;
|
|
169
|
-
if (this.paymentGroup !== null && this.paymentGroup !== undefined) {
|
|
170
|
-
this.paymentGroup.payments.forEach(function (payment) {
|
|
171
|
-
if (payment.method.toLocaleLowerCase() === 'payment by account' && payment.status.toLocaleLowerCase() === 'success' && _this.allowFurtherAccessAfter4Days(payment)) {
|
|
172
|
-
_this.isRefundRemissionBtnEnable = true;
|
|
173
|
-
}
|
|
174
|
-
});
|
|
175
|
-
if (this.isRefundRemissionBtnEnable) {
|
|
176
|
-
return true;
|
|
177
|
-
}
|
|
178
|
-
else {
|
|
179
|
-
return false;
|
|
180
|
-
}
|
|
181
|
-
;
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
PaymentViewComponent.prototype.issueRefund = function (paymentgrp) {
|
|
185
|
-
if (paymentgrp !== null && paymentgrp !== undefined) {
|
|
186
|
-
if (this.chkIssueRefundBtnEnable(paymentgrp.payments[0])) {
|
|
187
|
-
this.paymentGroup = paymentgrp;
|
|
188
|
-
this.viewStatus = 'issuerefund';
|
|
189
|
-
this.isRefundRemission = true;
|
|
190
|
-
this.paymentLibComponent.isFromPaymentDetailPage = true;
|
|
191
|
-
this.isFromPaymentDetailPage = true;
|
|
192
|
-
this.isFromServiceRequestPage = this.paymentLibComponent.isFromServiceRequestPage;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
};
|
|
196
|
-
PaymentViewComponent.prototype.getRemissionByFeeCode = function (feeCode, remissions) {
|
|
197
|
-
var e_1, _a;
|
|
198
|
-
if (remissions && remissions.length > 0) {
|
|
199
|
-
try {
|
|
200
|
-
for (var remissions_1 = __values(remissions), remissions_1_1 = remissions_1.next(); !remissions_1_1.done; remissions_1_1 = remissions_1.next()) {
|
|
201
|
-
var remission = remissions_1_1.value;
|
|
202
|
-
if (remission.fee_code === feeCode) {
|
|
203
|
-
return remission;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
208
|
-
finally {
|
|
209
|
-
try {
|
|
210
|
-
if (remissions_1_1 && !remissions_1_1.done && (_a = remissions_1.return)) _a.call(remissions_1);
|
|
211
|
-
}
|
|
212
|
-
finally { if (e_1) throw e_1.error; }
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
return null;
|
|
216
|
-
};
|
|
217
|
-
PaymentViewComponent.prototype.chkIssueRefundBtnEnable = function (payment) {
|
|
218
|
-
if (this.check4AllowedRoles2AccessRefund() && this.allowFurtherAccessAfter4Days(payment) &&
|
|
219
|
-
payment.method === 'payment by account' && payment.status.toLocaleLowerCase() === 'success') {
|
|
220
|
-
this.isIssueRefunfBtnEnable = true;
|
|
221
|
-
}
|
|
222
|
-
if (this.isIssueRefunfBtnEnable) {
|
|
223
|
-
return true;
|
|
224
|
-
}
|
|
225
|
-
else {
|
|
226
|
-
return false;
|
|
227
|
-
}
|
|
228
|
-
;
|
|
229
|
-
};
|
|
230
|
-
PaymentViewComponent.prototype.chkForPBAPayment = function () {
|
|
231
|
-
if (this.paymentGroup !== null && this.paymentGroup !== undefined) {
|
|
232
|
-
var payment = this.paymentGroup.payments[0];
|
|
233
|
-
if (payment.method.toLocaleLowerCase() === 'payment by account' && this.allowFurtherAccessAfter4Days(payment)) {
|
|
234
|
-
return true;
|
|
235
|
-
}
|
|
236
|
-
return false;
|
|
237
|
-
}
|
|
238
|
-
};
|
|
239
|
-
PaymentViewComponent.prototype.chkForAddRemission = function (feeCode) {
|
|
240
|
-
var e_2, _a;
|
|
241
|
-
if (this.chkForPBAPayment() && this.check4AllowedRoles2AccessRefund() && this.allowFurtherAccessAfter4Days(this.paymentGroup.payments[0])) {
|
|
242
|
-
if (this.paymentGroup.remissions && this.paymentGroup.remissions.length > 0) {
|
|
243
|
-
try {
|
|
244
|
-
for (var _b = __values(this.paymentGroup.remissions), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
245
|
-
var remission = _c.value;
|
|
246
|
-
if (remission.fee_code === feeCode) {
|
|
247
|
-
return false;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
252
|
-
finally {
|
|
253
|
-
try {
|
|
254
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
255
|
-
}
|
|
256
|
-
finally { if (e_2) throw e_2.error; }
|
|
257
|
-
}
|
|
258
|
-
return true;
|
|
259
|
-
}
|
|
260
|
-
return true;
|
|
261
|
-
}
|
|
262
|
-
else {
|
|
263
|
-
return false;
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
|
-
PaymentViewComponent.prototype.resetOrderData = function () {
|
|
267
|
-
this.OrderslistService.setOrderRef(null);
|
|
268
|
-
this.OrderslistService.setorderCCDEvent(null);
|
|
269
|
-
this.OrderslistService.setorderCreated(null);
|
|
270
|
-
this.OrderslistService.setorderDetail(null);
|
|
271
|
-
this.OrderslistService.setorderParty(null);
|
|
272
|
-
this.OrderslistService.setorderTotalPayments(null);
|
|
273
|
-
this.OrderslistService.setorderRemissionTotal(null);
|
|
274
|
-
this.OrderslistService.setorderFeesTotal(null);
|
|
275
|
-
};
|
|
276
|
-
PaymentViewComponent.prototype.goToPaymentFailuePage = function (payment) {
|
|
277
|
-
this.viewStatus = 'payment-failure';
|
|
278
|
-
this.selectedPaymentsStatus = payment;
|
|
279
|
-
};
|
|
280
|
-
PaymentViewComponent.prototype.goBackToPaymentView = function (event) {
|
|
281
|
-
event.preventDefault();
|
|
282
|
-
this.viewStatus = 'paymentview';
|
|
283
|
-
};
|
|
284
|
-
PaymentViewComponent.ctorParameters = function () { return [
|
|
285
|
-
{ type: PaymentViewService },
|
|
286
|
-
{ type: PaymentLibComponent },
|
|
287
|
-
{ type: ChangeDetectorRef },
|
|
288
|
-
{ type: OrderslistService }
|
|
289
|
-
]; };
|
|
290
|
-
__decorate([
|
|
291
|
-
Input(),
|
|
292
|
-
__metadata("design:type", Boolean)
|
|
293
|
-
], PaymentViewComponent.prototype, "isTurnOff", void 0);
|
|
294
|
-
__decorate([
|
|
295
|
-
Input(),
|
|
296
|
-
__metadata("design:type", Boolean)
|
|
297
|
-
], PaymentViewComponent.prototype, "isTakePayment", void 0);
|
|
298
|
-
__decorate([
|
|
299
|
-
Input(),
|
|
300
|
-
__metadata("design:type", Boolean)
|
|
301
|
-
], PaymentViewComponent.prototype, "caseType", void 0);
|
|
302
|
-
__decorate([
|
|
303
|
-
Input(),
|
|
304
|
-
__metadata("design:type", String)
|
|
305
|
-
], PaymentViewComponent.prototype, "orderRef", void 0);
|
|
306
|
-
__decorate([
|
|
307
|
-
Input(),
|
|
308
|
-
__metadata("design:type", String)
|
|
309
|
-
], PaymentViewComponent.prototype, "orderStatus", void 0);
|
|
310
|
-
__decorate([
|
|
311
|
-
Input(),
|
|
312
|
-
__metadata("design:type", Number)
|
|
313
|
-
], PaymentViewComponent.prototype, "orderTotalPayments", void 0);
|
|
314
|
-
__decorate([
|
|
315
|
-
Input(),
|
|
316
|
-
__metadata("design:type", Object)
|
|
317
|
-
], PaymentViewComponent.prototype, "payment", void 0);
|
|
318
|
-
__decorate([
|
|
319
|
-
Input(),
|
|
320
|
-
__metadata("design:type", Array)
|
|
321
|
-
], PaymentViewComponent.prototype, "LOGGEDINUSERROLES", void 0);
|
|
322
|
-
__decorate([
|
|
323
|
-
Input(),
|
|
324
|
-
__metadata("design:type", String)
|
|
325
|
-
], PaymentViewComponent.prototype, "ISPAYMENTSTATUSENABLED", void 0);
|
|
326
|
-
__decorate([
|
|
327
|
-
Input(),
|
|
328
|
-
__metadata("design:type", String)
|
|
329
|
-
], PaymentViewComponent.prototype, "orderParty", void 0);
|
|
330
|
-
__decorate([
|
|
331
|
-
Input(),
|
|
332
|
-
__metadata("design:type", Date)
|
|
333
|
-
], PaymentViewComponent.prototype, "orderCreated", void 0);
|
|
334
|
-
__decorate([
|
|
335
|
-
Input(),
|
|
336
|
-
__metadata("design:type", String)
|
|
337
|
-
], PaymentViewComponent.prototype, "orderCCDEvent", void 0);
|
|
338
|
-
__decorate([
|
|
339
|
-
Input(),
|
|
340
|
-
__metadata("design:type", Number)
|
|
341
|
-
], PaymentViewComponent.prototype, "orderFeesTotal", void 0);
|
|
342
|
-
__decorate([
|
|
343
|
-
Input(),
|
|
344
|
-
__metadata("design:type", Number)
|
|
345
|
-
], PaymentViewComponent.prototype, "orderRemissionTotal", void 0);
|
|
346
|
-
__decorate([
|
|
347
|
-
Input(),
|
|
348
|
-
__metadata("design:type", Array)
|
|
349
|
-
], PaymentViewComponent.prototype, "orderDetail", void 0);
|
|
350
|
-
__decorate([
|
|
351
|
-
Input("isServiceRequest"),
|
|
352
|
-
__metadata("design:type", String)
|
|
353
|
-
], PaymentViewComponent.prototype, "isServiceRequest", void 0);
|
|
354
|
-
PaymentViewComponent = __decorate([
|
|
355
|
-
Component({
|
|
356
|
-
selector: 'ccpay-payment-view',
|
|
357
|
-
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",
|
|
358
|
-
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}"]
|
|
359
|
-
}),
|
|
360
|
-
__metadata("design:paramtypes", [PaymentViewService,
|
|
361
|
-
PaymentLibComponent,
|
|
362
|
-
ChangeDetectorRef,
|
|
363
|
-
OrderslistService])
|
|
364
|
-
], PaymentViewComponent);
|
|
365
|
-
return PaymentViewComponent;
|
|
366
|
-
}());
|
|
367
|
-
export { PaymentViewComponent };
|
|
368
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcGF5bWVudC12aWV3L3BheW1lbnQtdmlldy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUF3QixNQUFNLGVBQWUsQ0FBQztBQUMvRSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxrREFBa0QsQ0FBQztBQUN0RixPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUtsRSxJQUFNLGNBQWMsR0FBRyx1QkFBdUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFbEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFPdEU7SUF5Q0UsOEJBQW9CLGtCQUFzQyxFQUNoRCxtQkFBd0MsRUFDeEMsRUFBcUIsRUFDckIsaUJBQW9DO1FBSDlDLGlCQUlDO1FBSm1CLHVCQUFrQixHQUFsQixrQkFBa0IsQ0FBb0I7UUFDaEQsd0JBQW1CLEdBQW5CLG1CQUFtQixDQUFxQjtRQUN4QyxPQUFFLEdBQUYsRUFBRSxDQUFtQjtRQUNyQixzQkFBaUIsR0FBakIsaUJBQWlCLENBQW1CO1FBakI5QyxzQkFBaUIsR0FBWSxLQUFL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gICAgdGhpcy5wYXltZW50Vmlld1NlcnZpY2UuZ2V0QXBwb3J0aW9uUGF5bWVudERldGFpbHModGhpcy5wYXltZW50TGliQ29tcG9uZW50LnBheW1lbnRSZWZlcmVuY2UpLnN1YnNjcmliZShcbiAgICAgIHBheW1lbnRHcm91cCA9PiB7XG4gICAgICAgIGxldCBmZWVzID0gW107XG4gICAgICAgIHBheW1lbnRHcm91cC5mZWVzLmZvckVhY2goZmVlID0+IHtcbiAgICAgICAgICB0aGlzLmlzUmVtaXNzaW9uc01hdGNoID0gZmFsc2U7XG5cbiAgICAgICAgICBwYXltZW50R3JvdXAucmVtaXNzaW9ucy5mb3JFYWNoKHJlbSA9PiB7XG4gICAgICAgICAgICBpZiAocmVtLmZlZV9jb2RlID09PSBmZWUuY29kZSkge1xuICAgICAgICAgICAgICB0aGlzLmlzUmVtaXNzaW9uc01hdGNoID0gdHJ1ZTtcbiAgICAgICAgICAgICAgZmVlWydyZW1pc3Npb25zJ10gPSByZW07XG4gICAgICAgICAgICAgIGZlZXMucHVzaChmZWUpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH0pO1xuICAgICAgICAgIGlmICghdGhpcy5pc1JlbWlzc2lvbnNNYXRjaCkge1xuICAgICAgICAgICAgZmVlcy5wdXNoKGZlZSk7XG4gICAgICAgICAgfVxuICAgICAgICB9KTtcbiAgICAgICAgcGF5bWVudEdyb3VwLmZlZXMgPSBmZWVzXG4gICAgICAgIHRoaXMucGF5bWVudEdyb3VwID0gcGF5bWVudEdyb3VwO1xuXG4gICAgICAgIHRoaXMucGF5bWVudEdyb3VwLnBheW1lbnRzID0gdGhpcy5wYXltZW50R3JvdXAucGF5bWVudHMuZmlsdGVyXG4gICAgICAgICAgKHBheW1lbnRHcm91cE9iaiA9PiBwYXltZW50R3JvdXBPYmpbJ3JlZmVyZW5jZSddLmluY2x1ZGVzKHRoaXMucGF5bWVudExpYkNvbXBvbmVudC5wYXltZW50UmVmZXJlbmNlKSk7XG4gICAgICAgI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N0U2VydmljZS5zZXRvcmRlclBhcnR5KG51bGwpO1xuICAgIHRoaXMuT3JkZXJzbGlzdFNlcnZpY2Uuc2V0b3JkZXJUb3RhbFBheW1lbnRzKG51bGwpO1xuICAgIHRoaXMuT3JkZXJzbGlzdFNlcnZpY2Uuc2V0b3JkZXJSZW1pc3Npb25Ub3RhbChudWxsKTtcbiAgICB0aGlzLk9yZGVyc2xpc3RTZXJ2aWNlLnNldG9yZGVyRmVlc1RvdGFsKG51bGwpO1xuICB9XG5cbiAgZ29Ub1BheW1lbnRGYWlsdWVQYWdlKHBheW1lbnQ6IGFueSkge1xuICB0aGlzLnZpZXdTdGF0dXMgPSAncGF5bWVudC1mYWlsdXJlJztcbiAgdGhpcy5zZWxlY3RlZFBheW1lbnRzU3RhdHVzID0gcGF5bWVudDtcbiAgfVxuICBnb0JhY2tUb1BheW1lbnRWaWV3KGV2ZW50OiBhbnkpIHtcbiAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgIHRoaXMudmlld1N0YXR1cyA9ICdwYXltZW50dmlldyc7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { Component, Input } from '@angular/core';
|
|
3
|
-
var PbaDetailsComponent = /** @class */ (function () {
|
|
4
|
-
function PbaDetailsComponent() {
|
|
5
|
-
}
|
|
6
|
-
PbaDetailsComponent.prototype.ngOnInit = function () {
|
|
7
|
-
};
|
|
8
|
-
__decorate([
|
|
9
|
-
Input(),
|
|
10
|
-
__metadata("design:type", Object)
|
|
11
|
-
], PbaDetailsComponent.prototype, "payment", void 0);
|
|
12
|
-
PbaDetailsComponent = __decorate([
|
|
13
|
-
Component({
|
|
14
|
-
selector: 'ccpay-pba-details',
|
|
15
|
-
template: "\n <h2 class=\"heading-large\">Payment method</h2>\n <table>\n <tbody>\n <tr>\n <td class=\"bold tb-col-w\">Method</td>\n <td class=\"capitalize\">{{ payment.method | lowercase}}</td>\n </tr>\n <tr>\n <td class=\"bold tb-col-w\">Type</td>\n <td>Credit</td>\n </tr>\n <tr *ngIf=\"payment.organisation_name\">\n <td class=\"bold tb-col-w\">PBA account name</td>\n <td>{{ payment.organisation_name }}</td>\n </tr>\n <tr *ngIf=\"payment.account_number\">\n <td class=\"bold tb-col-w\">PBA number</td>\n <td>{{ payment.account_number }}</td>\n </tr>\n <tr *ngIf=\"payment.customer_reference\">\n <td class=\"bold tb-col-w\">Customer internal reference</td>\n <td>{{ payment.customer_reference }}</td>\n </tr>\n </tbody>\n </table>\n",
|
|
16
|
-
styles: [".capitalize::first-letter{text-transform:uppercase}.tb-col-w{width:330px}"]
|
|
17
|
-
}),
|
|
18
|
-
__metadata("design:paramtypes", [])
|
|
19
|
-
], PbaDetailsComponent);
|
|
20
|
-
return PbaDetailsComponent;
|
|
21
|
-
}());
|
|
22
|
-
export { PbaDetailsComponent };
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLWRldGFpbHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9wYmEtZGV0YWlscy9wYmEtZGV0YWlscy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBUXpEO0lBR0U7SUFBZ0IsQ0FBQztJQUVqQixzQ0FBUSxHQUFSO0lBQ0EsQ0FBQztJQUxRO1FBQVIsS0FBSyxFQUFFOzt3REFBbUI7SUFEaEIsbUJBQW1CO1FBTC9CLFNBQVMsQ0FBQztZQUNULFFBQVEsRUFBRSxtQkFBbUI7WUFDN0IsNHpCQUEyQzs7U0FFNUMsQ0FBQzs7T0FDVyxtQkFBbUIsQ0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