{"version":3,"sources":["webpack:///./src/views/financial/modals/CreateRecord.vue?bb10","webpack:///./src/views/financial/modals/CreateRecord.vue","webpack:///./src/views/financial/modals/CreateRecord.vue?65f9","webpack:///./src/views/financial/modals/CreateRecord.vue?aaac","webpack:///./src/views/financial/FinancialFilter.vue?a676","webpack:///./src/views/financial/Financial.vue","webpack:///./src/views/financial/FinancialFilter.vue","webpack:///./src/core/helpers/finance.ts","webpack:///./src/views/financial/FinancialFilter.vue?1c63","webpack:///./src/views/financial/FinancialFilter.vue?2d1b","webpack:///./src/views/financial/Financial.vue?c369","webpack:///./src/views/financial/Financial.vue?40aa","webpack:///./node_modules/@vueform/multiselect/dist/multiselect.js","webpack:///./src/views/financial/modals/CreateRecord.vue?c4b9","webpack:///./src/views/financial/Financial.vue?114f"],"names":["class","id","tabindex","aria-hidden","data-bs-dismiss","resetForm","src","model","recordData","rules","ref","prop","record_type","resetPaymentType","transactionTypes","type","index","key","label","value","record_date","start-placeholder","format","min","step","amount","payment_method","paymentMethodTypes","payment_type","filteredPaymentTypes","selectedStudents","studentMultiselect","style","memo","submit","loading","name","components","Multiselect","props","paymentTypes","students","emits","emit","store","formRef","user","getters","currentUser","undefined","user_id","getStudent","queryString","callback","selectedList","filter","data","first_name","last_name","student_id","toLowerCase","includes","currentPaymentTypes","required","message","trigger","createFinanceRecords","formData","Promise","resolve","reject","ApiService","setHeader","post","then","catch","response","fire","text","icon","buttonsStyling","confirmButtonText","customClass","confirmButton","validate","valid","closeEditBtn","document","getElementById","click","studentsData","length","map","x","mode","options","searchable","createTag","render","__scopeId","align","data-kt-menu-trigger","data-kt-menu-placement","data-kt-menu-flip","data-kt-menu","href","data-bs-toggle","data-bs-target","downloadFinanceRecords","moment","financeFilter","record_dates","search","searchValue","placeholder","values","paymentMethods","getFinanceRecords","pagedTransactions","default-sort","order","show-summary","summary-method","getSummaries","String","scope","row","padStart","width","toLocaleString","currency","student","transactionId","default","title","handleDelete","layout","page-size","pageSize","page-sizes","pageSizes","small","disabled","background","total","getFilteredFinanceRecords","handleSizeChange","setPage","range-separator","end-placeholder","record_types","size","payment_methods","min_amount","precision","max","max_amount","updateFilter","setFinanceFilter","dispatch","SET_FINANCEFILTER_ACTION","Array","Function","currentFinanceFilter","MenuComponent","hideDropdowns","FinancialFilter","CreateRecord","route","getTypes","get","recordTypes","console","log","errors","getStudents","financeRecords","splice","Object","assign","Error","page","pageValue","sizes","curr_length","push","i","val","toString","sort","a","b","Date","parse","slice","confirm","delete","findIndex","d","param","columns","sums","forEach","column","totalAmount","record","parseFloat","currentStudentList","ReferenceNo","Type","Amount","Method","Category","StudentId","SevisNo","sevis_no","StudentName","Memo","CreatedBy","today","fileName","CommonService","exportToCsv","date","firstDayOfThisMonth","getFullYear","getMonth","lastDayOfThisMonth","defaultFilter","params","recordCreateButton","reinitialization","S","e","indexOf","w","trim","k","Symbol","iterator","constructor","prototype","O","l","t","defineProperty","enumerable","configurable","writable","q","u","r","o","c","s","trackBy","v","limit","hideSelected","p","f","h","appendNewTag","m","multipleLabel","object","y","g","delay","resolveOnLoad","P","minChars","filterResults","T","clearOnSearch","D","clearOnSelect","B","valueProp","I","canDeselect","A","j","iv","M","ev","V","C","blurSearch","$","clearSearch","E","update","H","blurInput","L","pointer","N","R","K","F","call","keys","n","concat","_","J","ie","W","U","z","G","oe","Q","X","Y","re","ee","Z","te","le","ne","ae","ue","ce","se","de","ve","isArray","setTimeout","flush","every","deep","fo","filteredOptions","hasSelected","multipleLabelText","eo","extendedOptions","noOptions","noResults","resolving","busy","select","deselect","remove","clear","isSelected","isDisabled","isMax","getOption","handleOptionClick","handleTagRemove","button","preventDefault","refreshOptions","resolveOptions","from","test","TypeError","modelValue","Number","Boolean","maxHeight","caret","noOptionsText","noResultsText","showOptions","addTagOn","openDirection","nativeSupport","expose","join","internalValue","externalValue","textValue","plainValue","multiselect","focusInput","querySelector","focus","blur","input","tagsSearchWidth","focusSearch","isOpen","contentMaxHeight","openDropdown","closeDropdown","open","close","handleInputMousedown","dispatchEvent","Event","parentElement","offsetTop","offsetHeight","clientHeight","scrollTop","isPointed","setPointer","setPointerFirst","clearPointer","selectPointer","forwardPointer","backwardPointer","handleBackspace","handleEsc","target","handleSearchBackspace","stopPropagation","handleSearchInput","handleAddTag","keyCode","onKeydown","onMousedown","onFocus","onBlur","onKeyup","$slots","onInput","option","onClick","onAfterLeave","onMouseenter","__file"],"mappings":"kHAAA,W,2DCEIA,MAAM,aACNC,GAAG,sBACHC,SAAS,KACTC,cAAY,Q,GAEPH,MAAM,+C,GACJA,MAAM,iB,GACJA,MAAM,gB,GAQDA,MAAM,uB,GAMXA,MAAM,gC,GAQFA,MAAM,Y,GAMJA,MAAM,Y,GAaRA,MAAM,Y,GAMJA,MAAM,Y,GAYRA,MAAM,Y,GAMJA,MAAM,Y,GAYRA,MAAM,Y,GAMJA,MAAM,Y,GAYRA,MAAM,Y,GAMJA,MAAM,Y,GAURA,MAAM,Y,GAMJA,MAAM,Y,GAiBRA,MAAM,Y,GAMJA,MAAM,Y,GAURA,MAAM,e,+aA9JrB,gCAkLM,MAlLN,EAkLM,CA5KJ,gCA0KM,MA1KN,EA0KM,CAzKJ,gCAuKQ,MAvKR,EAuKQ,CAtKN,gCAYM,MAZN,EAYM,C,cAXJ,gCAAwB,UAApB,mBAAe,IAEnB,gCAQM,OAPJA,MAAM,+CACNI,kBAAgB,QACf,QAAK,eAAE,EAAAC,c,CAER,gCAEO,OAFP,EAEO,CADL,yBAA2D,GAA/CC,IAAI,iDAKtB,gCAuJQ,MAvJR,EAuJQ,CAtJN,yBAqJY,GApJVL,GAAG,qBACFM,MAAO,EAAAC,WACPC,MAAO,EAAAA,MACRC,IAAI,UACJV,MAAM,Q,8BAEN,IAkBM,CAlBN,gCAkBM,MAlBN,EAkBM,C,cAjBJ,gCAIQ,SAHNA,MAAM,wDAAsD,CAE5D,gCAA8C,QAAxCA,MAAM,YAAW,sB,IAEzB,gCAWM,MAXN,EAWM,CAVJ,yBASe,GATDW,KAAK,eAAa,C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AI,GAAG,wBAAEwN,EAAE+I,WAAW,CAAE/I,EAAEU,KAAK,yBAAI,yBAAE,QAAQ,CAACpO,KAAK,SAASqB,KAAQgN,EAAEhN,KAAL,KAAcjB,MAAMsN,EAAExN,IAAIkO,GAAG,KAAK,EAAE,CAAC,OAAO,YAAa,OAAO,KAAK,gCAAE,QAAO,IAAK,GAAG,CAAC,QAAQ8B,EAAEwJ,OAAO,sBAAqC,U,kCCAnpmB,W,yDCAA,W","file":"js/chunk-1c4da742.006697c8.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./CreateRecord.vue?vue&type=style&index=0&id=0f3ae842&lang=scss&scoped=true\"","\r\n\r\n\r\n\r\n\r\n\r\n\r\n","\r\nimport { computed, defineComponent, onBeforeMount, ref, toRefs } from \"vue\";\r\nimport Swal from \"sweetalert2/dist/sweetalert2.js\";\r\nimport ApiService from \"@/core/services/ApiService\";\r\nimport { useStore } from \"vuex\";\r\nimport Multiselect from \"@vueform/multiselect\";\r\n\r\nexport default defineComponent({\r\n name: \"create-record-modal\",\r\n components: {\r\n Multiselect\r\n },\r\n props:{\r\n transactionTypes:[],\r\n paymentMethodTypes:[],\r\n paymentTypes: [] as any,\r\n students:[] as any\r\n },\r\n emits :['getFinanceRecords'],\r\n setup(props,{emit}) {\r\n const store = useStore();\r\n const { students, paymentTypes } = toRefs(props);\r\n const formRef = ref(null);\r\n const loading = ref(false);\r\n const user = store.getters.currentUser;\r\n const selectedStudents = ref([] as any);\r\n\r\n const recordData = ref\r\n ({\r\n record_type :'',\r\n record_date :'',\r\n students : undefined,\r\n amount : 0,\r\n payment_method :'',\r\n payment_type :'',\r\n memo :'',\r\n user_id: user.id\r\n });\r\n\r\n const resetForm = () =>{\r\n recordData.value.record_type ='';\r\n recordData.value.record_date ='';\r\n recordData.value.students =undefined;\r\n recordData.value.amount = 0;\r\n recordData.value.payment_method ='';\r\n recordData.value.payment_type ='';\r\n recordData.value.memo ='';\r\n selectedStudents.value = [];\r\n }\r\n\r\n const getStudent=(queryString, callback)=>{\r\n let selectedList = students.value.filter(data => (!queryString \r\n || (data.first_name +\" \"+ data.last_name +\"(\"+data.student_id+\")\").toLowerCase().includes(queryString.toLowerCase())));\r\n callback(selectedList);\r\n }\r\n\r\n const resetPaymentType = () =>{\r\n recordData.value.payment_type = '';\r\n }\r\n\r\n const filteredPaymentTypes = computed(() =>{\r\n var currentPaymentTypes = [];\r\n\r\n if(recordData.value.record_type){\r\n currentPaymentTypes = paymentTypes.value[recordData.value.record_type];\r\n }\r\n\r\n return currentPaymentTypes;\r\n })\r\n \r\n const rules = ref({\r\n record_type: [\r\n {\r\n required: true,\r\n message: \"Please select transaction type\",\r\n trigger: \"blur\",\r\n },\r\n ],\r\n record_date: [\r\n {\r\n required: true,\r\n message: \"Please select date\",\r\n trigger: \"change\",\r\n },\r\n ],\r\n amount: [\r\n {\r\n required: true,\r\n message: \"Please enter valid amount\",\r\n trigger: \"change\",\r\n },\r\n ],\r\n payment_method: [\r\n {\r\n required: true,\r\n message: \"Please select payment method\",\r\n trigger: \"change\",\r\n },\r\n ],\r\n payment_type: [\r\n {\r\n required: true,\r\n message: \"Please select transaction type\",\r\n trigger: \"change\",\r\n },\r\n ],\r\n });\r\n\r\n const createFinanceRecords = (formData) : any => {\r\n return new Promise((resolve, reject) => {\r\n ApiService.setHeader();\r\n ApiService.post(\"finance/records\", formData)\r\n .then(() =>{\r\n resolve();\r\n })\r\n .catch(({ response }) => {\r\n loading.value = false;\r\n Swal.fire({\r\n text: \"Failed to create the new transaction\",\r\n icon: \"error\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n });\r\n });\r\n });\r\n }\r\n\r\n const submit = () => {\r\n if (!formRef.value) {\r\n return;\r\n }\r\n\r\n formRef.value.validate((valid) => {\r\n if (valid) {\r\n loading.value = true;\r\n recordData.value.students = selectedStudents.value; \r\n \r\n createFinanceRecords(recordData.value).then(() => {\r\n Swal.fire({\r\n text: \"Form has been successfully submitted!\",\r\n icon: \"success\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n }).then(() => {\r\n emit('getFinanceRecords');\r\n loading.value = false;\r\n let closeEditBtn = document.getElementById('close_finance_record_btn');\r\n closeEditBtn?.click();\r\n });\r\n });\r\n } else {\r\n Swal.fire({\r\n text: \"Please fill out all required fields\",\r\n icon: \"error\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n });\r\n return false;\r\n }\r\n });\r\n };\r\n\r\n const studentsData = computed(() => {\r\n return students.value != undefined && students.value.length > 0 ? students.value.map(x=>{return {value:x.id, label:x.first_name+\" \"+x.last_name+\"(\"+x.student_id+\")\"}}) :[];\r\n });\r\n\r\n const studentMultiselect = ref({\r\n mode: \"tags\",\r\n options: studentsData,\r\n searchable: true,\r\n createTag: true\r\n });\r\n\r\n return {\r\n recordData,\r\n submit,\r\n rules,\r\n loading,\r\n formRef,\r\n getStudent,\r\n selectedStudents,\r\n filteredPaymentTypes,\r\n resetPaymentType,\r\n resetForm,\r\n studentMultiselect\r\n };\r\n },\r\n});\r\n","import { render } from \"./CreateRecord.vue?vue&type=template&id=0f3ae842&scoped=true\"\nimport script from \"./CreateRecord.vue?vue&type=script&lang=ts\"\nexport * from \"./CreateRecord.vue?vue&type=script&lang=ts\"\n\nimport \"./CreateRecord.vue?vue&type=style&index=0&id=0f3ae842&lang=scss&scoped=true\"\nimport \"./CreateRecord.vue?vue&type=style&index=1&id=0f3ae842&scoped=true&lang=css\"\nscript.render = render\nscript.__scopeId = \"data-v-0f3ae842\"\n\nexport default script","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./FinancialFilter.vue?vue&type=style&index=0&id=6db78b42&scoped=true&lang=css\"","\r\n\r\n\r\n\r\n\r\n","\r\n\r\n\r\n\r\n\r\n\r\n","import store from \"@/store\";\r\nimport { Actions } from \"@/store/enums/SmsStoreEnums\";\r\nimport { FinanceFilter } from \"@/types/FinanceModel\"\r\n\r\nexport const setFinanceFilter = (\r\n financeFilter: FinanceFilter,\r\n): void => {\r\n store.dispatch(Actions.SET_FINANCEFILTER_ACTION, {\r\n financeFilter : financeFilter,\r\n });\r\n};","\r\nimport { setFinanceFilter } from \"@/core/helpers/finance\";\r\nimport { computed, defineComponent, PropType, ref, toRefs } from \"vue\";\r\nimport { useStore } from \"vuex\";\r\nimport { MenuComponent } from \"@/assets/ts/components/MenuComponent\";\r\nimport Multiselect from \"@vueform/multiselect\";\r\n\r\nexport default defineComponent({\r\n name: \"FinancialFilter\",\r\n components: {\r\n Multiselect\r\n },\r\n props:{\r\n transactionTypes:[],\r\n paymentMethodTypes:[],\r\n students: Array as PropType,\r\n getFinanceRecords : {\r\n type:Function,\r\n default: () => ({}),\r\n },\r\n },\r\n setup(props) {\r\n const store = useStore();\r\n const {students} = toRefs(props);\r\n const formRef = ref(null);\r\n const data = computed(() => {\r\n return store.getters.currentFinanceFilter.financeFilter;\r\n });\r\n\r\n const studentsData = computed(() => {\r\n return students.value != undefined && students.value.length > 0 ? students.value.map(x=>{return {value:x.id, label:x.first_name+\" \"+x.last_name+\"(\"+x.student_id+\")\"}}) :[];\r\n });\r\n\r\n const studentMultiselect = ref({\r\n mode: \"tags\",\r\n options: studentsData,\r\n searchable: true,\r\n createTag: true\r\n });\r\n\r\n const updateFilter = () => {\r\n setFinanceFilter(data.value);\r\n props.getFinanceRecords();\r\n MenuComponent.hideDropdowns(undefined);\r\n }\r\n\r\n return {\r\n data,\r\n formRef,\r\n updateFilter,\r\n studentMultiselect\r\n };\r\n },\r\n});\r\n","import { render } from \"./FinancialFilter.vue?vue&type=template&id=6db78b42&scoped=true\"\nimport script from \"./FinancialFilter.vue?vue&type=script&lang=ts\"\nexport * from \"./FinancialFilter.vue?vue&type=script&lang=ts\"\n\nimport \"./FinancialFilter.vue?vue&type=style&index=0&id=6db78b42&scoped=true&lang=css\"\nscript.render = render\nscript.__scopeId = \"data-v-6db78b42\"\n\nexport default script","\r\nimport { defineComponent, onMounted, reactive, computed, ref, onBeforeMount } from \"vue\";\r\nimport { setCurrentPageBreadcrumbs } from \"@/core/helpers/breadcrumb\";\r\nimport FinancialFilter from \"@/views/financial/FinancialFilter.vue\";\r\nimport CreateRecord from \"@/views/financial/modals/CreateRecord.vue\";\r\nimport { FinanceFilter } from \"@/types/FinanceModel\";\r\nimport { setFinanceFilter } from \"@/core/helpers/finance\";\r\nimport { useStore } from \"vuex\";\r\nimport { ElMessageBox } from \"element-plus\";\r\nimport ApiService from \"@/core/services/ApiService\";\r\nimport moment from \"moment\";\r\nimport { useRoute } from \"vue-router\";\r\nimport { MenuComponent } from \"@/assets/ts/components/MenuComponent\";\r\nimport CommonService from \"@/core/services/CommonService\";\r\n\r\nexport default defineComponent({\r\n name: \"financial\",\r\n components: {\r\n FinancialFilter,\r\n CreateRecord\r\n },\r\n setup() {\r\n const store = useStore();\r\n const transactionTypes = [];\r\n const paymentMethods = [];\r\n const paymentTypes = [];\r\n const students = [];\r\n const route= useRoute();\r\n \r\n const getTypes = async() => {\r\n ApiService.setHeader();\r\n await ApiService.get(\"finance/types\")\r\n .then(({ data }) => {\r\n transactionTypes.values = data.recordTypes;\r\n paymentMethods.values = data.paymentMethods;\r\n paymentTypes.values = data.paymentTypes;\r\n })\r\n .catch(({ response }) => {\r\n console.log('getTypes error => '+response.data.errors);\r\n });\r\n }\r\n\r\n const getStudents = async() =>{ \r\n ApiService.setHeader();\r\n await ApiService.get(\"student/status/Active,Draft,COS,Initial,Reinstate,Exit\")\r\n .then(({ data }) => {\r\n students.values = data.data;\r\n })\r\n .catch(({ response }) => {\r\n console.log('getStudents error => '+response.data.errors);\r\n });\r\n }\r\n\r\n const financeRecords : any[] = reactive([]);\r\n\r\n const getFinanceRecords = async () => {\r\n if(financeRecords.length > 0){\r\n financeRecords.splice(0, financeRecords.length);\r\n }\r\n\r\n await new Promise((resolve, reject) => { \r\n ApiService.setHeader(); \r\n ApiService.post(\"finance/search-records\", financeFilter.value)\r\n .then(({ data }) => {\r\n Object.assign(financeRecords,data.data);\r\n resolve();\r\n })\r\n .catch(({ response }) => {\r\n reject(new Error ('getFinanceRecords error => '+response.data.errors));\r\n });\r\n });\r\n }\r\n \r\n const pageSize = ref(20);\r\n let page = reactive({pageValue : 1});\r\n const pageSizes = computed(()=>{\r\n let sizes = [20];\r\n let curr_length = getFilteredFinanceRecords().length;\r\n if(curr_length > 20){\r\n sizes.push(50);\r\n if(curr_length >50){\r\n let i = 0;\r\n while(i {\r\n pageSize.value = val; \r\n }\r\n\r\n const financeFilter = computed(() => {\r\n return store.getters.currentFinanceFilter.financeFilter;\r\n });\r\n\r\n const getFilteredFinanceRecords = () =>{\r\n return financeRecords\r\n .filter(data => (!search \r\n || String(data.id).padStart(8, \"0\").toLowerCase().includes(search.searchValue.toLowerCase())\r\n || data.payment_type.toLowerCase().includes(search.searchValue.toLowerCase())\r\n || data.payment_method.toLowerCase().includes(search.searchValue.toLowerCase())\r\n || data.amount.toString().includes(search.searchValue.toLowerCase())\r\n || data.memo.toLowerCase().includes(search.searchValue.toLowerCase())\r\n || data.record_type.toLowerCase().includes(search.searchValue.toLowerCase())\r\n || (data.student?.first_name + \" \" + data.student?.last_name).toLowerCase().includes(search.searchValue.toLowerCase()))\r\n )\r\n .sort(function(a,b) { \r\n if(a.id == b.id) return 0;\r\n\r\n if (Date.parse(a.record_date!) < Date.parse(b.record_date!))\r\n return 1;\r\n if (Date.parse(a.record_date!) > Date.parse(b.record_date!))\r\n return -1;\r\n if(a.id < b.id) \r\n return 1;\r\n if(a.id > b.id)\r\n return -1;\r\n\r\n return 0;\r\n });\r\n }\r\n\r\n const pagedTransactions = computed(()=>{\r\n return getFilteredFinanceRecords()\r\n .slice(pageSize.value * page.pageValue - pageSize.value, pageSize.value * page.pageValue);\r\n })\r\n\r\n const setPage = (val) => {\r\n page.pageValue = val;\r\n }\r\n\r\n const handleDelete = (row) => {\r\n ElMessageBox.confirm('Are you sure to delete this record?')\r\n .then(() => {\r\n ApiService.setHeader();\r\n ApiService.delete(\"finance/record/\"+row.id)\r\n .then(() => {\r\n let index = financeRecords.findIndex(d => d.id === row.id);\r\n financeRecords.splice(index,1); \r\n })\r\n .catch(({ response }) => {\r\n console.log(response);\r\n });\r\n });\r\n };\r\n\r\n const search = reactive({searchValue : ''});\r\n\r\n const getSummaries = (param) => {\r\n const { columns, data } = param;\r\n const sums = Array();\r\n columns.forEach((column, index) => {\r\n if (index === 0) {\r\n sums[index] = 'Total';\r\n return;\r\n }\r\n else if(index ===3) {\r\n var totalAmount = 0;\r\n if (financeRecords) {\r\n getFilteredFinanceRecords()\r\n .forEach(record => {\r\n let value = parseFloat(record.amount); \r\n if(record.record_type == 'Deposit' || record.record_type == 'Credit' || record.record_type == 'Payable'){\r\n totalAmount = totalAmount + value;\r\n }\r\n else{\r\n totalAmount = totalAmount - value;\r\n }\r\n });\r\n\r\n sums[index] = '$'+totalAmount;\r\n return;\r\n } \r\n sums[index] = '$ '+totalAmount;\r\n }\r\n else{\r\n sums[index] = '';\r\n };\r\n });\r\n return sums;\r\n }\r\n\r\n const downloadFinanceRecords = ()=>{\r\n let currentStudentList = getFilteredFinanceRecords().map(x=>{ return { \r\n ReferenceNo: String(x.id).padStart(8, \"0\"), \r\n Date : moment(x.record_date).format('MM/DD/YYYY'),\r\n Type : x.record_type,\r\n Amount : x.amount,\r\n Method : x.payment_method,\r\n Category : x.payment_type,\r\n StudentId : x.student != null ? x.student.student_id : '',\r\n SevisNo: x.student != null ? x.student.sevis_no : '',\r\n StudentName : x.student != null ? x.student.first_name + \" \" + x.student.last_name : '',\r\n Memo : x.memo,\r\n CreatedBy : x.user.name \r\n };});\r\n let today = new Date();\r\n let fileName = 'Financial record List '+ today.toLocaleString();\r\n CommonService.exportToCsv(fileName, currentStudentList);\r\n }\r\n\r\n onMounted(async() => {\r\n await getStudents();\r\n await getTypes().then(async() =>{\r\n var date = new Date();\r\n var firstDayOfThisMonth = new Date(date.getFullYear(), date.getMonth(), 1);\r\n var lastDayOfThisMonth = new Date(date.getFullYear(), date.getMonth() + 1, 0);\r\n const defaultFilter : FinanceFilter = {\r\n record_types : ['Expense', 'Deposit'],\r\n record_dates : [firstDayOfThisMonth, lastDayOfThisMonth],\r\n payment_methods : Object.values(paymentMethods.values)\r\n }\r\n setFinanceFilter(defaultFilter);\r\n\r\n await getFinanceRecords();\r\n if(route.params.param==='create'){\r\n let recordCreateButton = document.getElementById('record_create_button');\r\n recordCreateButton?.click();\r\n }\r\n });\r\n setCurrentPageBreadcrumbs(\"Financial\", []); \r\n MenuComponent.reinitialization(); \r\n });\r\n\r\n return {\r\n financeRecords,\r\n financeFilter,\r\n pagedTransactions,\r\n pageSize,\r\n page,\r\n search,\r\n transactionTypes,\r\n paymentMethods,\r\n paymentTypes,\r\n setPage,\r\n handleDelete,\r\n getSummaries,\r\n getFinanceRecords,\r\n moment,\r\n students,\r\n getFilteredFinanceRecords,\r\n downloadFinanceRecords,\r\n handleSizeChange,\r\n pageSizes\r\n };\r\n },\r\n});\r\n","import { render } from \"./Financial.vue?vue&type=template&id=b3791356&scoped=true\"\nimport script from \"./Financial.vue?vue&type=script&lang=ts\"\nexport * from \"./Financial.vue?vue&type=script&lang=ts\"\n\nimport \"./Financial.vue?vue&type=style&index=0&id=b3791356&scoped=true&lang=css\"\nscript.render = render\nscript.__scopeId = \"data-v-b3791356\"\n\nexport default script","import{toRefs as e,ref as l,computed as t,watch as n,nextTick as a,openBlock as u,createBlock as r,withKeys as o,withModifiers as i,createVNode as c,createCommentVNode as s,renderSlot as v,toDisplayString as d,Fragment as p,renderList as f,createTextVNode as h,Transition as m,withCtx as b,withDirectives as y,vShow as g}from\"vue\";function S(e){return-1!==[null,void 0,!1].indexOf(e)}function w(e){return String(e).toLowerCase().trim()}function k(e){return(k=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function O(e,l,t){return l in e?Object.defineProperty(e,l,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[l]=t,e}function q(a,u,r){var o=e(a),i=o.options,c=o.mode,s=o.trackBy,v=o.limit,d=o.hideSelected,p=o.createTag,f=o.label,h=o.appendNewTag,m=o.multipleLabel,b=o.object,y=o.loading,g=o.delay,q=o.resolveOnLoad,P=o.minChars,x=o.filterResults,T=o.clearOnSearch,D=o.clearOnSelect,B=o.valueProp,I=o.canDeselect,A=o.max,j=r.iv,M=r.ev,V=r.search,C=r.blurSearch,$=r.clearSearch,E=r.update,H=r.blurInput,L=r.pointer,N=l([]),R=l([]),K=l(!1),F=t((function(){var e,l=R.value||[];return e=l,\"[object Object]\"===Object.prototype.toString.call(e)&&(l=Object.keys(l).map((function(e){var t,n=l[e];return O(t={},B.value,e),O(t,s.value,n),O(t,f.value,n),t}))),l=l.map((function(e,l){var t;return\"object\"===k(e)?e:(O(t={},B.value,e),O(t,s.value,e),O(t,f.value,e),t)})),N.value.length&&(l=l.concat(N.value)),l})),_=t((function(){var e=F.value;return J.value.length&&(e=J.value.concat(e)),V.value&&x.value&&(e=e.filter((function(e){return-1!==w(e[s.value]).indexOf(w(V.value))}))),d.value&&(e=e.filter((function(e){return!ie(e)}))),v.value>0&&(e=e.slice(0,v.value)),e})),W=t((function(){switch(c.value){case\"single\":return!S(j.value[B.value]);case\"multiple\":case\"tags\":return!S(j.value)&&j.value.length>0}})),U=t((function(){return void 0!==m&&void 0!==m.value?m.value(j.value):j.value&&j.value.length>1?\"\".concat(j.value.length,\" options selected\"):\"1 option selected\"})),z=t((function(){return!F.value.length&&!K.value})),G=t((function(){return F.value.length>0&&0==_.value.length})),J=t((function(){var e;return!1!==p.value&&V.value?-1!==oe(V.value)?[]:[(e={},O(e,B.value,V.value),O(e,f.value,V.value),O(e,s.value,V.value),e)]:[]})),Q=t((function(){switch(c.value){case\"single\":return null;case\"multiple\":case\"tags\":return[]}})),X=t((function(){return y.value||K.value})),Y=function(e){switch(\"object\"!==k(e)&&(e=re(e)),c.value){case\"single\":E(e);break;case\"multiple\":case\"tags\":E(j.value.concat(e))}u.emit(\"select\",ee(e),e)},Z=function(e){switch(\"object\"!==k(e)&&(e=re(e)),c.value){case\"single\":te();break;case\"tags\":case\"multiple\":E(j.value.filter((function(l){return l[B.value]!=e[B.value]})))}u.emit(\"deselect\",ee(e),e)},ee=function(e){return b.value?e:e[B.value]},le=function(e){Z(e)},te=function(){u.emit(\"clear\"),E(Q.value)},ne=function(e){switch(c.value){case\"single\":return!S(j.value)&&j.value[B.value]==e[B.value];case\"tags\":case\"multiple\":return!S(j.value)&&-1!==j.value.map((function(e){return e[B.value]})).indexOf(e[B.value])}},ae=function(e){return!0===e.disabled},ue=function(){return!(void 0===A||-1===A.value||!W.value&&A.value>0)&&j.value.length>=A.value},re=function(e){return F.value[F.value.map((function(e){return String(e[B.value])})).indexOf(String(e))]},oe=function(e){return F.value.map((function(e){return w(e[s.value])})).indexOf(w(e))},ie=function(e){return\"tags\"===c.value&&d.value&&ne(e)},ce=function(e){N.value.push(e)},se=function(){S(M.value)||(j.value=de(M.value))},ve=function(e){K.value=!0,i.value(V.value).then((function(l){R.value=l,\"function\"==typeof e&&e(l),K.value=!1}))},de=function(e){return S(e)?\"single\"===c.value?{}:[]:b.value?e:\"single\"===c.value?re(e)||{}:e.filter((function(e){return!!re(e)})).map((function(e){return re(e)}))};if(\"single\"!==c.value&&!S(M.value)&&!Array.isArray(M.value))throw new Error('v-model must be an array when using \"'.concat(c.value,'\" mode'));return i&&\"function\"==typeof i.value?q.value?ve(se):1==b.value&&se():(R.value=i.value,se()),g.value>-1&&n(V,(function(e){e.lengthe.length)&&(l=e.length);for(var t=0,n=new Array(l);t[]},id:{type:[String,Number],required:!1,default:\"multiselect\"},name:{type:[String,Number],required:!1,default:\"multiselect\"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:\"label\"},trackBy:{type:String,required:!1,default:\"label\"},valueProp:{type:String,required:!1,default:\"value\"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:\"single\"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},maxHeight:{type:Number,required:!1,default:160},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:!1},appendNewTag:{type:Boolean,required:!1,default:!0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:String,required:!1,default:\"The list is empty\"},noResultsText:{type:String,required:!1,default:\"No results found\"},multipleLabel:{type:Function,required:!1},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},addTagOn:{type:Array,required:!1,default:()=>[\"enter\"]},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:\"bottom\"},nativeSupport:{type:Boolean,required:!1,default:!1}},setup(u,r){const o=function(n,a){var u=e(n),r=u.value,o=u.modelValue,i=u.mode,c=u.valueProp,s=l(\"single\"!==i.value?[]:{}),v=void 0!==a.expose?o:r,d=t((function(){return\"single\"===i.value?s.value[c.value]:s.value.map((function(e){return e[c.value]}))})),p=t((function(){return\"single\"!==i.value?s.value.map((function(e){return e[c.value]})).join(\",\"):s.value[c.value]}));return{iv:s,internalValue:s,ev:v,externalValue:v,textValue:p,plainValue:d}}(u,r),i=function(n,a,u){var r=e(n),o=r.searchable,i=(r.id,l(null)),c=t((function(){return o.value?-1:0}));return{multiselect:i,tabindex:c,focusInput:function(){i.value.querySelector(\".multiselect-input\").focus()},blurInput:function(){i.value.querySelector(\".multiselect-input\").blur()}}}(u),c={pointer:l(null)},s=function(l,t,n){var a=e(l),u=a.object,r=a.valueProp,o=a.mode,i=n.iv,c=function(e){return u.value||S(e)?e:Array.isArray(e)?e.map((function(e){return e[r.value]})):e[r.value]},s=function(e){return S(e)?\"single\"===o.value?{}:[]:e};return{update:function(e){i.value=s(e);var l=c(e);t.emit(\"change\",l),t.emit(\"input\",l),t.emit(\"update:modelValue\",l)}}}(u,r,{iv:o.iv}),v=function(a,u,r){var o=e(a),i=o.searchable,c=o.mode,s=r.iv,v=l(null),d=l(null),p=t((function(){return v.value?\"\".concat(v.value.length,\"ch\"):\"tags\"===c.value&&-1===[null,void 0].indexOf(s.value)&&s.value.length?\"1ch\":\"100%\"}));return n(v,(function(e){u.emit(\"search-change\",e)})),{search:v,input:d,tagsSearchWidth:p,clearSearch:function(){v.value=\"\"},focusSearch:function(){d.value.focus()},blurSearch:function(){i.value&&d.value.blur()}}}(u,r,{iv:o.iv}),d=function(n,a,u){var r=e(n),o=r.maxHeight,i=r.disabled,c=r.searchable,s=u.multiselect,v=u.blurInput,d=u.blurSearch,p=u.focusInput,f=u.focusSearch,h=l(!1),m=t((function(){return\"\".concat(o.value,\"px\")}));return{isOpen:h,contentMaxHeight:m,openDropdown:function(){i.value||(h.value=!0,a.emit(\"open\"))},closeDropdown:function(){h.value=!1,a.emit(\"close\")},open:function(){c&&c.value?f():p()},close:function(){c&&c.value?d():v()},handleInputMousedown:function(e){h.value&&!c.value&&(s.value.querySelector(\".multiselect-input\").dispatchEvent(new Event(\"blur\")),s.value.querySelector(\".multiselect-input\").blur(),e.preventDefault())}}}(u,r,{multiselect:i.multiselect,blurInput:i.blurInput,blurSearch:v.blurSearch,focusInput:i.focusInput,focusSearch:v.focusSearch}),p=q(u,r,{ev:o.ev,iv:o.iv,search:v.search,blurSearch:v.blurSearch,clearSearch:v.clearSearch,update:s.update,blurInput:i.blurInput,pointer:c.pointer}),f=function(l,u,r){var o=e(l),i=o.id,c=o.valueProp,s=r.fo,v=r.handleOptionClick,d=r.search,p=r.pointer,f=t((function(){return s.value.filter((function(e){return!0!==e.disabled}))})),h=function(e){p.value=e},m=function(){p.value=f.value[0]||null},b=function(){p.value=null},y=function(){var e=document.getElementById(i.value).querySelector(\".is-pointed\");if(e){var l=e.parentElement;e.offsetTop+e.offsetHeight>l.clientHeight+l.scrollTop&&(l.scrollTop=e.offsetTop+e.offsetHeight-l.clientHeight),e.offsetTop{}),[\"prevent\"]),[\"enter\"])),ref:\"multiselect\"},[c(\"div\",{class:\"multiselect-input\",tabindex:e.tabindex,onMousedown:l[20]||(l[20]=(...l)=>e.handleInputMousedown&&e.handleInputMousedown(...l)),onFocus:l[21]||(l[21]=(...l)=>e.openDropdown&&e.openDropdown(...l)),onBlur:l[22]||(l[22]=(...l)=>e.closeDropdown&&e.closeDropdown(...l)),onKeyup:[l[23]||(l[23]=o(((...l)=>e.handleEsc&&e.handleEsc(...l)),[\"esc\"])),l[24]||(l[24]=o(((...l)=>e.selectPointer&&e.selectPointer(...l)),[\"enter\"]))],onKeydown:[l[25]||(l[25]=o(i(((...l)=>e.handleBackspace&&e.handleBackspace(...l)),[\"prevent\"]),[\"delete\"])),l[26]||(l[26]=o(i((l=>\"top\"===t.openDirection?e.forwardPointer():e.backwardPointer()),[\"prevent\"]),[\"up\"])),l[27]||(l[27]=o(i((l=>\"top\"===t.openDirection?e.backwardPointer():e.forwardPointer()),[\"prevent\"]),[\"down\"]))]},[s(\" Single label \"),\"single\"==t.mode&&e.hasSelected&&!e.search&&e.iv?v(e.$slots,\"singlelabel\",{key:0,value:e.iv},(()=>[c(\"div\",D,d(e.iv[t.label]),1)])):s(\"v-if\",!0),s(\" Multiple label \"),\"multiple\"==t.mode&&e.hasSelected&&!e.search?v(e.$slots,\"multiplelabel\",{key:1,values:e.iv},(()=>[c(\"div\",B,d(e.multipleLabelText),1)])):s(\"v-if\",!0),s(\" Search \"),\"tags\"!==t.mode&&t.searchable&&!t.disabled?(u(),r(\"div\",I,[c(\"input\",{modelValue:e.search,value:e.search,onFocus:l[1]||(l[1]=i(((...l)=>e.openDropdown&&e.openDropdown(...l)),[\"stop\"])),onBlur:l[2]||(l[2]=i(((...l)=>e.closeDropdown&&e.closeDropdown(...l)),[\"stop\"])),onKeyup:[l[3]||(l[3]=o(i(((...l)=>e.handleEsc&&e.handleEsc(...l)),[\"stop\"]),[\"esc\"])),l[4]||(l[4]=o(i(((...l)=>e.selectPointer&&e.selectPointer(...l)),[\"stop\"]),[\"enter\"]))],onKeydown:[l[5]||(l[5]=o(((...l)=>e.handleSearchBackspace&&e.handleSearchBackspace(...l)),[\"delete\"])),l[6]||(l[6]=o(i((l=>\"top\"===t.openDirection?e.forwardPointer():e.backwardPointer()),[\"stop\"]),[\"up\"])),l[7]||(l[7]=o(i((l=>\"top\"===t.openDirection?e.backwardPointer():e.forwardPointer()),[\"stop\"]),[\"down\"]))],onInput:l[8]||(l[8]=(...l)=>e.handleSearchInput&&e.handleSearchInput(...l)),ref:\"input\"},null,40,[\"modelValue\",\"value\"])])):s(\"v-if\",!0),s(\" Tags (with search) \"),\"tags\"==t.mode?(u(),r(\"div\",A,[(u(!0),r(p,null,f(e.iv,((n,a,o)=>(u(),r(\"span\",{key:o},[v(e.$slots,\"tag\",{option:n,handleTagRemove:e.handleTagRemove,disabled:t.disabled},(()=>[c(\"div\",j,[h(d(n[t.label])+\" \",1),t.disabled?s(\"v-if\",!0):(u(),r(\"i\",{key:0,onClick:l[9]||(l[9]=i((()=>{}),[\"prevent\"])),onMousedown:i((l=>e.handleTagRemove(n,l)),[\"prevent\",\"stop\"])},null,40,[\"onMousedown\"]))])]))])))),128)),t.searchable&&!t.disabled?(u(),r(\"div\",{key:0,class:\"multiselect-search\",style:{width:e.tagsSearchWidth}},[c(\"input\",{modelValue:e.search,value:e.search,onFocus:l[10]||(l[10]=i(((...l)=>e.openDropdown&&e.openDropdown(...l)),[\"stop\"])),onBlur:l[11]||(l[11]=i(((...l)=>e.closeDropdown&&e.closeDropdown(...l)),[\"stop\"])),onKeyup:[l[12]||(l[12]=o(i(((...l)=>e.handleEsc&&e.handleEsc(...l)),[\"stop\"]),[\"esc\"])),l[13]||(l[13]=o(i(((...l)=>e.handleAddTag&&e.handleAddTag(...l)),[\"stop\"]),[\"enter\"])),l[14]||(l[14]=o(i(((...l)=>e.handleAddTag&&e.handleAddTag(...l)),[\"stop\"]),[\"space\"]))],onKeydown:[l[15]||(l[15]=o(((...l)=>e.handleSearchBackspace&&e.handleSearchBackspace(...l)),[\"delete\"])),l[16]||(l[16]=o(i((l=>\"top\"===t.openDirection?e.forwardPointer():e.backwardPointer()),[\"stop\"]),[\"up\"])),l[17]||(l[17]=o(i((l=>\"top\"===t.openDirection?e.backwardPointer():e.forwardPointer()),[\"stop\"]),[\"down\"]))],onInput:l[18]||(l[18]=(...l)=>e.handleSearchInput&&e.handleSearchInput(...l)),style:{width:e.tagsSearchWidth},ref:\"input\"},null,44,[\"modelValue\",\"value\"])],4)):s(\"v-if\",!0)])):s(\"v-if\",!0),s(\" Placeholder \"),!t.placeholder||e.hasSelected||e.search?s(\"v-if\",!0):v(e.$slots,\"placeholder\",{key:4},(()=>[c(\"div\",M,d(t.placeholder),1)])),e.hasSelected||!t.caret||e.busy?s(\"v-if\",!0):v(e.$slots,\"caret\",{key:5},(()=>[V])),e.hasSelected&&!t.disabled&&!e.busy&&t.canDeselect?v(e.$slots,\"clear\",{key:6,clear:e.clear},(()=>[c(\"a\",{class:\"multiselect-clear\",onClick:l[19]||(l[19]=i(((...l)=>e.clear&&e.clear(...l)),[\"prevent\"]))})])):s(\"v-if\",!0),c(m,{name:\"multiselect-loading\"},{default:b((()=>[e.busy?(u(),r(\"span\",C,[v(e.$slots,\"spinner\",{},(()=>[$]))])):s(\"v-if\",!0)])),_:1})],40,[\"tabindex\"]),s(\" Options \"),e.resolving&&t.clearOnSearch?s(\"v-if\",!0):(u(),r(m,{key:0,name:\"multiselect\",onAfterLeave:e.clearSearch},{default:b((()=>[y(c(\"div\",{class:\"multiselect-options\",style:{maxHeight:e.contentMaxHeight}},[v(e.$slots,\"beforelist\"),(u(!0),r(p,null,f(e.fo,((n,a,o)=>(u(),r(\"span\",{tabindex:-1,class:[\"multiselect-option\",{\"is-pointed\":e.isPointed(n),\"is-selected\":e.isSelected(n),\"is-disabled\":e.isDisabled(n)}],key:o,onMousedown:l[28]||(l[28]=i((()=>{}),[\"prevent\"])),onMouseenter:l=>e.setPointer(n),onClick:i((l=>e.handleOptionClick(n)),[\"stop\",\"prevent\"])},[v(e.$slots,\"option\",{option:n,search:e.search},(()=>[c(\"span\",null,d(n[t.label]),1)]))],42,[\"onMouseenter\",\"onClick\"])))),128)),y(c(\"span\",null,[v(e.$slots,\"nooptions\",{},(()=>[c(\"div\",E,d(t.noOptionsText),1)]))],512),[[g,e.noOptions]]),y(c(\"span\",null,[v(e.$slots,\"noresults\",{},(()=>[c(\"div\",H,d(t.noResultsText),1)]))],512),[[g,e.noResults]]),v(e.$slots,\"afterlist\")],4),[[g,e.isOpen&&t.showOptions]])])),_:3},8,[\"onAfterLeave\"])),s(\" Hacky input element to show HTML5 required warning \"),t.required?(u(),r(\"input\",{key:1,class:\"multiselect-fake-input\",tabindex:\"-1\",value:e.textValue,required:\"\"},null,8,[\"value\"])):s(\"v-if\",!0),t.nativeSupport?(u(),r(p,{key:2},[\"single\"==t.mode?(u(),r(\"input\",{key:0,type:\"hidden\",name:t.name,value:void 0!==e.plainValue?e.plainValue:\"\"},null,8,[\"name\",\"value\"])):(u(!0),r(p,{key:1},f(e.plainValue,((e,l)=>(u(),r(\"input\",{type:\"hidden\",name:`${t.name}[]`,value:e,key:l},null,8,[\"name\",\"value\"])))),128))],64)):s(\"v-if\",!0)],42,[\"id\"])},T.__file=\"src/Multiselect.vue\";export default T;\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./CreateRecord.vue?vue&type=style&index=1&id=0f3ae842&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Financial.vue?vue&type=style&index=0&id=b3791356&scoped=true&lang=css\""],"sourceRoot":""}