{"version":3,"sources":["webpack:///./src/view/pages/admin/users/comp/usercomp/payments.vue?da77","webpack:///src/view/pages/admin/users/comp/usercomp/payments.vue","webpack:///./src/view/pages/admin/users/comp/usercomp/payments.vue?d889","webpack:///./src/view/pages/admin/users/comp/usercomp/payments.vue","webpack:///../../../src/components/VItemGroup/VItem.ts","webpack:///../../../src/components/VSlideGroup/VSlideItem.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","style","$root","mobile","attrs","_v","_s","$t","totalpaid","totalrecevied","_l","item","i","key","id","method","icon","staticStyle","class","status","udid","name","created_on","appointment","length","type","username","doctor","doctor_id","_e","amount","payments","staticRenderFns","components","props","data","doedit","beforeMount","activated","loadPayments","deactivated","mounted","methods","computed","forEach","total","parseInt","slip","component","VBtn","VDivider","VIcon","VList","VListItem","VListItemAction","VListItemAvatar","VListItemContent","VListItemSubtitle","VListItemTitle","VProgressCircular","VRow","VSlideGroup","VSlideItem","VSpacer","BaseItem","activeClass","value","required","isActive","toggle","$scopedSlots","element","default","active","Array","_b","console","mixins"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAY,SAAEI,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,gBAAgB,CAACE,YAAY,eAAeC,MAAOP,EAAIQ,MAAMC,OAAS,mBAAqB,IAAK,CAACL,EAAG,eAAe,CAACA,EAAG,MAAM,CAACE,YAAY,4KAA4KC,MAAOP,EAAIQ,MAAMC,OAAS,+BAAiC,mBAAoB,CAACL,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,SAAS,CAACE,YAAY,QAAQI,MAAM,CAAC,KAAO,eAAe,KAAO,UAAU,OAAS,QAAQN,EAAG,OAAO,CAACJ,EAAIW,GAAGX,EAAIY,GAAGZ,EAAIa,GAAG,8BAA8B,GAAGT,EAAG,YAAYA,EAAG,OAAO,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,OAAkBC,eAAA,OAAeC,oBAAA,KAAkBC,OAAA,KAAKC,cAAA,KAAYC,aAAA,KAAWC,UAAA,Q,oGCzBrLC,EAAW,oBAAW,CACjC9B,MAAO,CACL+B,YADK,OAELC,MAAO,CACLC,UAAU,IAIdhC,KAAM,iBAAO,CACXiC,UAAU,IAGZ1B,QAAS,CACP2B,OADO,WAEL1E,KAAA,UAAiBA,KAAjB,WAIJF,OAlBiC,WAmB/B,OAAKE,KAAK2E,aAAV,SASI3E,KAAK2E,aAAT,UACEC,EAAU5E,KAAK2E,aAAaE,QAAQ,CAClCC,OAAQ9E,KAD0B,SAElC0E,OAAQ1E,KAAK0E,UAIbK,MAAA,YAAJ,IAA8BH,EAAA,SAC5BA,EAAUA,EAAV,IAGGA,IAAWG,MAAA,QAAZ,IAAuCH,EAA3C,KAMAA,EAAA,KAAe5E,KAAKgF,GAAGJ,EAAA,MAAR,GAA4BA,EAA5B,IAA0C,CACvDrD,MAAO,kBAAGvB,KAAD,YAAoBA,KAAKyE,YAGpC,IATE,OAAAQ,EAAA,MAAY,8CAAZ,MAEA,KAtBA,OAAAA,EAAA,MAAY,yCAAZ,MAEA,MAGF,SA4BW,OAAAC,EAAA,MAAO,EAEpB,eAAiB,YAAa,SAFjB,wBAGN,CACPxD,KAAM,WC9DO,cAAAwD,EAAA,MAAO,EAEpB,eAAiB,eAFJ,OAIN,CACPxD,KAAM","file":"js/chunk-271844d4.218f7018.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.payments)?_c('div',{staticClass:\"px-4\"},[_c('v-slide-group',{staticClass:\"p-0 m-0 pt-3\",style:(_vm.$root.mobile ? 'min-width: 96vw;' : '')},[_c('v-slide-item',[_c('div',{staticClass:\"\\n userprofile_box\\n white--text\\n listitem\\n p-4\\n py-4\\n primary\\n lighten-1\\n pushxl\\n \",style:(_vm.$root.mobile ? 'width: 55vw;min-width: 55vw;' : 'min-width:270px')},[_c('div',{staticClass:\"inner pushxl\"},[_c('unicon',{staticClass:\"pushx\",attrs:{\"name\":\"pound-circle\",\"fill\":\"#FFFFFF\",\"height\":\"20\"}}),_c('span',[_vm._v(_vm._s(_vm.$t(\"PROFILE.payment.total\")))])],1),_c('v-spacer'),_c('span',{staticClass:\"font-weight-black text-h5\"},[_vm._v(\"£\"+_vm._s(_vm.totalpaid))])],1)]),_c('v-slide-item',[_c('div',{staticClass:\"\\n userprofile_box\\n white--text\\n listitem\\n p-4\\n py-4\\n teal\\n lighten-1\\n pushxl\\n \",style:(_vm.$root.mobile ? 'width: 55vw;min-width: 55vw;' : 'min-width:270px')},[_c('div',{staticClass:\"inner pushxl\"},[_c('unicon',{staticClass:\"pushx\",attrs:{\"name\":\"check-circle\",\"fill\":\"#FFFFFF\",\"height\":\"20\"}}),_c('span',[_vm._v(_vm._s(_vm.$t(\"PROFILE.payment.received\")))])],1),_c('v-spacer'),_c('span',{staticClass:\"font-weight-black text-h5\"},[_vm._v(\"£\"+_vm._s(_vm.totalrecevied))])],1)]),_c('v-slide-item',[_c('div',{staticClass:\"\\n userprofile_box\\n white--text\\n listitem\\n p-4\\n py-4\\n amber\\n lighten-1\\n pushxl\\n \",style:(_vm.$root.mobile ? 'width: 55vw;min-width: 55vw;' : 'min-width:270px')},[_c('div',{staticClass:\"inner pushxl\"},[_c('unicon',{staticClass:\"pushx\",attrs:{\"name\":\"exclamation-circle\",\"fill\":\"#FFFFFF\",\"height\":\"20\"}}),_c('span',[_vm._v(_vm._s(_vm.$t(\"PROFILE.payment.pending\")))])],1),_c('v-spacer'),_c('span',{staticClass:\"font-weight-black text-h5\"},[_vm._v(\"£\"+_vm._s(_vm.totalpaid - _vm.totalrecevied))])],1)])],1),_c('v-list',[_vm._l((_vm.payments),function(item,i){return [_c('v-list-item',{key:item.id,staticClass:\"listitem mb-2\"},[_c('v-list-item-avatar',{attrs:{\"color\":\"rgba(165, 203, 239, 0.20)\"}},[_c('v-icon',{attrs:{\"size\":\"20\",\"color\":\"primary\"}},[_vm._v(_vm._s(item.method.icon))])],1),_c('v-list-item-content',[_c('v-list-item-title',{staticStyle:{\"font-weight\":\"500\",\"font-size\":\"1.1rem\",\"display\":\"flex\",\"align-items\":\"center\"}},[_c('div',{staticClass:\"white--text darken-3 text-center p-1 px-3 rounded pushx\",class:item.status == 'pending' ? 'yellow' : 'teal',staticStyle:{\"width\":\"fit-content\",\"font-size\":\"0.7rem\"}},[_vm._v(\" \"+_vm._s(item.status)+\" \")]),_c('div',{},[_c('span',{staticClass:\"text-primary text-weight-bold\"},[_vm._v(\"#\"+_vm._s(item.udid))]),_vm._v(\" \"+_vm._s(_vm.$t(\"PROFILE.payment.via\"))+\" \"+_vm._s(item.method.name)+\" \")])]),_c('v-list-item-subtitle',{staticClass:\"py-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"PROFILE.payment.on\"))+\" \"+_vm._s(item.created_on)+\" \")]),(item.appointment.length > 0)?_c('v-list-item-subtitle',[(item.appointment[0].type === 'video')?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"PROFILE.payment.forvide\", { username: (\"Dr \" + (item.appointment[0].doctor.doctor_id.first_name) + \" \" + (item.appointment[0].doctor.doctor_id.last_name)) }))+\" \")]):(item.appointment[0].type === 'clinic')?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"PROFILE.payment.forclinic\", { username: (\"Dr \" + (item.appointment[0].doctor.doctor_id.first_name) + \" \" + (item.appointment[0].doctor.doctor_id.last_name)) }))+\" \")]):_vm._e()]):_vm._e()],1),_c('v-list-item-action',[_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\",\"align-items\":\"flex-end\"}},[_c('span',{staticClass:\"font-weight-bold\",staticStyle:{\"font-size\":\"2.1rem\"}},[_vm._v(\"£\"+_vm._s(item.amount))])]),(false)?_c('v-btn',{attrs:{\"small\":\"\",\"fab\":\"\",\"elevation\":\"0\",\"color\":\"rgba(239, 165, 179, 0.25)\"}},[_c('unicon',{staticStyle:{\"margin-right\":\"auto\",\"margin-left\":\"auto\"},attrs:{\"name\":\"trash-alt\",\"fill\":\"#f64e60\",\"height\":\"20\"}})],1):_vm._e()],1)],1),(i < _vm.payments.length - 1 && false)?_c('v-divider',{key:'d' + i,staticClass:\"p-0 m-0\",staticStyle:{\"color\":\"rgb(247 247 247)\"}}):_vm._e()]})],2)],1):_c('v-row',{staticStyle:{\"height\":\"10vh\"},attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-progress-circular',{attrs:{\"color\":\"primary\",\"indeterminate\":\"\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n {{ $t(\"PROFILE.payment.total\") }}\n \n £{{ totalpaid }}\n \n \n \n \n \n {{ $t(\"PROFILE.payment.received\") }}\n \n £{{ totalrecevied }}\n \n \n \n \n \n {{ $t(\"PROFILE.payment.pending\") }}\n \n £{{ totalpaid - totalrecevied }}\n \n \n \n\n \n \n \n \n {{ item.method.icon }}\n \n \n \n \n {{ item.status }}\n \n \n #{{ item.udid }}\n {{ $t(\"PROFILE.payment.via\") }} {{ item.method.name }}\n \n \n \n {{ $t(\"PROFILE.payment.on\") }} {{ item.created_on }}\n \n 0\">\n \n {{\n $t(\"PROFILE.payment.forvide\", {\n username: `Dr ${item.appointment[0].doctor.doctor_id.first_name} ${item.appointment[0].doctor.doctor_id.last_name}`\n })\n }}\n \n \n {{\n $t(\"PROFILE.payment.forclinic\", {\n username: `Dr ${item.appointment[0].doctor.doctor_id.first_name} ${item.appointment[0].doctor.doctor_id.last_name}`\n })\n }}\n \n \n \n \n \n £{{ item.amount }}\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./payments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./payments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./payments.vue?vue&type=template&id=89d28bca&\"\nimport script from \"./payments.vue?vue&type=script&lang=js&\"\nexport * from \"./payments.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSlideGroup } from 'vuetify/lib/components/VSlideGroup';\nimport { VSlideItem } from 'vuetify/lib/components/VSlideGroup';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VDivider,VIcon,VList,VListItem,VListItemAction,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle,VProgressCircular,VRow,VSlideGroup,VSlideItem,VSpacer})\n","// Mixins\nimport { factory as GroupableFactory } from '../../mixins/groupable'\n\n// Utilities\nimport mixins from '../../util/mixins'\nimport { consoleWarn } from '../../util/console'\n\n// Types\nimport Vue from 'vue'\nimport { VNode, ScopedSlotChildren } from 'vue/types/vnode'\n\n/* @vue/component */\nexport const BaseItem = Vue.extend({\n props: {\n activeClass: String,\n value: {\n required: false,\n },\n },\n\n data: () => ({\n isActive: false,\n }),\n\n methods: {\n toggle () {\n this.isActive = !this.isActive\n },\n },\n\n render (): VNode {\n if (!this.$scopedSlots.default) {\n consoleWarn('v-item is missing a default scopedSlot', this)\n\n return null as any\n }\n\n let element: VNode | ScopedSlotChildren\n\n /* istanbul ignore else */\n if (this.$scopedSlots.default) {\n element = this.$scopedSlots.default({\n active: this.isActive,\n toggle: this.toggle,\n })\n }\n\n if (Array.isArray(element) && element.length === 1) {\n element = element[0]\n }\n\n if (!element || Array.isArray(element) || !element.tag) {\n consoleWarn('v-item should only contain a single element', this)\n\n return element as any\n }\n\n element.data = this._b(element.data || {}, element.tag!, {\n class: { [this.activeClass]: this.isActive },\n })\n\n return element\n },\n})\n\nexport default mixins(\n BaseItem,\n GroupableFactory('itemGroup', 'v-item', 'v-item-group')\n).extend({\n name: 'v-item',\n})\n","// Extensions\nimport { BaseItem } from '../VItemGroup/VItem'\n\n// Mixins\nimport { factory as GroupableFactory } from '../../mixins/groupable'\nimport mixins from '../../util/mixins'\n\nexport default mixins(\n BaseItem,\n GroupableFactory('slideGroup')\n /* @vue/component */\n).extend({\n name: 'v-slide-item',\n})\n"],"sourceRoot":""}