@hmcts/ccpay-web-component 5.0.8-beta12 → 5.0.8-beta14
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 +1423 -1096
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +15 -1
- 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 +136 -42
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +28 -15
- package/esm2015/lib/components/card-details/card-details.component.js +14 -10
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +26 -14
- package/esm2015/lib/components/error-banner/error-banner.component.js +16 -13
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +34 -16
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +21 -14
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +21 -14
- package/esm2015/lib/components/page-not-found.component.js +10 -8
- package/esm2015/lib/components/payment-list/payment-list.component.js +14 -10
- package/esm2015/lib/components/payment-view/payment-view.component.js +80 -28
- package/esm2015/lib/components/pba-details/pba-details.component.js +16 -13
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +18 -13
- package/esm2015/lib/components/process-refund/process-refund.component.js +27 -15
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +22 -14
- package/esm2015/lib/components/refund-list/refund-list.component.js +25 -15
- package/esm2015/lib/components/refund-status/refund-status.component.js +39 -18
- package/esm2015/lib/components/reports/reports.component.js +22 -14
- package/esm2015/lib/components/service-request/service-request.component.js +76 -27
- package/esm2015/lib/components/status-history/status-history.component.js +18 -13
- package/esm2015/lib/components/table/table.component.js +37 -17
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +57 -22
- 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 +1 -2
- package/esm2015/lib/interfaces/ICardDetails.js +1 -2
- package/esm2015/lib/interfaces/IFee.js +1 -2
- package/esm2015/lib/interfaces/IOrderReferenceFee.js +1 -2
- package/esm2015/lib/interfaces/IPatchRefundAction.js +1 -2
- package/esm2015/lib/interfaces/IPayment.js +1 -2
- package/esm2015/lib/interfaces/IPaymentFailure.js +1 -2
- package/esm2015/lib/interfaces/IPaymentGroup.js +1 -2
- package/esm2015/lib/interfaces/IPaymentStatus.js +1 -1
- package/esm2015/lib/interfaces/IPaymentView.js +1 -2
- package/esm2015/lib/interfaces/IPayments.js +1 -2
- package/esm2015/lib/interfaces/IRefundAction.js +1 -2
- package/esm2015/lib/interfaces/IRefundList.js +1 -2
- package/esm2015/lib/interfaces/IRefundReasons.js +1 -2
- package/esm2015/lib/interfaces/IRefundRejectReason.js +1 -2
- package/esm2015/lib/interfaces/IRefundStatus.js +1 -2
- package/esm2015/lib/interfaces/IRefundStatusHistory.js +1 -2
- package/esm2015/lib/interfaces/IRemission.js +1 -2
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +1 -1
- package/esm2015/lib/interfaces/IStatusHistories.js +1 -2
- package/esm2015/lib/interfaces/IStatusHistory.js +1 -2
- 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 +120 -42
- package/esm2015/lib/payment-lib.module.js +55 -53
- package/esm2015/lib/payment-lib.service.js +11 -9
- package/esm2015/lib/pipes/capitalize.pipe.js +11 -9
- package/esm2015/lib/pipes/ccd-hyphens.pipe.js +11 -9
- package/esm2015/lib/pipes/key-value.pipe.js +11 -9
- package/esm2015/lib/pipes/sanitize-html.pipe.js +10 -7
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +15 -9
- package/esm2015/lib/services/card-details/card-details.service.js +15 -9
- package/esm2015/lib/services/case-transactions/case-transactions.service.js +15 -9
- package/esm2015/lib/services/orderslist.service.js +11 -9
- package/esm2015/lib/services/payment-list/payment-list.service.js +15 -9
- package/esm2015/lib/services/payment-view/payment-view.service.js +17 -10
- package/esm2015/lib/services/refunds/refunds.service.js +16 -9
- package/esm2015/lib/services/shared/error-handler.service.js +11 -9
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +10 -6
- package/esm2015/lib/services/shared/logger/console-logger.service.js +10 -8
- package/esm2015/lib/services/shared/logger/logger.service.js +10 -8
- package/esm2015/lib/services/status-history/status-history.service.js +15 -9
- package/esm2015/lib/services/xl-file/xl-file.service.js +9 -7
- package/esm2015/public_api.js +1 -1
- package/esm5/hmcts-ccpay-web-component.js +44 -0
- package/esm5/lib/components/add-remission/add-remission.component.js +790 -0
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +401 -0
- package/esm5/lib/components/card-details/card-details.component.js +38 -0
- package/esm5/lib/components/case-transactions/case-transactions.component.js +754 -0
- package/esm5/lib/components/error-banner/error-banner.component.js +23 -0
- package/esm5/lib/components/fee-summary/fee-summary.component.js +254 -0
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +194 -0
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +249 -0
- package/esm5/lib/components/page-not-found.component.js +14 -0
- package/esm5/lib/components/payment-list/payment-list.component.js +37 -0
- package/esm5/lib/components/payment-view/payment-view.component.js +368 -0
- package/esm5/lib/components/pba-details/pba-details.component.js +23 -0
- package/esm5/lib/components/pba-payment/pba-payment.component.js +150 -0
- package/esm5/lib/components/process-refund/process-refund.component.js +310 -0
- package/esm5/lib/components/processed-payments/processed-payments.component.js +43 -0
- package/esm5/lib/components/refund-list/refund-list.component.js +71 -0
- package/esm5/lib/components/refund-status/refund-status.component.js +291 -0
- package/esm5/lib/components/reports/reports.component.js +289 -0
- package/esm5/lib/components/service-request/service-request.component.js +351 -0
- package/esm5/lib/components/status-history/status-history.component.js +35 -0
- package/esm5/lib/components/table/table.component.js +120 -0
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +235 -0
- package/esm5/lib/interfaces/AddRemissionRequest.js +12 -0
- package/esm5/lib/interfaces/AddRetroRemissionRequest.js +9 -0
- package/esm5/lib/interfaces/AllocatePaymentRequest.js +29 -0
- package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +16 -0
- package/esm5/lib/interfaces/IBSPayments.js +1 -0
- package/esm5/lib/interfaces/ICardDetails.js +1 -0
- package/esm5/lib/interfaces/IFee.js +1 -0
- package/esm5/lib/interfaces/IOrderReferenceFee.js +1 -0
- package/esm5/lib/interfaces/IPatchRefundAction.js +1 -0
- package/esm5/lib/interfaces/IPayment.js +1 -0
- package/esm5/lib/interfaces/IPaymentFailure.js +1 -0
- package/esm5/lib/interfaces/IPaymentGroup.js +1 -0
- package/esm5/lib/interfaces/IPaymentStatus.js +7 -0
- package/esm5/lib/interfaces/IPaymentView.js +1 -0
- package/esm5/lib/interfaces/IPayments.js +1 -0
- package/esm5/lib/interfaces/IRefundAction.js +1 -0
- package/esm5/lib/interfaces/IRefundList.js +1 -0
- package/esm5/lib/interfaces/IRefundReasons.js +1 -0
- package/esm5/lib/interfaces/IRefundRejectReason.js +1 -0
- package/esm5/lib/interfaces/IRefundStatus.js +1 -0
- package/esm5/lib/interfaces/IRefundStatusHistory.js +1 -0
- package/esm5/lib/interfaces/IRemission.js +1 -0
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +9 -0
- package/esm5/lib/interfaces/IStatusHistories.js +1 -0
- package/esm5/lib/interfaces/IStatusHistory.js +1 -0
- package/esm5/lib/interfaces/IserviceRequestCardPayment.js +10 -0
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +12 -0
- package/esm5/lib/interfaces/IssueRefundRequest.js +10 -0
- package/esm5/lib/interfaces/PayhubAntennaRequest.js +11 -0
- package/esm5/lib/interfaces/PaymentToPayhubRequest.js +14 -0
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +8 -0
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +9 -0
- package/esm5/lib/interfaces/RefundsRequest.js +9 -0
- package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +14 -0
- package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +17 -0
- package/esm5/lib/payment-lib.component.js +168 -0
- package/esm5/lib/payment-lib.module.js +100 -0
- package/esm5/lib/payment-lib.service.js +41 -0
- package/esm5/lib/pipes/capitalize.pipe.js +18 -0
- package/esm5/lib/pipes/ccd-hyphens.pipe.js +22 -0
- package/esm5/lib/pipes/key-value.pipe.js +24 -0
- package/esm5/lib/pipes/sanitize-html.pipe.js +21 -0
- package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +94 -0
- package/esm5/lib/services/card-details/card-details.service.js +46 -0
- package/esm5/lib/services/case-transactions/case-transactions.service.js +46 -0
- package/esm5/lib/services/orderslist.service.js +157 -0
- package/esm5/lib/services/payment-list/payment-list.service.js +46 -0
- package/esm5/lib/services/payment-view/payment-view.service.js +150 -0
- package/esm5/lib/services/refunds/refunds.service.js +122 -0
- package/esm5/lib/services/shared/error-handler.service.js +101 -0
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +66 -0
- package/esm5/lib/services/shared/logger/console-logger.service.js +60 -0
- package/esm5/lib/services/shared/logger/logger.service.js +26 -0
- package/esm5/lib/services/status-history/status-history.service.js +48 -0
- package/esm5/lib/services/xl-file/xl-file.service.js +155 -0
- package/esm5/public_api.js +7 -0
- package/fesm2015/hmcts-ccpay-web-component.js +1051 -596
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +6381 -0
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -0
- package/hmcts-ccpay-web-component.d.ts +0 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +0 -1
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +0 -1
- package/lib/components/card-details/card-details.component.d.ts +0 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts +1 -2
- package/lib/components/error-banner/error-banner.component.d.ts +0 -1
- package/lib/components/fee-summary/fee-summary.component.d.ts +0 -1
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +0 -1
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +0 -1
- package/lib/components/page-not-found.component.d.ts +0 -1
- package/lib/components/payment-list/payment-list.component.d.ts +0 -1
- package/lib/components/payment-view/payment-view.component.d.ts +0 -1
- package/lib/components/pba-details/pba-details.component.d.ts +0 -1
- package/lib/components/pba-payment/pba-payment.component.d.ts +0 -1
- package/lib/components/process-refund/process-refund.component.d.ts +0 -1
- package/lib/components/processed-payments/processed-payments.component.d.ts +0 -1
- package/lib/components/refund-list/refund-list.component.d.ts +0 -1
- package/lib/components/refund-status/refund-status.component.d.ts +0 -1
- package/lib/components/reports/reports.component.d.ts +0 -1
- package/lib/components/service-request/service-request.component.d.ts +0 -1
- package/lib/components/status-history/status-history.component.d.ts +0 -1
- package/lib/components/table/table.component.d.ts +0 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +0 -1
- package/lib/interfaces/AddRemissionRequest.d.ts +0 -1
- package/lib/interfaces/AddRetroRemissionRequest.d.ts +0 -1
- package/lib/interfaces/AllocatePaymentRequest.d.ts +0 -1
- package/lib/interfaces/IAllocationPaymentsRequest.d.ts +0 -1
- package/lib/interfaces/IBSPayments.d.ts +0 -1
- package/lib/interfaces/ICardDetails.d.ts +0 -1
- package/lib/interfaces/IFee.d.ts +0 -1
- package/lib/interfaces/IOrderReferenceFee.d.ts +0 -1
- package/lib/interfaces/IPatchRefundAction.d.ts +0 -1
- package/lib/interfaces/IPayment.d.ts +0 -1
- package/lib/interfaces/IPaymentFailure.d.ts +0 -1
- package/lib/interfaces/IPaymentGroup.d.ts +0 -1
- package/lib/interfaces/IPaymentStatus.d.ts +0 -1
- package/lib/interfaces/IPaymentView.d.ts +0 -1
- package/lib/interfaces/IPayments.d.ts +0 -1
- package/lib/interfaces/IRefundAction.d.ts +0 -1
- package/lib/interfaces/IRefundList.d.ts +0 -1
- package/lib/interfaces/IRefundReasons.d.ts +0 -1
- package/lib/interfaces/IRefundRejectReason.d.ts +0 -1
- package/lib/interfaces/IRefundStatus.d.ts +0 -1
- package/lib/interfaces/IRefundStatusHistory.d.ts +0 -1
- package/lib/interfaces/IRemission.d.ts +0 -1
- package/lib/interfaces/IResubmitRefundRequest.d.ts +0 -1
- package/lib/interfaces/IStatusHistories.d.ts +0 -1
- package/lib/interfaces/IStatusHistory.d.ts +0 -1
- package/lib/interfaces/IserviceRequestCardPayment.d.ts +0 -1
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +0 -1
- package/lib/interfaces/IssueRefundRequest.d.ts +0 -1
- package/lib/interfaces/PayhubAntennaRequest.d.ts +0 -1
- package/lib/interfaces/PaymentToPayhubRequest.d.ts +0 -1
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +0 -1
- package/lib/interfaces/PostRefundRetroRemission.d.ts +0 -1
- package/lib/interfaces/RefundsRequest.d.ts +0 -1
- package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +0 -1
- package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +0 -1
- package/lib/payment-lib.component.d.ts +0 -1
- package/lib/payment-lib.module.d.ts +0 -1
- package/lib/payment-lib.service.d.ts +0 -1
- package/lib/pipes/capitalize.pipe.d.ts +0 -1
- package/lib/pipes/ccd-hyphens.pipe.d.ts +0 -1
- package/lib/pipes/key-value.pipe.d.ts +0 -1
- package/lib/pipes/sanitize-html.pipe.d.ts +0 -1
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +0 -1
- package/lib/services/card-details/card-details.service.d.ts +0 -1
- package/lib/services/case-transactions/case-transactions.service.d.ts +0 -1
- package/lib/services/orderslist.service.d.ts +0 -1
- package/lib/services/payment-list/payment-list.service.d.ts +0 -1
- package/lib/services/payment-view/payment-view.service.d.ts +0 -1
- package/lib/services/refunds/refunds.service.d.ts +0 -1
- package/lib/services/shared/error-handler.service.d.ts +0 -1
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +0 -1
- package/lib/services/shared/logger/console-logger.service.d.ts +0 -1
- package/lib/services/shared/logger/logger.service.d.ts +0 -1
- package/lib/services/status-history/status-history.service.d.ts +0 -1
- package/lib/services/xl-file/xl-file.service.d.ts +0 -1
- package/package.json +6 -4
- package/public_api.d.ts +0 -1
- package/hmcts-ccpay-web-component.d.ts.map +0 -1
- package/lib/components/add-remission/add-remission.component.d.ts.map +0 -1
- package/lib/components/add-remission/add-remission.component.ngfactory.d.ts.map +0 -1
- package/lib/components/add-remission/add-remission.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/allocate-payments/allocate-payments.component.d.ts.map +0 -1
- package/lib/components/allocate-payments/allocate-payments.component.ngfactory.d.ts.map +0 -1
- package/lib/components/allocate-payments/allocate-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/card-details/card-details.component.css.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/card-details/card-details.component.d.ts.map +0 -1
- package/lib/components/card-details/card-details.component.ngfactory.d.ts.map +0 -1
- package/lib/components/case-transactions/case-transactions.component.css.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts.map +0 -1
- package/lib/components/case-transactions/case-transactions.component.ngfactory.d.ts.map +0 -1
- package/lib/components/error-banner/error-banner.component.d.ts.map +0 -1
- package/lib/components/error-banner/error-banner.component.ngfactory.d.ts.map +0 -1
- package/lib/components/error-banner/error-banner.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/fee-summary/fee-summary.component.d.ts.map +0 -1
- package/lib/components/fee-summary/fee-summary.component.ngfactory.d.ts.map +0 -1
- package/lib/components/fee-summary/fee-summary.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts.map +0 -1
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.ngfactory.d.ts.map +0 -1
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts.map +0 -1
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.ngfactory.d.ts.map +0 -1
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/page-not-found.component.d.ts.map +0 -1
- package/lib/components/page-not-found.component.ngfactory.d.ts.map +0 -1
- package/lib/components/payment-list/payment-list.component.css.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/payment-list/payment-list.component.d.ts.map +0 -1
- package/lib/components/payment-list/payment-list.component.ngfactory.d.ts.map +0 -1
- package/lib/components/payment-view/payment-view.component.css.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/payment-view/payment-view.component.d.ts.map +0 -1
- package/lib/components/payment-view/payment-view.component.ngfactory.d.ts.map +0 -1
- package/lib/components/pba-details/pba-details.component.css.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/pba-details/pba-details.component.d.ts.map +0 -1
- package/lib/components/pba-details/pba-details.component.ngfactory.d.ts.map +0 -1
- package/lib/components/pba-payment/pba-payment.component.d.ts.map +0 -1
- package/lib/components/pba-payment/pba-payment.component.ngfactory.d.ts.map +0 -1
- package/lib/components/pba-payment/pba-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/process-refund/process-refund.component.css.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/process-refund/process-refund.component.d.ts.map +0 -1
- package/lib/components/process-refund/process-refund.component.ngfactory.d.ts.map +0 -1
- package/lib/components/processed-payments/processed-payments.component.d.ts.map +0 -1
- package/lib/components/processed-payments/processed-payments.component.ngfactory.d.ts.map +0 -1
- package/lib/components/processed-payments/processed-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/refund-list/refund-list.component.css.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/refund-list/refund-list.component.d.ts.map +0 -1
- package/lib/components/refund-list/refund-list.component.ngfactory.d.ts.map +0 -1
- package/lib/components/refund-status/refund-status.component.css.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/refund-status/refund-status.component.d.ts.map +0 -1
- package/lib/components/refund-status/refund-status.component.ngfactory.d.ts.map +0 -1
- package/lib/components/reports/reports.component.d.ts.map +0 -1
- package/lib/components/reports/reports.component.ngfactory.d.ts.map +0 -1
- package/lib/components/reports/reports.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/service-request/service-request.component.css.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/service-request/service-request.component.d.ts.map +0 -1
- package/lib/components/service-request/service-request.component.ngfactory.d.ts.map +0 -1
- package/lib/components/status-history/status-history.component.css.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/status-history/status-history.component.d.ts.map +0 -1
- package/lib/components/status-history/status-history.component.ngfactory.d.ts.map +0 -1
- package/lib/components/table/table.component.css.shim.ngstyle.d.ts.map +0 -1
- package/lib/components/table/table.component.d.ts.map +0 -1
- package/lib/components/table/table.component.ngfactory.d.ts.map +0 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts.map +0 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.ngfactory.d.ts.map +0 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/lib/interfaces/AddRemissionRequest.d.ts.map +0 -1
- package/lib/interfaces/AddRetroRemissionRequest.d.ts.map +0 -1
- package/lib/interfaces/AllocatePaymentRequest.d.ts.map +0 -1
- package/lib/interfaces/IAllocationPaymentsRequest.d.ts.map +0 -1
- package/lib/interfaces/IBSPayments.d.ts.map +0 -1
- package/lib/interfaces/ICardDetails.d.ts.map +0 -1
- package/lib/interfaces/IFee.d.ts.map +0 -1
- package/lib/interfaces/IOrderReferenceFee.d.ts.map +0 -1
- package/lib/interfaces/IPatchRefundAction.d.ts.map +0 -1
- package/lib/interfaces/IPayment.d.ts.map +0 -1
- package/lib/interfaces/IPaymentFailure.d.ts.map +0 -1
- package/lib/interfaces/IPaymentGroup.d.ts.map +0 -1
- package/lib/interfaces/IPaymentStatus.d.ts.map +0 -1
- package/lib/interfaces/IPaymentView.d.ts.map +0 -1
- package/lib/interfaces/IPayments.d.ts.map +0 -1
- package/lib/interfaces/IRefundAction.d.ts.map +0 -1
- package/lib/interfaces/IRefundList.d.ts.map +0 -1
- package/lib/interfaces/IRefundReasons.d.ts.map +0 -1
- package/lib/interfaces/IRefundRejectReason.d.ts.map +0 -1
- package/lib/interfaces/IRefundStatus.d.ts.map +0 -1
- package/lib/interfaces/IRefundStatusHistory.d.ts.map +0 -1
- package/lib/interfaces/IRemission.d.ts.map +0 -1
- package/lib/interfaces/IResubmitRefundRequest.d.ts.map +0 -1
- package/lib/interfaces/IStatusHistories.d.ts.map +0 -1
- package/lib/interfaces/IStatusHistory.d.ts.map +0 -1
- package/lib/interfaces/IserviceRequestCardPayment.d.ts.map +0 -1
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts.map +0 -1
- package/lib/interfaces/IssueRefundRequest.d.ts.map +0 -1
- package/lib/interfaces/PayhubAntennaRequest.d.ts.map +0 -1
- package/lib/interfaces/PaymentToPayhubRequest.d.ts.map +0 -1
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts.map +0 -1
- package/lib/interfaces/PostRefundRetroRemission.d.ts.map +0 -1
- package/lib/interfaces/RefundsRequest.d.ts.map +0 -1
- package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts.map +0 -1
- package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts.map +0 -1
- package/lib/payment-lib.component.d.ts.map +0 -1
- package/lib/payment-lib.component.ngfactory.d.ts.map +0 -1
- package/lib/payment-lib.module.d.ts.map +0 -1
- package/lib/payment-lib.module.ngfactory.d.ts.map +0 -1
- package/lib/payment-lib.service.d.ts.map +0 -1
- package/lib/payment-lib.service.ngfactory.d.ts.map +0 -1
- package/lib/pipes/capitalize.pipe.d.ts.map +0 -1
- package/lib/pipes/capitalize.pipe.ngfactory.d.ts.map +0 -1
- package/lib/pipes/ccd-hyphens.pipe.d.ts.map +0 -1
- package/lib/pipes/ccd-hyphens.pipe.ngfactory.d.ts.map +0 -1
- package/lib/pipes/key-value.pipe.d.ts.map +0 -1
- package/lib/pipes/key-value.pipe.ngfactory.d.ts.map +0 -1
- package/lib/pipes/sanitize-html.pipe.d.ts.map +0 -1
- package/lib/pipes/sanitize-html.pipe.ngfactory.d.ts.map +0 -1
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts.map +0 -1
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.ngfactory.d.ts.map +0 -1
- package/lib/services/card-details/card-details.service.d.ts.map +0 -1
- package/lib/services/card-details/card-details.service.ngfactory.d.ts.map +0 -1
- package/lib/services/case-transactions/case-transactions.service.d.ts.map +0 -1
- package/lib/services/case-transactions/case-transactions.service.ngfactory.d.ts.map +0 -1
- package/lib/services/orderslist.service.d.ts.map +0 -1
- package/lib/services/orderslist.service.ngfactory.d.ts.map +0 -1
- package/lib/services/payment-list/payment-list.service.d.ts.map +0 -1
- package/lib/services/payment-list/payment-list.service.ngfactory.d.ts.map +0 -1
- package/lib/services/payment-view/payment-view.service.d.ts.map +0 -1
- package/lib/services/payment-view/payment-view.service.ngfactory.d.ts.map +0 -1
- package/lib/services/refunds/refunds.service.d.ts.map +0 -1
- package/lib/services/refunds/refunds.service.ngfactory.d.ts.map +0 -1
- package/lib/services/shared/error-handler.service.d.ts.map +0 -1
- package/lib/services/shared/error-handler.service.ngfactory.d.ts.map +0 -1
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts.map +0 -1
- package/lib/services/shared/httpclient/webcomponent.http.client.ngfactory.d.ts.map +0 -1
- package/lib/services/shared/logger/console-logger.service.d.ts.map +0 -1
- package/lib/services/shared/logger/console-logger.service.ngfactory.d.ts.map +0 -1
- package/lib/services/shared/logger/logger.service.d.ts.map +0 -1
- package/lib/services/shared/logger/logger.service.ngfactory.d.ts.map +0 -1
- package/lib/services/status-history/status-history.service.d.ts.map +0 -1
- package/lib/services/status-history/status-history.service.ngfactory.d.ts.map +0 -1
- package/lib/services/xl-file/xl-file.service.d.ts.map +0 -1
- package/lib/services/xl-file/xl-file.service.ngfactory.d.ts.map +0 -1
- package/public_api.d.ts.map +0 -1
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
import { __decorate, __metadata, __values } from "tslib";
|
|
2
|
+
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
3
|
+
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
|
+
import { Router } from '@angular/router';
|
|
5
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
6
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
7
|
+
var ServiceRequestComponent = /** @class */ (function () {
|
|
8
|
+
function ServiceRequestComponent(paymentLibComponent, paymentViewService, OrderslistService, router) {
|
|
9
|
+
var _this = this;
|
|
10
|
+
this.paymentLibComponent = paymentLibComponent;
|
|
11
|
+
this.paymentViewService = paymentViewService;
|
|
12
|
+
this.OrderslistService = OrderslistService;
|
|
13
|
+
this.router = router;
|
|
14
|
+
this.goToServiceRquestComponent = new EventEmitter();
|
|
15
|
+
this.paymentGroups = [];
|
|
16
|
+
this.payments = [];
|
|
17
|
+
this.nonPayments = [];
|
|
18
|
+
this.allPayments = [];
|
|
19
|
+
this.remissions = [];
|
|
20
|
+
this.fees = [];
|
|
21
|
+
this.isRefundRemission = true;
|
|
22
|
+
this.isAddFeeBtnEnabled = true;
|
|
23
|
+
this.isExceptionRecord = false;
|
|
24
|
+
this.isUnprocessedRecordSelected = false;
|
|
25
|
+
this.isAnyFeeGroupAvilable = true;
|
|
26
|
+
this.isHistoricGroupAvailable = false;
|
|
27
|
+
this.isRemoveBtnDisabled = false;
|
|
28
|
+
this.clAmountDue = 0;
|
|
29
|
+
this.isFeeRecordsExist = false;
|
|
30
|
+
this.isGrpOutstandingAmtPositive = false;
|
|
31
|
+
this.isAddRemissionEnable = false;
|
|
32
|
+
this.orderRemissionDetails = [];
|
|
33
|
+
this.orderLevelFees = [];
|
|
34
|
+
this.cpoDetails = null;
|
|
35
|
+
this.isPBA = false;
|
|
36
|
+
this.isIssueRefunfBtnEnable = false;
|
|
37
|
+
this.isAddRemissionBtnEnabled = false;
|
|
38
|
+
this.isRefundRemissionBtnEnable = false;
|
|
39
|
+
this.allowedRolesToAccessRefund = ['payments-refund-approver', 'payments-refund'];
|
|
40
|
+
this.check4AllowedRoles2AccessRefund = function () {
|
|
41
|
+
return _this.allowedRolesToAccessRefund.some(function (role) {
|
|
42
|
+
return _this.LOGGEDINUSERROLES.indexOf(role) !== -1;
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
this.allowFurtherAccessAfter4Days = function (payment) {
|
|
46
|
+
if (payment !== null && payment !== undefined) {
|
|
47
|
+
var tmp4DayAgo = new Date();
|
|
48
|
+
tmp4DayAgo.setDate(tmp4DayAgo.getDate() - 4);
|
|
49
|
+
return tmp4DayAgo >= new Date(payment.date_created);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
ServiceRequestComponent.prototype.ngOnInit = function () {
|
|
54
|
+
var _this = this;
|
|
55
|
+
if (this.viewStatus === undefined) {
|
|
56
|
+
this.viewStatus = this.paymentLibComponent.viewName;
|
|
57
|
+
}
|
|
58
|
+
if (this.paymentLibComponent.isFromServiceRequestPage && this.paymentLibComponent.isFromPaymentDetailPage) {
|
|
59
|
+
if (this.paymentLibComponent.isFromPaymentDetailPage && this.paymentLibComponent.isFromServiceRequestPage) {
|
|
60
|
+
this.OrderslistService.getorderRefs().subscribe(function (data) { return _this.orderRef = data; });
|
|
61
|
+
this.OrderslistService.getorderCCDEvents().subscribe(function (data) { return _this.orderCCDEvent = data; });
|
|
62
|
+
this.OrderslistService.getorderCreateds().subscribe(function (data) { return _this.orderCreated = data; });
|
|
63
|
+
this.OrderslistService.getorderDetail().subscribe(function (data) { return _this.orderDetail = data; });
|
|
64
|
+
this.OrderslistService.getorderPartys().subscribe(function (data) { return _this.orderParty = data; });
|
|
65
|
+
this.OrderslistService.getorderRemissionTotals().subscribe(function (data) { return _this.orderRemissionTotal = data; });
|
|
66
|
+
this.OrderslistService.getorderFeesTotals().subscribe(function (data) { return _this.orderFeesTotal = data; });
|
|
67
|
+
this.OrderslistService.getoorderTotalPaymentss().subscribe(function (data) { return _this.orderTotalPayments = data; });
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
// if (this.takePayment) {
|
|
71
|
+
// this.paymentLibComponent.TAKEPAYMENT = this.takePayment;
|
|
72
|
+
// }
|
|
73
|
+
};
|
|
74
|
+
ServiceRequestComponent.prototype.goToServiceRequestPage = function () {
|
|
75
|
+
this.goToServiceRquestComponent.emit();
|
|
76
|
+
};
|
|
77
|
+
ServiceRequestComponent.prototype.goToCaseTransationPage = function (event) {
|
|
78
|
+
event.preventDefault();
|
|
79
|
+
this.OrderslistService.setnavigationPage('servicerequestpage');
|
|
80
|
+
this.OrderslistService.setisFromServiceRequestPage(false);
|
|
81
|
+
this.paymentLibComponent.viewName = 'case-transactions';
|
|
82
|
+
this.paymentLibComponent.ISBSENABLE = true;
|
|
83
|
+
this.paymentLibComponent.isTakePayment = this.paymentLibComponent.TAKEPAYMENT;
|
|
84
|
+
if (this.takePayment) {
|
|
85
|
+
this.paymentLibComponent.isTakePayment = this.takePayment;
|
|
86
|
+
}
|
|
87
|
+
this.paymentLibComponent.SERVICEREQUEST = "true";
|
|
88
|
+
this.paymentLibComponent.isFromServiceRequestPage = false;
|
|
89
|
+
if (this.isServiceRequest !== 'false') {
|
|
90
|
+
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
91
|
+
}
|
|
92
|
+
this.paymentLibComponent.isFromRefundStatusPage = false;
|
|
93
|
+
this.paymentLibComponent.viewName = 'case-transactions';
|
|
94
|
+
this.resetOrderData();
|
|
95
|
+
var partUrl = this.paymentLibComponent.ISBSENABLE ? '&isBulkScanning=Enable' : '&isBulkScanning=Disable';
|
|
96
|
+
partUrl += this.paymentLibComponent.ISTURNOFF ? '&isTurnOff=Enable' : '&isTurnOff=Disable';
|
|
97
|
+
if (this.isServiceRequest === 'false') {
|
|
98
|
+
partUrl += this.paymentLibComponent.TAKEPAYMENT ? '&takePayment=true' : '&takePayment=false';
|
|
99
|
+
}
|
|
100
|
+
partUrl += this.isStrategicFixEnable ? '&isStFixEnable=Enable' : '&isStFixEnable=Disable';
|
|
101
|
+
partUrl += this.isServiceRequest !== 'false' ? '&servicerequest=true' : '&servicerequest=false';
|
|
102
|
+
partUrl += "&caseType=" + this.paymentLibComponent.CASETYPE;
|
|
103
|
+
var url = "/payment-history/" + this.paymentLibComponent.CCD_CASE_NUMBER + "?view=case-transactions&selectedOption=" + this.paymentLibComponent.SELECTED_OPTION + partUrl;
|
|
104
|
+
this.router.routeReuseStrategy.shouldReuseRoute = function () { return false; };
|
|
105
|
+
this.router.onSameUrlNavigation = 'reload';
|
|
106
|
+
this.router.navigateByUrl(url);
|
|
107
|
+
};
|
|
108
|
+
ServiceRequestComponent.prototype.chkForAddRemission = function (feeCode) {
|
|
109
|
+
var e_1, _a;
|
|
110
|
+
if (this.chkForPBAPayment() && this.check4AllowedRoles2AccessRefund()) {
|
|
111
|
+
if (this.orderDetail[0]['remissions'].length > 0) {
|
|
112
|
+
try {
|
|
113
|
+
for (var _b = __values(this.orderDetail[0]['remissions']), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
114
|
+
var remission = _c.value;
|
|
115
|
+
if (remission.fee_code === feeCode) {
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
121
|
+
finally {
|
|
122
|
+
try {
|
|
123
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
124
|
+
}
|
|
125
|
+
finally { if (e_1) throw e_1.error; }
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return true;
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
return false;
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
ServiceRequestComponent.prototype.chkForPBAPayment = function () {
|
|
135
|
+
var _this = this;
|
|
136
|
+
if (this.orderDetail !== null && this.orderDetail !== undefined) {
|
|
137
|
+
this.orderDetail.forEach(function (orderDetail) {
|
|
138
|
+
if (orderDetail.payments) {
|
|
139
|
+
orderDetail.payments.forEach(function (payment) {
|
|
140
|
+
if (payment.method.toLocaleLowerCase() === 'payment by account' && _this.allowFurtherAccessAfter4Days(payment)) {
|
|
141
|
+
_this.paymentLibComponent.paymentReference = payment.reference;
|
|
142
|
+
_this.isPBA = true;
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
if (this.isPBA) {
|
|
148
|
+
return true;
|
|
149
|
+
}
|
|
150
|
+
else {
|
|
151
|
+
return false;
|
|
152
|
+
}
|
|
153
|
+
;
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
ServiceRequestComponent.prototype.addRemission = function (fee) {
|
|
157
|
+
var _this = this;
|
|
158
|
+
if (this.chkForAddRemission(fee.code)) {
|
|
159
|
+
this.feeId = fee;
|
|
160
|
+
this.viewStatus = 'addremission';
|
|
161
|
+
this.payment = this.orderDetail[0].payments[0];
|
|
162
|
+
this.paymentViewService.getApportionPaymentDetails(this.orderDetail[0].payments[0].reference).subscribe(function (paymentGroup) {
|
|
163
|
+
_this.paymentGroup = paymentGroup;
|
|
164
|
+
_this.paymentGroup.payments = _this.paymentGroup.payments.filter(function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.paymentLibComponent.paymentReference); });
|
|
165
|
+
_this.payment = _this.paymentGroup.payments[0];
|
|
166
|
+
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
167
|
+
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
168
|
+
}, function (error) { return _this.errorMessage = error.replace(/"/g, ""); });
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
ServiceRequestComponent.prototype.addRefundForRemission = function (payment, remission, fees) {
|
|
172
|
+
var _this = this;
|
|
173
|
+
this.viewStatus = 'addrefundforremission';
|
|
174
|
+
this.payment = payment;
|
|
175
|
+
this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe(function (paymentGroup) {
|
|
176
|
+
_this.paymentGroup = paymentGroup;
|
|
177
|
+
_this.paymentGroup.payments = _this.paymentGroup.payments.filter(function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); });
|
|
178
|
+
_this.payment = _this.paymentGroup.payments[0];
|
|
179
|
+
_this.remissions = remission;
|
|
180
|
+
_this.remissionFeeAmt = fees.filter(function (data) { return data.code === _this.remissions['fee_code']; })[0].net_amount;
|
|
181
|
+
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
182
|
+
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
183
|
+
}, function (error) { return _this.errorMessage = error; });
|
|
184
|
+
};
|
|
185
|
+
ServiceRequestComponent.prototype.cancelRemoval = function () {
|
|
186
|
+
this.viewStatus = 'main';
|
|
187
|
+
};
|
|
188
|
+
ServiceRequestComponent.prototype.removeFee = function (fee) {
|
|
189
|
+
var _this = this;
|
|
190
|
+
this.isRemoveBtnDisabled = true;
|
|
191
|
+
this.paymentViewService.deleteFeeFromPaymentGroup(fee).subscribe(function (success) {
|
|
192
|
+
window.location.reload();
|
|
193
|
+
}, function (error) {
|
|
194
|
+
_this.errorMessage = error;
|
|
195
|
+
_this.isRemoveBtnDisabled = false;
|
|
196
|
+
});
|
|
197
|
+
};
|
|
198
|
+
ServiceRequestComponent.prototype.chkIssueRefundBtnEnable = function (payment) {
|
|
199
|
+
if (this.check4AllowedRoles2AccessRefund() && this.allowFurtherAccessAfter4Days(payment) &&
|
|
200
|
+
payment.method === 'payment by account' && payment.status.toLocaleLowerCase() === 'success') {
|
|
201
|
+
this.isIssueRefunfBtnEnable = true;
|
|
202
|
+
}
|
|
203
|
+
if (this.isIssueRefunfBtnEnable) {
|
|
204
|
+
return true;
|
|
205
|
+
}
|
|
206
|
+
else {
|
|
207
|
+
return false;
|
|
208
|
+
}
|
|
209
|
+
;
|
|
210
|
+
};
|
|
211
|
+
ServiceRequestComponent.prototype.chkIsRefundRemissionBtnEnable = function () {
|
|
212
|
+
var _this = this;
|
|
213
|
+
if (this.orderDetail !== null && this.orderDetail !== undefined) {
|
|
214
|
+
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
215
|
+
this.orderDetail.forEach(function (orderDetail) {
|
|
216
|
+
if (orderDetail.payments) {
|
|
217
|
+
orderDetail.payments.forEach(function (payment) {
|
|
218
|
+
if (payment.method.toLocaleLowerCase() === 'payment by account' && payment.status.toLocaleLowerCase() === 'success' && _this.allowFurtherAccessAfter4Days(payment)) {
|
|
219
|
+
_this.isRefundRemissionBtnEnable = true;
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
if (this.isRefundRemissionBtnEnable) {
|
|
225
|
+
return true;
|
|
226
|
+
}
|
|
227
|
+
else {
|
|
228
|
+
return false;
|
|
229
|
+
}
|
|
230
|
+
;
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
ServiceRequestComponent.prototype.issueRefund = function (payment) {
|
|
234
|
+
if (payment !== null && payment !== undefined) {
|
|
235
|
+
if (this.chkIssueRefundBtnEnable(payment)) {
|
|
236
|
+
this.viewStatus = 'issuerefund';
|
|
237
|
+
this.payment = payment;
|
|
238
|
+
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
239
|
+
this.isRefundRemission = true;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
ServiceRequestComponent.prototype.goToPayementView = function (paymentGroupReference, paymentReference, paymentMethod) {
|
|
244
|
+
this.goToPaymentViewComponent({ paymentGroupReference: paymentGroupReference, paymentReference: paymentReference, paymentMethod: paymentMethod });
|
|
245
|
+
};
|
|
246
|
+
ServiceRequestComponent.prototype.goToPaymentViewComponent = function (paymentGroup) {
|
|
247
|
+
this.paymentLibComponent.paymentMethod = paymentGroup.paymentMethod;
|
|
248
|
+
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
249
|
+
this.paymentLibComponent.paymentGroupReference = paymentGroup.paymentGroupReference;
|
|
250
|
+
this.paymentLibComponent.paymentReference = paymentGroup.paymentReference;
|
|
251
|
+
this.OrderslistService.setOrderRef(this.orderRef);
|
|
252
|
+
this.OrderslistService.setorderCCDEvent(this.orderCCDEvent);
|
|
253
|
+
this.OrderslistService.setorderCreated(this.orderCreated);
|
|
254
|
+
this.OrderslistService.setorderDetail(this.orderDetail);
|
|
255
|
+
this.OrderslistService.setorderParty(this.orderParty);
|
|
256
|
+
this.OrderslistService.setorderTotalPayments(this.orderTotalPayments);
|
|
257
|
+
this.OrderslistService.setorderRemissionTotal(this.orderRemissionTotal);
|
|
258
|
+
this.OrderslistService.setorderFeesTotal(this.orderFeesTotal);
|
|
259
|
+
this.viewStatus = 'payment-view';
|
|
260
|
+
};
|
|
261
|
+
ServiceRequestComponent.prototype.resetOrderData = function () {
|
|
262
|
+
this.OrderslistService.setOrderRef(null);
|
|
263
|
+
this.OrderslistService.setorderCCDEvent(null);
|
|
264
|
+
this.OrderslistService.setorderCreated(null);
|
|
265
|
+
this.OrderslistService.setorderDetail(null);
|
|
266
|
+
this.OrderslistService.setorderParty(null);
|
|
267
|
+
this.OrderslistService.setorderTotalPayments(null);
|
|
268
|
+
this.OrderslistService.setorderRemissionTotal(null);
|
|
269
|
+
this.OrderslistService.setorderFeesTotal(null);
|
|
270
|
+
};
|
|
271
|
+
ServiceRequestComponent.ctorParameters = function () { return [
|
|
272
|
+
{ type: PaymentLibComponent },
|
|
273
|
+
{ type: PaymentViewService },
|
|
274
|
+
{ type: OrderslistService },
|
|
275
|
+
{ type: Router }
|
|
276
|
+
]; };
|
|
277
|
+
__decorate([
|
|
278
|
+
Input('LOGGEDINUSERROLES'),
|
|
279
|
+
__metadata("design:type", Array)
|
|
280
|
+
], ServiceRequestComponent.prototype, "LOGGEDINUSERROLES", void 0);
|
|
281
|
+
__decorate([
|
|
282
|
+
Input('viewStatus'),
|
|
283
|
+
__metadata("design:type", String)
|
|
284
|
+
], ServiceRequestComponent.prototype, "viewStatus", void 0);
|
|
285
|
+
__decorate([
|
|
286
|
+
Input('orderDetail'),
|
|
287
|
+
__metadata("design:type", Array)
|
|
288
|
+
], ServiceRequestComponent.prototype, "orderDetail", void 0);
|
|
289
|
+
__decorate([
|
|
290
|
+
Input('orderRef'),
|
|
291
|
+
__metadata("design:type", String)
|
|
292
|
+
], ServiceRequestComponent.prototype, "orderRef", void 0);
|
|
293
|
+
__decorate([
|
|
294
|
+
Input('orderStatus'),
|
|
295
|
+
__metadata("design:type", String)
|
|
296
|
+
], ServiceRequestComponent.prototype, "orderStatus", void 0);
|
|
297
|
+
__decorate([
|
|
298
|
+
Input('orderParty'),
|
|
299
|
+
__metadata("design:type", String)
|
|
300
|
+
], ServiceRequestComponent.prototype, "orderParty", void 0);
|
|
301
|
+
__decorate([
|
|
302
|
+
Input('orderCreated'),
|
|
303
|
+
__metadata("design:type", Date)
|
|
304
|
+
], ServiceRequestComponent.prototype, "orderCreated", void 0);
|
|
305
|
+
__decorate([
|
|
306
|
+
Input('orderCCDEvent'),
|
|
307
|
+
__metadata("design:type", String)
|
|
308
|
+
], ServiceRequestComponent.prototype, "orderCCDEvent", void 0);
|
|
309
|
+
__decorate([
|
|
310
|
+
Input('orderFeesTotal'),
|
|
311
|
+
__metadata("design:type", Number)
|
|
312
|
+
], ServiceRequestComponent.prototype, "orderFeesTotal", void 0);
|
|
313
|
+
__decorate([
|
|
314
|
+
Input('orderTotalPayments'),
|
|
315
|
+
__metadata("design:type", Number)
|
|
316
|
+
], ServiceRequestComponent.prototype, "orderTotalPayments", void 0);
|
|
317
|
+
__decorate([
|
|
318
|
+
Input('orderRemissionTotal'),
|
|
319
|
+
__metadata("design:type", Number)
|
|
320
|
+
], ServiceRequestComponent.prototype, "orderRemissionTotal", void 0);
|
|
321
|
+
__decorate([
|
|
322
|
+
Input('takePayment'),
|
|
323
|
+
__metadata("design:type", Boolean)
|
|
324
|
+
], ServiceRequestComponent.prototype, "takePayment", void 0);
|
|
325
|
+
__decorate([
|
|
326
|
+
Input('ccdCaseNumber'),
|
|
327
|
+
__metadata("design:type", Boolean)
|
|
328
|
+
], ServiceRequestComponent.prototype, "ccdCaseNumber", void 0);
|
|
329
|
+
__decorate([
|
|
330
|
+
Input("isServiceRequest"),
|
|
331
|
+
__metadata("design:type", String)
|
|
332
|
+
], ServiceRequestComponent.prototype, "isServiceRequest", void 0);
|
|
333
|
+
__decorate([
|
|
334
|
+
Output(),
|
|
335
|
+
__metadata("design:type", EventEmitter)
|
|
336
|
+
], ServiceRequestComponent.prototype, "goToServiceRquestComponent", void 0);
|
|
337
|
+
ServiceRequestComponent = __decorate([
|
|
338
|
+
Component({
|
|
339
|
+
selector: 'ccpay-service-request',
|
|
340
|
+
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",
|
|
341
|
+
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%}"]
|
|
342
|
+
}),
|
|
343
|
+
__metadata("design:paramtypes", [PaymentLibComponent,
|
|
344
|
+
PaymentViewService,
|
|
345
|
+
OrderslistService,
|
|
346
|
+
Router])
|
|
347
|
+
], ServiceRequestComponent);
|
|
348
|
+
return Service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YXltZW50cyh0aGlzLm9yZGVyVG90YWxQYXltZW50cyk7XG4gICAgdGhpcy5PcmRlcnNsaXN0U2VydmljZS5zZXRvcmRlclJlbWlzc2lvblRvdGFsKHRoaXMub3JkZXJSZW1pc3Npb25Ub3RhbCk7XG4gICAgdGhpcy5PcmRlcnNsaXN0U2VydmljZS5zZXRvcmRlckZlZXNUb3RhbCh0aGlzLm9yZGVyRmVlc1RvdGFsKTtcbiAgICB0aGlzLnZpZXdTdGF0dXMgPSAncGF5bWVudC12aWV3JztcbiAgfVxuXG4gIHJlc2V0T3JkZXJEYXRhKCkge1xuICAgIHRoaXMuT3JkZXJzbGlzdFNlcnZpY2Uuc2V0T3JkZXJSZWYobnVsbCk7XG4gICAgdGhpcy5PcmRlcnNsaXN0U2VydmljZS5zZXRvcmRlckNDREV2ZW50KG51bGwpO1xuICAgIHRoaXMuT3JkZXJzbGlzdFNlcnZpY2Uuc2V0b3JkZXJDcmVhdGVkKG51bGwpO1xuICAgIHRoaXMuT3JkZXJzbGlzdFNlcnZpY2Uuc2V0b3JkZXJEZXRhaWwobnVsbCk7XG4gICAgdGhpcy5PcmRlcnNsaXN0U2VydmljZS5zZXRvcmRlclBhcnR5KG51bGwpO1xuICAgIHRoaXMuT3JkZXJzbGlzdFNlcnZpY2Uuc2V0b3JkZXJUb3RhbFBheW1lbnRzKG51bGwpO1xuICAgIHRoaXMuT3JkZXJzbGlzdFNlcnZpY2Uuc2V0b3JkZXJSZW1pc3Npb25Ub3RhbChudWxsKTtcbiAgICB0aGlzLk9yZGVyc2xpc3RTZXJ2aWNlLnNldG9yZGVyRmVlc1RvdGFsKG51bGwpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { Component, Input } from '@angular/core';
|
|
3
|
+
import { StatusHistoryService } from '../../services/status-history/status-history.service';
|
|
4
|
+
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
5
|
+
var StatusHistoryComponent = /** @class */ (function () {
|
|
6
|
+
function StatusHistoryComponent(statusHistoryService, paymentLibComponent) {
|
|
7
|
+
this.statusHistoryService = statusHistoryService;
|
|
8
|
+
this.paymentLibComponent = paymentLibComponent;
|
|
9
|
+
this.pageTitle = 'Payment status history';
|
|
10
|
+
}
|
|
11
|
+
StatusHistoryComponent.prototype.ngOnInit = function () {
|
|
12
|
+
var _this = this;
|
|
13
|
+
this.statusHistoryService.getPaymentStatusesByReference(this.paymentLibComponent.paymentReference, this.paymentLibComponent.paymentMethod).subscribe(function (statuses) { return _this.statuses = statuses; }, function (error) { return _this.errorMessage = error.replace(/"/g, ""); });
|
|
14
|
+
};
|
|
15
|
+
StatusHistoryComponent.ctorParameters = function () { return [
|
|
16
|
+
{ type: StatusHistoryService },
|
|
17
|
+
{ type: PaymentLibComponent }
|
|
18
|
+
]; };
|
|
19
|
+
__decorate([
|
|
20
|
+
Input(),
|
|
21
|
+
__metadata("design:type", Boolean)
|
|
22
|
+
], StatusHistoryComponent.prototype, "isTakePayment", void 0);
|
|
23
|
+
StatusHistoryComponent = __decorate([
|
|
24
|
+
Component({
|
|
25
|
+
selector: 'ccpay-payment-statuses',
|
|
26
|
+
template: "<div class=\"column\">\n <h2 class=\"heading-medium\">{{ pageTitle }}</h2>\n</div>\n\n\n<div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\" *ngIf=\"errorMessage\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payment status history could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n</div>\n\n<div *ngIf=\"!errorMessage && statuses\">\n <table>\n <thead>\n <tr>\n <th>Status</th>\n <th *ngIf=\"isTakePayment\">Amount</th>\n <th>Date and time</th>\n </tr>\n </thead> \n <tbody>\n <tr *ngFor=\"let status of statuses.status_histories\">\n <td>{{ status.status }}</td>\n <td *ngIf=\"isTakePayment\">\u00A3{{ statuses.amount | number:'.2' }}</td>\n <td>{{ status.date_created | date:'dd MMMM yyyy HH:mm:ss'}}</td>\n </tr>\n </tbody>\n </table>\n</div>\n",
|
|
27
|
+
styles: [""]
|
|
28
|
+
}),
|
|
29
|
+
__metadata("design:paramtypes", [StatusHistoryService,
|
|
30
|
+
PaymentLibComponent])
|
|
31
|
+
], StatusHistoryComponent);
|
|
32
|
+
return StatusHistoryComponent;
|
|
33
|
+
}());
|
|
34
|
+
export { StatusHistoryComponent };
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLWhpc3RvcnkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9zdGF0dXMtaGlzdG9yeS9zdGF0dXMtaGlzdG9yeS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHNEQUFzRCxDQUFDO0FBQzVGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBT2xFO0lBTUUsZ0NBQW9CLG9CQUEwQyxFQUMxQyxtQkFBd0M7UUFEeEMseUJBQW9CLEdBQXBCLG9CQUFvQixDQUFzQjtRQUMxQyx3QkFBbUIsR0FBbkIsbUJBQW1CLENBQXFCO1FBTDVELGNBQVMsR0FBVyx3QkFBd0IsQ0FBQztJQUttQixDQUFDO0lBRWpFLHlDQUFRLEdBQVI7UUFBQSxpQkFNQztRQUxDLElBQUksQ0FBQyxvQkFBb0IsQ0FBQyw2QkFBNkIsQ0FBQyxJQUFJLENBQUMsbUJBQW1CLENBQUMsZ0JBQWdCLEVB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