@hmcts/ccpay-web-component 6.0.0-beta9 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/hmcts-ccpay-web-component.mjs +5 -0
- package/esm2022/lib/components/add-remission/add-remission.component.mjs +1189 -0
- package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +407 -0
- package/esm2022/lib/components/card-details/card-details.component.mjs +32 -0
- package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +798 -0
- package/esm2022/lib/components/contact-details/contact-details.component.mjs +338 -0
- package/esm2022/lib/components/error-banner/error-banner.component.mjs +18 -0
- package/esm2022/lib/components/fee-summary/fee-summary.component.mjs +247 -0
- package/esm2022/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.mjs +195 -0
- package/esm2022/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.mjs +255 -0
- package/esm2022/lib/components/notification-preview/notification-preview.component.mjs +79 -0
- package/esm2022/lib/components/page-not-found.component.mjs +17 -0
- package/esm2022/lib/components/payment-list/payment-list.component.mjs +36 -0
- package/esm2022/lib/components/payment-view/payment-view.component.mjs +416 -0
- package/esm2022/lib/components/pba-details/pba-details.component.mjs +18 -0
- package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +151 -0
- package/esm2022/lib/components/process-refund/process-refund.component.mjs +417 -0
- package/esm2022/lib/components/processed-payments/processed-payments.component.mjs +37 -0
- package/esm2022/lib/components/refund-list/refund-list.component.mjs +73 -0
- package/esm2022/lib/components/refund-status/refund-status.component.mjs +453 -0
- package/esm2022/lib/components/reports/reports.component.mjs +291 -0
- package/esm2022/lib/components/service-request/service-request.component.mjs +456 -0
- package/esm2022/lib/components/status-history/status-history.component.mjs +33 -0
- package/esm2022/lib/components/table/table.component.mjs +128 -0
- package/esm2022/lib/components/unprocessed-payments/unprocessed-payments.component.mjs +236 -0
- package/esm2022/lib/interfaces/AddRemissionRequest.mjs +17 -0
- package/esm2022/lib/interfaces/AddRetroRemissionRequest.mjs +9 -0
- package/esm2022/lib/interfaces/AllocatePaymentRequest.mjs +41 -0
- package/esm2022/lib/interfaces/IAllocationPaymentsRequest.mjs +20 -0
- package/esm2022/lib/interfaces/IBSPayments.mjs +2 -0
- package/esm2022/lib/interfaces/ICardDetails.mjs +2 -0
- package/esm2022/lib/interfaces/IFee.mjs +2 -0
- package/esm2022/lib/interfaces/INotificationPreview.mjs +2 -0
- package/esm2022/lib/interfaces/IOrderReferenceFee.mjs +2 -0
- package/esm2022/lib/interfaces/IPatchRefundAction.mjs +2 -0
- package/esm2022/lib/interfaces/IPayment.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentFailure.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentGroup.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentStatus.mjs +12 -0
- package/esm2022/lib/interfaces/IPaymentView.mjs +2 -0
- package/esm2022/lib/interfaces/IPayments.mjs +2 -0
- package/esm2022/lib/interfaces/IPutNotificationRequest.mjs +13 -0
- package/esm2022/lib/interfaces/IRefundAction.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundContactDetails.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundFee.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundList.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundReasons.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundRejectReason.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundStatus.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundStatusHistory.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundsNotifications.mjs +2 -0
- package/esm2022/lib/interfaces/IRemission.mjs +2 -0
- package/esm2022/lib/interfaces/IResubmitRefundRequest.mjs +13 -0
- package/esm2022/lib/interfaces/IStatusHistories.mjs +2 -0
- package/esm2022/lib/interfaces/IStatusHistory.mjs +2 -0
- package/esm2022/lib/interfaces/IserviceRequestCardPayment.mjs +11 -0
- package/esm2022/lib/interfaces/IserviceRequestPbaPayment.mjs +15 -0
- package/esm2022/lib/interfaces/IssueRefundRequest.mjs +11 -0
- package/esm2022/lib/interfaces/NotificationPreviewRequest.mjs +45 -0
- package/esm2022/lib/interfaces/PayhubAntennaRequest.mjs +12 -0
- package/esm2022/lib/interfaces/PaymentToPayhubRequest.mjs +15 -0
- package/esm2022/lib/interfaces/PostIssueRefundRetroRemission.mjs +9 -0
- package/esm2022/lib/interfaces/PostRefundRetroRemission.mjs +18 -0
- package/esm2022/lib/interfaces/RefundsRequest.mjs +9 -0
- package/esm2022/lib/interfaces/UnidentifiedPaymentsRequest.mjs +16 -0
- package/esm2022/lib/interfaces/UnsolicitedPaymentsRequest.mjs +22 -0
- package/esm2022/lib/payment-lib.component.mjs +288 -0
- package/esm2022/lib/payment-lib.module.mjs +187 -0
- package/esm2022/lib/payment-lib.service.mjs +49 -0
- package/esm2022/lib/pipes/capitalize.pipe.mjs +18 -0
- package/esm2022/lib/pipes/ccd-hyphens.pipe.mjs +22 -0
- package/esm2022/lib/pipes/key-value.pipe.mjs +23 -0
- package/esm2022/lib/pipes/sanitize-html.pipe.mjs +20 -0
- package/esm2022/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.mjs +87 -0
- package/esm2022/lib/services/card-details/card-details.service.mjs +39 -0
- package/esm2022/lib/services/case-transactions/case-transactions.service.mjs +39 -0
- package/esm2022/lib/services/notification/notification.service.mjs +70 -0
- package/esm2022/lib/services/orderslist.service.mjs +154 -0
- package/esm2022/lib/services/payment-list/payment-list.service.mjs +40 -0
- package/esm2022/lib/services/payment-view/payment-view.service.mjs +152 -0
- package/esm2022/lib/services/refunds/refunds.service.mjs +117 -0
- package/esm2022/lib/services/shared/error-handler.service.mjs +96 -0
- package/esm2022/lib/services/shared/httpclient/webcomponent.http.client.mjs +64 -0
- package/esm2022/lib/services/shared/logger/console-logger.service.mjs +43 -0
- package/esm2022/lib/services/shared/logger/logger.service.mjs +23 -0
- package/{esm2015/lib/services/status-history/status-history.service.js → esm2022/lib/services/status-history/status-history.service.mjs} +13 -51
- package/esm2022/lib/services/xl-file/xl-file.service.mjs +153 -0
- package/esm2022/public_api.mjs +7 -0
- package/fesm2022/hmcts-ccpay-web-component.mjs +7874 -0
- package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/add-remission/add-remission.component.d.ts +59 -7
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +5 -6
- package/lib/components/card-details/card-details.component.d.ts +4 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts +9 -7
- package/lib/components/contact-details/contact-details.component.d.ts +52 -0
- package/lib/components/error-banner/error-banner.component.d.ts +3 -0
- package/lib/components/fee-summary/fee-summary.component.d.ts +4 -3
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +4 -1
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +4 -1
- package/lib/components/notification-preview/notification-preview.component.d.ts +30 -0
- package/lib/components/page-not-found.component.d.ts +3 -0
- package/lib/components/payment-list/payment-list.component.d.ts +4 -1
- package/lib/components/payment-view/payment-view.component.d.ts +46 -12
- package/lib/components/pba-details/pba-details.component.d.ts +3 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts +9 -1
- package/lib/components/process-refund/process-refund.component.d.ts +22 -2
- package/lib/components/processed-payments/processed-payments.component.d.ts +3 -0
- package/lib/components/refund-list/refund-list.component.d.ts +3 -0
- package/lib/components/refund-status/refund-status.component.d.ts +50 -10
- package/lib/components/reports/reports.component.d.ts +10 -5
- package/lib/components/service-request/service-request.component.d.ts +42 -14
- package/lib/components/status-history/status-history.component.d.ts +4 -1
- package/lib/components/table/table.component.d.ts +5 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +4 -5
- package/lib/interfaces/IFee.d.ts +6 -0
- package/lib/interfaces/INotificationPreview.d.ts +27 -0
- package/lib/interfaces/IPayment.d.ts +3 -0
- package/lib/interfaces/IPaymentFailure.d.ts +13 -0
- package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
- package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
- package/lib/interfaces/IRefundFee.d.ts +7 -0
- package/lib/interfaces/IRefundList.d.ts +5 -0
- package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
- package/lib/interfaces/IRemission.d.ts +3 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts +5 -1
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +2 -1
- package/lib/interfaces/NotificationPreviewRequest.d.ts +24 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +3 -1
- package/lib/interfaces/PostRefundRetroRemission.d.ts +7 -1
- package/lib/payment-lib.component.d.ts +7 -5
- package/lib/payment-lib.module.d.ts +40 -0
- package/lib/payment-lib.service.d.ts +9 -3
- package/lib/pipes/capitalize.pipe.d.ts +3 -0
- package/lib/pipes/ccd-hyphens.pipe.d.ts +3 -0
- package/lib/pipes/key-value.pipe.d.ts +3 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +3 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +4 -1
- package/lib/services/card-details/card-details.service.d.ts +3 -0
- package/lib/services/case-transactions/case-transactions.service.d.ts +4 -1
- package/lib/services/notification/notification.service.d.ts +21 -0
- package/lib/services/orderslist.service.d.ts +3 -0
- package/lib/services/payment-list/payment-list.service.d.ts +3 -0
- package/lib/services/payment-view/payment-view.service.d.ts +6 -1
- package/lib/services/refunds/refunds.service.d.ts +6 -1
- package/lib/services/shared/error-handler.service.d.ts +5 -2
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +3 -0
- package/lib/services/shared/logger/console-logger.service.d.ts +6 -3
- package/lib/services/shared/logger/logger.service.d.ts +3 -0
- package/lib/services/status-history/status-history.service.d.ts +3 -0
- package/lib/services/xl-file/xl-file.service.d.ts +4 -0
- package/package.json +18 -14
- package/bundles/hmcts-ccpay-web-component.umd.js +0 -9664
- package/bundles/hmcts-ccpay-web-component.umd.js.map +0 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +0 -2
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +0 -1
- package/esm2015/hmcts-ccpay-web-component.js +0 -48
- package/esm2015/lib/components/add-remission/add-remission.component.js +0 -1083
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +0 -692
- package/esm2015/lib/components/card-details/card-details.component.js +0 -71
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +0 -1298
- package/esm2015/lib/components/error-banner/error-banner.component.js +0 -30
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +0 -482
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -342
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -436
- package/esm2015/lib/components/page-not-found.component.js +0 -15
- package/esm2015/lib/components/payment-list/payment-list.component.js +0 -75
- package/esm2015/lib/components/payment-view/payment-view.component.js +0 -514
- package/esm2015/lib/components/pba-details/pba-details.component.js +0 -30
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -205
- package/esm2015/lib/components/process-refund/process-refund.component.js +0 -455
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +0 -72
- package/esm2015/lib/components/refund-list/refund-list.component.js +0 -127
- package/esm2015/lib/components/refund-status/refund-status.component.js +0 -497
- package/esm2015/lib/components/reports/reports.component.js +0 -357
- package/esm2015/lib/components/service-request/service-request.component.js +0 -626
- package/esm2015/lib/components/status-history/status-history.component.js +0 -68
- package/esm2015/lib/components/table/table.component.js +0 -196
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -385
- package/esm2015/lib/interfaces/AddRemissionRequest.js +0 -37
- package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +0 -21
- package/esm2015/lib/interfaces/AllocatePaymentRequest.js +0 -68
- package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +0 -39
- package/esm2015/lib/interfaces/IBSPayments.js +0 -45
- package/esm2015/lib/interfaces/ICardDetails.js +0 -21
- package/esm2015/lib/interfaces/IFee.js +0 -53
- package/esm2015/lib/interfaces/IOrderReferenceFee.js +0 -25
- package/esm2015/lib/interfaces/IPatchRefundAction.js +0 -15
- package/esm2015/lib/interfaces/IPayment.js +0 -65
- package/esm2015/lib/interfaces/IPaymentGroup.js +0 -19
- package/esm2015/lib/interfaces/IPaymentStatus.js +0 -27
- package/esm2015/lib/interfaces/IPaymentView.js +0 -17
- package/esm2015/lib/interfaces/IPayments.js +0 -13
- package/esm2015/lib/interfaces/IRefundAction.js +0 -15
- package/esm2015/lib/interfaces/IRefundList.js +0 -29
- package/esm2015/lib/interfaces/IRefundReasons.js +0 -19
- package/esm2015/lib/interfaces/IRefundRejectReason.js +0 -15
- package/esm2015/lib/interfaces/IRefundStatus.js +0 -23
- package/esm2015/lib/interfaces/IRefundStatusHistory.js +0 -15
- package/esm2015/lib/interfaces/IRemission.js +0 -25
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +0 -21
- package/esm2015/lib/interfaces/IStatusHistories.js +0 -19
- package/esm2015/lib/interfaces/IStatusHistory.js +0 -21
- package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +0 -23
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
- package/esm2015/lib/interfaces/IssueRefundRequest.js +0 -25
- package/esm2015/lib/interfaces/PayhubAntennaRequest.js +0 -28
- package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +0 -37
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +0 -17
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +0 -21
- package/esm2015/lib/interfaces/RefundsRequest.js +0 -21
- package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -31
- package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -43
- package/esm2015/lib/payment-lib.component.js +0 -275
- package/esm2015/lib/payment-lib.module.js +0 -99
- package/esm2015/lib/payment-lib.service.js +0 -80
- package/esm2015/lib/pipes/capitalize.pipe.js +0 -24
- package/esm2015/lib/pipes/ccd-hyphens.pipe.js +0 -29
- package/esm2015/lib/pipes/key-value.pipe.js +0 -30
- package/esm2015/lib/pipes/sanitize-html.pipe.js +0 -36
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -180
- package/esm2015/lib/services/card-details/card-details.service.js +0 -76
- package/esm2015/lib/services/case-transactions/case-transactions.service.js +0 -76
- package/esm2015/lib/services/orderslist.service.js +0 -403
- package/esm2015/lib/services/payment-list/payment-list.service.js +0 -79
- package/esm2015/lib/services/payment-view/payment-view.service.js +0 -285
- package/esm2015/lib/services/refunds/refunds.service.js +0 -203
- package/esm2015/lib/services/shared/error-handler.service.js +0 -108
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +0 -124
- package/esm2015/lib/services/shared/logger/console-logger.service.js +0 -67
- package/esm2015/lib/services/shared/logger/logger.service.js +0 -49
- package/esm2015/lib/services/xl-file/xl-file.service.js +0 -181
- package/esm2015/public_api.js +0 -11
- package/esm5/hmcts-ccpay-web-component.js +0 -48
- package/esm5/lib/components/add-remission/add-remission.component.js +0 -1168
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +0 -745
- package/esm5/lib/components/card-details/card-details.component.js +0 -77
- package/esm5/lib/components/case-transactions/case-transactions.component.js +0 -1443
- package/esm5/lib/components/error-banner/error-banner.component.js +0 -36
- package/esm5/lib/components/fee-summary/fee-summary.component.js +0 -542
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -371
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -474
- package/esm5/lib/components/page-not-found.component.js +0 -17
- package/esm5/lib/components/payment-list/payment-list.component.js +0 -83
- package/esm5/lib/components/payment-view/payment-view.component.js +0 -602
- package/esm5/lib/components/pba-details/pba-details.component.js +0 -36
- package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -222
- package/esm5/lib/components/process-refund/process-refund.component.js +0 -536
- package/esm5/lib/components/processed-payments/processed-payments.component.js +0 -83
- package/esm5/lib/components/refund-list/refund-list.component.js +0 -130
- package/esm5/lib/components/refund-status/refund-status.component.js +0 -558
- package/esm5/lib/components/reports/reports.component.js +0 -398
- package/esm5/lib/components/service-request/service-request.component.js +0 -702
- package/esm5/lib/components/status-history/status-history.component.js +0 -70
- package/esm5/lib/components/table/table.component.js +0 -229
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -434
- package/esm5/lib/interfaces/AddRemissionRequest.js +0 -32
- package/esm5/lib/interfaces/AddRetroRemissionRequest.js +0 -19
- package/esm5/lib/interfaces/AllocatePaymentRequest.js +0 -63
- package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +0 -34
- package/esm5/lib/interfaces/IBSPayments.js +0 -45
- package/esm5/lib/interfaces/ICardDetails.js +0 -21
- package/esm5/lib/interfaces/IFee.js +0 -53
- package/esm5/lib/interfaces/IOrderReferenceFee.js +0 -25
- package/esm5/lib/interfaces/IPatchRefundAction.js +0 -15
- package/esm5/lib/interfaces/IPayment.js +0 -65
- package/esm5/lib/interfaces/IPaymentGroup.js +0 -19
- package/esm5/lib/interfaces/IPaymentStatus.js +0 -31
- package/esm5/lib/interfaces/IPaymentView.js +0 -17
- package/esm5/lib/interfaces/IPayments.js +0 -13
- package/esm5/lib/interfaces/IRefundAction.js +0 -15
- package/esm5/lib/interfaces/IRefundList.js +0 -29
- package/esm5/lib/interfaces/IRefundReasons.js +0 -19
- package/esm5/lib/interfaces/IRefundRejectReason.js +0 -15
- package/esm5/lib/interfaces/IRefundStatus.js +0 -23
- package/esm5/lib/interfaces/IRefundStatusHistory.js +0 -15
- package/esm5/lib/interfaces/IRemission.js +0 -25
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +0 -19
- package/esm5/lib/interfaces/IStatusHistories.js +0 -19
- package/esm5/lib/interfaces/IStatusHistory.js +0 -21
- package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -22
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -25
- package/esm5/lib/interfaces/IssueRefundRequest.js +0 -22
- package/esm5/lib/interfaces/PayhubAntennaRequest.js +0 -25
- package/esm5/lib/interfaces/PaymentToPayhubRequest.js +0 -34
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +0 -16
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +0 -19
- package/esm5/lib/interfaces/RefundsRequest.js +0 -19
- package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -28
- package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -37
- package/esm5/lib/payment-lib.component.js +0 -244
- package/esm5/lib/payment-lib.module.js +0 -103
- package/esm5/lib/payment-lib.service.js +0 -111
- package/esm5/lib/pipes/capitalize.pipe.js +0 -32
- package/esm5/lib/pipes/ccd-hyphens.pipe.js +0 -37
- package/esm5/lib/pipes/key-value.pipe.js +0 -37
- package/esm5/lib/pipes/sanitize-html.pipe.js +0 -39
- package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -218
- package/esm5/lib/services/card-details/card-details.service.js +0 -76
- package/esm5/lib/services/case-transactions/case-transactions.service.js +0 -76
- package/esm5/lib/services/orderslist.service.js +0 -531
- package/esm5/lib/services/payment-list/payment-list.service.js +0 -80
- package/esm5/lib/services/payment-view/payment-view.service.js +0 -385
- package/esm5/lib/services/refunds/refunds.service.js +0 -243
- package/esm5/lib/services/shared/error-handler.service.js +0 -119
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +0 -154
- package/esm5/lib/services/shared/logger/console-logger.service.js +0 -88
- package/esm5/lib/services/shared/logger/logger.service.js +0 -68
- package/esm5/lib/services/status-history/status-history.service.js +0 -80
- package/esm5/lib/services/xl-file/xl-file.service.js +0 -221
- package/esm5/public_api.js +0 -11
- package/fesm2015/hmcts-ccpay-web-component.js +0 -8525
- package/fesm2015/hmcts-ccpay-web-component.js.map +0 -1
- package/fesm5/hmcts-ccpay-web-component.js +0 -9773
- package/fesm5/hmcts-ccpay-web-component.js.map +0 -1
- package/hmcts-ccpay-web-component.d.ts +0 -43
- package/hmcts-ccpay-web-component.metadata.json +0 -1
|
@@ -1,602 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, Input } from '@angular/core';
|
|
7
|
-
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
8
|
-
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
9
|
-
/** @type {?} */
|
|
10
|
-
var BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
|
|
11
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
12
|
-
import { OrderslistService } from '../../services/orderslist.service';
|
|
13
|
-
var PaymentViewComponent = /** @class */ (function () {
|
|
14
|
-
function PaymentViewComponent(paymentViewService, paymentLibComponent, cd, OrderslistService) {
|
|
15
|
-
var _this = this;
|
|
16
|
-
this.paymentViewService = paymentViewService;
|
|
17
|
-
this.paymentLibComponent = paymentLibComponent;
|
|
18
|
-
this.cd = cd;
|
|
19
|
-
this.OrderslistService = OrderslistService;
|
|
20
|
-
this.isRefundRemission = false;
|
|
21
|
-
this.isAddFeeBtnEnabled = false;
|
|
22
|
-
this.isIssueRefunfBtnEnable = false;
|
|
23
|
-
this.allowedRolesToAccessRefund = ['payments-refund-approver', 'payments-refund'];
|
|
24
|
-
this.remissions = [];
|
|
25
|
-
this.check4AllowedRoles2AccessRefund = (/**
|
|
26
|
-
* @return {?}
|
|
27
|
-
*/
|
|
28
|
-
function () {
|
|
29
|
-
return _this.allowedRolesToAccessRefund.some((/**
|
|
30
|
-
* @param {?} role
|
|
31
|
-
* @return {?}
|
|
32
|
-
*/
|
|
33
|
-
function (role) {
|
|
34
|
-
return _this.LOGGEDINUSERROLES.indexOf(role) !== -1;
|
|
35
|
-
}));
|
|
36
|
-
});
|
|
37
|
-
this.allowFurtherAccessAfter4Days = (/**
|
|
38
|
-
* @param {?} payment
|
|
39
|
-
* @return {?}
|
|
40
|
-
*/
|
|
41
|
-
function (payment) {
|
|
42
|
-
if (payment !== null && payment !== undefined) {
|
|
43
|
-
/** @type {?} */
|
|
44
|
-
var tmp4DayAgo = new Date();
|
|
45
|
-
tmp4DayAgo.setDate(tmp4DayAgo.getDate() - 4);
|
|
46
|
-
return tmp4DayAgo >= new Date(payment.date_created);
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @return {?}
|
|
52
|
-
*/
|
|
53
|
-
PaymentViewComponent.prototype.ngAfterContentChecked = /**
|
|
54
|
-
* @return {?}
|
|
55
|
-
*/
|
|
56
|
-
function () {
|
|
57
|
-
this.cd.detectChanges();
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* @return {?}
|
|
61
|
-
*/
|
|
62
|
-
PaymentViewComponent.prototype.ngOnInit = /**
|
|
63
|
-
* @return {?}
|
|
64
|
-
*/
|
|
65
|
-
function () {
|
|
66
|
-
var _this = this;
|
|
67
|
-
this.ccdCaseNumber = this.paymentLibComponent.CCD_CASE_NUMBER;
|
|
68
|
-
this.selectedOption = this.paymentLibComponent.SELECTED_OPTION;
|
|
69
|
-
this.dcnNumber = this.paymentLibComponent.DCN_NUMBER;
|
|
70
|
-
this.isTurnOff = this.paymentLibComponent.ISTURNOFF;
|
|
71
|
-
this.serviceReference = this.paymentLibComponent.paymentGroupReference;
|
|
72
|
-
this.viewStatus = 'paymentview';
|
|
73
|
-
this.paymentViewService.getApportionPaymentDetails(this.paymentLibComponent.paymentReference).subscribe((/**
|
|
74
|
-
* @param {?} paymentGroup
|
|
75
|
-
* @return {?}
|
|
76
|
-
*/
|
|
77
|
-
function (paymentGroup) {
|
|
78
|
-
/** @type {?} */
|
|
79
|
-
var fees = [];
|
|
80
|
-
paymentGroup.fees.forEach((/**
|
|
81
|
-
* @param {?} fee
|
|
82
|
-
* @return {?}
|
|
83
|
-
*/
|
|
84
|
-
function (fee) {
|
|
85
|
-
_this.isRemissionsMatch = false;
|
|
86
|
-
paymentGroup.remissions.forEach((/**
|
|
87
|
-
* @param {?} rem
|
|
88
|
-
* @return {?}
|
|
89
|
-
*/
|
|
90
|
-
function (rem) {
|
|
91
|
-
if (rem.fee_code === fee.code) {
|
|
92
|
-
_this.isRemissionsMatch = true;
|
|
93
|
-
fee['remissions'] = rem;
|
|
94
|
-
fees.push(fee);
|
|
95
|
-
}
|
|
96
|
-
}));
|
|
97
|
-
if (!_this.isRemissionsMatch) {
|
|
98
|
-
fees.push(fee);
|
|
99
|
-
}
|
|
100
|
-
}));
|
|
101
|
-
paymentGroup.fees = fees;
|
|
102
|
-
_this.paymentGroup = paymentGroup;
|
|
103
|
-
_this.paymentGroup.payments = _this.paymentGroup.payments.filter((/**
|
|
104
|
-
* @param {?} paymentGroupObj
|
|
105
|
-
* @return {?}
|
|
106
|
-
*/
|
|
107
|
-
function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.paymentLibComponent.paymentReference); }));
|
|
108
|
-
/** @type {?} */
|
|
109
|
-
var paymentAllocation = _this.paymentGroup.payments[0].payment_allocation;
|
|
110
|
-
_this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
111
|
-
}), (/**
|
|
112
|
-
* @param {?} error
|
|
113
|
-
* @return {?}
|
|
114
|
-
*/
|
|
115
|
-
function (error) { return _this.errorMessage = error; }));
|
|
116
|
-
};
|
|
117
|
-
Object.defineProperty(PaymentViewComponent.prototype, "isCardPayment", {
|
|
118
|
-
get: /**
|
|
119
|
-
* @return {?}
|
|
120
|
-
*/
|
|
121
|
-
function () {
|
|
122
|
-
return this.paymentGroup.payments[0].method === 'card';
|
|
123
|
-
},
|
|
124
|
-
enumerable: true,
|
|
125
|
-
configurable: true
|
|
126
|
-
});
|
|
127
|
-
Object.defineProperty(PaymentViewComponent.prototype, "isTelephonyPayment", {
|
|
128
|
-
get: /**
|
|
129
|
-
* @return {?}
|
|
130
|
-
*/
|
|
131
|
-
function () {
|
|
132
|
-
return this.paymentGroup.payments[0].channel === 'telephony';
|
|
133
|
-
},
|
|
134
|
-
enumerable: true,
|
|
135
|
-
configurable: true
|
|
136
|
-
});
|
|
137
|
-
/**
|
|
138
|
-
* @return {?}
|
|
139
|
-
*/
|
|
140
|
-
PaymentViewComponent.prototype.goToPaymentList = /**
|
|
141
|
-
* @return {?}
|
|
142
|
-
*/
|
|
143
|
-
function () {
|
|
144
|
-
this.paymentLibComponent.viewName = 'payment-list';
|
|
145
|
-
};
|
|
146
|
-
/**
|
|
147
|
-
* @param {?} event
|
|
148
|
-
* @return {?}
|
|
149
|
-
*/
|
|
150
|
-
PaymentViewComponent.prototype.goToCaseTransationPage = /**
|
|
151
|
-
* @param {?} event
|
|
152
|
-
* @return {?}
|
|
153
|
-
*/
|
|
154
|
-
function (event) {
|
|
155
|
-
var _this = this;
|
|
156
|
-
event.preventDefault();
|
|
157
|
-
if (!this.paymentLibComponent.isFromServiceRequestPage) {
|
|
158
|
-
this.OrderslistService.setnavigationPage('casetransactions');
|
|
159
|
-
this.OrderslistService.setisFromServiceRequestPage(false);
|
|
160
|
-
this.paymentLibComponent.viewName = 'case-transactions';
|
|
161
|
-
this.paymentLibComponent.ISBSENABLE = true;
|
|
162
|
-
this.resetOrderData();
|
|
163
|
-
}
|
|
164
|
-
else {
|
|
165
|
-
this.OrderslistService.getorderRefs().subscribe((/**
|
|
166
|
-
* @param {?} data
|
|
167
|
-
* @return {?}
|
|
168
|
-
*/
|
|
169
|
-
function (data) { return _this.orderRef = data; }));
|
|
170
|
-
this.OrderslistService.getorderCCDEvents().subscribe((/**
|
|
171
|
-
* @param {?} data
|
|
172
|
-
* @return {?}
|
|
173
|
-
*/
|
|
174
|
-
function (data) { return _this.orderCCDEvent = data; }));
|
|
175
|
-
this.OrderslistService.getorderCreateds().subscribe((/**
|
|
176
|
-
* @param {?} data
|
|
177
|
-
* @return {?}
|
|
178
|
-
*/
|
|
179
|
-
function (data) { return _this.orderCreated = data; }));
|
|
180
|
-
this.OrderslistService.getorderDetail().subscribe((/**
|
|
181
|
-
* @param {?} data
|
|
182
|
-
* @return {?}
|
|
183
|
-
*/
|
|
184
|
-
function (data) { return _this.orderDetail = data; }));
|
|
185
|
-
this.OrderslistService.getorderPartys().subscribe((/**
|
|
186
|
-
* @param {?} data
|
|
187
|
-
* @return {?}
|
|
188
|
-
*/
|
|
189
|
-
function (data) { return _this.orderParty = data; }));
|
|
190
|
-
this.OrderslistService.getorderRemissionTotals().subscribe((/**
|
|
191
|
-
* @param {?} data
|
|
192
|
-
* @return {?}
|
|
193
|
-
*/
|
|
194
|
-
function (data) { return _this.orderRemissionTotal = data; }));
|
|
195
|
-
this.OrderslistService.getorderFeesTotals().subscribe((/**
|
|
196
|
-
* @param {?} data
|
|
197
|
-
* @return {?}
|
|
198
|
-
*/
|
|
199
|
-
function (data) { return _this.orderFeesTotal = data; }));
|
|
200
|
-
this.OrderslistService.getoorderTotalPaymentss().subscribe((/**
|
|
201
|
-
* @param {?} data
|
|
202
|
-
* @return {?}
|
|
203
|
-
*/
|
|
204
|
-
function (data) { return _this.orderTotalPayments = data; }));
|
|
205
|
-
this.viewStatus = 'order-full-view';
|
|
206
|
-
}
|
|
207
|
-
};
|
|
208
|
-
/**
|
|
209
|
-
* @param {?} fee
|
|
210
|
-
* @return {?}
|
|
211
|
-
*/
|
|
212
|
-
PaymentViewComponent.prototype.addRemission = /**
|
|
213
|
-
* @param {?} fee
|
|
214
|
-
* @return {?}
|
|
215
|
-
*/
|
|
216
|
-
function (fee) {
|
|
217
|
-
var _this = this;
|
|
218
|
-
if (this.chkForAddRemission(fee.code)) {
|
|
219
|
-
this.feeId = fee;
|
|
220
|
-
this.paymentViewService.getApportionPaymentDetails(this.paymentGroup.payments[0].reference).subscribe((/**
|
|
221
|
-
* @param {?} paymentGroup
|
|
222
|
-
* @return {?}
|
|
223
|
-
*/
|
|
224
|
-
function (paymentGroup) {
|
|
225
|
-
_this.paymentGroup = paymentGroup;
|
|
226
|
-
_this.paymentGroup.payments = _this.paymentGroup.payments.filter((/**
|
|
227
|
-
* @param {?} paymentGroupObj
|
|
228
|
-
* @return {?}
|
|
229
|
-
*/
|
|
230
|
-
function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.paymentLibComponent.paymentReference); }));
|
|
231
|
-
_this.payment = _this.paymentGroup.payments[0];
|
|
232
|
-
_this.paymentLibComponent.isFromPaymentDetailPage = true;
|
|
233
|
-
_this.viewStatus = 'addremission';
|
|
234
|
-
_this.isRefundRemission = true;
|
|
235
|
-
_this.cd.detectChanges();
|
|
236
|
-
}), (/**
|
|
237
|
-
* @param {?} error
|
|
238
|
-
* @return {?}
|
|
239
|
-
*/
|
|
240
|
-
function (error) { return _this.errorMessage = error; }));
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
/**
|
|
244
|
-
* @param {?} paymentGroup
|
|
245
|
-
* @return {?}
|
|
246
|
-
*/
|
|
247
|
-
PaymentViewComponent.prototype.checkForFees = /**
|
|
248
|
-
* @param {?} paymentGroup
|
|
249
|
-
* @return {?}
|
|
250
|
-
*/
|
|
251
|
-
function (paymentGroup) {
|
|
252
|
-
if (paymentGroup !== null && paymentGroup !== undefined) {
|
|
253
|
-
if (paymentGroup.fees !== null && paymentGroup.fees !== undefined) {
|
|
254
|
-
return true;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
return false;
|
|
258
|
-
};
|
|
259
|
-
/**
|
|
260
|
-
* @param {?} payment
|
|
261
|
-
* @param {?} remission
|
|
262
|
-
* @param {?} fees
|
|
263
|
-
* @return {?}
|
|
264
|
-
*/
|
|
265
|
-
PaymentViewComponent.prototype.addRefundForRemission = /**
|
|
266
|
-
* @param {?} payment
|
|
267
|
-
* @param {?} remission
|
|
268
|
-
* @param {?} fees
|
|
269
|
-
* @return {?}
|
|
270
|
-
*/
|
|
271
|
-
function (payment, remission, fees) {
|
|
272
|
-
var _this = this;
|
|
273
|
-
if (this.chkIsRefundRemissionBtnEnable()) {
|
|
274
|
-
this.payment = payment;
|
|
275
|
-
this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe((/**
|
|
276
|
-
* @param {?} paymentGroup
|
|
277
|
-
* @return {?}
|
|
278
|
-
*/
|
|
279
|
-
function (paymentGroup) {
|
|
280
|
-
_this.paymentGroup = paymentGroup;
|
|
281
|
-
_this.paymentGroup.payments = _this.paymentGroup.payments.filter((/**
|
|
282
|
-
* @param {?} paymentGroupObj
|
|
283
|
-
* @return {?}
|
|
284
|
-
*/
|
|
285
|
-
function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
|
|
286
|
-
_this.payment = _this.paymentGroup.payments[0];
|
|
287
|
-
_this.remissions = remission;
|
|
288
|
-
_this.remissionFeeAmt = fees.filter((/**
|
|
289
|
-
* @param {?} data
|
|
290
|
-
* @return {?}
|
|
291
|
-
*/
|
|
292
|
-
function (data) { return data.code === _this.remissions['fee_code']; }))[0].net_amount;
|
|
293
|
-
_this.viewStatus = 'addrefundforremission';
|
|
294
|
-
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
295
|
-
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
296
|
-
}), (/**
|
|
297
|
-
* @param {?} error
|
|
298
|
-
* @return {?}
|
|
299
|
-
*/
|
|
300
|
-
function (error) { return _this.errorMessage = error; }));
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
/**
|
|
304
|
-
* @return {?}
|
|
305
|
-
*/
|
|
306
|
-
PaymentViewComponent.prototype.chkIsRefundRemissionBtnEnable = /**
|
|
307
|
-
* @return {?}
|
|
308
|
-
*/
|
|
309
|
-
function () {
|
|
310
|
-
var _this = this;
|
|
311
|
-
if (this.paymentGroup !== null && this.paymentGroup !== undefined) {
|
|
312
|
-
this.paymentGroup.payments.forEach((/**
|
|
313
|
-
* @param {?} payment
|
|
314
|
-
* @return {?}
|
|
315
|
-
*/
|
|
316
|
-
function (payment) {
|
|
317
|
-
if (payment.method.toLocaleLowerCase() === 'payment by account' && payment.status.toLocaleLowerCase() === 'success' && _this.allowFurtherAccessAfter4Days(payment)) {
|
|
318
|
-
_this.isRefundRemissionBtnEnable = true;
|
|
319
|
-
}
|
|
320
|
-
}));
|
|
321
|
-
if (this.isRefundRemissionBtnEnable) {
|
|
322
|
-
return true;
|
|
323
|
-
}
|
|
324
|
-
else {
|
|
325
|
-
return false;
|
|
326
|
-
}
|
|
327
|
-
;
|
|
328
|
-
}
|
|
329
|
-
};
|
|
330
|
-
/**
|
|
331
|
-
* @param {?} paymentgrp
|
|
332
|
-
* @return {?}
|
|
333
|
-
*/
|
|
334
|
-
PaymentViewComponent.prototype.issueRefund = /**
|
|
335
|
-
* @param {?} paymentgrp
|
|
336
|
-
* @return {?}
|
|
337
|
-
*/
|
|
338
|
-
function (paymentgrp) {
|
|
339
|
-
if (paymentgrp !== null && paymentgrp !== undefined) {
|
|
340
|
-
if (this.chkIssueRefundBtnEnable(paymentgrp.payments[0])) {
|
|
341
|
-
this.paymentGroup = paymentgrp;
|
|
342
|
-
this.viewStatus = 'issuerefund';
|
|
343
|
-
this.isRefundRemission = true;
|
|
344
|
-
this.paymentLibComponent.isFromPaymentDetailPage = true;
|
|
345
|
-
this.isFromPaymentDetailPage = true;
|
|
346
|
-
this.isFromServiceRequestPage = this.paymentLibComponent.isFromServiceRequestPage;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
};
|
|
350
|
-
/**
|
|
351
|
-
* @param {?} feeCode
|
|
352
|
-
* @param {?} remissions
|
|
353
|
-
* @return {?}
|
|
354
|
-
*/
|
|
355
|
-
PaymentViewComponent.prototype.getRemissionByFeeCode = /**
|
|
356
|
-
* @param {?} feeCode
|
|
357
|
-
* @param {?} remissions
|
|
358
|
-
* @return {?}
|
|
359
|
-
*/
|
|
360
|
-
function (feeCode, remissions) {
|
|
361
|
-
var e_1, _a;
|
|
362
|
-
if (remissions && remissions.length > 0) {
|
|
363
|
-
try {
|
|
364
|
-
for (var remissions_1 = tslib_1.__values(remissions), remissions_1_1 = remissions_1.next(); !remissions_1_1.done; remissions_1_1 = remissions_1.next()) {
|
|
365
|
-
var remission = remissions_1_1.value;
|
|
366
|
-
if (remission.fee_code === feeCode) {
|
|
367
|
-
return remission;
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
372
|
-
finally {
|
|
373
|
-
try {
|
|
374
|
-
if (remissions_1_1 && !remissions_1_1.done && (_a = remissions_1.return)) _a.call(remissions_1);
|
|
375
|
-
}
|
|
376
|
-
finally { if (e_1) throw e_1.error; }
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
return null;
|
|
380
|
-
};
|
|
381
|
-
/**
|
|
382
|
-
* @param {?} payment
|
|
383
|
-
* @return {?}
|
|
384
|
-
*/
|
|
385
|
-
PaymentViewComponent.prototype.chkIssueRefundBtnEnable = /**
|
|
386
|
-
* @param {?} payment
|
|
387
|
-
* @return {?}
|
|
388
|
-
*/
|
|
389
|
-
function (payment) {
|
|
390
|
-
if (this.check4AllowedRoles2AccessRefund() && this.allowFurtherAccessAfter4Days(payment) &&
|
|
391
|
-
payment.method === 'payment by account' && payment.status.toLocaleLowerCase() === 'success') {
|
|
392
|
-
this.isIssueRefunfBtnEnable = true;
|
|
393
|
-
}
|
|
394
|
-
if (this.isIssueRefunfBtnEnable) {
|
|
395
|
-
return true;
|
|
396
|
-
}
|
|
397
|
-
else {
|
|
398
|
-
return false;
|
|
399
|
-
}
|
|
400
|
-
;
|
|
401
|
-
};
|
|
402
|
-
/**
|
|
403
|
-
* @return {?}
|
|
404
|
-
*/
|
|
405
|
-
PaymentViewComponent.prototype.chkForPBAPayment = /**
|
|
406
|
-
* @return {?}
|
|
407
|
-
*/
|
|
408
|
-
function () {
|
|
409
|
-
if (this.paymentGroup !== null && this.paymentGroup !== undefined) {
|
|
410
|
-
/** @type {?} */
|
|
411
|
-
var payment = this.paymentGroup.payments[0];
|
|
412
|
-
if (payment.method.toLocaleLowerCase() === 'payment by account' && this.allowFurtherAccessAfter4Days(payment)) {
|
|
413
|
-
return true;
|
|
414
|
-
}
|
|
415
|
-
return false;
|
|
416
|
-
}
|
|
417
|
-
};
|
|
418
|
-
/**
|
|
419
|
-
* @param {?} feeCode
|
|
420
|
-
* @return {?}
|
|
421
|
-
*/
|
|
422
|
-
PaymentViewComponent.prototype.chkForAddRemission = /**
|
|
423
|
-
* @param {?} feeCode
|
|
424
|
-
* @return {?}
|
|
425
|
-
*/
|
|
426
|
-
function (feeCode) {
|
|
427
|
-
var e_2, _a;
|
|
428
|
-
if (this.chkForPBAPayment() && this.check4AllowedRoles2AccessRefund() && this.allowFurtherAccessAfter4Days(this.paymentGroup.payments[0])) {
|
|
429
|
-
if (this.paymentGroup.remissions && this.paymentGroup.remissions.length > 0) {
|
|
430
|
-
try {
|
|
431
|
-
for (var _b = tslib_1.__values(this.paymentGroup.remissions), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
432
|
-
var remission = _c.value;
|
|
433
|
-
if (remission.fee_code === feeCode) {
|
|
434
|
-
return false;
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
439
|
-
finally {
|
|
440
|
-
try {
|
|
441
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
442
|
-
}
|
|
443
|
-
finally { if (e_2) throw e_2.error; }
|
|
444
|
-
}
|
|
445
|
-
return true;
|
|
446
|
-
}
|
|
447
|
-
return true;
|
|
448
|
-
}
|
|
449
|
-
else {
|
|
450
|
-
return false;
|
|
451
|
-
}
|
|
452
|
-
};
|
|
453
|
-
/**
|
|
454
|
-
* @return {?}
|
|
455
|
-
*/
|
|
456
|
-
PaymentViewComponent.prototype.resetOrderData = /**
|
|
457
|
-
* @return {?}
|
|
458
|
-
*/
|
|
459
|
-
function () {
|
|
460
|
-
this.OrderslistService.setOrderRef(null);
|
|
461
|
-
this.OrderslistService.setorderCCDEvent(null);
|
|
462
|
-
this.OrderslistService.setorderCreated(null);
|
|
463
|
-
this.OrderslistService.setorderDetail(null);
|
|
464
|
-
this.OrderslistService.setorderParty(null);
|
|
465
|
-
this.OrderslistService.setorderTotalPayments(null);
|
|
466
|
-
this.OrderslistService.setorderRemissionTotal(null);
|
|
467
|
-
this.OrderslistService.setorderFeesTotal(null);
|
|
468
|
-
};
|
|
469
|
-
PaymentViewComponent.decorators = [
|
|
470
|
-
{ type: Component, args: [{
|
|
471
|
-
selector: 'ccpay-payment-view',
|
|
472
|
-
template: "\n<ng-container *ngIf=\"viewStatus === 'paymentview'\">\n<div class=\"govuk-width-container\">\n\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"goToCaseTransationPage($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n\n <main class=\"govuk-main-wrapper govuk-!-padding-top-0\" id=\"main-content\" role=\"main\">\n\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payment details could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <div class=\"payment-view-alignment\" *ngIf=\"!errorMessage && paymentGroup?.payments[0]\">\n\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='PAYMENTDETAILS'>\n <div class=\"govuk-grid-row\">\n <div class=\"column\">\n <h1 class=\"heading-large govuk-!-margin-top-0\">Payment details</h1>\n </div>\n </div>\n <table>\n <tbody>\n \n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Service request reference</td>\n <td class=\"tb-col-w\">{{ serviceReference }}</td> \n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment reference</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment amount</td>\n <td class=\"tb-col-w\">\u00A3{{ paymentGroup?.payments[0]?.amount | number:'.2' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.document_control_number && !paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">Payment asset number(DCN)</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.document_control_number }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.document_control_number && !paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">Banked date</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.banked_date | date:'dd MMM yyyy' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0] && paymentGroup?.payments[0]?.external_reference\">\n <td class=\"bold tb-col-w\">GovPay Transaction ID</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.external_reference }}</td>\n </tr>\n <tr class=\"section\" >\n <td class=\"bold tb-col-w\">Payment method</td>\n <td class=\"tb-col-w text-transform\">{{ paymentGroup?.payments[0]?.method }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.method === 'payment by account'\" >\n <td class=\"bold tb-col-w\">Type</td>\n <td class=\"tb-col-w\" *ngIf=\"paymentGroup?.payments[0]?.method !== 'card'\">Credit</td>\n <td class=\"tb-col-w\" *ngIf=\"paymentGroup?.payments[0]?.method === 'card'\">Card</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Channel</td>\n <td class=\"tb-col-w text-transform\">{{ paymentGroup?.payments[0]?.channel }}</td>\n </tr>\n <!-- <tr class=\"section\">\n <td class=\"bold tb-col-w\">Method</td>\n <td *ngIf=\"paymentGroup?.payments[0]?.method !== 'card'\">{{ paymentGroup?.payments[0]?.method }}</td>\n <td *ngIf=\"paymentGroup?.payments[0]?.method === 'card'\">CARD</td>\n </tr> -->\n <!-- <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.channel !== 'telephony'\">\n <td class=\"bold tb-col-w\">Status</td>\n <td>{{ paymentGroup?.payments[0]?.status }}</td>\n </tr> -->\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.payment_allocation[0] !== undefined\">\n <td class=\"bold tb-col-w\">Allocaton status</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.payment_allocation[0]?.allocation_status }}</td>\n </tr>\n \n <tr *ngIf=\"paymentGroup?.payments[0].organisation_name\">\n <td class=\"bold tb-col-w\">PBA account name</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.organisation_name }}</td>\n </tr>\n\n <tr *ngIf=\"paymentGroup?.payments[0].account_number\">\n <td class=\"bold tb-col-w\">PBA number</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.account_number }}</td>\n </tr>\n\n <tr *ngIf=\"paymentGroup?.payments[0].customer_reference\">\n <td class=\"bold tb-col-w\">Customer internal reference</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.customer_reference }}</td>\n </tr>\n \n </tbody>\n </table>\n\n <div>\n <!-- Status histories -->\n <ccpay-payment-statuses *ngIf=\"isStatusAllocated\" [isTakePayment]=\"isTakePayment\"></ccpay-payment-statuses>\n </div>\n <div class=\"remission\">\n <button [disabled]=\"!chkIssueRefundBtnEnable(paymentGroup?.payments[0])\" (click)=\"issueRefund(paymentGroup)\" class=\"govuk-button govuk-button--secondary\">Issue refund</button>\n </div>\n \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\n\n \n <!-- <button *ngIf=\"paymentGroup.payments[0].method === 'payment by account'\" (click)=\"addRemission(fee)\" class=\"govuk-button govuk-button--secondary\"> Add remission</button>\n -->\n\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 <!-- <td *ngIf=\"!chkIsRefundRemissionBtnEnable()\" class=\"govuk-table__cell refundBtn whitespace-inherit\" >\n \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\n\n\n <!-- card details -->\n <!-- <ccpay-card-details *ngIf=\"isCardPayment && !isTelephonyPayment\"></ccpay-card-details> -->\n\n <!-- pba details -->\n <!-- <ccpay-pba-details *ngIf=\"!isCardPayment\" [payment]=\"paymentGroup.payments[0]\"></ccpay-pba-details> -->\n\n \n\n </div>\n\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[isOldPcipalOff]=\"isOldPcipalOff\" \n[viewCompStatus]= \"viewStatus\"\n[isNewPcipalOff]=\"isNewPcipalOff\" \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[isOldPcipalOff]=\"isOldPcipalOff\" \n[viewCompStatus]= \"viewStatus\"\n[isNewPcipalOff]=\"isNewPcipalOff\" \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 [isOldPcipalOff]=\"isOldPcipalOff\" \n [payment] = 'paymentGroup.payments[0]'\n [viewCompStatus]= \"viewStatus\"\n [isNewPcipalOff]=\"isNewPcipalOff\" \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</ccpay-service-request>\n</ng-container>\n<!-- <ng-container *ngIf=\"isTakePayment\">\n <div class=\"govuk-width-container\">\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"#\" (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\">\n \n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='PAYMENTDETAILS'>\n <div class=\"govuk-grid-row\">\n <div class=\"column\">\n <h1 class=\"heading-large govuk-!-margin-top-0\">Payment details</h1>\n </div>\n </div>\n <table>\n <tbody>\n <tr class=\"section\" *ngIf=\"isTurnOff\">\n <td class=\"bold tb-col-w\">Payment group reference</td>\n <td>{{ paymentGroup.payment_group_reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment reference</td>\n <td>{{ paymentGroup.payments[0].reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment amount</td>\n <td>\u00A3{{ paymentGroup.payments[0].amount | number:'.2' }}</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>{{ paymentGroup.payments[0].external_reference }}</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>{{ 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>{{ paymentGroup.payments[0].banked_date | date:'dd MMM yyyy' }}</td>\n </tr>\n </tbody>\n </table>\n \n <div class=\"govuk-grid-row\" *ngIf=\"paymentGroup.fees.length > 0\">\n <div class=\"column\">\n <h2 class=\"heading-large\">Fee and remission details</h2>\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>Application for {{ fee.description }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Fee code</td>\n <td>{{ 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 <tr *ngIf=\"fee.net_amount && isTurnOff\">\n <td class=\"bold tb-col-w\" [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions}\" >Net amount</td>\n <td [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions}\">\u00A3{{ fee.net_amount | number:'.2' }}</td>\n </tr>\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 <tr *ngIf=\"fee.remissions\">\n <td class=\"bold tb-col-w\">Remission code</td>\n <td>{{fee.remissions.hwf_reference}}</td>\n </tr>\n <tr *ngIf=\"fee.remissions\">\n <td class=\"bold tb-col-w tr-border\">Remission amount</td>\n <td class=\"tr-border\">\u00A3{{ fee.remissions.hwf_amount | number:'.2'}}</td>\n </tr>\n </tbody>\n </table>\n \n </div>\n \n <!-- card details -->\n <!-- <ccpay-card-details *ngIf=\"isCardPayment && !isTelephonyPayment\"></ccpay-card-details>\n -->\n <!-- pba details -->\n <!-- <ccpay-pba-details *ngIf=\"!isCardPayment\" [payment]=\"paymentGroup.payments[0]\"></ccpay-pba-details> -->\n <!-- Status histories -->\n <!-- <ccpay-payment-statuses *ngIf=\"isStatusAllocated\"[isTakePayment]=\"isTakePayment\" ></ccpay-payment-statuses>\n \n </div>\n \n </main>\n </div> -->\n<!-- </ng-container> --> \n",
|
|
473
|
-
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}"]
|
|
474
|
-
}] }
|
|
475
|
-
];
|
|
476
|
-
/** @nocollapse */
|
|
477
|
-
PaymentViewComponent.ctorParameters = function () { return [
|
|
478
|
-
{ type: PaymentViewService },
|
|
479
|
-
{ type: PaymentLibComponent },
|
|
480
|
-
{ type: ChangeDetectorRef },
|
|
481
|
-
{ type: OrderslistService }
|
|
482
|
-
]; };
|
|
483
|
-
PaymentViewComponent.propDecorators = {
|
|
484
|
-
isTurnOff: [{ type: Input }],
|
|
485
|
-
isTakePayment: [{ type: Input }],
|
|
486
|
-
caseType: [{ type: Input }],
|
|
487
|
-
isNewPcipalOff: [{ type: Input }],
|
|
488
|
-
isOldPcipalOff: [{ type: Input }],
|
|
489
|
-
orderRef: [{ type: Input }],
|
|
490
|
-
orderStatus: [{ type: Input }],
|
|
491
|
-
orderTotalPayments: [{ type: Input }],
|
|
492
|
-
payment: [{ type: Input }],
|
|
493
|
-
LOGGEDINUSERROLES: [{ type: Input }],
|
|
494
|
-
orderParty: [{ type: Input }],
|
|
495
|
-
orderCreated: [{ type: Input }],
|
|
496
|
-
orderCCDEvent: [{ type: Input }],
|
|
497
|
-
orderFeesTotal: [{ type: Input }],
|
|
498
|
-
orderRemissionTotal: [{ type: Input }],
|
|
499
|
-
orderDetail: [{ type: Input }]
|
|
500
|
-
};
|
|
501
|
-
return PaymentViewComponent;
|
|
502
|
-
}());
|
|
503
|
-
export { PaymentViewComponent };
|
|
504
|
-
if (false) {
|
|
505
|
-
/** @type {?} */
|
|
506
|
-
PaymentViewComponent.prototype.isTurnOff;
|
|
507
|
-
/** @type {?} */
|
|
508
|
-
PaymentViewComponent.prototype.isTakePayment;
|
|
509
|
-
/** @type {?} */
|
|
510
|
-
PaymentViewComponent.prototype.caseType;
|
|
511
|
-
/** @type {?} */
|
|
512
|
-
PaymentViewComponent.prototype.isNewPcipalOff;
|
|
513
|
-
/** @type {?} */
|
|
514
|
-
PaymentViewComponent.prototype.isOldPcipalOff;
|
|
515
|
-
/** @type {?} */
|
|
516
|
-
PaymentViewComponent.prototype.orderRef;
|
|
517
|
-
/** @type {?} */
|
|
518
|
-
PaymentViewComponent.prototype.orderStatus;
|
|
519
|
-
/** @type {?} */
|
|
520
|
-
PaymentViewComponent.prototype.orderTotalPayments;
|
|
521
|
-
/** @type {?} */
|
|
522
|
-
PaymentViewComponent.prototype.payment;
|
|
523
|
-
/** @type {?} */
|
|
524
|
-
PaymentViewComponent.prototype.LOGGEDINUSERROLES;
|
|
525
|
-
/** @type {?} */
|
|
526
|
-
PaymentViewComponent.prototype.orderParty;
|
|
527
|
-
/** @type {?} */
|
|
528
|
-
PaymentViewComponent.prototype.orderCreated;
|
|
529
|
-
/** @type {?} */
|
|
530
|
-
PaymentViewComponent.prototype.orderCCDEvent;
|
|
531
|
-
/** @type {?} */
|
|
532
|
-
PaymentViewComponent.prototype.orderFeesTotal;
|
|
533
|
-
/** @type {?} */
|
|
534
|
-
PaymentViewComponent.prototype.orderRemissionTotal;
|
|
535
|
-
/** @type {?} */
|
|
536
|
-
PaymentViewComponent.prototype.orderDetail;
|
|
537
|
-
/** @type {?} */
|
|
538
|
-
PaymentViewComponent.prototype.paymentGroup;
|
|
539
|
-
/** @type {?} */
|
|
540
|
-
PaymentViewComponent.prototype.errorMessage;
|
|
541
|
-
/** @type {?} */
|
|
542
|
-
PaymentViewComponent.prototype.ccdCaseNumber;
|
|
543
|
-
/** @type {?} */
|
|
544
|
-
PaymentViewComponent.prototype.selectedOption;
|
|
545
|
-
/** @type {?} */
|
|
546
|
-
PaymentViewComponent.prototype.dcnNumber;
|
|
547
|
-
/** @type {?} */
|
|
548
|
-
PaymentViewComponent.prototype.isStatusAllocated;
|
|
549
|
-
/** @type {?} */
|
|
550
|
-
PaymentViewComponent.prototype.isRemissionsMatch;
|
|
551
|
-
/** @type {?} */
|
|
552
|
-
PaymentViewComponent.prototype.feeId;
|
|
553
|
-
/** @type {?} */
|
|
554
|
-
PaymentViewComponent.prototype.viewStatus;
|
|
555
|
-
/** @type {?} */
|
|
556
|
-
PaymentViewComponent.prototype.isRefundRemission;
|
|
557
|
-
/** @type {?} */
|
|
558
|
-
PaymentViewComponent.prototype.isStrategicFixEnable;
|
|
559
|
-
/** @type {?} */
|
|
560
|
-
PaymentViewComponent.prototype.isAddFeeBtnEnabled;
|
|
561
|
-
/** @type {?} */
|
|
562
|
-
PaymentViewComponent.prototype.isIssueRefunfBtnEnable;
|
|
563
|
-
/** @type {?} */
|
|
564
|
-
PaymentViewComponent.prototype.allowedRolesToAccessRefund;
|
|
565
|
-
/** @type {?} */
|
|
566
|
-
PaymentViewComponent.prototype.remissions;
|
|
567
|
-
/** @type {?} */
|
|
568
|
-
PaymentViewComponent.prototype.remissionFeeAmt;
|
|
569
|
-
/** @type {?} */
|
|
570
|
-
PaymentViewComponent.prototype.isRefundRemissionBtnEnable;
|
|
571
|
-
/** @type {?} */
|
|
572
|
-
PaymentViewComponent.prototype.serviceReference;
|
|
573
|
-
/** @type {?} */
|
|
574
|
-
PaymentViewComponent.prototype.isFromServiceRequestPage;
|
|
575
|
-
/** @type {?} */
|
|
576
|
-
PaymentViewComponent.prototype.isFromPaymentDetailPage;
|
|
577
|
-
/** @type {?} */
|
|
578
|
-
PaymentViewComponent.prototype.check4AllowedRoles2AccessRefund;
|
|
579
|
-
/** @type {?} */
|
|
580
|
-
PaymentViewComponent.prototype.allowFurtherAccessAfter4Days;
|
|
581
|
-
/**
|
|
582
|
-
* @type {?}
|
|
583
|
-
* @private
|
|
584
|
-
*/
|
|
585
|
-
PaymentViewComponent.prototype.paymentViewService;
|
|
586
|
-
/**
|
|
587
|
-
* @type {?}
|
|
588
|
-
* @private
|
|
589
|
-
*/
|
|
590
|
-
PaymentViewComponent.prototype.paymentLibComponent;
|
|
591
|
-
/**
|
|
592
|
-
* @type {?}
|
|
593
|
-
* @private
|
|
594
|
-
*/
|
|
595
|
-
PaymentViewComponent.prototype.cd;
|
|
596
|
-
/**
|
|
597
|
-
* @type {?}
|
|
598
|
-
* @private
|
|
599
|
-
*/
|
|
600
|
-
PaymentViewComponent.prototype.OrderslistService;
|
|
601
|
-
}
|
|
602
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcGF5bWVudC12aWV3L3BheW1lbnQtdmlldy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQU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AgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgICBwYXltZW50R3JvdXAuZmVlcyA9IGZlZXNcbiAgICAgICAgdGhpcy5wYXltZW50R3JvdXAgPSBwYXltZW50R3JvdXA7XG5cbiAgICAgICAgdGhpcy5wYXltZW50R3JvdXAucGF5bWVudHMgPSB0aGlzLnBheW1lbnRHcm91cC5wYXltZW50cy5maWx0ZXJcbiAgICAgICAgICAocGF5bWVudEdyb3VwT2JqID0+IHBheW1lbnRHcm91cE9ialsncmVmZXJlbmNlJ10uaW5jbHVkZXModGhpcy5wYXltZW50TGliQ29tcG9uZW50LnBheW1lbnRSZWZlcmVuY2UpKTtcbiAgICAgICAgY29uc3QgcGF5bWVudEFsbG9jYXRpb24gPSB0aGlzLnBheW1lbnRHcm91cC5wYXltZW50c1swXS5wYXltZW50X2FsbG9jYXRpb247XG4gICAgICAgIHRoaXMuaXNTdGF0dXNBbGxvY2F0ZWQgPSBwYXltZW50QWxsb2NhdGlvbi5sZW5ndGggPiAwICYmIHBheW1lbnRBbGxvY2F0aW9uWzBdLmFsbG9jYXRpb25fc3RhdHVzID09PSAnQWxsb2NhdGVkJyB8fCBwYXltZW50QWxsb2NhdGlvbi5sZW5ndGggPT09IDA7XG4gICAgICAgXG4gICAgICB9LFxuICAgICAgKGVycm9yOiBhbnkpID0+IHRoaXMuZXJyb3JNZXNzYWdlID0gZXJyb3JcbiAgICApO1xuXG4gIH1cblxuICBnZXQgaXNDYXJkUGF5bWVudCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5wYXltZW50R3JvdXAucGF5bWVudHNbMF0ubWV0aG9kID09PSAnY2FyZCc7XG4gIH1cblxuICBnZXQgaXNUZWxlcGhvbnlQYXltZW50KCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLnBheW1lbnRHcm91cC5wYXltZW50c1swXS5jaGFubmVsID09PSAndGVsZXBob255JztcbiAgfVxuXG4gIHB1YmxpYyBnb1RvUGF5bWVudExpc3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