@hmcts/ccpay-web-component 5.2.10-beta8 → 6.0.0-beta01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (406) hide show
  1. package/esm2022/hmcts-ccpay-web-component.mjs +5 -0
  2. package/esm2022/lib/components/add-remission/add-remission.component.mjs +1189 -0
  3. package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +407 -0
  4. package/esm2022/lib/components/card-details/card-details.component.mjs +32 -0
  5. package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +794 -0
  6. package/esm2022/lib/components/contact-details/contact-details.component.mjs +338 -0
  7. package/esm2022/lib/components/error-banner/error-banner.component.mjs +18 -0
  8. package/esm2022/lib/components/fee-summary/fee-summary.component.mjs +247 -0
  9. package/esm2022/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.mjs +195 -0
  10. package/esm2022/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.mjs +255 -0
  11. package/esm2022/lib/components/notification-preview/notification-preview.component.mjs +79 -0
  12. package/esm2022/lib/components/page-not-found.component.mjs +17 -0
  13. package/esm2022/lib/components/payment-list/payment-list.component.mjs +36 -0
  14. package/esm2022/lib/components/payment-view/payment-view.component.mjs +416 -0
  15. package/esm2022/lib/components/pba-details/pba-details.component.mjs +18 -0
  16. package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +151 -0
  17. package/esm2022/lib/components/process-refund/process-refund.component.mjs +417 -0
  18. package/esm2022/lib/components/processed-payments/processed-payments.component.mjs +37 -0
  19. package/esm2022/lib/components/refund-list/refund-list.component.mjs +73 -0
  20. package/esm2022/lib/components/refund-status/refund-status.component.mjs +453 -0
  21. package/esm2022/lib/components/reports/reports.component.mjs +291 -0
  22. package/esm2022/lib/components/service-request/service-request.component.mjs +456 -0
  23. package/esm2022/lib/components/status-history/status-history.component.mjs +33 -0
  24. package/esm2022/lib/components/table/table.component.mjs +128 -0
  25. package/esm2022/lib/components/unprocessed-payments/unprocessed-payments.component.mjs +236 -0
  26. package/esm2022/lib/interfaces/AddRemissionRequest.mjs +17 -0
  27. package/esm2022/lib/interfaces/AddRetroRemissionRequest.mjs +9 -0
  28. package/esm2022/lib/interfaces/AllocatePaymentRequest.mjs +41 -0
  29. package/esm2022/lib/interfaces/IAllocationPaymentsRequest.mjs +20 -0
  30. package/esm2022/lib/interfaces/IPaymentStatus.mjs +12 -0
  31. package/esm2022/lib/interfaces/IPutNotificationRequest.mjs +13 -0
  32. package/esm2022/lib/interfaces/IResubmitRefundRequest.mjs +13 -0
  33. package/esm2022/lib/interfaces/IserviceRequestCardPayment.mjs +11 -0
  34. package/esm2022/lib/interfaces/IserviceRequestPbaPayment.mjs +15 -0
  35. package/esm2022/lib/interfaces/IssueRefundRequest.mjs +11 -0
  36. package/esm2022/lib/interfaces/NotificationPreviewRequest.mjs +45 -0
  37. package/esm2022/lib/interfaces/PayhubAntennaRequest.mjs +12 -0
  38. package/esm2022/lib/interfaces/PaymentToPayhubRequest.mjs +15 -0
  39. package/esm2022/lib/interfaces/PostIssueRefundRetroRemission.mjs +9 -0
  40. package/esm2022/lib/interfaces/PostRefundRetroRemission.mjs +18 -0
  41. package/esm2022/lib/interfaces/RefundsRequest.mjs +9 -0
  42. package/esm2022/lib/interfaces/UnidentifiedPaymentsRequest.mjs +16 -0
  43. package/esm2022/lib/interfaces/UnsolicitedPaymentsRequest.mjs +22 -0
  44. package/esm2022/lib/payment-lib.component.mjs +288 -0
  45. package/esm2022/lib/payment-lib.module.mjs +187 -0
  46. package/esm2022/lib/payment-lib.service.mjs +49 -0
  47. package/esm2022/lib/pipes/capitalize.pipe.mjs +18 -0
  48. package/esm2022/lib/pipes/ccd-hyphens.pipe.mjs +22 -0
  49. package/esm2022/lib/pipes/key-value.pipe.mjs +23 -0
  50. package/esm2022/lib/pipes/sanitize-html.pipe.mjs +20 -0
  51. package/esm2022/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.mjs +87 -0
  52. package/esm2022/lib/services/card-details/card-details.service.mjs +39 -0
  53. package/esm2022/lib/services/case-transactions/case-transactions.service.mjs +39 -0
  54. package/esm2022/lib/services/notification/notification.service.mjs +70 -0
  55. package/esm2022/lib/services/orderslist.service.mjs +154 -0
  56. package/esm2022/lib/services/payment-list/payment-list.service.mjs +40 -0
  57. package/esm2022/lib/services/payment-view/payment-view.service.mjs +152 -0
  58. package/esm2022/lib/services/refunds/refunds.service.mjs +117 -0
  59. package/{esm2015/lib/services/shared/error-handler.service.js → esm2022/lib/services/shared/error-handler.service.mjs} +9 -8
  60. package/esm2022/lib/services/shared/httpclient/webcomponent.http.client.mjs +64 -0
  61. package/esm2022/lib/services/shared/logger/console-logger.service.mjs +43 -0
  62. package/esm2022/lib/services/shared/logger/logger.service.mjs +23 -0
  63. package/esm2022/lib/services/status-history/status-history.service.mjs +41 -0
  64. package/esm2022/lib/services/xl-file/xl-file.service.mjs +153 -0
  65. package/fesm2022/hmcts-ccpay-web-component.mjs +7870 -0
  66. package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -0
  67. package/index.d.ts +5 -0
  68. package/lib/components/add-remission/add-remission.component.d.ts +5 -3
  69. package/lib/components/allocate-payments/allocate-payments.component.d.ts +5 -7
  70. package/lib/components/card-details/card-details.component.d.ts +3 -1
  71. package/lib/components/case-transactions/case-transactions.component.d.ts +5 -3
  72. package/lib/components/contact-details/contact-details.component.d.ts +4 -2
  73. package/lib/components/error-banner/error-banner.component.d.ts +3 -1
  74. package/lib/components/fee-summary/fee-summary.component.d.ts +4 -2
  75. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +4 -2
  76. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +4 -2
  77. package/lib/components/notification-preview/notification-preview.component.d.ts +4 -6
  78. package/lib/components/page-not-found.component.d.ts +3 -1
  79. package/lib/components/payment-list/payment-list.component.d.ts +4 -2
  80. package/lib/components/payment-view/payment-view.component.d.ts +4 -2
  81. package/lib/components/pba-details/pba-details.component.d.ts +3 -1
  82. package/lib/components/pba-payment/pba-payment.component.d.ts +4 -2
  83. package/lib/components/process-refund/process-refund.component.d.ts +4 -2
  84. package/lib/components/processed-payments/processed-payments.component.d.ts +3 -1
  85. package/lib/components/refund-list/refund-list.component.d.ts +3 -1
  86. package/lib/components/refund-status/refund-status.component.d.ts +4 -2
  87. package/lib/components/reports/reports.component.d.ts +4 -6
  88. package/lib/components/service-request/service-request.component.d.ts +5 -3
  89. package/lib/components/status-history/status-history.component.d.ts +4 -2
  90. package/lib/components/table/table.component.d.ts +4 -2
  91. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +4 -2
  92. package/lib/interfaces/AddRemissionRequest.d.ts +0 -1
  93. package/lib/interfaces/AddRetroRemissionRequest.d.ts +0 -1
  94. package/lib/interfaces/AllocatePaymentRequest.d.ts +0 -1
  95. package/lib/interfaces/IAllocationPaymentsRequest.d.ts +0 -1
  96. package/lib/interfaces/IBSPayments.d.ts +0 -1
  97. package/lib/interfaces/ICardDetails.d.ts +0 -1
  98. package/lib/interfaces/IFee.d.ts +0 -1
  99. package/lib/interfaces/INotificationPreview.d.ts +0 -1
  100. package/lib/interfaces/IOrderReferenceFee.d.ts +0 -1
  101. package/lib/interfaces/IPatchRefundAction.d.ts +0 -1
  102. package/lib/interfaces/IPayment.d.ts +0 -1
  103. package/lib/interfaces/IPaymentFailure.d.ts +0 -1
  104. package/lib/interfaces/IPaymentGroup.d.ts +0 -1
  105. package/lib/interfaces/IPaymentStatus.d.ts +0 -1
  106. package/lib/interfaces/IPaymentView.d.ts +0 -1
  107. package/lib/interfaces/IPayments.d.ts +0 -1
  108. package/lib/interfaces/IPutNotificationRequest.d.ts +0 -1
  109. package/lib/interfaces/IRefundAction.d.ts +0 -1
  110. package/lib/interfaces/IRefundContactDetails.d.ts +0 -1
  111. package/lib/interfaces/IRefundFee.d.ts +0 -1
  112. package/lib/interfaces/IRefundList.d.ts +0 -1
  113. package/lib/interfaces/IRefundReasons.d.ts +0 -1
  114. package/lib/interfaces/IRefundRejectReason.d.ts +0 -1
  115. package/lib/interfaces/IRefundStatus.d.ts +0 -1
  116. package/lib/interfaces/IRefundStatusHistory.d.ts +0 -1
  117. package/lib/interfaces/IRefundsNotifications.d.ts +0 -1
  118. package/lib/interfaces/IRemission.d.ts +0 -1
  119. package/lib/interfaces/IResubmitRefundRequest.d.ts +0 -1
  120. package/lib/interfaces/IStatusHistories.d.ts +0 -1
  121. package/lib/interfaces/IStatusHistory.d.ts +0 -1
  122. package/lib/interfaces/IserviceRequestCardPayment.d.ts +0 -1
  123. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +0 -1
  124. package/lib/interfaces/IssueRefundRequest.d.ts +0 -1
  125. package/lib/interfaces/NotificationPreviewRequest.d.ts +0 -1
  126. package/lib/interfaces/PayhubAntennaRequest.d.ts +0 -1
  127. package/lib/interfaces/PaymentToPayhubRequest.d.ts +0 -1
  128. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +0 -1
  129. package/lib/interfaces/PostRefundRetroRemission.d.ts +0 -1
  130. package/lib/interfaces/RefundsRequest.d.ts +0 -1
  131. package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +0 -1
  132. package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +0 -1
  133. package/lib/payment-lib.component.d.ts +3 -1
  134. package/lib/payment-lib.module.d.ts +40 -1
  135. package/lib/payment-lib.service.d.ts +3 -1
  136. package/lib/pipes/capitalize.pipe.d.ts +3 -1
  137. package/lib/pipes/ccd-hyphens.pipe.d.ts +3 -1
  138. package/lib/pipes/key-value.pipe.d.ts +3 -1
  139. package/lib/pipes/sanitize-html.pipe.d.ts +3 -1
  140. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +4 -2
  141. package/lib/services/card-details/card-details.service.d.ts +3 -1
  142. package/lib/services/case-transactions/case-transactions.service.d.ts +4 -2
  143. package/lib/services/notification/notification.service.d.ts +4 -2
  144. package/lib/services/orderslist.service.d.ts +3 -1
  145. package/lib/services/payment-list/payment-list.service.d.ts +3 -1
  146. package/lib/services/payment-view/payment-view.service.d.ts +3 -1
  147. package/lib/services/refunds/refunds.service.d.ts +4 -2
  148. package/lib/services/shared/error-handler.service.d.ts +3 -1
  149. package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +3 -1
  150. package/lib/services/shared/logger/console-logger.service.d.ts +3 -1
  151. package/lib/services/shared/logger/logger.service.d.ts +3 -1
  152. package/lib/services/status-history/status-history.service.d.ts +3 -1
  153. package/lib/services/xl-file/xl-file.service.d.ts +3 -1
  154. package/package.json +17 -11
  155. package/public_api.d.ts +0 -1
  156. package/bundles/hmcts-ccpay-web-component.umd.js +0 -7550
  157. package/bundles/hmcts-ccpay-web-component.umd.js.map +0 -1
  158. package/bundles/hmcts-ccpay-web-component.umd.min.js +0 -2
  159. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +0 -1
  160. package/esm2015/hmcts-ccpay-web-component.js +0 -47
  161. package/esm2015/lib/components/add-remission/add-remission.component.js +0 -1045
  162. package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +0 -381
  163. package/esm2015/lib/components/card-details/card-details.component.js +0 -28
  164. package/esm2015/lib/components/case-transactions/case-transactions.component.js +0 -735
  165. package/esm2015/lib/components/contact-details/contact-details.component.js +0 -315
  166. package/esm2015/lib/components/error-banner/error-banner.component.js +0 -18
  167. package/esm2015/lib/components/fee-summary/fee-summary.component.js +0 -223
  168. package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -184
  169. package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -238
  170. package/esm2015/lib/components/notification-preview/notification-preview.component.js +0 -59
  171. package/esm2015/lib/components/page-not-found.component.js +0 -11
  172. package/esm2015/lib/components/payment-list/payment-list.component.js +0 -31
  173. package/esm2015/lib/components/payment-view/payment-view.component.js +0 -335
  174. package/esm2015/lib/components/pba-details/pba-details.component.js +0 -18
  175. package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -144
  176. package/esm2015/lib/components/process-refund/process-refund.component.js +0 -398
  177. package/esm2015/lib/components/processed-payments/processed-payments.component.js +0 -34
  178. package/esm2015/lib/components/refund-list/refund-list.component.js +0 -59
  179. package/esm2015/lib/components/refund-status/refund-status.component.js +0 -399
  180. package/esm2015/lib/components/reports/reports.component.js +0 -280
  181. package/esm2015/lib/components/service-request/service-request.component.js +0 -345
  182. package/esm2015/lib/components/status-history/status-history.component.js +0 -28
  183. package/esm2015/lib/components/table/table.component.js +0 -99
  184. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -199
  185. package/esm2015/lib/interfaces/AddRemissionRequest.js +0 -10
  186. package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +0 -7
  187. package/esm2015/lib/interfaces/AllocatePaymentRequest.js +0 -27
  188. package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +0 -14
  189. package/esm2015/lib/interfaces/IPaymentStatus.js +0 -3
  190. package/esm2015/lib/interfaces/IPutNotificationRequest.js +0 -11
  191. package/esm2015/lib/interfaces/IResubmitRefundRequest.js +0 -9
  192. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +0 -8
  193. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -10
  194. package/esm2015/lib/interfaces/IssueRefundRequest.js +0 -8
  195. package/esm2015/lib/interfaces/NotificationPreviewRequest.js +0 -37
  196. package/esm2015/lib/interfaces/PayhubAntennaRequest.js +0 -9
  197. package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +0 -12
  198. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +0 -7
  199. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +0 -11
  200. package/esm2015/lib/interfaces/RefundsRequest.js +0 -7
  201. package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -12
  202. package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -15
  203. package/esm2015/lib/payment-lib.component.js +0 -132
  204. package/esm2015/lib/payment-lib.module.js +0 -99
  205. package/esm2015/lib/payment-lib.service.js +0 -43
  206. package/esm2015/lib/pipes/capitalize.pipe.js +0 -14
  207. package/esm2015/lib/pipes/ccd-hyphens.pipe.js +0 -18
  208. package/esm2015/lib/pipes/key-value.pipe.js +0 -20
  209. package/esm2015/lib/pipes/sanitize-html.pipe.js +0 -17
  210. package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -87
  211. package/esm2015/lib/services/card-details/card-details.service.js +0 -39
  212. package/esm2015/lib/services/case-transactions/case-transactions.service.js +0 -39
  213. package/esm2015/lib/services/notification/notification.service.js +0 -70
  214. package/esm2015/lib/services/orderslist.service.js +0 -154
  215. package/esm2015/lib/services/payment-list/payment-list.service.js +0 -39
  216. package/esm2015/lib/services/payment-view/payment-view.service.js +0 -150
  217. package/esm2015/lib/services/refunds/refunds.service.js +0 -117
  218. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +0 -61
  219. package/esm2015/lib/services/shared/logger/console-logger.service.js +0 -43
  220. package/esm2015/lib/services/shared/logger/logger.service.js +0 -17
  221. package/esm2015/lib/services/status-history/status-history.service.js +0 -41
  222. package/esm2015/lib/services/xl-file/xl-file.service.js +0 -151
  223. package/fesm2015/hmcts-ccpay-web-component.js +0 -6980
  224. package/fesm2015/hmcts-ccpay-web-component.js.map +0 -1
  225. package/hmcts-ccpay-web-component.d.ts +0 -47
  226. package/hmcts-ccpay-web-component.d.ts.map +0 -1
  227. package/hmcts-ccpay-web-component.metadata.json +0 -1
  228. package/lib/components/add-remission/add-remission.component.d.ts.map +0 -1
  229. package/lib/components/add-remission/add-remission.component.ngfactory.d.ts.map +0 -1
  230. package/lib/components/add-remission/add-remission.component.scss.shim.ngstyle.d.ts.map +0 -1
  231. package/lib/components/allocate-payments/allocate-payments.component.d.ts.map +0 -1
  232. package/lib/components/allocate-payments/allocate-payments.component.ngfactory.d.ts.map +0 -1
  233. package/lib/components/allocate-payments/allocate-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
  234. package/lib/components/card-details/card-details.component.css.shim.ngstyle.d.ts.map +0 -1
  235. package/lib/components/card-details/card-details.component.d.ts.map +0 -1
  236. package/lib/components/card-details/card-details.component.ngfactory.d.ts.map +0 -1
  237. package/lib/components/case-transactions/case-transactions.component.css.shim.ngstyle.d.ts.map +0 -1
  238. package/lib/components/case-transactions/case-transactions.component.d.ts.map +0 -1
  239. package/lib/components/case-transactions/case-transactions.component.ngfactory.d.ts.map +0 -1
  240. package/lib/components/contact-details/contact-details.component.css.shim.ngstyle.d.ts.map +0 -1
  241. package/lib/components/contact-details/contact-details.component.d.ts.map +0 -1
  242. package/lib/components/contact-details/contact-details.component.ngfactory.d.ts.map +0 -1
  243. package/lib/components/error-banner/error-banner.component.d.ts.map +0 -1
  244. package/lib/components/error-banner/error-banner.component.ngfactory.d.ts.map +0 -1
  245. package/lib/components/error-banner/error-banner.component.scss.shim.ngstyle.d.ts.map +0 -1
  246. package/lib/components/fee-summary/fee-summary.component.d.ts.map +0 -1
  247. package/lib/components/fee-summary/fee-summary.component.ngfactory.d.ts.map +0 -1
  248. package/lib/components/fee-summary/fee-summary.component.scss.shim.ngstyle.d.ts.map +0 -1
  249. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts.map +0 -1
  250. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.ngfactory.d.ts.map +0 -1
  251. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
  252. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts.map +0 -1
  253. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.ngfactory.d.ts.map +0 -1
  254. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
  255. package/lib/components/notification-preview/notification-preview.component.d.ts.map +0 -1
  256. package/lib/components/notification-preview/notification-preview.component.ngfactory.d.ts.map +0 -1
  257. package/lib/components/notification-preview/notification-preview.component.scss.shim.ngstyle.d.ts.map +0 -1
  258. package/lib/components/page-not-found.component.d.ts.map +0 -1
  259. package/lib/components/page-not-found.component.ngfactory.d.ts.map +0 -1
  260. package/lib/components/payment-list/payment-list.component.css.shim.ngstyle.d.ts.map +0 -1
  261. package/lib/components/payment-list/payment-list.component.d.ts.map +0 -1
  262. package/lib/components/payment-list/payment-list.component.ngfactory.d.ts.map +0 -1
  263. package/lib/components/payment-view/payment-view.component.d.ts.map +0 -1
  264. package/lib/components/payment-view/payment-view.component.ngfactory.d.ts.map +0 -1
  265. package/lib/components/payment-view/payment-view.component.scss.shim.ngstyle.d.ts.map +0 -1
  266. package/lib/components/pba-details/pba-details.component.css.shim.ngstyle.d.ts.map +0 -1
  267. package/lib/components/pba-details/pba-details.component.d.ts.map +0 -1
  268. package/lib/components/pba-details/pba-details.component.ngfactory.d.ts.map +0 -1
  269. package/lib/components/pba-payment/pba-payment.component.d.ts.map +0 -1
  270. package/lib/components/pba-payment/pba-payment.component.ngfactory.d.ts.map +0 -1
  271. package/lib/components/pba-payment/pba-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
  272. package/lib/components/process-refund/process-refund.component.css.shim.ngstyle.d.ts.map +0 -1
  273. package/lib/components/process-refund/process-refund.component.d.ts.map +0 -1
  274. package/lib/components/process-refund/process-refund.component.ngfactory.d.ts.map +0 -1
  275. package/lib/components/processed-payments/processed-payments.component.d.ts.map +0 -1
  276. package/lib/components/processed-payments/processed-payments.component.ngfactory.d.ts.map +0 -1
  277. package/lib/components/processed-payments/processed-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
  278. package/lib/components/refund-list/refund-list.component.css.shim.ngstyle.d.ts.map +0 -1
  279. package/lib/components/refund-list/refund-list.component.d.ts.map +0 -1
  280. package/lib/components/refund-list/refund-list.component.ngfactory.d.ts.map +0 -1
  281. package/lib/components/refund-status/refund-status.component.css.shim.ngstyle.d.ts.map +0 -1
  282. package/lib/components/refund-status/refund-status.component.d.ts.map +0 -1
  283. package/lib/components/refund-status/refund-status.component.ngfactory.d.ts.map +0 -1
  284. package/lib/components/reports/reports.component.d.ts.map +0 -1
  285. package/lib/components/reports/reports.component.ngfactory.d.ts.map +0 -1
  286. package/lib/components/reports/reports.component.scss.shim.ngstyle.d.ts.map +0 -1
  287. package/lib/components/service-request/service-request.component.d.ts.map +0 -1
  288. package/lib/components/service-request/service-request.component.ngfactory.d.ts.map +0 -1
  289. package/lib/components/service-request/service-request.component.scss.shim.ngstyle.d.ts.map +0 -1
  290. package/lib/components/status-history/status-history.component.css.shim.ngstyle.d.ts.map +0 -1
  291. package/lib/components/status-history/status-history.component.d.ts.map +0 -1
  292. package/lib/components/status-history/status-history.component.ngfactory.d.ts.map +0 -1
  293. package/lib/components/table/table.component.css.shim.ngstyle.d.ts.map +0 -1
  294. package/lib/components/table/table.component.d.ts.map +0 -1
  295. package/lib/components/table/table.component.ngfactory.d.ts.map +0 -1
  296. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts.map +0 -1
  297. package/lib/components/unprocessed-payments/unprocessed-payments.component.ngfactory.d.ts.map +0 -1
  298. package/lib/components/unprocessed-payments/unprocessed-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
  299. package/lib/interfaces/AddRemissionRequest.d.ts.map +0 -1
  300. package/lib/interfaces/AddRetroRemissionRequest.d.ts.map +0 -1
  301. package/lib/interfaces/AllocatePaymentRequest.d.ts.map +0 -1
  302. package/lib/interfaces/IAllocationPaymentsRequest.d.ts.map +0 -1
  303. package/lib/interfaces/IBSPayments.d.ts.map +0 -1
  304. package/lib/interfaces/ICardDetails.d.ts.map +0 -1
  305. package/lib/interfaces/IFee.d.ts.map +0 -1
  306. package/lib/interfaces/INotificationPreview.d.ts.map +0 -1
  307. package/lib/interfaces/IOrderReferenceFee.d.ts.map +0 -1
  308. package/lib/interfaces/IPatchRefundAction.d.ts.map +0 -1
  309. package/lib/interfaces/IPayment.d.ts.map +0 -1
  310. package/lib/interfaces/IPaymentFailure.d.ts.map +0 -1
  311. package/lib/interfaces/IPaymentGroup.d.ts.map +0 -1
  312. package/lib/interfaces/IPaymentStatus.d.ts.map +0 -1
  313. package/lib/interfaces/IPaymentView.d.ts.map +0 -1
  314. package/lib/interfaces/IPayments.d.ts.map +0 -1
  315. package/lib/interfaces/IPutNotificationRequest.d.ts.map +0 -1
  316. package/lib/interfaces/IRefundAction.d.ts.map +0 -1
  317. package/lib/interfaces/IRefundContactDetails.d.ts.map +0 -1
  318. package/lib/interfaces/IRefundFee.d.ts.map +0 -1
  319. package/lib/interfaces/IRefundList.d.ts.map +0 -1
  320. package/lib/interfaces/IRefundReasons.d.ts.map +0 -1
  321. package/lib/interfaces/IRefundRejectReason.d.ts.map +0 -1
  322. package/lib/interfaces/IRefundStatus.d.ts.map +0 -1
  323. package/lib/interfaces/IRefundStatusHistory.d.ts.map +0 -1
  324. package/lib/interfaces/IRefundsNotifications.d.ts.map +0 -1
  325. package/lib/interfaces/IRemission.d.ts.map +0 -1
  326. package/lib/interfaces/IResubmitRefundRequest.d.ts.map +0 -1
  327. package/lib/interfaces/IStatusHistories.d.ts.map +0 -1
  328. package/lib/interfaces/IStatusHistory.d.ts.map +0 -1
  329. package/lib/interfaces/IserviceRequestCardPayment.d.ts.map +0 -1
  330. package/lib/interfaces/IserviceRequestPbaPayment.d.ts.map +0 -1
  331. package/lib/interfaces/IssueRefundRequest.d.ts.map +0 -1
  332. package/lib/interfaces/NotificationPreviewRequest.d.ts.map +0 -1
  333. package/lib/interfaces/PayhubAntennaRequest.d.ts.map +0 -1
  334. package/lib/interfaces/PaymentToPayhubRequest.d.ts.map +0 -1
  335. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts.map +0 -1
  336. package/lib/interfaces/PostRefundRetroRemission.d.ts.map +0 -1
  337. package/lib/interfaces/RefundsRequest.d.ts.map +0 -1
  338. package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts.map +0 -1
  339. package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts.map +0 -1
  340. package/lib/payment-lib.component.d.ts.map +0 -1
  341. package/lib/payment-lib.component.ngfactory.d.ts.map +0 -1
  342. package/lib/payment-lib.module.d.ts.map +0 -1
  343. package/lib/payment-lib.module.ngfactory.d.ts.map +0 -1
  344. package/lib/payment-lib.service.d.ts.map +0 -1
  345. package/lib/payment-lib.service.ngfactory.d.ts.map +0 -1
  346. package/lib/pipes/capitalize.pipe.d.ts.map +0 -1
  347. package/lib/pipes/capitalize.pipe.ngfactory.d.ts.map +0 -1
  348. package/lib/pipes/ccd-hyphens.pipe.d.ts.map +0 -1
  349. package/lib/pipes/ccd-hyphens.pipe.ngfactory.d.ts.map +0 -1
  350. package/lib/pipes/key-value.pipe.d.ts.map +0 -1
  351. package/lib/pipes/key-value.pipe.ngfactory.d.ts.map +0 -1
  352. package/lib/pipes/sanitize-html.pipe.d.ts.map +0 -1
  353. package/lib/pipes/sanitize-html.pipe.ngfactory.d.ts.map +0 -1
  354. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts.map +0 -1
  355. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.ngfactory.d.ts.map +0 -1
  356. package/lib/services/card-details/card-details.service.d.ts.map +0 -1
  357. package/lib/services/card-details/card-details.service.ngfactory.d.ts.map +0 -1
  358. package/lib/services/case-transactions/case-transactions.service.d.ts.map +0 -1
  359. package/lib/services/case-transactions/case-transactions.service.ngfactory.d.ts.map +0 -1
  360. package/lib/services/notification/notification.service.d.ts.map +0 -1
  361. package/lib/services/notification/notification.service.ngfactory.d.ts.map +0 -1
  362. package/lib/services/orderslist.service.d.ts.map +0 -1
  363. package/lib/services/orderslist.service.ngfactory.d.ts.map +0 -1
  364. package/lib/services/payment-list/payment-list.service.d.ts.map +0 -1
  365. package/lib/services/payment-list/payment-list.service.ngfactory.d.ts.map +0 -1
  366. package/lib/services/payment-view/payment-view.service.d.ts.map +0 -1
  367. package/lib/services/payment-view/payment-view.service.ngfactory.d.ts.map +0 -1
  368. package/lib/services/refunds/refunds.service.d.ts.map +0 -1
  369. package/lib/services/refunds/refunds.service.ngfactory.d.ts.map +0 -1
  370. package/lib/services/shared/error-handler.service.d.ts.map +0 -1
  371. package/lib/services/shared/error-handler.service.ngfactory.d.ts.map +0 -1
  372. package/lib/services/shared/httpclient/webcomponent.http.client.d.ts.map +0 -1
  373. package/lib/services/shared/httpclient/webcomponent.http.client.ngfactory.d.ts.map +0 -1
  374. package/lib/services/shared/logger/console-logger.service.d.ts.map +0 -1
  375. package/lib/services/shared/logger/console-logger.service.ngfactory.d.ts.map +0 -1
  376. package/lib/services/shared/logger/logger.service.d.ts.map +0 -1
  377. package/lib/services/shared/logger/logger.service.ngfactory.d.ts.map +0 -1
  378. package/lib/services/status-history/status-history.service.d.ts.map +0 -1
  379. package/lib/services/status-history/status-history.service.ngfactory.d.ts.map +0 -1
  380. package/lib/services/xl-file/xl-file.service.d.ts.map +0 -1
  381. package/lib/services/xl-file/xl-file.service.ngfactory.d.ts.map +0 -1
  382. package/public_api.d.ts.map +0 -1
  383. /package/{esm2015/lib/interfaces/IBSPayments.js → esm2022/lib/interfaces/IBSPayments.mjs} +0 -0
  384. /package/{esm2015/lib/interfaces/ICardDetails.js → esm2022/lib/interfaces/ICardDetails.mjs} +0 -0
  385. /package/{esm2015/lib/interfaces/IFee.js → esm2022/lib/interfaces/IFee.mjs} +0 -0
  386. /package/{esm2015/lib/interfaces/INotificationPreview.js → esm2022/lib/interfaces/INotificationPreview.mjs} +0 -0
  387. /package/{esm2015/lib/interfaces/IOrderReferenceFee.js → esm2022/lib/interfaces/IOrderReferenceFee.mjs} +0 -0
  388. /package/{esm2015/lib/interfaces/IPatchRefundAction.js → esm2022/lib/interfaces/IPatchRefundAction.mjs} +0 -0
  389. /package/{esm2015/lib/interfaces/IPayment.js → esm2022/lib/interfaces/IPayment.mjs} +0 -0
  390. /package/{esm2015/lib/interfaces/IPaymentFailure.js → esm2022/lib/interfaces/IPaymentFailure.mjs} +0 -0
  391. /package/{esm2015/lib/interfaces/IPaymentGroup.js → esm2022/lib/interfaces/IPaymentGroup.mjs} +0 -0
  392. /package/{esm2015/lib/interfaces/IPaymentView.js → esm2022/lib/interfaces/IPaymentView.mjs} +0 -0
  393. /package/{esm2015/lib/interfaces/IPayments.js → esm2022/lib/interfaces/IPayments.mjs} +0 -0
  394. /package/{esm2015/lib/interfaces/IRefundAction.js → esm2022/lib/interfaces/IRefundAction.mjs} +0 -0
  395. /package/{esm2015/lib/interfaces/IRefundContactDetails.js → esm2022/lib/interfaces/IRefundContactDetails.mjs} +0 -0
  396. /package/{esm2015/lib/interfaces/IRefundFee.js → esm2022/lib/interfaces/IRefundFee.mjs} +0 -0
  397. /package/{esm2015/lib/interfaces/IRefundList.js → esm2022/lib/interfaces/IRefundList.mjs} +0 -0
  398. /package/{esm2015/lib/interfaces/IRefundReasons.js → esm2022/lib/interfaces/IRefundReasons.mjs} +0 -0
  399. /package/{esm2015/lib/interfaces/IRefundRejectReason.js → esm2022/lib/interfaces/IRefundRejectReason.mjs} +0 -0
  400. /package/{esm2015/lib/interfaces/IRefundStatus.js → esm2022/lib/interfaces/IRefundStatus.mjs} +0 -0
  401. /package/{esm2015/lib/interfaces/IRefundStatusHistory.js → esm2022/lib/interfaces/IRefundStatusHistory.mjs} +0 -0
  402. /package/{esm2015/lib/interfaces/IRefundsNotifications.js → esm2022/lib/interfaces/IRefundsNotifications.mjs} +0 -0
  403. /package/{esm2015/lib/interfaces/IRemission.js → esm2022/lib/interfaces/IRemission.mjs} +0 -0
  404. /package/{esm2015/lib/interfaces/IStatusHistories.js → esm2022/lib/interfaces/IStatusHistories.mjs} +0 -0
  405. /package/{esm2015/lib/interfaces/IStatusHistory.js → esm2022/lib/interfaces/IStatusHistory.mjs} +0 -0
  406. /package/{esm2015/public_api.js → esm2022/public_api.mjs} +0 -0
@@ -1,335 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import { PaymentViewService } from '../../services/payment-view/payment-view.service';
3
- import { NotificationService } from '../../services/notification/notification.service';
4
- import { PaymentLibComponent } from '../../payment-lib.component';
5
- import { PostRefundRetroRemission } from '../../interfaces/PostRefundRetroRemission';
6
- const BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
7
- import { ChangeDetectorRef } from '@angular/core';
8
- import { OrderslistService } from '../../services/orderslist.service';
9
- export class PaymentViewComponent {
10
- constructor(paymentViewService, notificationService, paymentLibComponent, cd, OrderslistService) {
11
- this.paymentViewService = paymentViewService;
12
- this.notificationService = notificationService;
13
- this.paymentLibComponent = paymentLibComponent;
14
- this.cd = cd;
15
- this.OrderslistService = OrderslistService;
16
- this.isRefundRemission = false;
17
- this.isAddFeeBtnEnabled = false;
18
- this.isIssueRefunfBtnEnable = false;
19
- this.allowedRolesToAccessRefund = ['payments-refund-approver', 'payments-refund'];
20
- this.remissions = [];
21
- this.allPaymentsFailure = [];
22
- this.isContinueBtnDisabled = true;
23
- }
24
- ngAfterContentChecked() {
25
- this.cd.detectChanges();
26
- }
27
- ngOnInit() {
28
- this.ccdCaseNumber = this.paymentLibComponent.CCD_CASE_NUMBER;
29
- this.selectedOption = this.paymentLibComponent.SELECTED_OPTION;
30
- this.dcnNumber = this.paymentLibComponent.DCN_NUMBER;
31
- this.isTurnOff = this.paymentLibComponent.ISTURNOFF;
32
- this.serviceReference = this.paymentLibComponent.paymentGroupReference;
33
- this.viewStatus = 'paymentview';
34
- this.paymentViewService.getApportionPaymentDetails(this.paymentLibComponent.paymentReference).subscribe(paymentGroup => {
35
- let fees = [];
36
- paymentGroup.fees.forEach(fee => {
37
- this.isRemissionsMatch = false;
38
- paymentGroup.remissions.forEach(rem => {
39
- if (rem.fee_code === fee.code) {
40
- this.isRemissionsMatch = true;
41
- fee['remissions'] = rem;
42
- fees.push(fee);
43
- }
44
- });
45
- if (!this.isRemissionsMatch) {
46
- fees.push(fee);
47
- }
48
- });
49
- paymentGroup.fees = fees;
50
- this.paymentFees = fees;
51
- this.paymentGroup = paymentGroup;
52
- this.paymentGroup.payments = this.paymentGroup.payments.filter(paymentGroupObj => paymentGroupObj['reference'].includes(this.paymentLibComponent.paymentReference));
53
- const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
54
- this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
55
- }, (error) => this.errorMessage = error);
56
- this.paymentViewService.getPaymentFailure(this.paymentLibComponent.paymentReference).subscribe({
57
- next: (res) => {
58
- JSON.parse(res).payment_failure_list.reverse().forEach(payments => {
59
- this.allPaymentsFailure.push(payments.payment_failure_initiated);
60
- if (payments.payment_failure_closed) {
61
- this.allPaymentsFailure.push(payments.payment_failure_closed);
62
- }
63
- });
64
- this.allPaymentsFailure = this.allPaymentsFailure.reverse();
65
- },
66
- error: (e) => {
67
- this.allPaymentsFailure = [];
68
- this.errorMsg = "Server error";
69
- }
70
- });
71
- }
72
- get isCardPayment() {
73
- return this.paymentGroup.payments[0].method === 'card';
74
- }
75
- get isTelephonyPayment() {
76
- return this.paymentGroup.payments[0].channel === 'telephony';
77
- }
78
- goToPaymentList() {
79
- this.paymentLibComponent.viewName = 'payment-list';
80
- }
81
- getOverPaymentValue() {
82
- let feesOverPayment = 0;
83
- this.paymentGroup.fees.forEach(fee => {
84
- feesOverPayment += fee.over_payment;
85
- });
86
- return feesOverPayment > 0 ? feesOverPayment : this.paymentGroup.payments[0].over_payment;
87
- }
88
- goToServiceRequestPage() {
89
- this.paymentLibComponent.viewName = 'case-transactions';
90
- this.paymentLibComponent.TAKEPAYMENT = false;
91
- this.paymentLibComponent.SERVICEREQUEST = 'true';
92
- this.paymentLibComponent.isFromServiceRequestPage = true;
93
- window.location.reload();
94
- }
95
- goToCaseTransationPage(event) {
96
- event.preventDefault();
97
- if (!this.paymentLibComponent.isFromServiceRequestPage) {
98
- this.OrderslistService.setnavigationPage('casetransactions');
99
- this.OrderslistService.setisFromServiceRequestPage(false);
100
- this.paymentLibComponent.viewName = 'case-transactions';
101
- this.paymentLibComponent.ISBSENABLE = true;
102
- this.resetOrderData();
103
- }
104
- else {
105
- this.OrderslistService.getorderRefs().subscribe((data) => this.orderRef = data);
106
- this.OrderslistService.getorderCCDEvents().subscribe((data) => this.orderCCDEvent = data);
107
- this.OrderslistService.getorderCreateds().subscribe((data) => this.orderCreated = data);
108
- this.OrderslistService.getorderDetail().subscribe((data) => this.orderDetail = data);
109
- this.OrderslistService.getorderPartys().subscribe((data) => this.orderParty = data);
110
- this.OrderslistService.getorderRemissionTotals().subscribe((data) => this.orderRemissionTotal = data);
111
- this.OrderslistService.getorderFeesTotals().subscribe((data) => this.orderFeesTotal = data);
112
- this.OrderslistService.getoorderTotalPaymentss().subscribe((data) => this.orderTotalPayments = data);
113
- this.viewStatus = 'order-full-view';
114
- }
115
- }
116
- addRemission(fee) {
117
- if (this.chkIsAddRemissionBtnEnable(fee)) {
118
- this.feeId = fee;
119
- this.paymentViewService.getApportionPaymentDetails(this.paymentGroup.payments[0].reference).subscribe(paymentGroup => {
120
- this.paymentGroup = paymentGroup;
121
- this.paymentGroup.payments = this.paymentGroup.payments.filter(paymentGroupObj => paymentGroupObj['reference'].includes(this.paymentLibComponent.paymentReference));
122
- this.payment = this.paymentGroup.payments[0];
123
- this.paymentLibComponent.isFromPaymentDetailPage = true;
124
- this.viewStatus = 'addremission';
125
- this.isRefundRemission = true;
126
- this.cd.detectChanges();
127
- }, (error) => this.errorMessage = error);
128
- }
129
- }
130
- checkForFees(paymentGroup) {
131
- if (paymentGroup !== null && paymentGroup !== undefined) {
132
- if (paymentGroup.fees !== null && paymentGroup.fees !== undefined) {
133
- return true;
134
- }
135
- }
136
- return false;
137
- }
138
- processRefund() {
139
- this.isConfirmationBtnDisabled = true;
140
- this.errorMessage = '';
141
- const obj = this.paymentGroup.fees[0];
142
- this.fees = [{ id: obj.id,
143
- code: obj.code,
144
- version: obj.version,
145
- apportion_amount: obj.apportion_amount,
146
- calculated_amount: obj.calculated_amount,
147
- updated_volume: obj.updated_volume ? obj.updated_volume : obj.volume,
148
- volume: obj.volume,
149
- refund_amount: this.getOverPaymentValue() }];
150
- const requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.paymentGroup.payments[0].reference, 'RR037', this.getOverPaymentValue(), 'op');
151
- this.paymentViewService.postRefundsReason(requestBody).subscribe(response => {
152
- if (JSON.parse(response)) {
153
- this.viewCompStatus = '';
154
- this.viewStatus = 'refundconfirmationpage';
155
- this.refundReference = JSON.parse(response).refund_reference;
156
- this.refundAmount = JSON.parse(response).refund_amount;
157
- }
158
- }, (error) => {
159
- this.errorMessage = error;
160
- this.isConfirmationBtnDisabled = false;
161
- this.cd.detectChanges();
162
- });
163
- }
164
- gotoAddressPage(note) {
165
- if (note) {
166
- this.notification = { contact_details: note, notification_type: note.notification_type };
167
- }
168
- this.errorMessage = '';
169
- this.viewCompStatus = 'overPaymentAddressCapture';
170
- }
171
- addRefundForRemission(payment, remission, fees) {
172
- //if(!this.chkIsIssueRefundBtnEnable(payment)) {
173
- this.paymentViewService.getApportionPaymentDetails(payment.reference).subscribe(paymentGroup => {
174
- this.paymentGroup = paymentGroup;
175
- this.paymentGroup.payments = this.paymentGroup.payments.filter(paymentGroupObj => paymentGroupObj['reference'].includes(payment.reference));
176
- this.payment = this.paymentGroup.payments[0];
177
- this.remissions = remission;
178
- this.remissionFeeAmt = fees.filter(data => data.code === this.remissions['fee_code'])[0].net_amount;
179
- this.viewStatus = 'addrefundforremission';
180
- // const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
181
- // this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
182
- }, (error) => this.errorMessage = error);
183
- //}
184
- }
185
- goToPaymentViewComponent() {
186
- this.viewCompStatus = '';
187
- this.viewStatus = 'paymentview';
188
- }
189
- issueRefund(paymentgrp) {
190
- if (paymentgrp !== null && paymentgrp !== undefined) {
191
- if (this.chkIsIssueRefundBtnEnable(paymentgrp.payments[0])) {
192
- if (paymentgrp.payments[0].over_payment > 0) {
193
- this.viewCompStatus = 'overpayment';
194
- }
195
- else {
196
- this.paymentGroup = paymentgrp;
197
- this.viewStatus = 'issuerefund';
198
- this.isRefundRemission = true;
199
- this.paymentLibComponent.isFromPaymentDetailPage = true;
200
- this.isFromPaymentDetailPage = true;
201
- this.isFromServiceRequestPage = false;
202
- }
203
- }
204
- }
205
- }
206
- getRemissionByFeeCode(feeCode, remissions) {
207
- if (remissions && remissions.length > 0) {
208
- for (const remission of remissions) {
209
- if (remission.fee_code === feeCode) {
210
- return remission;
211
- }
212
- }
213
- }
214
- return null;
215
- }
216
- chkIsIssueRefundBtnEnable(payment) {
217
- if (payment !== null && payment !== undefined) {
218
- return payment.issue_refund && payment.refund_enable;
219
- }
220
- else {
221
- return false;
222
- }
223
- }
224
- chkIsAddRefundBtnEnable(remission) {
225
- if (remission !== null && remission !== undefined) {
226
- return remission.add_refund;
227
- }
228
- else {
229
- return false;
230
- }
231
- }
232
- chkIsAddRemissionBtnEnable(fee) {
233
- if (fee !== null && fee !== undefined) {
234
- return fee.add_remission && fee.remission_enable;
235
- }
236
- else {
237
- return false;
238
- }
239
- }
240
- selectPymentOption(paymentType) {
241
- this.paymentType = paymentType;
242
- this.isContinueBtnDisabled = false;
243
- }
244
- continuePayment(paymentgrp) {
245
- if (this.paymentType === 'op') {
246
- this.isFullyRefund = false;
247
- this.viewCompStatus = 'overPaymentAddressCapture';
248
- }
249
- else if (this.paymentType === 'fp') {
250
- this.isFullyRefund = true;
251
- this.paymentGroup = paymentgrp;
252
- this.viewStatus = 'issuerefund';
253
- this.viewCompStatus = "";
254
- this.isRefundRemission = true;
255
- this.paymentLibComponent.isFromPaymentDetailPage = true;
256
- this.isFromPaymentDetailPage = true;
257
- this.isFromServiceRequestPage = this.paymentLibComponent.isFromServiceRequestPage;
258
- }
259
- }
260
- gotoPaymentSelectPage(event) {
261
- event.preventDefault();
262
- this.viewCompStatus = 'overpayment';
263
- }
264
- getContactDetails(obj) {
265
- this.contactDetailsObj = obj;
266
- this.notificationPreview = false;
267
- this.getTemplateInstructionType(this.paymentGroup.payments[0]);
268
- this.viewCompStatus = 'overpaymentcheckandanswer';
269
- }
270
- resetOrderData() {
271
- this.OrderslistService.setOrderRef(null);
272
- this.OrderslistService.setorderCCDEvent(null);
273
- this.OrderslistService.setorderCreated(null);
274
- this.OrderslistService.setorderDetail(null);
275
- this.OrderslistService.setorderParty(null);
276
- this.OrderslistService.setorderTotalPayments(null);
277
- this.OrderslistService.setorderRemissionTotal(null);
278
- this.OrderslistService.setorderFeesTotal(null);
279
- }
280
- goToPaymentFailuePage(payment) {
281
- this.viewStatus = 'payment-failure';
282
- this.selectedPaymentsStatus = payment;
283
- }
284
- goBackToPaymentView(event) {
285
- event.preventDefault();
286
- this.viewStatus = 'paymentview';
287
- }
288
- getTemplateInstructionType(payment) {
289
- if (payment == undefined || payment == null) {
290
- this.templateInstructionType = 'Template';
291
- }
292
- else {
293
- this.templateInstructionType = this.notificationService.getNotificationInstructionType(payment.channel, payment.method);
294
- }
295
- }
296
- showNotificationPreview() {
297
- this.notificationPreview = true;
298
- }
299
- hideNotificationPreview() {
300
- this.notificationPreview = false;
301
- }
302
- }
303
- PaymentViewComponent.decorators = [
304
- { type: Component, args: [{
305
- selector: 'ccpay-payment-view',
306
- template: "<div class=\"payment-view-section\">\n<ng-container *ngIf=\"viewStatus === 'paymentview' && viewCompStatus !== 'overpayment' && viewCompStatus !== 'overPaymentAddressCapture' && viewCompStatus !== 'overpaymentcheckandanswer'\">\n<div class=\"govuk-width-container\">\n\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"goToCaseTransationPage($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n\n <main class=\"govuk-main-wrapper govuk-!-padding-top-0\" id=\"main-content\" role=\"main\">\n\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payment details could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <div class=\"payment-view-alignment\" *ngIf=\"!errorMessage && paymentGroup?.payments[0]\">\n\n <input #myInput type='hidden' class='iFrameDrivenImageValue' value='PAYMENTDETAILS'>\n <div class=\"govuk-grid-row\">\n <div class=\"column\">\n <h1 class=\"heading-large govuk-!-margin-top-0\">Payment details</h1>\n </div>\n </div>\n <table>\n <tbody>\n\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Service request reference</td>\n <td class=\"tb-col-w\">{{ serviceReference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment reference</td>\n <td class=\"tb-col-w\">{{ paymentGroup?.payments[0]?.reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment amount</td>\n <td class=\"tb-col-w\">\u00A3{{ paymentGroup?.payments[0]?.amount | number:'.2' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"paymentGroup?.payments[0]?.over_payment > 0\">\n <td class=\"bold tb-col-w\">Over payment</td>\n <td class=\"tb-col-w\">\u00A3{{ getOverPaymentValue() | 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]=\"!chkIsIssueRefundBtnEnable(paymentGroup?.payments[0])\" (click)=\"issueRefund(paymentGroup)\" class=\"govuk-button govuk-button--secondary\">Issue refund</button>\n </div>\n<div *ngIf=\"ISPAYMENTSTATUSENABLED\">\n <div class=\"column\">\n <h2 class=\"heading-medium\">Disputed payment history</h2>\n </div>\n \n <div>\n <table>\n <thead>\n <tr>\n <th>Status</th>\n <th>Amount</th>\n <th>Date</th>\n <th>Payment reference</th>\n <th>Event</th>\n <th></th>\n </tr>\n </thead> \n <tbody *ngIf=\"!errorMsg && allPaymentsFailure.length > 0\">\n <tr *ngFor=\"let payment of allPaymentsFailure\">\n <td>{{ payment.status | capitalize }}</td>\n <td>\u00A3{{ payment.disputed_amount | number:'.2' }}</td>\n <td>{{(payment.representment_date ? payment.representment_date : payment.failure_event_date_time) | date:'dd MMM yyyy'}}</td>\n <td>{{ payment.payment_reference }}</td>\n <td >{{ payment.failure_type }}</td>\n <td>\n \n <a href=\"javascript:void(0)\" (click)=\"goToPaymentFailuePage(payment)\">Show detail</a>\n\n </td>\n </tr>\n </tbody>\n <tbody *ngIf=\"errorMsg || allPaymentsFailure.length === 0\">\n <tr>\n <td colspan=\"6\"> No disputed payment history available. </td>\n </tr>\n </tbody>\n </table>\n </div>\n <br/>\n <br/>\n </div>\n \n <div *ngIf=\"checkForFees(paymentGroup)\">\n <div *ngIf=\"paymentGroup.fees.length > 0\">\n <div class=\"column\">\n <br/>\n <br/>\n <h2 class=\"heading-large\">Fee and remission details</h2>\n\n </div>\n </div>\n\n <div *ngFor=\"let fee of paymentGroup.fees\">\n <table class=\"table\">\n <tbody>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Description</td>\n <td class=\"tb-col-w\">Application for {{ fee.description }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Fee code</td>\n <td class=\"tb-col-w\">{{ fee?.code }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\" [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions && !isTurnOff }\">Fee amount</td>\n <td [ngClass]=\"{'tr-border': !fee.apportion_amount && !fee.remissions && !isTurnOff}\">\u00A3{{ fee?.calculated_amount | number:'.2' }}</td>\n </tr>\n\n <tr *ngIf=\"fee.apportion_amount\">\n <td class=\"bold tb-col-w tr-border\" [ngClass]=\"{'tr-border': !fee.remissions}\">Allocated amount</td>\n <td [ngClass]=\"{'tr-border': !fee.remissions}\">\u00A3{{ fee?.apportion_amount | number:'.2' }}</td>\n </tr>\n\n </tbody>\n </table>\n <button [disabled]=\"!chkIsAddRemissionBtnEnable(fee)\" (click)=\"addRemission(fee)\" class=\"govuk-button govuk-button--secondary\"> Add remission</button>\n </div>\n\n <!-- remissions -->\n <div class=\"order-class\">\n <div class=\"column\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-24 whitespace-inherit\" scope=\"col\">Help with fees or remission code</td>\n <td class=\"govuk-table__header col-27 whitespace-inherit\" scope=\"col\">Reference</td>\n <td class=\"govuk-table__header whitespace-inherit\" scope=\"col\">Fee</td>\n <td class=\"govuk-table__header whitespace-inherit\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header whitespace-inherit refundBtn\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngFor=\"let remission of paymentGroup.remissions\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.hwf_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.remission_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.fee_code }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ remission?.hwf_amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n <td class=\"govuk-table__cell refundBtn whitespace-inherit\" >\n <button [disabled]=\"!chkIsAddRefundBtnEnable(remission)\" (click)=\"addRefundForRemission(paymentGroup.payments[0],remission,paymentGroup.fees)\" class=\"govuk-button govuk-button--secondary\"> Add refund</button>\n </td>\n </tr>\n </tbody>\n\n\n </table>\n </div></div>\n\n <div *ngIf=\"paymentGroup.remissions?.length === 0\">\n <span class=\"mar-17\" >No help with fees or remissions.</span>\n </div>\n\n </div>\n </div>\n </main>\n</div>\n\n</ng-container>\n<ng-container *ngIf=\"viewStatus === 'addremission' && feeId && viewCompStatus !== 'overpayment' && viewCompStatus !== 'overPaymentAddressCapture' && viewCompStatus !== 'overpaymentcheckandanswer'\">\n<ccpay-add-remission \n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[fee]=\"feeId\"\n[payment] = \"payment\"\n[orderStatus] =\"paymentGroup.payments[0].status\"\n[paidAmount]= \"paymentGroup.payments[0].amount\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[paymentGroupRef]=\"paymentGroup.payment_group_reference\"\n[isFromPaymentDetailPage] = \"true\"\n[ccdCaseNumber]=\"ccdCaseNumber\"\n[orderFeesTotal] = \"orderFeesTotal\"\n[orderTotalPayments] = \"orderTotalPayments\"\n[orderRemissionTotal] = \"orderRemissionTotal\"\n[orderRef] = \"orderRef\"\n[orderCreated] = \"orderCreated\"\n[orderParty] = \"orderParty\"\n[orderCCDEvent] = \"orderCCDEvent\"\n[orderDetail] = \"orderDetail\"\n[LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"></ccpay-add-remission>\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'addrefundforremission' && payment && viewCompStatus !== 'overpayment' && viewCompStatus !== 'overPaymentAddressCapture' && viewCompStatus !== 'overpaymentcheckandanswer'\">\n\n<ccpay-add-remission\n[isTurnOff]=\"isTurnOff\"\n[isStrategicFixEnable]=\"isStrategicFixEnable\"\n[viewCompStatus]= \"viewStatus\"\n[payment]=\"payment\"\n[orderStatus] =\"orderStatus\"\n[paidAmount]= \"orderTotalPayments\"\n[isRefundRemission]=\"isRefundRemission\"\n[caseType]=\"caseType\"\n[feeamount]=\"remissionFeeAmt\"\n[remission] = \"remissions\"\n[isFromServiceRequestPage]=\"false\"\n[paymentGroupRef]=\"paymentGroup.payment_group_reference\"\n[ccdCaseNumber]=\"ccdCaseNumber\"\n[orderFeesTotal] = \"orderFeesTotal\"\n[orderTotalPayments] = \"orderTotalPayments\"\n[orderRemissionTotal] = \"orderRemissionTotal\"\n[orderRef] = \"orderRef\"\n[orderCreated] = \"orderCreated\"\n[orderParty] = \"orderParty\"\n[orderCCDEvent] = \"orderCCDEvent\"\n[orderDetail] = \"orderDetail\"\n[LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"></ccpay-add-remission>\n</ng-container>\n\n<ng-container *ngIf=\"viewStatus === 'issuerefund' && viewCompStatus !== 'overpayment' && viewCompStatus !== 'overPaymentAddressCapture' && viewCompStatus !== 'overpaymentcheckandanswer'\">\n <ccpay-add-remission \n [isTurnOff]=\"isTurnOff\"\n [isStrategicFixEnable]=\"isStrategicFixEnable\"\n [payment] = 'paymentGroup.payments[0]'\n [viewCompStatus]= \"viewStatus\"\n [orderStatus] =\"paymentGroup.payments[0].status\"\n [paidAmount]= \"paymentGroup.payments[0].amount\"\n [isRefundRemission]=\"isRefundRemission\"\n [caseType]=\"caseType\"\n [isFromServiceRequestPage]=\"isFromServiceRequestPage\"\n [isFromPaymentDetailPage] = \"isFromPaymentDetailPage\"\n [paymentGroupRef]=\"paymentGroup.payment_group_reference\"\n [ccdCaseNumber]=\"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\"\n [orderRef] = \"orderRef\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [fees] =\"paymentFees\"\n [isFullyRefund] = \"isFullyRefund\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\">\n \n ></ccpay-add-remission>\n</ng-container>\n<ng-container *ngIf=\"viewStatus === 'order-full-view' && viewCompStatus !== 'overpayment' && viewCompStatus !== 'overPaymentAddressCapture' && viewCompStatus !== 'overpaymentcheckandanswer'\">\n <ccpay-service-request\n [viewStatus] = \"viewStatus\"\n [orderRef] = \"orderRef\"\n [orderStatus] = \"orderStatus\"\n [orderCreated] = \"orderCreated\"\n [orderParty] = \"orderParty\"\n [orderCCDEvent] = \"orderCCDEvent\"\n [orderDetail] = \"orderDetail\"\n [LOGGEDINUSERROLES] = \"LOGGEDINUSERROLES\"\n [takePayment] = \"isTakePayment\"\n [ccdCaseNumber] = \"ccdCaseNumber\"\n [orderFeesTotal] = \"orderFeesTotal\"\n [orderTotalPayments] = \"orderTotalPayments\"\n [orderRemissionTotal] = \"orderRemissionTotal\"\n [isServiceRequest] = \"isServiceRequest\"\n (goToServiceRquestComponent) = \"goToServiceRequestPage()\"\n>\n</ccpay-service-request>\n\n</ng-container>\n</div>\n<div class=\"over-payment\">\n<ng-container *ngIf=\"viewCompStatus === 'overpayment'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='OVERPAYMENTPAGE'> \n <h1 class=\"heading-large\">Issue refund</h1>\n <h1 class=\"heading-medium\">Case reference: {{ccdCaseNumber | ccdHyphens }}</h1>\n <span id=\"how-contacted-conditional-hint govuk-font19px\" class=\"form-hint\">\n Payment reference: {{paymentGroup?.payments[0]?.reference}}\n </span>\n<div class=\"govuk-form-group\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"heading-medium\">Select payment to refund</h1>\n </legend>\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"over-payment\" name=\"over-payment\" type=\"radio\" (click)=\"selectPymentOption('op')\" value=\"op\">\n <label class=\"govuk-label govuk-radios__label govuk-font19px\" for=\"where-do-you-live\">\n Over payment \u00A3{{getOverPaymentValue() | number:'.2'}}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"full-payment\" name=\"over-payment\" type=\"radio\" (click)=\"selectPymentOption('fp')\" value=\"fp\">\n <label class=\"govuk-label govuk-radios__label govuk-font19px\" for=\"where-do-you-live-2\">\n Full payment \u00A3{{paymentGroup?.payments[0]?.amount | number:'.2'}}\n </label>\n </div>\n </div>\n <button class=\"govuk-button govuk-button--secondary over-payment-alignment govuk-font19px\"\n (click)=\"goToPaymentViewComponent()\"> Previous</button>\n <button \n (click)=\"continuePayment(paymentGroup)\"\n [disabled]=\"isContinueBtnDisabled\"\n [ngClass]='isContinueBtnDisabled ? \"button button--disabled govuk-!-margin-right-1 govuk-font19px\" : \"button govuk-!-margin-right-1 govuk-font19px\"'\n class=\"govuk-button\"> Continue</button>\n </fieldset>\n</div>\n</ng-container>\n\n<ng-container *ngIf=\"viewCompStatus === 'overPaymentAddressCapture'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='OVERPAYMENTADDRESSCAPTUREPAGE'> \n <h1 class=\"govuk-heading-l\">Issue refund</h1>\n <h2 class=\"govuk-heading-m govuk-font19px\">Case reference: {{ccdCaseNumber | ccdHyphens }}</h2>\n <span id=\"how-contacted-conditional-hint\" class=\"govuk-hint govuk-font19px\">\n Payment reference: {{paymentGroup?.payments[0]?.reference}}\n </span>\n<ccpay-contact-details \n[addressObj] = notification\n(assignContactDetails)=\"getContactDetails($event)\"\n(redirectToIssueRefund)=\"gotoPaymentSelectPage($event)\" ></ccpay-contact-details>\n<p>\n <a (click)=\"goToCaseTransationPage($event)\" class=\"govuk-link\" data-module=\"govuk-button\">\n Cancel\n </a>\n</p>\n</ng-container>\n\n<ng-container *ngIf=\"viewCompStatus === 'overpaymentcheckandanswer'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='ADDREFUNDFORREMISSION'> \n <div class=\"govuk-warning-text\">\n \n <h1 class=\"heading-large\"> Check your answers</h1>\n </div>\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment reference</td>\n <td class=\"govuk-table__cell\"> {{paymentGroup.payments[0].reference}} </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment amount</td>\n <td class=\"govuk-table__cell\">{{paymentGroup.payments[0].amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Fee amount</td>\n <td class=\"govuk-table__cell\">{{paymentGroup?.fees[0]?.net_amount | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Refund amount</td>\n <td class=\"govuk-table__cell\">{{getOverPaymentValue() | currency:'GBP':'symbol-narrow':'1.2-2'}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Refund reason</td>\n <td class=\"govuk-table__cell\">Over payment</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Send to</td>\n <td class=\"govuk-table__cell\">{{orderParty}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Send via</td>\n <td class=\"govuk-table__cell whitespace-inherit\">\n <div *ngIf=\"contactDetailsObj?.notification_type === 'EMAIL'\" class=\"contactDetails-width\">\n <strong>Email</strong>\n <br/>\n {{contactDetailsObj?.email?.trim()}}\n </div>\n <div *ngIf=\"contactDetailsObj?.notification_type === 'LETTER'\" class=\"contactDetails-width\">\n <strong>Post</strong>\n <br/>\n {{contactDetailsObj?.address_line?.trim()}}&nbsp;{{contactDetailsObj?.city?.trim()}}&nbsp;{{contactDetailsObj?.county?.trim()}}&nbsp;{{contactDetailsObj?.country?.trim()}}&nbsp;{{contactDetailsObj?.postal_code?.trim()}}\n </div>\n <a (click)=\"gotoAddressPage(contactDetailsObj)\" class=\"govuk-link right\" >Change</a>\n </td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Notification</td>\n <td class=\"govuk-table__cell\">{{templateInstructionType}}\n <a *ngIf=\"!notificationPreview\" href=\"Javascript:void(0)\" class=\"govuk-link right\" (click)=\"showNotificationPreview()\">\n Preview\n </a>\n <a *ngIf=\"notificationPreview\" href=\"Javascript:void(0)\" class=\"govuk-link right\" (click)=\"hideNotificationPreview()\">\n Hide Preview\n </a>\n </td>\n </tr>\n </table>\n\n <app-notification-preview *ngIf=\"notificationPreview\" \n [payment]=\"paymentGroup.payments[0]\" \n [contactDetails]=\"contactDetailsObj\"\n [refundReason]=\"'RR037'\"\n [refundAmount]=\"getOverPaymentValue()\"></app-notification-preview>\n\n <button type=\"submit\" class=\"button govuk-button--secondary over-payment-alignment govuk-font19px\" (click)=\"gotoAddressPage(contactDetailsObj)\">Previous</button>\n <button type=\"submit\"\n [ngClass]='isContinueBtnDisabled ? \"button button--disabled govuk-!-margin-right-1 govuk-font19px\" : \"button govuk-!-margin-right-1 govuk-font19px\"'\n (click)=\"processRefund()\">\n Submit refund\n </button>\n <p>\n <a href=\"javascript:void(0)\" (click)=\"goToCaseTransationPage($event)\" class=\"govuk-link govuk-font19px\" data-module=\"govuk-button\">\n Cancel\n </a>\n </p>\n\n</ng-container>\n<ng-container *ngIf=\"viewStatus === 'refundconfirmationpage' && viewCompStatus !== 'overpayment' && viewCompStatus !== 'overPaymentAddressCapture' && viewCompStatus !== 'overpaymentcheckandanswer'\">\n <input #myInput type='hidden' id='iFrameDrivenImageValue' value='RETROREMISSIONREFUNDCONFIRMATIONPAGE'> \n <div class=\"govuk-grid-row pagesize\">\n <div >\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n Refund submitted\n </h1>\n \n <div class=\"govuk-panel__body\">\n <p class=\"govuk-body white\"><strong>Refund reference: {{refundReference}}</strong></p>\n </div>\n \n </div>\n <h2 class=\"govuk-heading-l\">What happens next</h2>\n <p class=\"govuk-body\">\n A refund request for {{refundAmount | currency:'GBP':'symbol-narrow':'1.2-2' }} has been created and will be passed to a team leader to approve.\n </p>\n <p class=\"govuk-body\">\n <a href=\"javascript:void(0)\" (click)=\"goToCaseTransationPage($event)\" class=\"govuk-link pointer\" data-module=\"govuk-button\">\n Return to case\n </a>\n </p>\n </div>\n </div>\n\n</ng-container>\n</div>\n\n<ng-container *ngIf=\"viewStatus === 'payment-failure'\">\n <div class=\"payment-failure-alignment\">\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"goBackToPaymentView($event)\" class=\"govuk-back-link\">Back</a>\n </li>\n </ol>\n </div>\n <div class=\"govuk-grid-row\">\n <div class=\"column\">\n <h1 class=\"heading-large govuk-!-margin-top-0\">Failure event details</h1>\n </div>\n </div>\n <table>\n <tbody>\n\n <tr class=\"section\">\n <td class=\"bold\">Failure reference</td>\n <td>\t{{selectedPaymentsStatus.failure_reference}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Failure reason</td>\n <td>\t{{selectedPaymentsStatus.failure_reason}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Payment reference</td>\n <td>{{ selectedPaymentsStatus.payment_reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Payment amount</td>\n <td> \u00A3{{ paymentGroup?.payments[0]?.amount | number:'.2' }}</td>\n\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Disputed amount</td>\n <td>\t\u00A3{{selectedPaymentsStatus.disputed_amount | number:'.2'}}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Additional information</td>\n <td>\t{{selectedPaymentsStatus.additional_reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Failure type</td>\n <td>\t{{ selectedPaymentsStatus.failure_type }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold\">Failure event date and time</td>\n <td> {{ selectedPaymentsStatus.failure_event_date_time | date:'dd MMM yyyy HH:mm:ss' }}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"selectedPaymentsStatus.has_amount_debited\">\n <td class=\"bold\">Has disputed amount debited</td>\n <td>\t{{selectedPaymentsStatus.has_amount_debited}}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"selectedPaymentsStatus.representment_status\">\n <td class=\"bold\">Status following representation of payment</td>\n <td>\t{{(selectedPaymentsStatus.representment_status === 'Yes' || selectedPaymentsStatus.representment_status === 'yes') ? 'Success' : 'Failure'}}</td>\n </tr>\n <tr class=\"section\" *ngIf=\"selectedPaymentsStatus.representment_date\">\n <td class=\"bold\">Date payment represented</td>\n <td>\t{{selectedPaymentsStatus.representment_date | date:'dd MMM yyyy HH:mm:ss'}}</td>\n </tr>\n </tbody>\n </table>\n\n <div>\n </div>\n </div>\n</ng-container>\n",
307
- styles: [".payment-view-section .tb-col-w{width:330px}.payment-view-section .tr-border{border-bottom:2px solid}.payment-view-section .payment-view-alignment{margin-left:30px}.payment-view-section .govuk-button{font-size:19px;float:left;margin-top:2em}.payment-view-section .remission{margin-bottom:7em}.payment-view-section .govuk-error-summary__title{font-size:24px!important}.payment-view-section .govuk-table__cell,.payment-view-section .govuk-table__header{padding:0;line-height:1.3;vertical-align:middle}.payment-view-section .govuk-table__row{line-height:1.3}.payment-view-section .govuk-table__cell:last-child{text-align:right}.payment-view-section .text-transform:first-letter{text-transform:capitalize}.payment-view-section .govuk-link{cursor:pointer}.payment-view-section .mar-17{font-size:19px!important}.over-payment .pagesize{margin:2em;width:97%}.over-payment .contactDetails-width{width:70%}.over-payment .margin-top10px{margin-top:20px}.over-payment .govuk-font19px{font-size:19px!important}.over-payment .margin-top--size{margin-top:-30px}.over-payment .over-payment-alignment{margin-right:10px}.over-payment .govuk-button{font-size:19px;float:left;margin-top:2em}.over-payment td.govuk-table__cell{width:50%}.over-payment .govuk-label--s,.over-payment .govuk-warning-text__text,.over-payment .hmcts-currency-input__symbol{font-size:19px;font-weight:400}.over-payment .inline-error-class{outline:3px solid #a71414;outline-offset:0;border-color:#a71414}.over-payment .inline-error-message{color:#a71414;border-color:#a71414;font-weight:700;margin-top:10px;font-size:20px}.over-payment .govuk-button-group{padding-top:2em}.over-payment .heading-medium{margin-top:.875em}.over-payment .heading-large{margin-top:.25em}.over-payment .govuk-panel--confirmation{color:#fff;background:#00703c}.over-payment .govuk-panel__title{font-size:5rem}.over-payment .govuk-body,.over-payment .govuk-body-m{font-size:2.1875rem}.over-payment .govuk-link{cursor:pointer}.over-payment .govuk-radios__conditional{padding-top:12px!important}.over-payment .right{float:right;cursor:pointer}.over-payment .radio{float:right}.over-payment .white{color:#fff}.whitespace-inherit{white-space:inherit!important}"]
308
- },] }
309
- ];
310
- PaymentViewComponent.ctorParameters = () => [
311
- { type: PaymentViewService },
312
- { type: NotificationService },
313
- { type: PaymentLibComponent },
314
- { type: ChangeDetectorRef },
315
- { type: OrderslistService }
316
- ];
317
- PaymentViewComponent.propDecorators = {
318
- isTurnOff: [{ type: Input }],
319
- isTakePayment: [{ type: Input }],
320
- caseType: [{ type: Input }],
321
- orderRef: [{ type: Input }],
322
- orderStatus: [{ type: Input }],
323
- orderTotalPayments: [{ type: Input }],
324
- payment: [{ type: Input }],
325
- LOGGEDINUSERROLES: [{ type: Input }],
326
- ISPAYMENTSTATUSENABLED: [{ type: Input }],
327
- orderParty: [{ type: Input }],
328
- orderCreated: [{ type: Input }],
329
- orderCCDEvent: [{ type: Input }],
330
- orderFeesTotal: [{ type: Input }],
331
- orderRemissionTotal: [{ type: Input }],
332
- orderDetail: [{ type: Input }],
333
- isServiceRequest: [{ type: Input, args: ["isServiceRequest",] }]
334
- };
335
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BheW1lbnQtbGliL3NyYy9saWIvY29tcG9uZW50cy9wYXltZW50LXZpZXcvcGF5bWVudC12aWV3LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxrREFBa0QsQ0FBQztBQUN0RixPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxrREFBa0QsQ0FBQztBQUN2RixPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUtsRSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUNyRixNQUFNLGNBQWMsR0FBRyx1QkFBdUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFbEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sbU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XG4gICAgICAgICAgfSk7XG4gICAgICAgICAgaWYgKCF0aGlzLmlzUmVtaXNzaW9uc01hdGNoKSB7XG4gICAgICAgICAgICBmZWVzLnB1c2goZmVlKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgICBwYXltZW50R3JvdXAuZmVlcyA9IGZlZXNcbiAgICAgICAgdGhpcy5wYXltZW50RmVlcyA9ZmVlcztcbiAgICAgICAgdGhpcy5wYXltZW50R3JvdXAgPSBwYXltZW50R3JvdXA7XG5cbiAgICAgICAgdGhpcy5wYXltZW50R3JvdXAucGF5bWVudHMgPSB0aGlzLnBheW1lbnRHcm91cC5wYXltZW50cy5maWx0ZXJcbiAgICAgICAgICAocGF5bWVudEdyb3VwT2JqID0+IHBheW1lbnRHcm91cE9ialsncmVmZXJlbmNlJ10uaW5jbHVkZXModGhpcy5wYXltZW50TGliQ29tcG9uZW50LnBheW1lbnRSZWZlcmVuY2UpKTtcbiAgICAgICAgY29uc3QgcGF5bWVudEFsbG9jYXRpb24gPSB0aGlzLnBheW1lbnRHcm91cC5wYXltZW50c1swXS5wYXltZW50X2FsbG9jYXRpb247XG4gICAgICAgIHRoaXMuaXNTdGF0dXNBbGxvY2F0ZWQgPSBwYXltZW50QWxsb2NhdGlvbi5sZW5ndGggPiAwICYmIHBheW1lbnRBbGxvY2F0aW9uWzBdLmFsbG9jYXRpb25fc3RhdHVzID09PSAnQWxsb2NhdGVkJyB8fCBwYXltZW50QWxsb2NhdGlvbi5sZW5ndGggPT09IDA7XG5cbiAgICAgIH0sXG4gICAgICAoZXJyb3I6IGFueSkgPT4gdGhpcy5lcnJvck1lc3NhZ2UgPSBlcnJvclxuICAgICk7XG4gICAgdGhpcy5wYXltZW50Vmlld1NlcnZpY2UuZ2V0UGF5bWVudEZhaWx1cmUodGhpcy5wYXltZW50TGliQ29tcG9uZW50LnBheW1lbnRSZWZlcmVuY2UpLnN1YnNjcmliZSh7XG4gICAgICAgbmV4dDogKHJlcykgPT4ge1x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HJ1Y3Rpb25UeXBlKHBheW1lbnQuY2hhbm5lbCwgcGF5bWVudC5tZXRob2QpO1xuICAgIH1cbiAgICAgXG4gIH1cblxuICBzaG93Tm90aWZpY2F0aW9uUHJldmlldygpOiB2b2lkIHtcbiAgICB0aGlzLm5vdGlmaWNhdGlvblByZXZpZXcgPSB0cnVlO1xuICB9XG5cbiAgaGlkZU5vdGlmaWNhdGlvblByZXZpZXcoKTogdm9pZCB7XG4gICAgdGhpcy5ub3RpZmljYXRpb25QcmV2aWV3ID0gZmFsc2U7XG4gIH1cbn1cbiJdfQ==
@@ -1,18 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- export class PbaDetailsComponent {
3
- constructor() { }
4
- ngOnInit() {
5
- }
6
- }
7
- PbaDetailsComponent.decorators = [
8
- { type: Component, args: [{
9
- selector: 'ccpay-pba-details',
10
- template: "\n <h2 class=\"heading-large\">Payment method</h2>\n <table>\n <tbody>\n <tr>\n <td class=\"bold tb-col-w\">Method</td>\n <td class=\"capitalize\">{{ payment.method | lowercase}}</td>\n </tr>\n <tr>\n <td class=\"bold tb-col-w\">Type</td>\n <td>Credit</td>\n </tr>\n <tr *ngIf=\"payment.organisation_name\">\n <td class=\"bold tb-col-w\">PBA account name</td>\n <td>{{ payment.organisation_name }}</td>\n </tr>\n <tr *ngIf=\"payment.account_number\">\n <td class=\"bold tb-col-w\">PBA number</td>\n <td>{{ payment.account_number }}</td>\n </tr>\n <tr *ngIf=\"payment.customer_reference\">\n <td class=\"bold tb-col-w\">Customer internal reference</td>\n <td>{{ payment.customer_reference }}</td>\n </tr>\n </tbody>\n </table>\n",
11
- styles: [".capitalize:first-letter{text-transform:uppercase}.tb-col-w{width:330px}"]
12
- },] }
13
- ];
14
- PbaDetailsComponent.ctorParameters = () => [];
15
- PbaDetailsComponent.propDecorators = {
16
- payment: [{ type: Input }]
17
- };
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLWRldGFpbH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