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,aACnFzH,SAAU+F,EAAYpE,QAAUmE,EAAWnE,OAAe,MACzD,EACD,QAAaU,EAAA,EAAM,CAAEA,KAAM,gBAC1B,EAAG0C,WAIZ,QAAoB,IAAI,IAC5B,QAAoB,MAAOC,EAAa,CACpCmB,EAAWxE,QAUR,WAAc,QAAoB,MAAOwD,EAAa,EACrD,QAAa,IAAO,CAAEvC,QAAS,iCAVhC,WAAc,QAAoB,MAAOqC,EAAa,EACrD,QAAoB,SAAU,CAC5BzF,MAAO,qBACPwC,GAAIb,EACJrF,MAAOmK,EAAYtE,MACnB6E,OAAQR,EAAarE,MACrBI,MAAO,CAAC,WAAa,SACpB,KAAM,EAAGmD,UAQxB,G","sources":["webpack://shipley-du-lib/./common/js/legacy/custPortal/cw/cw.pages.paymentHistory.js","webpack://shipley-du-lib/./common/js/du/appEnum/AlertSeverity.ts","webpack://shipley-du-lib/./common/js/du/components/form/checkbox.vue?be2d","webpack://shipley-du-lib/./common/js/du/components/form/checkbox.vue","webpack://shipley-du-lib/./common/js/du/components/form/checkbox.vue?f028","webpack://shipley-du-lib/./common/js/du/interfaces/utility/IClickableAlertMessage.ts","webpack://shipley-du-lib/./common/js/du/components/utility/alert.vue?8475","webpack://shipley-du-lib/./common/js/du/components/utility/alert.vue?5e44","webpack://shipley-du-lib/./common/js/du/components/utility/alert.vue","webpack://shipley-du-lib/./common/js/du/components/utility/pdfViewer.vue?5d6e","webpack://shipley-du-lib/./common/js/du/components/utility/pdfViewer.vue?9576","webpack://shipley-du-lib/./common/js/du/components/utility/pdfViewer.vue"],"sourcesContent":["import moment from \"moment\";\r\nimport \"../lib/bootstrap-datetimepicker/bootstrap-datetime-4.7.14\";\r\nimport \"chosen-js\";\r\nimport * as BootstrapDialog from \"bootstrap3-dialog\";\r\n\r\nimport { createNonRoutedApp } from \"@du/AppStartup\";\r\nimport pdfViewer from \"@components/utility/pdfViewer\";\r\n\r\n(function (cw, $, undefined) {\r\n \"use strict\";\r\n $.extend(true, cw, {\r\n pages: {\r\n paymentHistory: {\r\n args: null,\r\n $dtTarget: null,\r\n dataTable: null,\r\n url: \"/account/payment-history\",\r\n title: \"Payment History\",\r\n paymentMethods: {\r\n Eft: 1,\r\n BankPayment: 2,\r\n Cash: 3,\r\n Check: 4,\r\n Coupon: 5,\r\n CreditCard: 6,\r\n Discount: 7,\r\n EnergyAssistance: 8,\r\n MoneyOrder: 9,\r\n },\r\n remoteSystem: {\r\n As400: 1,\r\n Nexant: 2,\r\n CreditApplication: 3,\r\n },\r\n init: function (args) {\r\n this.args = args;\r\n this.bindInteractions(args);\r\n },\r\n bindInteractions: function (args) {\r\n var self = this;\r\n var tblColumns = [\r\n {\r\n title: \"OrderedColumn\",\r\n data: function (row, type, val, meta) {\r\n if (row.PaymentId === 0) {\r\n return \"0\";\r\n } else {\r\n return 1;\r\n }\r\n },\r\n },\r\n {\r\n title: \"Payment Number\",\r\n data: function (row, type, data, val, meta) {\r\n if (row.PaymentId === 0) {\r\n return \"--\";\r\n } else {\r\n return row.PaymentId;\r\n }\r\n },\r\n },\r\n {\r\n title: \"Payment Date\",\r\n data: function (row, type, val, meta) {\r\n if (row.TransactionDate === 0 || typeof row.TransactionDate === \"undefined\") {\r\n return \"--\";\r\n } else {\r\n return cw.utility.tableSortByDate(row.TransactionDate, type, \"L\");\r\n }\r\n },\r\n },\r\n {\r\n title: \"Payment Amount\",\r\n data: function (row, type, val, meta) {\r\n switch (type) {\r\n case \"set\":\r\n return;\r\n case \"sort\":\r\n return row.PaymentAmount;\r\n case \"display\":\r\n return \"$\" + row.PaymentAmount.formatMoney();\r\n case \"filter\":\r\n return \"$\" + row.PaymentAmount.formatMoney();\r\n default:\r\n return row.PaymentAmount;\r\n }\r\n },\r\n },\r\n {\r\n title: \"Payment Method\",\r\n data: \"PaymentMethodFormatted\",\r\n },\r\n {\r\n title: \"Billing Account Number\",\r\n data: \"BillingAccountNumber\",\r\n },\r\n {\r\n title: \"Comment\",\r\n data: \"Comment\",\r\n },\r\n ];\r\n\r\n if (window.history) {\r\n window.history.pushState({ title: self.title, url: self.url }, self.title, self.url);\r\n }\r\n if (args.$viewport) {\r\n cw.loadingIndicator.start();\r\n cw.webservices.getJson(\r\n \"S1AccountManager/get-payment-history\",\r\n args.selectedS1AccountId,\r\n function (paymentHistory) {\r\n //get list of unique PaymentMethods to populate select list\r\n var paymentMethod = paymentHistory.map(function (x) {\r\n return x.PaymentMethodFormatted !== null ? x.PaymentMethodFormatted.trim() : \"\";\r\n });\r\n paymentMethod = paymentMethod.filter(function (v, i) {\r\n return paymentMethod.indexOf(v) === i;\r\n });\r\n\r\n cw.templating.GetRenderedTemplateHTML(\r\n \"PaymentHistory.html\",\r\n cw.appEnum.TemplateType.CwWidget,\r\n {\r\n breadCrumbs: cw.pages.dashboard.getBreadcrumbMarkup([\r\n { Title: \"Account Summary\", url: \"/account\" },\r\n { Title: \"Payment History\", url: \"/account/payment-history\", isActive: true },\r\n ]),\r\n PaymentMethod: paymentMethod,\r\n },\r\n function (renderedTmpl) {\r\n args.$viewport.empty();\r\n args.$viewport.append(renderedTmpl);\r\n self.initPostHTMLLoad(paymentHistory, tblColumns);\r\n }\r\n );\r\n }\r\n );\r\n } else {\r\n cw.pages.dashboard.bindApplicationEvents(args);\r\n self.initPostHTMLLoad(args.paymentHistory, tblColumns);\r\n }\r\n },\r\n\r\n initPostHTMLLoad: function (paymentHistory, tblColumns) {\r\n var self = this;\r\n\r\n var $tblMrkup = $(\r\n cw.utility.getTableMarkup(\r\n tblColumns.map(function (x) {\r\n return x.title;\r\n }),\r\n [\"payment-history-table\"]\r\n )\r\n );\r\n var filterObj = { PaymentMethod: [] };\r\n self.$dtTarget = $(\".payment-table-target\");\r\n self.$dtTarget.append($tblMrkup);\r\n\r\n var tableOptions = {\r\n data: paymentHistory,\r\n lengthMenu: [\r\n [10, 25, 50, -1],\r\n [10, 25, 50, \"All\"],\r\n ],\r\n iDisplayLength: 25,\r\n responsive: true,\r\n deferRender: true,\r\n buttons: [\"copy\", \"csv\", \"print\"],\r\n dom: 'l<\"dt-head-right\"f<\"export-btn-wrap\"B>>rtip',\r\n language: {\r\n search: \"Filter:\",\r\n },\r\n columns: tblColumns,\r\n };\r\n self.dataTable = $(\"table.payment-history-table\").DataTable(tableOptions);\r\n self.dataTable.column(0).visible(false);\r\n\r\n cw.loadingIndicator.stop();\r\n\r\n $(\"#payment-date-from-datepicker\")\r\n .datetimepicker({ format: \"L\" })\r\n .on(\"dp.change\", function (e) {\r\n cw.pages.paymentHistory.updateTableFilter(null, false);\r\n });\r\n\r\n $(\"#payment-date-to-datepicker\")\r\n .datetimepicker({ format: \"L\" })\r\n .on(\"dp.change\", function (e) {\r\n cw.pages.paymentHistory.updateTableFilter(null, false);\r\n });\r\n\r\n $(\".payment-method-filter\").each(function () {\r\n $(this)\r\n .removeClass(\"hidden\")\r\n .chosen({\r\n width: \"100%\",\r\n \".chosen-select\": {},\r\n \".chosen-select-deselect\": { allow_single_deselect: false },\r\n \".chosen-select-no-single\": { disable_search_threshold: 10 },\r\n \".chosen-select-no-results\": { no_results_text: \"Nothing found.\" },\r\n });\r\n });\r\n\r\n $(\".payment-method-filter\").on(\"change\", function (e) {\r\n var $this = $(this);\r\n if ($this.val()) {\r\n filterObj.PaymentMethod.push({ payment: $this.val() });\r\n } else {\r\n filterObj.PaymentMethod = [];\r\n }\r\n cw.pages.paymentHistory.updateTableFilter(filterObj);\r\n });\r\n\r\n $(\".payment-filter-reset-button\").off(\"click\");\r\n $(\".payment-filter-reset-button\").on(\"click\", function (e) {\r\n e.preventDefault();\r\n cw.pages.paymentHistory.updateTableFilter(null, true);\r\n });\r\n\r\n $(\"#payment-date-from-datepicker input, #payment-date-to-datepicker input\").on(\r\n \"focus\",\r\n function (e) {\r\n $(this).closest(\"div\").data(\"DateTimePicker\").show();\r\n }\r\n );\r\n\r\n $(\"table.payment-history-table\").on(\"click\", \".view-payment\", function (e) {\r\n e.preventDefault();\r\n\r\n var $this = $(this);\r\n var docId = $this.data(\"documentId\");\r\n if (docId) {\r\n var row = cw.utility.getDataTableRowData(self.dataTable, docId, \"PaymentDocumentId\");\r\n if (row) {\r\n cw.modal.Open({\r\n data: { docId: docId },\r\n title: \"Invoice #\" + row.PaymentId,\r\n modalBody: $('
'),\r\n size: BootstrapDialog.SIZE_WIDE,\r\n successCallback: function (modalRef) {\r\n modalRef.close();\r\n },\r\n onShownCallback: function (modalRef) {\r\n var doc = modalRef.getData(\"docId\");\r\n\r\n createNonRoutedApp(pdfViewer, {\r\n pdfUrl: \"/gen-asset/document-viewer/\" + doc,\r\n allowDownload: true,\r\n onPdfLoaded() {\r\n cw.loadingIndicator.stop();\r\n },\r\n }).mount(\"#pdf-target\");\r\n },\r\n });\r\n }\r\n }\r\n });\r\n },\r\n\r\n updateTableFilter: function (filterObj, resetFilter) {\r\n var self = this;\r\n var $fromDateEl = $(\".from-date-input\");\r\n var $toDateEl = $(\".to-date-input\");\r\n\r\n self.$dataTableWrapperEl = $(\".payment-table-target\");\r\n\r\n if (!resetFilter) {\r\n var regex = \"\";\r\n var min = moment($fromDateEl.val());\r\n var max = moment($toDateEl.val());\r\n\r\n if (!max.isValid()) {\r\n max = null;\r\n }\r\n if (!min.isValid()) {\r\n min = null;\r\n }\r\n\r\n var dateFilter = $.fn.dataTable.ext.search.push(function (settings, searchData, data, dataIndex) {\r\n var dd = moment(searchData[1]);\r\n if ((dd <= max && dd >= min) || (min === null && max === null)) {\r\n return true;\r\n }\r\n return false;\r\n });\r\n\r\n if (dateFilter) {\r\n self.dataTable.draw();\r\n }\r\n if (filterObj) {\r\n if (filterObj.PaymentMethod.length > 0) {\r\n regex = \"\";\r\n for (var j = 0; j < filterObj.PaymentMethod.length; j++) {\r\n regex += filterObj.PaymentMethod[j].payment + \"|\";\r\n }\r\n regex = regex.slice(0, -1);\r\n self.$dataTableWrapperEl\r\n .find(\"table.payment-history-table\")\r\n .DataTable()\r\n .columns(3)\r\n .search(regex, true, false)\r\n .draw();\r\n } else if (filterObj.PaymentMethod && max === null && min === null) {\r\n self.$dataTableWrapperEl\r\n .find(\"table.payment-history-table\")\r\n .DataTable()\r\n .columns()\r\n .search(\"\")\r\n .draw();\r\n }\r\n }\r\n\r\n $.fn.dataTable.ext.search.pop();\r\n } else {\r\n //clear values\r\n $fromDateEl.val(\"\");\r\n $toDateEl.val(\"\");\r\n\r\n var paymentList = $(\".payment-method-filter option\");\r\n for (var i = 0; i < paymentList.length; i++) {\r\n $(paymentList[i]).attr(\"selected\", false);\r\n $(\".payment-method-filter\").trigger(\"chosen:updated\");\r\n }\r\n self.$dataTableWrapperEl\r\n .find(\"table.payment-history-table\")\r\n .DataTable()\r\n .columns()\r\n .search(\"\")\r\n .draw();\r\n self.dataTable.state.clear();\r\n $.fn.dataTable.ext.search.pop();\r\n }\r\n },\r\n },\r\n },\r\n });\r\n})((window.cw = window.cw || {}), jQuery);\r\n","export enum AlertSeverity {\r\n Info = \"alert-info\",\r\n Warning = \"alert-warning\",\r\n Error = \"alert-error\",\r\n Success = \"alert-success\",\r\n}\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = [\"for\"]\nconst _hoisted_2 = [\"id\", \"checked\", \"readonly\", \"disabled\"]\nconst _hoisted_3 = [\"innerHTML\"]\nconst _hoisted_4 = {\n key: 0,\n class: \"pl5\"\n}\nconst _hoisted_5 = [\"innerHTML\"]\n\nimport { computed, ref, watch, StyleValue } from \"vue\";\r\nimport Icon from \"@compUtility/icon.vue\";\r\nimport { trueFalseString, boxBool } from \"@utility/boolUtils\";\r\nimport { genComponentId } from \"@components/componentHelpers\";\r\n\r\ninterface Props {\r\n checked?: trueFalseString;\r\n disabled?: trueFalseString;\r\n readonly?: trueFalseString;\r\n label?: string;\r\n hover?: trueFalseString;\r\n variant?: \"small\" | \"normal\";\r\n inputClass?: string | string[];\r\n alignLabel?: \"start\" | \"center\" | \"end\";\r\n loading?: trueFalseString;\r\n loadingText?: string;\r\n labelClass?: string;\r\n labelStyle?: StyleValue;\r\n}\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'checkbox',\n props: {\n checked: { type: [Boolean, String], default: false },\n disabled: { type: [Boolean, String], default: false },\n readonly: { type: [Boolean, String], default: false },\n label: { default: \" \" },\n hover: { type: [Boolean, String] },\n variant: { default: \"normal\" },\n inputClass: { default: \"\" },\n alignLabel: { default: \"start\" },\n loading: { type: [Boolean, String], default: false },\n loadingText: {},\n labelClass: { default: undefined },\n labelStyle: { type: [Boolean, null, String, Object, Array], default: undefined }\n },\n emits: [\"checked\", \"unchecked\", \"updated\", \"input\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst componentId = genComponentId(\"cbx\");\r\nconst isChecked = ref