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C,WAAc,QAAoB,MAAOqC,EAAa,EACrD,QAAoB,SAAU,CAC5B3F,MAAO,qBACP0C,GAAIf,EACJwF,MAAOR,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.invoiceHistory.js","webpack://shipley-du-lib/./common/js/legacy/custPortal/cw/lib/cw.dtTools.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 * as BootstrapDialog from \"bootstrap3-dialog\";\r\nimport \"../cw/lib/cw.dtTools\";\r\n\r\nimport { createNonRoutedApp } from \"@du/AppStartup\";\r\nimport pdfViewer from \"@components/utility/pdfViewer\";\r\n\r\n(function (cw, $) {\r\n \"use strict\";\r\n $.extend(true, cw, {\r\n pages: {\r\n invoiceHistory: {\r\n args: null,\r\n $dtTarget: null,\r\n dataTable: null,\r\n url: \"/account/invoice-history\",\r\n title: \"Invoice/Statement History\",\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: \"Invoice Number\",\r\n data: \"InvoiceId\",\r\n },\r\n {\r\n title: \"Billing Account #\",\r\n data: \"BillingAccountNumber\",\r\n },\r\n {\r\n title: \"Created Date\",\r\n data: function (row, type, val, meta) {\r\n return cw.utility.tableSortByDate(row.InvoiceDate, type, \"L\");\r\n },\r\n },\r\n {\r\n title: \"Due Date\",\r\n data: function (row, type, val, meta) {\r\n return cw.utility.tableSortByDate(row.DueDate, type, \"L\");\r\n },\r\n },\r\n {\r\n title: \"Amount Due\",\r\n data: function (row, type, val, meta) {\r\n var amount = 0;\r\n //if (row.RemoteSystem === cw.appEnum.S1RemoteSystem.Cargas) {\r\n //\tamount = row.InvoiceTotal;\r\n //} else {\r\n amount = row.AmountDue;\r\n //}\r\n\r\n switch (type) {\r\n case \"set\":\r\n return;\r\n case \"sort\":\r\n return amount;\r\n case \"display\":\r\n if (row.Division === 0 && row.DocumentType === 2) {\r\n return \"--\";\r\n }\r\n return \"$\" + amount.formatMoney();\r\n case \"filter\":\r\n return \"$\" + amount.formatMoney();\r\n default:\r\n return amount;\r\n }\r\n },\r\n },\r\n {\r\n title: \"Invoice Total\",\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.InvoiceTotal;\r\n case \"display\":\r\n if (row.Division === 0 && row.DocumentType === 2) {\r\n return \"--\";\r\n }\r\n\r\n return \"$\" + row.InvoiceTotal.formatMoney();\r\n case \"filter\":\r\n return \"$\" + row.InvoiceTotal.formatMoney();\r\n default:\r\n return row.InvoiceTotal;\r\n }\r\n },\r\n },\r\n {\r\n title: \"Type\",\r\n data: \"DocumentTypeDescription\",\r\n },\r\n {\r\n title: \"\",\r\n sortable: false,\r\n className: \"td-center\",\r\n data: function (row, type, val, meta) {\r\n if (row.InvoiceDocumentId) {\r\n return (\r\n ' View'\r\n );\r\n }\r\n\r\n return \"\";\r\n },\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 cw.loadingIndicator.start();\r\n if (args.$viewport) {\r\n cw.webservices.getJson(\r\n \"S1AccountManager/get-invoice-history\",\r\n args.selectedS1AccountId,\r\n function (invoiceHistory) {\r\n cw.templating.GetRenderedTemplateHTML(\r\n \"InvoiceHistory.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: \"Invoice History\", url: \"/account/invoice-history\", isActive: true },\r\n ]),\r\n },\r\n function (renderedTmpl) {\r\n args.invoiceHistory = invoiceHistory;\r\n args.$viewport.empty();\r\n args.$viewport.append(renderedTmpl);\r\n self.postHTMLInit(args, tblColumns);\r\n }\r\n );\r\n }\r\n );\r\n } else {\r\n cw.pages.dashboard.bindApplicationEvents(args);\r\n self.postHTMLInit(args, tblColumns);\r\n }\r\n },\r\n postHTMLInit: function (args, tblColumns) {\r\n var self = cw.pages.invoiceHistory;\r\n var $tblMrkup = $(\r\n cw.utility.getTableMarkup(\r\n tblColumns.map(function (x) {\r\n return x.title;\r\n }),\r\n [\"invoice-history-table\"]\r\n )\r\n );\r\n self.$dtTarget = $(\".invoice-table-target\");\r\n self.$dtTarget.append($tblMrkup);\r\n\r\n var tableOptions = {\r\n data: args.invoiceHistory,\r\n lengthMenu: [\r\n [10, 25, 50, -1],\r\n [10, 25, 50, \"All\"],\r\n ],\r\n buttons: [\"copy\", \"csv\", \"print\"],\r\n iDisplayLength: 25,\r\n autoWidth: true,\r\n responsive: true,\r\n //responsive: false,\r\n //\"scrollX\": true,\r\n deferRender: true,\r\n dom: 'l<\"dt-head-right\"f<\"export-btn-wrap\"B>>rtip',\r\n language: {\r\n search: \"Filter:\",\r\n },\r\n order: [[2, \"desc\"]],\r\n columns: tblColumns,\r\n };\r\n self.dataTable = $(\"table.invoice-history-table\").DataTable(tableOptions);\r\n\r\n cw.loadingIndicator.stop();\r\n\r\n //#region Filter\r\n $(\"#due-to-datepicker input, #due-from-datepicker input\").on(\"focus\", function (e) {\r\n $(this).closest(\"div\").data(\"DateTimePicker\").show();\r\n });\r\n\r\n var $dueFromId = $(\"#due-from-datepicker\");\r\n var $dueToId = $(\"#due-to-datepicker\");\r\n\r\n $dueFromId.datetimepicker({ format: \"L\" }).on(\"dp.change\", function (e) {\r\n self.updateInvoiceFilter(self.dataTable);\r\n });\r\n $dueToId.datetimepicker({ format: \"L\" }).on(\"dp.change\", function (e) {\r\n self.updateInvoiceFilter(self.dataTable);\r\n });\r\n\r\n //#end region Filter\r\n\r\n $(\"table.invoice-history-table\").on(\"click\", \".view-invoice\", 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, \"InvoiceDocumentId\");\r\n if (row) {\r\n if (window.innerWidth < 991) {\r\n window.open(\"/gen-asset/document-viewer/\" + docId);\r\n } else {\r\n cw.modal.Open({\r\n data: { docId: docId },\r\n title: \"Invoice #\" + row.InvoiceId,\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 updateInvoiceFilter: function (dataTable) {\r\n var min = moment($(\".due-from-input\").val());\r\n var max = moment($(\".due-to-input\").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 $.fn.dataTable.ext.search.push(function (settings, searchData, data, dataIndex) {\r\n var dd = moment(searchData[3]);\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 dataTable.draw();\r\n\r\n $.fn.dataTable.ext.search.pop();\r\n },\r\n },\r\n },\r\n });\r\n})((window.cw = window.cw || {}), jQuery);\r\n","import * as dt from \"datatables.net-bs\";\r\nimport * as dtResponsive from \"datatables.net-responsive-bs\";\r\nimport * as dtBtnBs from \"datatables.net-buttons-bs\";\r\nimport * as dtBtnHtml5 from \"datatables.net-buttons/js/buttons.html5\";\r\nimport * as dtBtnHtmlPrnt from \"datatables.net-buttons/js/buttons.print\";\r\n\r\n//some overrides to customize datatables\r\n$.fn.dataTable.Buttons.defaults.dom.button.className = \"btn btn-sm btn-white\";\r\n$.fn.dataTable.ext.buttons.copyHtml5.text = function () {\r\n return '';\r\n};\r\n$.fn.dataTable.ext.buttons.csvHtml5.text = function () {\r\n return '';\r\n};\r\n$.fn.dataTable.ext.buttons.print.text = function () {\r\n return '';\r\n};\r\n\r\n(function (cw, $, undefined) {\r\n cw.dtTools = {\r\n /**\r\n * Creates html table markup\r\n *\r\n * @param {[string] | [any]} columns Table columns, can be a datatables.net.columns array\r\n *\r\n * @return {string}\r\n */\r\n getTableMarkup: function (columns, tableClasses) {\r\n return cw.utility.getTableMarkup(columns, tableClasses);\r\n },\r\n /**\r\n * Handles sorting a date column and display\r\n *\r\n * @return {any} expected by datatables.net column.data\r\n */\r\n tableSortByDate: function (date, sortType, displayFormat) {\r\n return cw.utility.tableSortByDate(date, sortType, displayFormat);\r\n },\r\n /**\r\n * Update's referenced datatable's row based on matchingColumnName(assuming a flat object as rowData)\r\n *\r\n * @return {void}\r\n */\r\n addUpdateDataTableListing: function (dataTable, newObject, matchingColumnName, redrawTable) {\r\n return cw.utility.addUpdateDataTableListing(dataTable, newObject, matchingColumnName, redrawTable);\r\n },\r\n /**\r\n * Delete referenced datatable's row based on matchingColumnName(assuming a flat object as rowData)\r\n *\r\n * @return {void}\r\n */\r\n deleteDataTableListing: function (dataTable, matchingKeyValue, matchingColumnName, redrawTable) {\r\n return cw.utility.deleteDataTableListing(dataTable, matchingKeyValue, matchingColumnName, redrawTable);\r\n },\r\n /**\r\n * Get's referenced datatable's row based on matchingColumnName(assuming a flat object as rowData)\r\n *\r\n * @return {void}\r\n */\r\n getDataTableRowData: function (dataTable, matchingKeyValue, matchingColumnName) {\r\n return cw.utility.getDataTableRowData(dataTable, matchingKeyValue, matchingColumnName);\r\n },\r\n /**\r\n * Get all rows from referenced datatable\r\n *\r\n * @return {void}\r\n */\r\n getDataTableAllRowData: function (dataTable) {\r\n return cw.utility.getDataTableAllRowData(dataTable);\r\n },\r\n /**\r\n * Returns the next row after the one passed in (based on the current sort of the table)\r\n *\r\n * @return {any}\r\n */\r\n getDataTableNextRowData: function (dataTable, matchingKeyValue, matchingColumnName) {\r\n return cw.utility.getDataTableNextRowData(dataTable, matchingKeyValue, matchingColumnName);\r\n },\r\n /**\r\n * Returns the previous row after the one passed in (based on the current sort of the table)\r\n *\r\n * @return {any}\r\n */\r\n getDataTablePreviousRowData: function (dataTable, matchingKeyValue, matchingColumnName) {\r\n return cw.utility.getDataTablePreviousRowData(dataTable, matchingKeyValue, matchingColumnName);\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