{"version":3,"sources":["webpack:///./src/utilities/Date/parse.js","webpack:///./node_modules/core-js/modules/es.array.reduce.js","webpack:///./src/pages/Management/units/tabs/WaiverFeeRequests/List.vue?e9b6","webpack:///./src/services/Units/Tabs/WaiverFeeRequests/store.js","webpack:///./src/pages/Management/units/tabs/WaiverFeeRequests/component/WaiverActions.vue?ff3f","webpack:///src/pages/Management/units/tabs/WaiverFeeRequests/component/WaiverActions.vue","webpack:///./src/pages/Management/units/tabs/WaiverFeeRequests/component/WaiverActions.vue?81cf","webpack:///./src/pages/Management/units/tabs/WaiverFeeRequests/component/WaiverActions.vue","webpack:///./src/pages/Management/units/tabs/WaiverFeeRequests/component/WaiverModal/index.vue?9dd3","webpack:///./src/pages/Management/units/tabs/WaiverFeeRequests/component/WaiverModal/keys/data.js","webpack:///./src/services/Units/Tabs/WaiverFeeRequests/WaiverModal/store.js","webpack:///./src/pages/Management/units/tabs/WaiverFeeRequests/component/WaiverModal/keys/methods.js","webpack:///src/pages/Management/units/tabs/WaiverFeeRequests/component/WaiverModal/index.vue","webpack:///./src/pages/Management/units/tabs/WaiverFeeRequests/component/WaiverModal/index.vue?4bc0","webpack:///./src/pages/Management/units/tabs/WaiverFeeRequests/component/WaiverModal/index.vue","webpack:///src/pages/Management/units/tabs/WaiverFeeRequests/List.vue","webpack:///./src/pages/Management/units/tabs/WaiverFeeRequests/List.vue?99f7","webpack:///./src/pages/Management/units/tabs/WaiverFeeRequests/List.vue","webpack:///./node_modules/core-js/internals/number-parse-float.js","webpack:///./node_modules/core-js/modules/es.number.parse-float.js","webpack:///./node_modules/core-js/internals/array-reduce.js"],"names":["parseDate","date","format","console","debug","parsed","moment","isValid","exception","message","error","$","$reduce","left","arrayMethodIsStrict","arrayMethodUsesToLength","STRICT_METHOD","USES_TO_LENGTH","1","target","proto","forced","reduce","callbackfn","this","arguments","length","undefined","render","_vm","_h","$createElement","_c","_self","attrs","$t","region","filters","rows","columns","perPage","loading","scopedSlots","_u","key","fn","style","width","height","class","show","float","background","border","on","$event","staticStyle","_v","proxy","toggle","selectedWaiver","parseInt","ownerID","arTransactionID","staticRenderFns","isDebug","actions","getWaiverList","log","kms","get","params","result","JSON","stringify","list","results","notifyProblem","deleteWaiver","dispatch","waiverRequestID","done","path","delete","wasDeleted","_get","notifyMessage","notifyError","Vue","use","Vuex","waiverList","Store","state","mutations","getters","staticClass","loadUpdateWaiver","waiver","confirmWaiverDelete","reason","props","Function","String","Object","Number","component","_s","buttonText","_e","ref","handleSubmit","preventDefault","submitWaiver","model","value","formData","callback","$$v","$set","expression","errors","data","amount","addedBy","status","isOpen","arTransactionLimitAmount","summedExistingWaiverRequestAmounts","openOnFocus","showWeekNumber","styles","datePickerContainer","display","alignItems","datePicker","margin","marginRight","getArTransactionById","id","detail","updateWaiver","payload","put","details","addWaiver","createdByAspNetUserID","post","waiverStore","methods","reload","myStatus","rejectionReason","isInteger","createdByIdentityInformation","name","arTransId","getArTransactionLimit","open","then","t","waiverRequests","acc","item","isUpdate","calculateFormAdd","parseFloat","summedPlusFormAmount","leaveForm","$emit","click","components","ValidInput","ValidationObserver","ValidationProvider","mounted","computed","PageContentLayoutOnly","ModernTable","Modal","WaiverModal","field","label","aria","sortable","searchable","created","authUser","determineOwnerID","fromOwnerID","determineRows","Array","isArray","formatter","Intl","NumberFormat","currency","minimumFractionDigits","map","transactionChargeType","createdBy","createDate","createdDate","postedBy","WaiverActions","entry","title","confirmText","type","hasIcon","onConfirm","unit","unitID","loadWaiver","watch","i18n","messages","en","global","trim","whitespaces","$parseFloat","FORCED","Infinity","module","exports","string","trimmedString","charAt","stat","aFunction","toObject","IndexedObject","toLength","createMethod","IS_RIGHT","that","argumentsLength","memo","O","self","index","i","TypeError","right"],"mappings":"uHAAA,2DAQaA,EAAY,SAACC,GAAwB,IAAlBC,EAAkB,uDAAT,KACvC,GAAoB,kBAATD,EAET,OADAE,QAAQC,MAAR,+CAA8D,CAAEH,SACzDA,EAGT,IACE,IAAMI,EAASC,IAAOL,GAClBI,E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D,EAAM,CACjBF,EAAOE,EAAKC,GACZA,GAASC,EACT,MAGF,GADAD,GAASC,EACLP,EAAWM,EAAQ,EAAIvN,GAAUuN,EACnC,MAAME,UAAU,+CAGpB,KAAMR,EAAWM,GAAS,EAAIvN,EAASuN,EAAOA,GAASC,EAAOD,KAASD,IACrEF,EAAOvN,EAAWuN,EAAME,EAAKC,GAAQA,EAAOF,IAE9C,OAAOD,IAIXd,EAAOC,QAAU,CAGfpN,KAAM6N,GAAa,GAGnBU,MAAOV,GAAa","file":"js/unit.waiverRequests.8007624d.js","sourcesContent":["/*\r\n Example:\r\n import { parseDate } from '@/utilities/Date/parse'\r\n\r\n const parsedDate = parseDate (date, 'LL');\r\n*/\r\nimport moment from 'moment'\r\n\r\nexport const parseDate = (date, format = 'LL') => {\r\n if (typeof date !== 'string') {\r\n console.debug(`parseDate can only parse a date string. got:`, { date })\r\n return date\r\n }\r\n\r\n try {\r\n const parsed = moment(date)\r\n if (parsed.isValid()) {\r\n date = moment(date).format(format)\r\n }\r\n } catch (exception) {\r\n if (exception && exception.message) {\r\n console.error(exception.message)\r\n } else {\r\n console.error(exception)\r\n }\r\n }\r\n\r\n return date\r\n}\r\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });\n\n// `Array.prototype.reduce` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"aria-label\":_vm.$t('waiver.title'),\"role\":\"region\"}},[_c('ModernTable',{attrs:{\"region\":_vm.region,\"filters\":_vm.filters,\"rows\":_vm.rows,\"columns\":_vm.columns,\"pagination\":{\n perPage: 12\n },\"loading\":_vm.loading,\"headerColor\":\"#FFF\",\"condensed\":\"\"},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',{style:({ width: '100%', height: '60px' })},[_c('b-button',{class:'filter-button ' + (_vm.filters.show ? 'active' : ''),style:({ float: 'right', background: 'none', border: 0 }),attrs:{\"type\":\"is-ghost\"},on:{\"click\":function($event){_vm.filters.show = !_vm.filters.show}}},[_c('b-icon',{staticStyle:{\"display\":\"inline-block\"},attrs:{\"pack\":\"mdi\",\"icon\":\"filter-outline\",\"size\":\"is-small\"}}),_c('div',{staticStyle:{\"display\":\"inline-block\"}},[_vm._v(\"Filter\")])],1)],1)]},proxy:true}])}),_c('Modal',{attrs:{\"toggle\":_vm.toggle},on:{\"update:toggle\":function($event){_vm.toggle=$event}}},[_c('WaiverModal',{attrs:{\"waiver\":_vm.selectedWaiver,\"ownerID\":parseInt(_vm.ownerID),\"arTransactionID\":parseInt(_vm.arTransactionID)}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\r\n import { waiverList } from '@/services/Units/Tabs/WaiverFeeRequests/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport _get from 'lodash/get'\r\n\r\nimport { notifyProblem, notifyError, notifyMessage } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n /*\r\n const { list } = await waiverList.dispatch ('getWaiverList', {\r\n hoaId\r\n });\r\n */\r\n async getWaiverList({}, { ownerID }) {\r\n console.log('in getWaiverList...')\r\n try {\r\n const result = await kms.get('/AccountsReceivable/WaiverRequest/List', {\r\n params: {\r\n ownerID\r\n }\r\n })\r\n\r\n if (isDebug == true) console.debug('getWaiverList log=' + JSON.stringify(result))\r\n\r\n return {\r\n list: result.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The waiver request list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n async deleteWaiver({ dispatch }, { waiverRequestID, done }) {\r\n try {\r\n const path = `/AccountsReceivable/WaiverRequest/${waiverRequestID}?forceDelete=false`\r\n\r\n const results = await kms.delete(path)\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n const wasDeleted = _get(results, 'deleted', false)\r\n\r\n if (wasDeleted === true) {\r\n notifyMessage(`Successfully deleted the selected waiver request.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem deleting the selected waiver request.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem deleting the selected waiver request.`)\r\n console.error(exception)\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const waiverList = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('button',{staticClass:\"w-5 h-5 ml-0\",on:{\"click\":function($event){return _vm.loadUpdateWaiver(_vm.waiver)}}},[_c('svg',{staticClass:\"w-6 h-6\",attrs:{\"fill\":\"none\",\"stroke\":\"currentColor\",\"viewBox\":\"0 0 24 24\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z\"}})])]),_c('button',{staticClass:\"w-5 h-5 ml-4\",on:{\"click\":function($event){return _vm.confirmWaiverDelete(_vm.reason, _vm.waiverRequestID)}}},[_c('svg',{staticClass:\"w-6 h-6\",attrs:{\"fill\":\"none\",\"stroke\":\"currentColor\",\"viewBox\":\"0 0 24 24\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WaiverActions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WaiverActions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WaiverActions.vue?vue&type=template&id=107a5662&\"\nimport script from \"./WaiverActions.vue?vue&type=script&lang=js&\"\nexport * from \"./WaiverActions.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"waiver-modal\":\"\"}},[(_vm.formData)?_c('div',{staticClass:\"is-size-4\"},[_vm._v(_vm._s(_vm.buttonText)+\" Waiver Fee Request\")]):_vm._e(),_c('ValidationObserver',{ref:\"formGroup\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submitWaiver)}}},[_c('fieldset',[(_vm.waiver && _vm.waiver != undefined)?_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"disabled\":true,\"name\":\"AddedBy\",\"label\":\"Added By\",\"maxlength\":\"100\",\"type\":\"text\",\"vid\":\"AddedBy\",\"placeholder\":\"Added By\",\"spellcheck\":\"true\",\"aria-label\":\"Added By\",\"rules\":\"max:100|required\"},model:{value:(_vm.formData.addedBy),callback:function ($$v) {_vm.$set(_vm.formData, \"addedBy\", $$v)},expression:\"formData.addedBy\"}})],1):_vm._e(),(_vm.waiver && _vm.waiver != undefined)?_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"disabled\":true,\"name\":\"Status\",\"label\":\"Request Status\",\"maxlength\":\"100\",\"type\":\"text\",\"vid\":\"Status\",\"placeholder\":\"Request Status\",\"spellcheck\":\"true\",\"aria-label\":\"Request Status\",\"rules\":\"max:100|required\"},model:{value:(_vm.formData.status),callback:function ($$v) {_vm.$set(_vm.formData, \"status\", $$v)},expression:\"formData.status\"}})],1):_vm._e(),_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Amount\",\"label\":\"Amount\",\"maxlength\":\"30\",\"type\":\"decimal\",\"vid\":\"Amount\",\"placeholder\":\"Amount\",\"aria-label\":\"Amount\",\"rules\":\"max:30|required\"},model:{value:(_vm.formData.amount),callback:function ($$v) {_vm.$set(_vm.formData, \"amount\", $$v)},expression:\"formData.amount\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Reason\",\"label\":\"Reason\",\"maxlength\":\"100\",\"type\":\"text\",\"vid\":\"Reason\",\"placeholder\":\"Reason\",\"spellcheck\":\"true\",\"aria-label\":\"Reason\",\"rules\":\"max:100|required\"},model:{value:(_vm.formData.reason),callback:function ($$v) {_vm.$set(_vm.formData, \"reason\", $$v)},expression:\"formData.reason\"}})],1),_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"type\":\"submit\",\"disabled\":_vm.loading}},[_vm._v(\" \"+_vm._s(_vm.buttonText)+\" \")])]),_c('fieldset',[_c('ValidationProvider',{attrs:{\"vid\":\"providerErrors\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"field\"},[_c('span',[_vm._v(_vm._s(errors[0]))])])]}}],null,true)})],1)])])]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export function data() {\r\n return {\r\n formData: {\r\n waiverRequestID: 0,\r\n amount: 0,\r\n reason: '',\r\n addedBy: '',\r\n status: ''\r\n },\r\n isDebug: true,\r\n isOpen: false,\r\n arTransactionLimitAmount: 0,\r\n summedExistingWaiverRequestAmounts: 0,\r\n loading: true,\r\n openOnFocus: true,\r\n showWeekNumber: false,\r\n buttonText: 'Add',\r\n styles: {\r\n datePickerContainer: { display: 'flex', alignItems: 'end' },\r\n datePicker: { margin: 0, marginRight: '12px' }\r\n }\r\n }\r\n}\r\n","/*\r\n import { suspensionStore } from '@/services/Units/Tabs/WaiverFeeRequests/WaiverModal/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport { notifyProblem, notifyError, notifyMessage } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n async getArTransactionById({}, id) {\r\n try {\r\n const result = await kms.get(`/AccountsReceivable/ARTransaction/${id}`)\r\n\r\n console.debug('result=' + JSON.stringify(result))\r\n\r\n return {\r\n detail: result\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem retrieving the A/R transaction for the waiver request.`)\r\n console.error(exception)\r\n }\r\n return {\r\n detail: null\r\n }\r\n },\r\n\r\n // Update Waiver\r\n async updateWaiver({ dispatch }, { payload = {}, done }) {\r\n try {\r\n const results = await kms.put(`/AccountsReceivable/WaiverRequest`, payload)\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results.waiverRequestID > 0) {\r\n notifyMessage(`Successfully updated the selected waiver request.`)\r\n done({ details: results })\r\n } else {\r\n notifyError('There was a problem updating the selected waiver request.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem processing the update for this waiver request.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n async addWaiver(\r\n { dispatch },\r\n { ownerID, reason, amount, arTransactionID, createdByAspNetUserID, status, done }\r\n ) {\r\n if (isDebug == true) console.debug('...in addSuspension')\r\n try {\r\n const results = await kms.post(`/AccountsReceivable/WaiverRequest`, {\r\n ownerID,\r\n reason,\r\n amount,\r\n arTransactionID,\r\n createdByAspNetUserID,\r\n status\r\n })\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results.waiverRequestID > 0) {\r\n notifyMessage(`Successfully added the waiver request.`)\r\n done({ details: results })\r\n } else {\r\n notifyError('There was a problem adding this waiver request.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem adding this waiver request.`)\r\n console.error(exception)\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const waiverStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","import { waiverStore } from '@/services/Units/Tabs/WaiverFeeRequests/WaiverModal/store'\r\nimport $ from 'jquery'\r\nimport { notifyError } from '@/services/notify'\r\nimport _get from 'lodash/get'\r\n\r\nexport const methods = {\r\n async reload() {\r\n this.loading = true\r\n\r\n if (this.waiver && this.waiver != undefined) {\r\n let myStatus = this.waiver.status ? this.waiver.status : ''\r\n if (this.waiver.rejectionReason && myStatus == 'Rejected') {\r\n myStatus = `${myStatus} - ${this.waiver.rejectionReason}`\r\n }\r\n\r\n //Update\r\n this.buttonText = 'Update'\r\n this.formData.waiverRequestID = this.waiver.waiverRequestID\r\n this.formData.amount = Number.isInteger(this.waiver.amount || 0)\r\n ? this.waiver.amount + '.00'\r\n : this.waiver.amount || 0\r\n this.formData.reason = this.waiver.reason\r\n this.formData.addedBy =\r\n this.waiver.createdByIdentityInformation &&\r\n this.waiver.createdByIdentityInformation != undefined\r\n ? this.waiver.createdByIdentityInformation.name\r\n : null\r\n this.formData.status = myStatus\r\n\r\n const arTransId = _get(this.waiver, 'arTransactionID', 0)\r\n await this.getArTransactionLimit(arTransId)\r\n this.loading = false\r\n } else {\r\n this.buttonText = 'Add'\r\n await this.getArTransactionLimit(this.arTransactionID)\r\n }\r\n\r\n this.loading = false\r\n },\r\n\r\n open() {\r\n this.formData = {\r\n amount: 0,\r\n addedBy: '',\r\n reason: ''\r\n }\r\n this.isOpen = true\r\n this.loading = false\r\n },\r\n\r\n async getArTransactionLimit(id) {\r\n if (this.isDebug == true) console.debug('getArTransactionLimit id=' + id)\r\n\r\n this.arTransactionLimitAmount = 0\r\n this.summedExistingWaiverRequestAmounts = 0\r\n\r\n if (id && id > 0) {\r\n await waiverStore.dispatch('getArTransactionById', id).then(t => {\r\n if (t && t.detail) {\r\n if (t.detail.waiverRequests && t.detail.waiverRequests != undefined) {\r\n //sum each waiver request amount\r\n this.summedExistingWaiverRequestAmounts = t.detail.waiverRequests.reduce(\r\n (acc, item) => acc + item.amount,\r\n 0\r\n )\r\n }\r\n this.arTransactionLimitAmount = t.detail.amount\r\n if (this.isDebug == true)\r\n console.debug('arTransactionLimitAmount=' + this.arTransactionLimitAmount)\r\n }\r\n })\r\n }\r\n },\r\n\r\n async submitWaiver() {\r\n let isUpdate = false\r\n\r\n if (this.formData && !this.formData.amount) {\r\n notifyError(\r\n 'Please enter an amount. The amount is a required field that must be greater than zero.'\r\n )\r\n return\r\n }\r\n\r\n if (\r\n this.formData.amount &&\r\n this.formData.amount != undefined &&\r\n this.summedExistingWaiverRequestAmounts\r\n ) {\r\n if (this.formData.waiverRequestID && this.formData.waiverRequestID > 0) {\r\n isUpdate = true\r\n }\r\n\r\n //edit sums existing plus new entry, so edit needs to account for previous amount\r\n const calculateFormAdd =\r\n isUpdate && this.waiver\r\n ? Number.parseFloat(this.formData.amount) - Number.parseFloat(this.waiver.amount)\r\n : this.formData.amount\r\n\r\n const summedPlusFormAmount =\r\n Number.parseFloat(this.summedExistingWaiverRequestAmounts) +\r\n Number.parseFloat(calculateFormAdd)\r\n if (summedPlusFormAmount > this.arTransactionLimitAmount) {\r\n notifyError(\r\n `Please enter a waiver amount that is less than the A/R transaction amount of $${this.arTransactionLimitAmount}. This transaction currently has a summed total amount of $${this.summedExistingWaiverRequestAmounts}. You entered $${this.formData.amount}, which would make the total waiver requests $${summedPlusFormAmount}. `\r\n )\r\n return\r\n }\r\n }\r\n\r\n if (this.formData && this.formData != undefined) {\r\n if (isUpdate) {\r\n await this.updateWaiver()\r\n } else {\r\n await this.addWaiver()\r\n }\r\n }\r\n },\r\n\r\n async addWaiver() {\r\n if (!this.formData || this.formData == undefined) {\r\n notifyError('There was a problem processing this waiver fee request.')\r\n return\r\n }\r\n\r\n if (this.formData.amount <= 0) {\r\n notifyError(`The new amount must be greater than zero.`)\r\n return\r\n }\r\n\r\n if (!this.arTransactionID && this.arTransactionID <= 0) {\r\n notifyError(`This request must be associated with an A/R transaction.`)\r\n return\r\n }\r\n\r\n this.loading = true\r\n\r\n if (this.isDebug == true) console.debug('addWaiver params=' + JSON.stringify(this.formData))\r\n\r\n await waiverStore.dispatch('addWaiver', {\r\n ownerID: this.ownerID,\r\n reason: _get(this.formData, 'reason', ''),\r\n amount: _get(this.formData, 'amount', ''),\r\n arTransactionID: this.arTransactionID,\r\n createdByAspNetUserID: 'Stub',\r\n status: 'Pending',\r\n done: ({ details }) => {\r\n this.loading = false\r\n if (details && details != undefined) {\r\n if (this.isDebug == true)\r\n console.debug(\r\n 'details.waiverRequestID=' +\r\n JSON.stringify(details) +\r\n ', waiverRequestID=' +\r\n details.waiverRequestID\r\n )\r\n\r\n this.leaveForm()\r\n }\r\n }\r\n })\r\n\r\n this.loading = false\r\n },\r\n\r\n async updateWaiver() {\r\n if (\r\n !this.formData ||\r\n this.formData == undefined ||\r\n !this.formData.waiverRequestID ||\r\n this.formData.waiverRequestID == undefined ||\r\n !this.waiver ||\r\n this.waiver == undefined\r\n ) {\r\n notifyError('There was a problem updating the selected waiver request.')\r\n return\r\n }\r\n\r\n if (this.formData.amount <= 0) {\r\n notifyError(`The new amount must be greater than zero.`)\r\n return\r\n }\r\n\r\n this.loading = true\r\n\r\n const payload = {\r\n waiverRequestID: _get(this.formData, 'waiverRequestID', 0),\r\n ownerID: _get(this.waiver, 'ownerID', 0),\r\n reason: _get(this.formData, 'reason', ''),\r\n amount: _get(this.formData, 'amount', 0),\r\n status: _get(this.waiver, 'status', ''),\r\n arTransactionID: _get(this.waiver, 'arTransactionID', 0),\r\n createdByAspNetUserID: 'Stub'\r\n }\r\n\r\n await waiverStore.dispatch('updateWaiver', {\r\n payload: payload,\r\n done: ({ details }) => {\r\n this.loading = false\r\n if (details) {\r\n this.leaveForm()\r\n }\r\n }\r\n })\r\n\r\n this.loading = false\r\n },\r\n\r\n leaveForm() {\r\n // auto-close modal\r\n this.$emit('update:toggle', (this.toggle = false))\r\n $('#clickclose').click()\r\n this.loading = false\r\n }\r\n}\r\n","\r\n \r\n {{ buttonText }} Waiver Fee Request\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ buttonText }}\r\n \r\n \r\n \r\n \r\n \r\n {{ errors[0] }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=5dd61efc&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Filter\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./List.vue?vue&type=template&id=ce342322&\"\nimport script from \"./List.vue?vue&type=script&lang=js&\"\nexport * from \"./List.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var global = require('../internals/global');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseFloat = global.parseFloat;\nvar FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity;\n\n// `parseFloat` method\n// https://tc39.github.io/ecma262/#sec-parsefloat-string\nmodule.exports = FORCED ? function parseFloat(string) {\n var trimmedString = trim(String(string));\n var result = $parseFloat(trimmedString);\n return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n","var $ = require('../internals/export');\nvar parseFloat = require('../internals/number-parse-float');\n\n// `Number.parseFloat` method\n// https://tc39.github.io/ecma262/#sec-number.parseFloat\n$({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, {\n parseFloat: parseFloat\n});\n","var aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = toLength(O.length);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n"],"sourceRoot":""}