{"version":3,"sources":["webpack:///./src/model/communication/usersBalance/GetUsersBalanceReportReqData.ts","webpack:///./src/views/App/CashFlow/UsersBalance/FiltersCard.vue?cd71","webpack:///./src/views/App/CashFlow/UsersBalance/FiltersCard.vue","webpack:///./src/views/App/CashFlow/UsersBalance/FiltersCard.vue?2d04","webpack:///./src/views/App/CashFlow/UsersBalance/FiltersCard.vue?7cf8","webpack:///./src/views/App/CashFlow/UsersBalance/ReportTableCard.vue?d2d0","webpack:///./src/views/App/CashFlow/UsersBalance/ReportTableCard.vue","webpack:///./src/views/App/CashFlow/UsersBalance/ReportTableCard.vue?ed53","webpack:///./src/views/App/CashFlow/UsersBalance/ReportTableCard.vue?ab49","webpack:///./src/model/data/usersBalance/UsersBalanceReportTotals.ts","webpack:///./src/views/App/CashFlow/UsersBalance/TotalsCard.vue?6c45","webpack:///./src/views/App/CashFlow/UsersBalance/TotalsCard.vue","webpack:///./src/views/App/CashFlow/UsersBalance/TotalsCard.vue?75e1","webpack:///./src/views/App/CashFlow/UsersBalance/TotalsCard.vue?d024","webpack:///./src/components/DateTimeRangePicker.vue?f10f","webpack:///./src/components/DateTimeRangePicker.vue","webpack:///./src/components/DateTimeRangePicker.vue?7042","webpack:///./src/components/DateTimeRangePicker.vue?e2e9","webpack:///./src/views/App/CashFlow/UsersBalance/index.vue?4dfe","webpack:///./src/model/communication/usersBalance/GetUsersBalanceReportResData.ts","webpack:///./src/model/communication/usersBalance/GetUsersBalanceReportCommand.ts","webpack:///./src/model/communication/usersBalance/ExportUsersBalanceCommand.ts","webpack:///./src/views/App/CashFlow/UsersBalance/index.vue","webpack:///./src/views/App/CashFlow/UsersBalance/index.vue?185f","webpack:///./src/views/App/CashFlow/UsersBalance/index.vue?b83c","webpack:///./src/model/data/usersBalance/UsersBalanceReportEntry.ts"],"names":["GetUsersBalanceReportReqData","branchId","installationNames","startDate","endDate","userGroupIds","shiftNumbers","this","Date","setHours","res","isAccountingDateFilterEnabled","forEach","element","push","UTC","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","render","_vm","_h","$createElement","_c","_self","attrs","$vuetify","breakpoint","mdAndDown","staticClass","smAndDown","domProps","_s","$t","class","model","value","callback","$$v","radioGroup","expression","availableBranches","length","selectedBranch","selectedInstallationNames","_e","scopedSlots","_u","key","fn","ref","on","_g","rerender","staticStyle","deviceTreeSelectedObjectItems","dateFilterTypes","dateFilterType","availableGroupsComputed","selectedGroupIds","availableShiftNumbers","selectedShiftNumbers","availableCurrencies","selectedCurrency","loading","$event","onSubmit","_v","staticRenderFns","extend","components","DeviceTree","DateTimeRangePicker","data","ignoreSelectedInstallationNames","text","props","availableGroups","showGroupsFilter","type","Boolean","default","Array","showShiftNumbersFilter","showCurrencyFilter","computed","map","group","id","name","watch","temp","newValue","sort","currency","filter","c","DeviceTreeNodeTypeEnum","Device","indexOf","installationName","methods","GetAvailableBranches","GetBranchesCommand","execute","responseStatus","ApiResponseStatusEnum","Success","val","console","error","$emit","mounted","component","VBadge","VBtn","VCard","VCardSubtitle","VCardText","VChip","VCol","VMenu","VRadio","VRadioGroup","VRow","VSelect","VSpacer","computedHeaders","usersBalanceReportEntries","isTotalsTable","search","analizedTransactionsCount","proxy","item","cashIn","_l","v","formatCurrency","cashOut","cashBalance","style","manualDeposit","balance","headers","sortable","Number","h","VDataTable","VTextField","VToolbar","VTooltip","UsersBalanceReportTotals","obj","CashIn","CashOut","CashBalance","ManualDeposit","Balance","fakeUsersBalanceReportEntries","ReportTableCard","usersBalanceReportTotals","fakeEntry","UsersBalanceReportEntry","iconPadding","iconWidth","iconLarge","iconColor","pickerStartDateFormatted","pickerEndDate","pickerStartDate","pickerStartTimeFormatted","pickerEndTime","userTimeFormat","pickerFormat","pickerStartTime","pickerEndDateFormatted","pickerEndTimeFormatted","filters","String","showHour","showPrependIcon","undefined","format","userDateFormat","timeFormat","get","set","receivedNewDate","newDate","year","month","date","toDate","newStartDate","hours","split","minutes","VDatePicker","VTimePicker","menuEntry","name_i18n","icon","color","GetUsersBalance","onDownload","response","Payload","parse","AvailableGroups","g","AvailableShiftNumbers","shift","UsersBalanceReportEntries","AnalizedTransactionsCount","ServiceResponseData","Id","Name","ENDPOINT","reqData","endPoint","httpVerb","params","executeCommand","Command","exportType","responseType","FiltersCard","TotalsCard","menu","find","m","children","GetReqDataPayload","log","fileURL","window","URL","createObjectURL","Blob","fileLink","document","createElement","href","setAttribute","substring","body","appendChild","click","username","Username","userId","UserId","kitWithdrawn","KitWithdrawn","endShiftDeposited","EndShiftDeposited"],"mappings":"gNAAaA,EAAb,WASI,oCARA,KAAAC,UAAoB,EACpB,KAAAC,kBAA8B,GAC9B,KAAAC,UAAkB,KAClB,KAAAC,QAAgB,KAEhB,KAAAC,aAAyB,GACzB,KAAAC,aAAyB,GAGrBC,KAAKH,QAAU,IAAII,KACnBD,KAAKJ,UAAY,IAAIK,KAGpBD,KAAKJ,UAAmBM,SAAS,EAAG,EAAG,EAAG,GAC1CF,KAAKH,QAAiBK,SAAS,GAAI,GAAI,GAAI,GAfpD,mEAmBQ,IAAIC,EAAM,IAAIV,EA+Bd,OA9BAU,EAAIT,SAAWM,KAAKN,SACpBS,EAAIC,8BAAgCJ,KAAKI,8BAEzCJ,KAAKL,kBAAkBU,SAAQ,SAACC,GAC5BH,EAAIR,kBAAkBY,KAAKD,MAG/BH,EAAIP,UAAY,IAAIK,KAChBA,KAAKO,IACDR,KAAKJ,UAAUa,cACfT,KAAKJ,UAAUc,WACfV,KAAKJ,UAAUe,UACfX,KAAKJ,UAAUgB,WACfZ,KAAKJ,UAAUiB,aACfb,KAAKJ,UAAUkB,eAIvBX,EAAIN,QAAU,IAAII,KACdA,KAAKO,IAAIR,KAAKH,QAAQY,cAAeT,KAAKH,QAAQa,WAAYV,KAAKH,QAAQc,UAAWX,KAAKH,QAAQe,WAAYZ,KAAKH,QAAQgB,aAAcb,KAAKH,QAAQiB,eAG3Jd,KAAKF,aAAaO,SAAQ,SAACC,GACvBH,EAAIL,aAAaS,KAAKD,MAG1BN,KA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YP,GAC1BA,EAASQ,QACTnP,KAAK4D,SAAU,E,6DAGnB6C,QAAQ4H,IAAI,oEAAZ,MACArO,KAAK4D,SAAU,E,4DAI3BgD,QAjEsB,WAkElB5G,KAAK6K,QAAU,IAAIpL,EAAA,QCxG2Z,I,YCOlboH,EAAY,eACd,EACA9F,EACAiD,GACA,EACA,KACA,KACA,MAIa,aAAA6C,E,yGClBFiD,EAAb,WAWI,oCARO,KAAA5B,OAA2C,GAC3C,KAAAI,QAA4C,GAC5C,KAAAC,YAAgD,GAChD,KAAAE,cAAkD,GAClD,KAAAC,QAA4C,GAPvD,qDAaUU,GAIF,IAAK,IAAIxG,KAHT5C,KAAKoP,SAAWhG,EAAIiG,SACpBrP,KAAKsP,OAASlG,EAAImG,OAEFnG,EAAIC,OAAQrJ,KAAKkI,OAAO3H,KAAK,CAAEqC,IAAKA,EAAKZ,MAAOoH,EAAIC,OAAOzG,KAC3E,IAAK,IAAI,KAAOwG,EAAIE,QAAStJ,KAAKsI,QAAQ/H,KAAK,CAAEqC,IAAK,EAAKZ,MAAOoH,EAAIE,QAAQ,KAC9E,IAAK,IAAI,KAAOF,EAAIG,YAAavJ,KAAKuI,YAAYhI,KAAK,CAAEqC,IAAK,EAAKZ,MAAOoH,EAAIG,YAAY,KAC1F,IAAK,IAAI,KAAOH,EAAII,cAAexJ,KAAKyI,cAAclI,KAAK,CAAEqC,IAAK,EAAKZ,MAAOoH,EAAII,cAAc,KAChG,IAAK,IAAI,KAAOJ,EAAIK,QAASzJ,KAAK0I,QAAQnI,KAAK,CAAEqC,IAAK,EAAKZ,MAAOoH,EAAIK,QAAQ,KAE9EzJ,KAAKwP,aAAepG,EAAIqG,aACxBzP,KAAK0P,kBAAoBtG,EAAIuG,sBAxBrC","file":"js/chunk_app_users_balance__report_view.0e1f141e.js","sourcesContent":["export class GetUsersBalanceReportReqData {\r\n branchId: number = -1;\r\n installationNames: string[] = [];\r\n startDate: Date = null;\r\n endDate: Date = null;\r\n isAccountingDateFilterEnabled: boolean;\r\n userGroupIds: number[] = [];\r\n shiftNumbers: string[] = [];\r\n\r\n constructor() {\r\n this.endDate = new Date();\r\n this.startDate = new Date();\r\n // this.startDate.setDate(this.startDate.getDate() - 1);\r\n // this.endDate.setDate(this.endDate.getDate() - 1);\r\n (this.startDate as Date).setHours(0, 0, 0, 0);\r\n (this.endDate as Date).setHours(23, 59, 59, 0);\r\n }\r\n\r\n public GetReqDataPayload(): GetUsersBalanceReportReqData {\r\n var res = new GetUsersBalanceReportReqData();\r\n res.branchId = this.branchId;\r\n res.isAccountingDateFilterEnabled = this.isAccountingDateFilterEnabled;\r\n\r\n this.installationNames.forEach((element) => {\r\n res.installationNames.push(element);\r\n });\r\n\r\n res.startDate = new Date(\r\n Date.UTC(\r\n this.startDate.getFullYear(),\r\n this.startDate.getMonth(),\r\n this.startDate.getDate(),\r\n this.startDate.getHours(),\r\n this.startDate.getMinutes(),\r\n this.startDate.getSeconds()\r\n )\r\n );\r\n\r\n res.endDate = new Date(\r\n Date.UTC(this.endDate.getFullYear(), this.endDate.getMonth(), this.endDate.getDate(), this.endDate.getHours(), this.endDate.getMinutes(), this.endDate.getSeconds())\r\n );\r\n\r\n this.userGroupIds.forEach((element) => {\r\n res.userGroupIds.push(element);\r\n });\r\n\r\n this.shiftNumbers.forEach((element) => {\r\n res.shiftNumbers.push(element);\r\n });\r\n\r\n return res;\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',[_c('v-spacer'),_c('v-col',{attrs:{\"cols\":!_vm.$vuetify.breakpoint.mdAndDown ? 1 : 0}}),_c('v-col',{attrs:{\"cols\":!_vm.$vuetify.breakpoint.mdAndDown ? 10 : 12}},[_c('v-card',{attrs:{\"outlined\":\"\"}},[_c('v-row',{staticClass:\"mt-3 align-center\"},[_c('v-col',{staticClass:\"pr-0\",attrs:{\"cols\":_vm.$vuetify.breakpoint.smAndDown ? 12 : 'auto'}},[_c('v-card-subtitle',{staticClass:\"my-0 py-0 text-body-1\",domProps:{\"textContent\":_vm._s(_vm.$t('common.filterBy') + ':')}})],1),_c('v-col',{class:_vm.$vuetify.breakpoint.smAndDown ? 'px-6' : '',attrs:{\"cols\":_vm.$vuetify.breakpoint.smAndDown ? 12 : 'auto'}},[_c('v-radio-group',{staticClass:\"my-0 py-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.radioGroup),callback:function ($$v) {_vm.radioGroup=$$v},expression:\"radioGroup\"}},[_c('v-radio',{attrs:{\"label\":_vm.$t('common.branch'),\"value\":1}}),_c('v-radio',{attrs:{\"label\":_vm.$t('common.installations'),\"value\":2}})],1)],1),_c('v-col',{class:_vm.$vuetify.breakpoint.smAndDown ? 'px-6' : '',attrs:{\"cols\":_vm.$vuetify.breakpoint.smAndDown ? 12 : 'auto'}},[_c('v-select',{attrs:{\"items\":_vm.availableBranches,\"label\":_vm.$t('common.branch'),\"disabled\":_vm.radioGroup == 2 || _vm.availableBranches == null || _vm.availableBranches.length == 0,\"return-object\":false,\"hide-details\":\"\",\"outlined\":\"\",\"dense\":\"\"},model:{value:(_vm.selectedBranch),callback:function ($$v) {_vm.selectedBranch=$$v},expression:\"selectedBranch\"}})],1),_c('v-col',{class:_vm.$vuetify.breakpoint.smAndDown ? 'pl-6' : 'pr-1',attrs:{\"cols\":_vm.$vuetify.breakpoint.smAndDown ? '' : 'auto'}},[_c('v-card',{staticClass:\"px-3 py-1\",attrs:{\"flat\":\"\",\"outlined\":\"\"}},[(_vm.selectedInstallationNames != null && _vm.selectedInstallationNames.length > 0)?_c('span',[(_vm.selectedInstallationNames[0] != null)?_c('v-chip',{staticClass:\"mr-1\",domProps:{\"textContent\":_vm._s(_vm.selectedInstallationNames[0])}}):_vm._e(),(_vm.selectedInstallationNames[1] != null && !_vm.$vuetify.breakpoint.smAndDown)?_c('v-chip',{staticClass:\"mr-1\",domProps:{\"textContent\":_vm._s(_vm.selectedInstallationNames[1])}}):_vm._e(),(_vm.selectedInstallationNames[2] != null)?_c('span',{staticClass:\"grey--text text-caption\",domProps:{\"textContent\":_vm._s('(' + (_vm.selectedInstallationNames.length - (!_vm.$vuetify.breakpoint.smAndDown ? 2 : 1)) + ' ' + _vm.$t('common.others') + ')')}}):_vm._e()],1):_c('v-card-text',{staticClass:\"ma-0 pa-0 py-1 pr-6\",domProps:{\"textContent\":_vm._s(_vm.$t('common.select_one_or_more_installations'))}})],1)],1),_c('v-col',{class:_vm.$vuetify.breakpoint.smAndDown ? 'pr-6' : 'pl-0',attrs:{\"cols\":\"auto\"}},[_c('v-menu',{attrs:{\"offset-y\":\"\",\"close-on-content-click\":false},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-badge',{attrs:{\"overlap\":\"\",\"content\":_vm.selectedInstallationNames != null ? _vm.selectedInstallationNames.length : 0,\"value\":_vm.selectedInstallationNames != null}},[_c('v-btn',_vm._g({attrs:{\"icon\":\"\",\"disabled\":_vm.radioGroup == 1}},on),[_c('v-fa-icon',{attrs:{\"icon\":\"filter\",\"medium\":\"\"}})],1)],1)]}}])},[_c('v-card',{attrs:{\"flat\":\"\",\"min-width\":\"400px\"}},[_c('DeviceTree',{key:_vm.rerender,staticStyle:{\"max-height\":\"600px\",\"overflow\":\"auto\"},attrs:{\"title\":_vm.$t('device_tree.default_title'),\"selectable\":\"\",\"editable\":false,\"returnObject\":true,\"ignoreEmptyFolder\":true},model:{value:(_vm.deviceTreeSelectedObjectItems),callback:function ($$v) {_vm.deviceTreeSelectedObjectItems=$$v},expression:\"deviceTreeSelectedObjectItems\"}})],1)],1)],1)],1),_c('v-row',{staticClass:\"px-4 align-center\"},[_c('v-col',{staticClass:\"mr-8\",attrs:{\"cols\":_vm.$vuetify.breakpoint.smAndDown ? 12 : 2}},[_c('v-select',{attrs:{\"items\":_vm.dateFilterTypes,\"label\":_vm.$t('cash_report.date_type'),\"prepend-icon\":\"fas fa-calendar-check\"},model:{value:(_vm.dateFilterType),callback:function ($$v) {_vm.dateFilterType=$$v},expression:\"dateFilterType\"}})],1),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"\"}},[(_vm.value != null)?_c('DateTimeRangePicker',{attrs:{\"filters\":_vm.value,\"showHour\":_vm.dateFilterType == 0,\"showPrependIcon\":false}}):_vm._e()],1)],1),_c('v-row',{staticClass:\"px-4 pb-2 align-center\"},[(_vm.showGroupsFilter)?_c('v-col',{attrs:{\"cols\":_vm.$vuetify.breakpoint.smAndDown ? 12 : 'auto'}},[_c('v-select',{attrs:{\"items\":_vm.availableGroupsComputed,\"disabled\":_vm.availableGroupsComputed == null || _vm.availableGroupsComputed.length == 0,\"label\":_vm.$t('cash_report.groupName'),\"return-object\":false,\"multiple\":\"\",\"hide-details\":\"\",\"outlined\":\"\",\"dense\":\"\"},model:{value:(_vm.selectedGroupIds),callback:function ($$v) {_vm.selectedGroupIds=$$v},expression:\"selectedGroupIds\"}})],1):_vm._e(),(_vm.showShiftNumbersFilter)?_c('v-col',{attrs:{\"cols\":_vm.$vuetify.breakpoint.smAndDown ? 12 : 'auto'}},[_c('v-select',{attrs:{\"items\":_vm.availableShiftNumbers,\"disabled\":_vm.availableShiftNumbers == null || _vm.availableShiftNumbers.length == 0,\"label\":_vm.$t('common.shift_number'),\"multiple\":\"\",\"hide-details\":\"\",\"outlined\":\"\",\"dense\":\"\"},model:{value:(_vm.selectedShiftNumbers),callback:function ($$v) {_vm.selectedShiftNumbers=$$v},expression:\"selectedShiftNumbers\"}})],1):_vm._e(),(_vm.showCurrencyFilter)?_c('v-col',{attrs:{\"cols\":_vm.$vuetify.breakpoint.smAndDown ? 12 : 'auto'}},[_c('v-select',{attrs:{\"items\":_vm.availableCurrencies,\"disabled\":_vm.availableCurrencies == null || _vm.availableCurrencies.length == 0,\"label\":_vm.$t('common.currency'),\"hide-details\":\"\",\"outlined\":\"\",\"dense\":\"\"},model:{value:(_vm.selectedCurrency),callback:function ($$v) {_vm.selectedCurrency=$$v},expression:\"selectedCurrency\"}})],1):_vm._e(),_c('v-spacer'),_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-btn',{staticClass:\"px-8 mr-4\",attrs:{\"color\":\"success\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":function($event){return _vm.onSubmit()}}},[_c('v-fa-icon',{staticClass:\"mr-2\",attrs:{\"icon\":\"search\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"common.submit\"))+\" \")],1)],1)],1)],1)],1),_c('v-col',{attrs:{\"cols\":!_vm.$vuetify.breakpoint.mdAndDown ? 1 : 0}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\n\r\n// Components\r\nimport DateTimeRangePicker from \"@/components/DateTimeRangePicker.vue\";\r\nimport DeviceTree from \"@/components/DeviceTree/index.vue\";\r\n\r\n// Model\r\nimport { ApiResponseStatusEnum } from \"@/model/communication/ApiResponseStatusEnum\";\r\nimport { GetBranchesCommand } from \"@/model/communication/branch/GetBranchesCommand\";\r\nimport { GetBranchesResData } from \"@/model/communication/branch/GetBranchesResData\";\r\nimport { GetUsersBalanceReportReqData } from \"@/model/communication/usersBalance/GetUsersBalanceReportReqData\";\r\nimport { CaosGroup } from \"@/model/communication/usersBalance/GetUsersBalanceReportResData\";\r\nimport { DeviceTreeNodeTypeEnum } from \"@/model/data/deviceTree/DeviceTreeNodeTypeEnum\";\r\n\r\nexport default Vue.extend({\r\n components: {\r\n DeviceTree,\r\n DateTimeRangePicker,\r\n },\r\n data() {\r\n return {\r\n radioGroup: 1,\r\n availableBranches: null,\r\n selectedBranch: -1,\r\n selectedInstallationNames: null,\r\n rerender: 0,\r\n deviceTreeSelectedObjectItems: [],\r\n ignoreSelectedInstallationNames: false,\r\n dateFilterTypes: [\r\n {\r\n text: this.$t(\"common.dateTime\"),\r\n value: 0,\r\n },\r\n {\r\n text: this.$t(\"common.accounting_date\"),\r\n value: 1,\r\n },\r\n ],\r\n dateFilterType: 0,\r\n selectedGroupIds: [],\r\n selectedShiftNumbers: [],\r\n selectedCurrency: null,\r\n };\r\n },\r\n props: {\r\n value: {},\r\n availableGroups: {},\r\n showGroupsFilter: { type: Boolean, default: false },\r\n availableShiftNumbers: { type: Array },\r\n availableCurrencies: { type: Array },\r\n showShiftNumbersFilter: { type: Boolean, default: false },\r\n showCurrencyFilter: { type: Boolean, default: false },\r\n loading: { type: Boolean, default: false },\r\n },\r\n computed: {\r\n availableGroupsComputed() {\r\n if (this.availableGroups != null && this.availableGroups.length > 0) return this.availableGroups.map((group: CaosGroup) => ({ value: group.id, text: group.name }));\r\n else return null;\r\n },\r\n },\r\n watch: {\r\n radioGroup() {\r\n this.selectedBranch = null;\r\n this.selectedInstallationNames = [];\r\n },\r\n dateFilterType() {\r\n var temp = new GetUsersBalanceReportReqData();\r\n (this.value.startDate as Date) = temp.startDate;\r\n (this.value.endDate as Date) = temp.endDate;\r\n },\r\n selectedBranch(newValue) {\r\n this.value.branchId = newValue != null ? newValue : -1;\r\n },\r\n selectedGroupIds(newValue) {\r\n if (newValue != null) {\r\n this.value.userGroupIds = [];\r\n newValue.forEach((element) => {\r\n this.value.userGroupIds.push(element);\r\n });\r\n this.value.userGroupIds.sort();\r\n }\r\n },\r\n selectedShiftNumbers(newValue) {\r\n if (newValue != null) {\r\n this.value.shiftNumbers = [];\r\n newValue.forEach((element) => {\r\n this.value.shiftNumbers.push(element);\r\n });\r\n this.value.shiftNumbers.sort();\r\n }\r\n },\r\n availableCurrencies() {\r\n if (this.showCurrencyFilter && this.availableCurrencies != null && this.availableCurrencies.length > 0) this.selectedCurrency = this.availableCurrencies[0];\r\n },\r\n selectedCurrency(newValue) {\r\n this.value.currency = newValue;\r\n },\r\n deviceTreeSelectedObjectItems(newValue) {\r\n this.selectedInstallationNames = null;\r\n if (newValue) {\r\n if (newValue.filter((c) => c.type == DeviceTreeNodeTypeEnum.Device).length > 0) {\r\n this.ignoreSelectedInstallationNames = true;\r\n this.selectedInstallationNames = newValue.filter((c) => c.type == DeviceTreeNodeTypeEnum.Device).map((c) => c.id);\r\n }\r\n }\r\n },\r\n selectedInstallationNames(newValue) {\r\n if (!this.ignoreSelectedInstallationNames) {\r\n if (newValue && this.deviceTreeSelectedObjectItems != null) {\r\n this.rerender += 1;\r\n this.deviceTreeSelectedObjectItems = this.deviceTreeSelectedObjectItems.filter((c) => c.type == DeviceTreeNodeTypeEnum.Device && newValue.indexOf(c.id) >= 0);\r\n }\r\n } else this.ignoreSelectedInstallationNames = false;\r\n\r\n this.value.installationNames = [];\r\n if (newValue != null && newValue.length > 0) {\r\n newValue.forEach((installationName) => {\r\n this.value.installationNames.push(installationName);\r\n });\r\n }\r\n this.value.installationNames.sort();\r\n },\r\n },\r\n methods: {\r\n async GetAvailableBranches() {\r\n try {\r\n var res: GetBranchesResData = await new GetBranchesCommand().execute();\r\n\r\n if (res.responseStatus == ApiResponseStatusEnum.Success) {\r\n if (res.availableBranches != null && res.availableBranches.length > 0) {\r\n this.availableBranches = res.availableBranches.map((val) => ({ value: val.id, text: val.name }));\r\n }\r\n }\r\n } catch (error) {\r\n console.error(\"GetAvailableBranches(): \", error);\r\n }\r\n },\r\n\r\n onSubmit() {\r\n this.value.isAccountingDateFilterEnabled = this.dateFilterType == 1;\r\n this.$emit(\"submit\");\r\n },\r\n },\r\n mounted() {\r\n this.GetAvailableBranches();\r\n if (this.showCurrencyFilter && this.availableCurrencies != null && this.availableCurrencies.length > 0) this.selectedCurrency = this.availableCurrencies[0];\r\n },\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FiltersCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FiltersCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FiltersCard.vue?vue&type=template&id=6f4011b9&\"\nimport script from \"./FiltersCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./FiltersCard.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBadge } from 'vuetify/lib/components/VBadge';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBadge,VBtn,VCard,VCardSubtitle,VCardText,VChip,VCol,VMenu,VRadio,VRadioGroup,VRow,VSelect,VSpacer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{staticClass:\"pb-4 mt-4\",attrs:{\"outlined\":\"\",\"loading\":_vm.loading}},[_c('v-data-table',{attrs:{\"headers\":_vm.computedHeaders,\"items\":_vm.usersBalanceReportEntries,\"items-per-page\":50,\"hide-default-footer\":_vm.isTotalsTable,\"footer-props\":{ 'items-per-page-options': [10, 25, 50, 100, -1] },\"search\":_vm.search},scopedSlots:_vm._u([{key:\"top\",fn:function(){return [_c('v-toolbar',{staticClass:\"mb-2\",attrs:{\"elevation\":2}},[_c('v-fa-icon',{staticClass:\"mr-1\",attrs:{\"icon\":_vm.isTotalsTable ? 'calculator' : 'list',\"medium\":\"\",\"color\":\"primary\"}}),(_vm.isTotalsTable)?_c('v-card-subtitle',{staticClass:\"text-h5\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"usersBalance.totals\"))+\" \")]):_c('v-card-subtitle',{staticClass:\"text-h5\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"usersBalance.usersDetails\"))+\" \")]),(!_vm.$vuetify.breakpoint.smAndDown && !_vm.isTotalsTable && _vm.usersBalanceReportEntries != null && _vm.usersBalanceReportEntries.length > 0)?_c('v-card-subtitle',{staticClass:\"ma-0 mt-1 pa-0 text-body-1\"},[_vm._v(\" (\"+_vm._s(_vm.usersBalanceReportEntries.length)+\" \"+_vm._s(_vm.$t(\"usersBalance.users\"))+_vm._s(_vm.analizedTransactionsCount > 0 ? (\", \" + _vm.analizedTransactionsCount + \" \" + (_vm.$t(\"usersBalance.transactionsAnalized\"))) : \"\")+\") \")]):_vm._e(),_c('v-spacer'),(!_vm.$vuetify.breakpoint.smAndDown && !_vm.isTotalsTable)?_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-text-field',{attrs:{\"append-icon\":\"fa-search\",\"label\":_vm.$t('common.search'),\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1):_vm._e(),(!_vm.isTotalsTable)?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"mx-1\",attrs:{\"icon\":\"\",\"color\":\"primary\",\"small\":\"\"},on:{\"click\":function($event){return _vm.$emit('download', 'csv')}}},on),[_c('v-fa-icon',{attrs:{\"icon\":\"file-csv\"}})],1)]}}],null,false,712661283)},[_c('span',{domProps:{\"textContent\":_vm._s(_vm.$t('common.exportAsCsv'))}})]):_vm._e()],1),_c('TableTopScrollbar')]},proxy:true},{key:\"item.cashIn\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.cashIn == null || item.cashIn.length == 0)?_c('p',{staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('/')}}):_c('span',_vm._l((item.cashIn),function(v){return _c('span',{key:v.key},[(v.value != 0)?_c('p',{staticClass:\"ma-0 pa-0\",staticStyle:{\"color\":\"green\"},domProps:{\"textContent\":_vm._s('+' + _vm.formatCurrency(v.key, v.value))}}):_c('p',{staticClass:\"ma-0 pa-0 pl-8\",staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('-')}})])}),0)]}},{key:\"item.cashOut\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.cashOut == null || item.cashOut.length == 0)?_c('p',{staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('/')}}):_c('span',_vm._l((item.cashOut),function(v){return _c('span',{key:v.key},[(v.value != 0)?_c('p',{staticClass:\"ma-0 pa-0\",staticStyle:{\"color\":\"red\"},domProps:{\"textContent\":_vm._s('-' + _vm.formatCurrency(v.key, v.value))}}):_c('p',{staticClass:\"ma-0 pa-0 pl-8\",staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('-')}})])}),0)]}},{key:\"item.cashBalance\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.cashBalance == null || item.cashBalance.length == 0)?_c('p',{staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('/')}}):_c('span',_vm._l((item.cashBalance),function(v){return _c('span',{key:v.key},[(v.value != 0)?_c('p',{staticClass:\"ma-0 pa-0\",style:('color:' + (v.value > 0 ? 'green' : 'red')),domProps:{\"textContent\":_vm._s((v.value > 0 ? '+' : '') + _vm.formatCurrency(v.key, v.value))}}):_c('p',{staticClass:\"ma-0 pa-0 pl-8\",staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('-')}})])}),0)]}},{key:\"item.manualDeposit\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.manualDeposit == null || item.manualDeposit.length == 0)?_c('p',{staticClass:\"ma-0 pa-0 pl-8\",staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('-')}}):_c('span',_vm._l((item.manualDeposit),function(v){return _c('span',{key:v.key},[(v.value != 0)?_c('p',{staticClass:\"ma-0 pa-0\",staticStyle:{\"color\":\"green\"},domProps:{\"textContent\":_vm._s('+' + _vm.formatCurrency(v.key, v.value))}}):_c('p',{staticClass:\"ma-0 pa-0 pl-8\",staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('-')}})])}),0)]}},{key:\"item.balance\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.balance == null || item.balance.length == 0)?_c('p',{staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('/')}}):_c('span',_vm._l((item.balance),function(v){return _c('span',{key:v.key},[(v.value != 0)?_c('p',{staticClass:\"ma-0 pa-0\",style:('color:' + (v.value > 0 ? 'green' : 'red')),domProps:{\"textContent\":_vm._s((v.value > 0 ? '+' : '') + _vm.formatCurrency(v.key, v.value))}}):_c('p',{staticClass:\"ma-0 pa-0 pl-8\",staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('-')}})])}),0)]}},(!_vm.isTotalsTable)?{key:\"item.kitWithdrawn\",fn:function(ref){\nvar value = ref.value;\nreturn [(value)?_c('p',{staticClass:\"ma-0 pa-0 pl-6\",staticStyle:{\"text-align\":\"start\"}},[_c('v-fa-icon',{attrs:{\"icon\":\"check-circle\",\"color\":\"success\"}})],1):_c('p',{staticClass:\"ma-0 pa-0 pl-8\",staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('-')}})]}}:null,(!_vm.isTotalsTable)?{key:\"item.endShiftDeposited\",fn:function(ref){\nvar value = ref.value;\nreturn [(value)?_c('p',{staticClass:\"ma-0 pa-0 pl-6\",staticStyle:{\"text-align\":\"start\"}},[_c('v-fa-icon',{attrs:{\"icon\":\"check-circle\",\"color\":\"success\"}})],1):_c('p',{staticClass:\"ma-0 pa-0 pl-8\",staticStyle:{\"text-align\":\"start\"},domProps:{\"textContent\":_vm._s('-')}})]}}:null],null,true)})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\n\r\n// Model\r\nimport { formatCurrency } from \"@/utility/Formatter.js\";\r\n\r\nexport default Vue.extend({\r\n data() {\r\n return {\r\n search: \"\",\r\n headers: [\r\n { text: this.$t(\"usersBalance.cashIn\"), value: \"cashIn\", sortable: false },\r\n { text: this.$t(\"usersBalance.cashOut\"), value: \"cashOut\", sortable: false },\r\n { text: this.$t(\"usersBalance.cashBalance\"), value: \"cashBalance\", sortable: false },\r\n { text: this.$t(\"usersBalance.manualDeposit\"), value: \"manualDeposit\", sortable: false },\r\n { text: this.$t(\"usersBalance.balance\"), value: \"balance\", sortable: false },\r\n ],\r\n };\r\n },\r\n props: {\r\n loading: { type: Boolean, default: false },\r\n usersBalanceReportEntries: { type: Array },\r\n isTotalsTable: { type: Boolean, default: false },\r\n analizedTransactionsCount: { type: Number },\r\n },\r\n computed: {\r\n computedHeaders() {\r\n let res = [];\r\n if (!this.isTotalsTable) {\r\n res.push({ text: this.$t(\"common.username\"), value: \"username\" });\r\n res.push({ text: this.$t(\"common.userId\"), value: \"userId\" });\r\n }\r\n this.headers.forEach((h) => {\r\n res.push(h);\r\n });\r\n if (!this.isTotalsTable) {\r\n res.push({ text: this.$t(\"usersBalance.kitWithdrawn\"), value: \"kitWithdrawn\" });\r\n res.push({ text: this.$t(\"usersBalance.endShiftDeposited\"), value: \"endShiftDeposited\" });\r\n }\r\n return res;\r\n },\r\n },\r\n methods: { formatCurrency },\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportTableCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportTableCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ReportTableCard.vue?vue&type=template&id=48301fd2&\"\nimport script from \"./ReportTableCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./ReportTableCard.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCard,VCardSubtitle,VCol,VDataTable,VSpacer,VTextField,VToolbar,VTooltip})\n","export class UsersBalanceReportTotals {\r\n public cashIn: { key: string; value: number }[] = [];\r\n public cashOut: { key: string; value: number }[] = [];\r\n public cashBalance: { key: string; value: number }[] = [];\r\n public manualDeposit: { key: string; value: number }[] = [];\r\n public balance: { key: string; value: number }[] = [];\r\n\r\n constructor() {}\r\n\r\n parse(obj: any) {\r\n for (let key in obj.CashIn) this.cashIn.push({ key: key, value: obj.CashIn[key] });\r\n for (let key in obj.CashOut) this.cashOut.push({ key: key, value: obj.CashOut[key] });\r\n for (let key in obj.CashBalance) this.cashBalance.push({ key: key, value: obj.CashBalance[key] });\r\n for (let key in obj.ManualDeposit) this.manualDeposit.push({ key: key, value: obj.ManualDeposit[key] });\r\n for (let key in obj.Balance) this.balance.push({ key: key, value: obj.Balance[key] });\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',[_c('v-spacer'),_c('v-col',{attrs:{\"cols\":!_vm.$vuetify.breakpoint.mdAndDown ? 2 : 0}}),_c('v-col',{attrs:{\"cols\":!_vm.$vuetify.breakpoint.mdAndDown ? 8 : 12}},[_c('ReportTableCard',{attrs:{\"usersBalanceReportEntries\":_vm.fakeUsersBalanceReportEntries,\"isTotalsTable\":true,\"loading\":_vm.loading}})],1),_c('v-col',{attrs:{\"cols\":!_vm.$vuetify.breakpoint.mdAndDown ? 2 : 0}}),_c('v-spacer')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\n\r\n// Components\r\nimport ReportTableCard from \"@/views/App/CashFlow/UsersBalance/ReportTableCard.vue\";\r\n\r\n// Model\r\nimport { UsersBalanceReportTotals } from \"@/model/data/usersBalance/UsersBalanceReportTotals\";\r\nimport { UsersBalanceReportEntry } from \"@/model/data/usersBalance/UsersBalanceReportEntry\";\r\n\r\nexport default Vue.extend({\r\n components: {\r\n ReportTableCard,\r\n },\r\n data() {\r\n return {};\r\n },\r\n props: {\r\n loading: { type: Boolean, default: false },\r\n usersBalanceReportTotals: { type: UsersBalanceReportTotals },\r\n },\r\n computed: {\r\n fakeUsersBalanceReportEntries() {\r\n var res: UsersBalanceReportEntry[] = [];\r\n var fakeEntry: UsersBalanceReportEntry = new UsersBalanceReportEntry();\r\n\r\n this.usersBalanceReportTotals.cashIn.forEach((item) => {\r\n fakeEntry.cashIn.push({ key: item.key, value: item.value });\r\n });\r\n this.usersBalanceReportTotals.cashOut.forEach((item) => {\r\n fakeEntry.cashOut.push({ key: item.key, value: item.value });\r\n });\r\n this.usersBalanceReportTotals.cashBalance.forEach((item) => {\r\n fakeEntry.cashBalance.push({ key: item.key, value: item.value });\r\n });\r\n this.usersBalanceReportTotals.manualDeposit.forEach((item) => {\r\n fakeEntry.manualDeposit.push({ key: item.key, value: item.value });\r\n });\r\n this.usersBalanceReportTotals.balance.forEach((item) => {\r\n fakeEntry.balance.push({ key: item.key, value: item.value });\r\n });\r\n\r\n res.push(fakeEntry);\r\n return res;\r\n },\r\n },\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TotalsCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TotalsCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TotalsCard.vue?vue&type=template&id=081a7702&\"\nimport script from \"./TotalsCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./TotalsCard.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VRow,VSpacer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{staticClass:\"my-sm-4\",attrs:{\"dense\":\"\"}},[(_vm.$vuetify.breakpoint.mdAndUp)?_c('v-col',{staticClass:\"pa-0 ma-0\",attrs:{\"cols\":\"auto\",\"align-self\":\"center\"}},[_c('v-card',{class:'mr-' + _vm.iconPadding + ' d-flex justify-center',attrs:{\"flat\":\"\",\"width\":_vm.iconWidth}},[(_vm.showPrependIcon)?_c('v-fa-icon',{attrs:{\"icon\":\"calendar-check\",\"large\":_vm.iconLarge,\"color\":_vm.iconColor}}):_vm._e()],1)],1):_vm._e(),_c('v-col',{staticClass:\"my-2\",attrs:{\"cols\":\"12\",\"sm\":\"\"}},[_c('v-row',{staticClass:\"mx-2\",attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"auto\"}},[(!_vm.$vuetify.breakpoint.smAndDown)?_c('v-card-subtitle',{staticClass:\"my-0 mr-3 pa-0 text-body-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"common.from\"))+\": \")]):_vm._e()],1),_c('v-col',{staticClass:\"pa-0 my-0\",attrs:{\"align-self\":\"center\"}},[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"transition\":\"fade-transition\",\"offset-y\":\"\",\"max-width\":290},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({staticClass:\"pa-0 ma-0\",attrs:{\"label\":_vm.$t('branchReport.selectStartDate'),\"append-icon\":\"far fa-calendar-check\",\"readonly\":\"\",\"hide-details\":\"\"},model:{value:(_vm.pickerStartDateFormatted),callback:function ($$v) {_vm.pickerStartDateFormatted=$$v},expression:\"pickerStartDateFormatted\"}},on))]}}])},[_c('v-date-picker',{staticClass:\"pa-0 ma-0\",attrs:{\"no-title\":\"\",\"allowed-dates\":function (v) { return new Date() > new Date(v) && new Date(v) <= new Date(_vm.pickerEndDate); }},model:{value:(_vm.pickerStartDate),callback:function ($$v) {_vm.pickerStartDate=$$v},expression:\"pickerStartDate\"}})],1)],1),(_vm.showHour)?_c('v-col',{staticClass:\"pa-0 my-0 ml-6\",attrs:{\"align-self\":\"center\"}},[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"transition\":\"fade-transition\",\"offset-y\":\"\",\"max-width\":290},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({staticClass:\"pa-0 ma-0\",attrs:{\"label\":_vm.$t('branchReport.startTime'),\"append-icon\":\"far fa-clock\",\"readonly\":\"\",\"hide-details\":\"\"},model:{value:(_vm.pickerStartTimeFormatted),callback:function ($$v) {_vm.pickerStartTimeFormatted=$$v},expression:\"pickerStartTimeFormatted\"}},on))]}}],null,false,863732081)},[_c('v-time-picker',{staticClass:\"pa-0 ma-0\",attrs:{\"max\":_vm.pickerStartDate == _vm.pickerEndDate ? _vm.pickerEndTime : null,\"format\":_vm.userTimeFormat.pickerFormat},model:{value:(_vm.pickerStartTime),callback:function ($$v) {_vm.pickerStartTime=$$v},expression:\"pickerStartTime\"}})],1)],1):_vm._e()],1)],1),_c('v-col',{staticClass:\"my-2\"},[_c('v-row',{staticClass:\"mx-2\",attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"auto\"}},[(!_vm.$vuetify.breakpoint.smAndDown)?_c('v-card-subtitle',{staticClass:\"my-0 mr-3 pa-0 text-body-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"common.to\"))+\": \")]):_vm._e()],1),_c('v-col',{staticClass:\"pa-0 my-0\",attrs:{\"align-self\":\"center\"}},[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"transition\":\"fade-transition\",\"offset-y\":\"\",\"max-width\":290},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({staticClass:\"pa-0 ma-0\",attrs:{\"label\":_vm.$t('branchReport.selectEndDate'),\"append-icon\":\"far fa-calendar-check\",\"readonly\":\"\",\"hide-details\":\"\"},model:{value:(_vm.pickerEndDateFormatted),callback:function ($$v) {_vm.pickerEndDateFormatted=$$v},expression:\"pickerEndDateFormatted\"}},on))]}}])},[_c('v-date-picker',{staticClass:\"pa-0 ma-0\",attrs:{\"no-title\":\"\",\"allowed-dates\":function (v) { return new Date() > new Date(v) && new Date(v) >= new Date(_vm.pickerStartDate); }},model:{value:(_vm.pickerEndDate),callback:function ($$v) {_vm.pickerEndDate=$$v},expression:\"pickerEndDate\"}})],1)],1),(_vm.showHour)?_c('v-col',{staticClass:\"py-0 pr-2 pl-0 my-0 ml-6\",attrs:{\"align-self\":\"center\"}},[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"transition\":\"fade-transition\",\"offset-y\":\"\",\"max-width\":290},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({staticClass:\"pa-0 ma-0\",attrs:{\"label\":_vm.$t('branchReport.endTime'),\"append-icon\":\"far fa-clock\",\"readonly\":\"\",\"hide-details\":\"\"},model:{value:(_vm.pickerEndTimeFormatted),callback:function ($$v) {_vm.pickerEndTimeFormatted=$$v},expression:\"pickerEndTimeFormatted\"}},on))]}}],null,false,1407110833)},[_c('v-time-picker',{staticClass:\"pa-0 ma-0\",attrs:{\"min\":_vm.pickerStartDate == _vm.pickerEndDate ? _vm.pickerStartTime : null,\"format\":_vm.userTimeFormat.pickerFormat},model:{value:(_vm.pickerEndTime),callback:function ($$v) {_vm.pickerEndTime=$$v},expression:\"pickerEndTime\"}})],1)],1):_vm._e()],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport moment from \"moment\";\r\nimport { mapGetters } from \"vuex\";\r\n\r\nexport default Vue.extend({\r\n props: {\r\n filters: {},\r\n iconColor: String,\r\n iconWidth: Number,\r\n iconLarge: Boolean,\r\n iconPadding: Number,\r\n showHour: Boolean,\r\n showPrependIcon: { default: true },\r\n },\r\n computed: {\r\n ...mapGetters([\"userDateFormat\", \"userTimeFormat\"]),\r\n pickerStartDateFormatted() {\r\n if (this.pickerStartDate == null || this.pickerStartDate == undefined) return this.pickerStartDate;\r\n return moment(this.pickerStartDate).format(this.userDateFormat);\r\n },\r\n pickerEndDateFormatted() {\r\n if (this.pickerEndDate == null || this.pickerEndDate == undefined) return this.pickerEndDate;\r\n return moment(this.pickerEndDate).format(this.userDateFormat);\r\n },\r\n pickerStartTimeFormatted() {\r\n if (this.pickerStartTime == null || this.pickerStartTime == undefined) return this.pickerStartTime;\r\n return moment(this.pickerStartTime, \"HH:mm\").format(this.userTimeFormat.timeFormat);\r\n },\r\n pickerEndTimeFormatted() {\r\n if (this.pickerEndTime == null || this.pickerEndTime == undefined) return this.pickerEndTime;\r\n return moment(this.pickerEndTime, \"HH:mm\").format(this.userTimeFormat.timeFormat);\r\n },\r\n pickerStartDate: {\r\n get() {\r\n return moment(this.filters.startDate).format(\"YYYY-MM-DD\");\r\n },\r\n set(newValue: string) {\r\n let receivedNewDate = moment(newValue);\r\n\r\n let newDate = moment(this.filters.startDate);\r\n newDate.year(receivedNewDate.year());\r\n newDate.month(receivedNewDate.month());\r\n newDate.date(receivedNewDate.date());\r\n\r\n this.filters.startDate = newDate.toDate();\r\n this.$emit(\"input\", this.filters);\r\n },\r\n },\r\n\r\n pickerStartTime: {\r\n get() {\r\n return moment(this.filters.startDate).format(\"HH:mm\");\r\n },\r\n set(newValue: string) {\r\n let newStartDate = moment(this.filters.startDate);\r\n newStartDate.hours(Number(newValue.split(\":\")[0]));\r\n newStartDate.minutes(Number(newValue.split(\":\")[1]));\r\n\r\n this.filters.startDate = newStartDate.toDate();\r\n },\r\n },\r\n\r\n pickerEndDate: {\r\n get() {\r\n return moment(this.filters.endDate).format(\"YYYY-MM-DD\");\r\n },\r\n set(newValue: string) {\r\n let receivedNewDate = moment(newValue);\r\n\r\n let newDate = moment(this.filters.endDate);\r\n newDate.year(receivedNewDate.year());\r\n newDate.month(receivedNewDate.month());\r\n newDate.date(receivedNewDate.date());\r\n\r\n this.filters.endDate = newDate.toDate();\r\n\r\n this.$emit(\"input\", this.filters);\r\n },\r\n },\r\n\r\n pickerEndTime: {\r\n get() {\r\n return moment(this.filters.endDate).format(\"HH:mm\");\r\n },\r\n set(newValue: string) {\r\n let newDate = moment(this.filters.endDate);\r\n newDate.hours(Number(newValue.split(\":\")[0]));\r\n newDate.minutes(Number(newValue.split(\":\")[1]));\r\n\r\n this.filters.endDate = newDate.toDate();\r\n\r\n this.$emit(\"input\", this.filters);\r\n },\r\n },\r\n },\r\n});\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateTimeRangePicker.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateTimeRangePicker.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DateTimeRangePicker.vue?vue&type=template&id=34bc9c57&\"\nimport script from \"./DateTimeRangePicker.vue?vue&type=script&lang=ts&\"\nexport * from \"./DateTimeRangePicker.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTimePicker } from 'vuetify/lib/components/VTimePicker';\ninstallComponents(component, {VCard,VCardSubtitle,VCol,VDatePicker,VMenu,VRow,VTextField,VTimePicker})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('app-page',{attrs:{\"pageTitle\":_vm.$t(_vm.menuEntry.name_i18n),\"icon\":_vm.menuEntry.icon,\"color\":_vm.menuEntry.color}},[_c('FiltersCard',{attrs:{\"availableGroups\":_vm.availableGroups,\"showGroupsFilter\":true,\"availableShiftNumbers\":_vm.availableShiftNumbers,\"showShiftNumbersFilter\":true,\"loading\":_vm.loading},on:{\"submit\":function($event){return _vm.GetUsersBalance()}},model:{value:(_vm.filters),callback:function ($$v) {_vm.filters=$$v},expression:\"filters\"}}),(_vm.usersBalanceReportTotals != null)?_c('TotalsCard',{attrs:{\"usersBalanceReportTotals\":_vm.usersBalanceReportTotals,\"loading\":_vm.loading}}):_vm._e(),(_vm.usersBalanceReportEntries != null && _vm.usersBalanceReportEntries.length > 0)?_c('ReportTableCard',{attrs:{\"usersBalanceReportEntries\":_vm.usersBalanceReportEntries,\"loading\":_vm.loading,\"analizedTransactionsCount\":_vm.analizedTransactionsCount},on:{\"download\":function($event){return _vm.onDownload($event)}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { AxiosResponse } from \"axios\";\r\nimport { ServiceResponseData } from \"../ServiceResponseData\";\r\nimport { UsersBalanceReportEntry } from \"@/model/data/usersBalance/UsersBalanceReportEntry\";\r\nimport { UsersBalanceReportTotals } from \"@/model/data/usersBalance/UsersBalanceReportTotals\";\r\n\r\nexport class GetUsersBalanceReportResData extends ServiceResponseData {\r\n availableGroups: CaosGroup[] = [];\r\n availableShiftNumbers: string[] = [];\r\n usersBalanceReportEntries: UsersBalanceReportEntry[] = [];\r\n usersBalanceReportTotals: UsersBalanceReportTotals;\r\n analizedTransactionsCount: number = 0;\r\n\r\n constructor(response: AxiosResponse) {\r\n super(response);\r\n if (response.data && response.data.Payload) {\r\n this.parse(response.data.Payload);\r\n }\r\n }\r\n\r\n public parse(obj: any) {\r\n if (obj.AvailableGroups && obj.AvailableGroups.length > 0) {\r\n this.availableGroups = [];\r\n obj.AvailableGroups.forEach((group) => {\r\n var g = new CaosGroup();\r\n g.parse(group);\r\n this.availableGroups.push(g);\r\n });\r\n }\r\n\r\n if (obj.AvailableShiftNumbers && obj.AvailableShiftNumbers.length > 0) {\r\n this.availableShiftNumbers = [];\r\n obj.AvailableShiftNumbers.forEach((shift) => {\r\n this.availableShiftNumbers.push(shift);\r\n });\r\n }\r\n\r\n if (obj.UsersBalanceReportEntries && obj.UsersBalanceReportEntries.length > 0) {\r\n this.usersBalanceReportEntries = [];\r\n obj.UsersBalanceReportEntries.forEach((obj) => {\r\n var temp = new UsersBalanceReportEntry();\r\n temp.parse(obj);\r\n this.usersBalanceReportEntries.push(temp);\r\n });\r\n }\r\n\r\n if (obj.UsersBalanceReportTotals) {\r\n var temp = new UsersBalanceReportTotals();\r\n temp.parse(obj.UsersBalanceReportTotals);\r\n this.usersBalanceReportTotals = temp;\r\n }\r\n\r\n if (obj.AnalizedTransactionsCount != null) this.analizedTransactionsCount = obj.AnalizedTransactionsCount;\r\n }\r\n}\r\n\r\nexport class CaosGroup {\r\n id: number;\r\n name: string;\r\n\r\n parse(obj: any) {\r\n if (obj.Id != null) this.id = obj.Id;\r\n if (obj.Name != null) this.name = obj.Name;\r\n }\r\n}\r\n","import { Command, HttpVerbType, API_PREFIX, API_VERSION } from \"../Command\";\r\nimport { GetUsersBalanceReportReqData } from \"./GetUsersBalanceReportReqData\";\r\nimport { GetUsersBalanceReportResData } from \"./GetUsersBalanceReportResData\";\r\n\r\nconst ENDPOINT = \"/cash_flow/users_balance\";\r\n\r\nexport class GetUsersBalanceReportCommand extends Command {\r\n endPoint: string = API_PREFIX + API_VERSION + ENDPOINT;\r\n httpVerb: HttpVerbType = \"post\";\r\n\r\n params: GetUsersBalanceReportReqData = null;\r\n\r\n constructor(reqData: GetUsersBalanceReportReqData) {\r\n super();\r\n this.params = reqData;\r\n }\r\n\r\n public async execute(): Promise {\r\n var res = await this.executeCommand(this.params);\r\n return new GetUsersBalanceReportResData(res);\r\n }\r\n}\r\n","import { AxiosResponse } from \"axios\";\r\nimport { API_PREFIX, API_VERSION, Command, HttpVerbType } from \"../Command\";\r\nimport { GetUsersBalanceReportReqData } from \"./GetUsersBalanceReportReqData\";\r\n\r\nconst ENDPOINT = \"/cash_flow/users_balance\";\r\n\r\nexport class ExportUsersBalanceCommand extends Command {\r\n endPoint: string = API_PREFIX + API_VERSION + ENDPOINT;\r\n httpVerb: HttpVerbType = \"post\";\r\n params: any = null;\r\n\r\n constructor(params: GetUsersBalanceReportReqData, exportType: string) {\r\n super();\r\n this.params = { exportType, ...params };\r\n this.responseType = \"text\";\r\n this.endPoint = this.endPoint + \"/\" + exportType;\r\n }\r\n\r\n public async execute(): Promise {\r\n return await this.executeCommand(this.params);\r\n }\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\n\r\n// Components\r\nimport FiltersCard from \"@/views/App/CashFlow/UsersBalance/FiltersCard.vue\";\r\nimport ReportTableCard from \"@/views/App/CashFlow/UsersBalance/ReportTableCard.vue\";\r\nimport TotalsCard from \"@/views/App/CashFlow/UsersBalance/TotalsCard.vue\";\r\n\r\n// Model\r\nimport menu from \"@/store/modules/ApplicationModule/data/menu\";\r\nimport { GetUsersBalanceReportReqData } from \"@/model/communication/usersBalance/GetUsersBalanceReportReqData\";\r\nimport { ApiResponseStatusEnum } from \"@/model/communication/ApiResponseStatusEnum\";\r\nimport { GetUsersBalanceReportResData } from \"@/model/communication/usersBalance/GetUsersBalanceReportResData\";\r\nimport { GetUsersBalanceReportCommand } from \"@/model/communication/usersBalance/GetUsersBalanceReportCommand\";\r\nimport { ExportUsersBalanceCommand } from \"@/model/communication/usersBalance/ExportUsersBalanceCommand\";\r\n\r\nexport default Vue.extend({\r\n components: {\r\n FiltersCard,\r\n ReportTableCard,\r\n TotalsCard,\r\n },\r\n data() {\r\n return {\r\n filters: null,\r\n availableGroups: [],\r\n availableShiftNumbers: [],\r\n usersBalanceReportEntries: [],\r\n usersBalanceReportTotals: null,\r\n loading: false,\r\n analizedTransactionsCount: -1,\r\n };\r\n },\r\n computed: {\r\n menuEntry() {\r\n return menu.find((m) => m.name == \"Cash Flow\").children.find((c) => c.name == \"Users Balance\");\r\n },\r\n },\r\n methods: {\r\n async GetUsersBalance() {\r\n try {\r\n if (!this.loading) {\r\n this.loading = true;\r\n let res: GetUsersBalanceReportResData = await new GetUsersBalanceReportCommand((this.filters as GetUsersBalanceReportReqData).GetReqDataPayload()).execute();\r\n\r\n if (res.responseStatus == ApiResponseStatusEnum.Success) {\r\n this.availableGroups = res.availableGroups;\r\n this.availableShiftNumbers = res.availableShiftNumbers;\r\n this.usersBalanceReportEntries = res.usersBalanceReportEntries;\r\n this.usersBalanceReportTotals = res.usersBalanceReportTotals;\r\n this.analizedTransactionsCount = res.analizedTransactionsCount;\r\n }\r\n this.loading = false;\r\n }\r\n } catch (error) {\r\n console.error(\"GetUsersBalance(): \", error);\r\n this.loading = false;\r\n }\r\n },\r\n\r\n async onDownload(exportType) {\r\n console.log(\"Download required, exportType: \", exportType);\r\n try {\r\n if (!this.loading) {\r\n this.loading = true;\r\n const res = await new ExportUsersBalanceCommand((this.filters as GetUsersBalanceReportReqData).GetReqDataPayload(), exportType).execute();\r\n\r\n let fileURL = window.URL.createObjectURL(new Blob([res.data]));\r\n let fileLink = document.createElement(\"a\");\r\n fileLink.href = fileURL;\r\n fileLink.setAttribute(\"download\", res.headers[\"content-disposition\"].substring(\"attachment; filename=\".length));\r\n document.body.appendChild(fileLink);\r\n fileLink.click();\r\n this.loading = false;\r\n }\r\n } catch (e) {\r\n console.log(\"Something went wrong during ExportUsersBalanceCommand execution: \", e);\r\n this.loading = false;\r\n }\r\n },\r\n },\r\n mounted() {\r\n this.filters = new GetUsersBalanceReportReqData();\r\n },\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=7407b176&\"\nimport script from \"./index.vue?vue&type=script&lang=ts&\"\nexport * from \"./index.vue?vue&type=script&lang=ts&\"\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","export class UsersBalanceReportEntry {\r\n public username: string;\r\n public userId: string;\r\n public cashIn: { key: string; value: number }[] = [];\r\n public cashOut: { key: string; value: number }[] = [];\r\n public cashBalance: { key: string; value: number }[] = [];\r\n public manualDeposit: { key: string; value: number }[] = [];\r\n public balance: { key: string; value: number }[] = [];\r\n public kitWithdrawn: boolean;\r\n public endShiftDeposited: boolean;\r\n\r\n constructor() {}\r\n\r\n parse(obj: any) {\r\n this.username = obj.Username;\r\n this.userId = obj.UserId;\r\n\r\n for (let key in obj.CashIn) this.cashIn.push({ key: key, value: obj.CashIn[key] });\r\n for (let key in obj.CashOut) this.cashOut.push({ key: key, value: obj.CashOut[key] });\r\n for (let key in obj.CashBalance) this.cashBalance.push({ key: key, value: obj.CashBalance[key] });\r\n for (let key in obj.ManualDeposit) this.manualDeposit.push({ key: key, value: obj.ManualDeposit[key] });\r\n for (let key in obj.Balance) this.balance.push({ key: key, value: obj.Balance[key] });\r\n\r\n this.kitWithdrawn = obj.KitWithdrawn;\r\n this.endShiftDeposited = obj.EndShiftDeposited;\r\n }\r\n}\r\n"],"sourceRoot":""}