%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/client/
Upload File :
Create Path :
Current File : //home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/client/0258da0.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[70,13],{406:function(t,e,l){"use strict";l.r(e);var n={props:{client:Object}},r=l(10),component=Object(r.a)(n,(function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"relative p-6 mb-1 bg-gray grid grid-cols-1 sm:grid-cols-4 md:grid-cols-6 gap-6"},[l("div",{staticClass:"relative flex justify-center sm:block sm:col-span-1"},[l("div",{staticClass:"relative w-48 sm:w-full"},[l("NuxtLink",{staticClass:"block absolute z-20 top-0 left-0 w-full h-full",attrs:{to:"/therapist/clients/"+t.client.id}}),t._v(" "),l("div",{staticClass:"absolute top-0 left-0 w-full h-full border-4 border-opacity-50 border-yellow"}),t._v(" "),l("img",{attrs:{src:t.client.photo_url,alt:t.client.full_name}})],1)]),t._v(" "),l("div",{staticClass:"sm:col-span-3 md:col-span-5 grid grid-cols-1 sm:grid-cols-3 py-2"},[l("div",{staticClass:"sm:col-span-2 flex flex-col items-center sm:items-start justify-center"},[l("h2",{staticClass:"text-xl font-bold mb-2"},[t._v(t._s(t.client.full_name))]),t._v(" "),t.client.next_booking?l("small",{staticClass:"uppercase text-sm text-black text-opacity-80"},["Tomorrow at"==t.client.next_booking.date?l("span",[t._v("Next: "+t._s(t.client.next_booking.date+" "+t.client.next_booking.time))]):l("span",[t._v("Next: "+t._s(t.client.next_booking.date))])]):t._e()]),t._v(" "),l("div",{staticClass:"flex justify-center sm:justify-start items-center"},[t.client.is_new?l("span",{staticClass:"absolute top-0 right-0 bg-black text-white text-sm leading-3 px-3 py-2"},[t._v("New")]):t._e(),t._v(" "),t.client.email?l("a",{staticClass:"w-10 h-8 mr-10 bg-no-repeat bg-center bg-contain icon-envelope",attrs:{href:"mailto:"+t.client.email,target:"_blank"}}):t._e(),t._v(" "),t.client.phone?l("a",{staticClass:"w-8 h-8 bg-no-repeat bg-center bg-contain icon-phone",attrs:{href:"tel:"+t.client.phone}}):t._e()])])])}),[],!1,null,null,null);e.default=component.exports},481:function(t,e,l){"use strict";l.r(e);var n=l(0),r=(l(3),{middleware:["auth","therapist"],head:function(){return{titleTemplate:"Account | %s"}},computed:{user:function(){return this.$auth.user},statistics:function(){return this.$store.state.therapist.dashboard.statistics},progress:function(){return this.$store.state.therapist.dashboard.progress},bookings:function(){return this.$store.state.therapist.dashboard.bookings},clients:function(){return this.$store.state.therapist.dashboard.clients}},asyncData:function(t){return Object(n.a)(regeneratorRuntime.mark((function e(){var l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=t.store,e.next=3,l.dispatch("therapist/dashboard/get");case 3:case"end":return e.stop()}}),e)})))()}}),o=l(10),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"page-wrapper"},[l("div",{staticClass:"mb-8"},[l("section",{staticClass:"p-4 md:p-8 py-6 md:py-12 bg-blue-light text-center text-white"},[l("h1",{staticClass:"text-2xl md:text-4xl lg:text-5xl font-bold mb-8 md:mb-16"},[t._v("Welcome back, "+t._s(t.user.data.first_name))]),t._v(" "),l("div",{staticClass:"grid grid-cols-1 sm:grid-cols-3 gap-y-2 gap-x-6 mb-16"},[l("div",{staticClass:"text-center"},[l("span",{staticClass:"block mb-3 text-black text-5xl md:text-7xl font-bold"},[t._v(t._s(t.statistics.bookings_count))]),t._v(" "),t._m(0)]),t._v(" "),l("div",{staticClass:"text-center"},[l("span",{staticClass:"block mb-3 text-black text-5xl md:text-7xl font-bold"},[t._v(t._s(t.statistics.clients_count))]),t._v(" "),t._m(1)]),t._v(" "),l("div",{staticClass:"text-center"},[l("span",{staticClass:"block mb-3 text-black text-5xl md:text-7xl font-bold"},[t._v(t._s(t.statistics.average_bookings))]),t._v(" "),t._m(2)])]),t._v(" "),l("div",{staticClass:"flex items-center justify-center"},[l("NuxtLink",{staticClass:"btn btn-primary rounded-full",attrs:{to:"/account/availability"}},[t._v("View/Manage Availability")])],1)])]),t._v(" "),l("div",{staticClass:"grid grid-cols-1 md:grid-cols-3 gap-8 px-6 lg:px-0"},[l("div",{staticClass:"md:col-span-2"},[l("section",{staticClass:"mb-8"},[l("header",{staticClass:"mb-1 p-4 md:p-8 bg-blue-light flex justify-between"},[l("h2",{staticClass:"text-2xl md:text-4xl font-bold"},[t._v("New Clients")]),t._v(" "),l("NuxtLink",{staticClass:"uppercase font-medium text-sm hover:text-white transition",attrs:{to:"/therapist/clients"}},[t._v("View All Clients")])],1),t._v(" "),t.clients.length>0?l("div",t._l(t.clients,(function(t,e){return l("Client",{key:e,attrs:{client:t}})})),1):l("div",{staticClass:"py-16 w-full bg-gray text-center"},[l("span",{staticClass:"font-bold text-2xl"},[t._v("You have no new clients")])])]),t._v(" "),t.progress?l("section",{staticClass:"mb-0"},[l("header",{staticClass:"p-4 mb-1 md:p-8 bg-blue-light flex justify-between"},[l("h2",{staticClass:"text-2xl md:text-4xl font-bold"},[t._v("Account Management")]),t._v(" "),l("span",{staticClass:"flex items-center text-md leading-3 font-bold"},[t._v(t._s(t.progress.total_progress)+"% "),l("small",{staticClass:"ml-2 text-xs uppercase font-medium"},[t._v("Complete")])])]),t._v(" "),l("div",{staticClass:"relative bg-gray grid grid-cols-4 px-6 py-5 mb-1"},[l("NuxtLink",{staticClass:"absolute top-0 left-0 w-full h-full",attrs:{to:"/account"}}),t._v(" "),t._m(3),t._v(" "),t._m(4),t._v(" "),l("div",{staticClass:"col-span-1 flex items-center justify-end"},[l("span",[t._v(t._s(t.progress.profile)+"%")]),t._v(" "),l("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[l("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"}})])])],1),t._v(" "),l("div",{staticClass:"relative bg-gray grid grid-cols-4 px-6 py-5 mb-1"},[l("NuxtLink",{staticClass:"absolute top-0 left-0 w-full h-full",attrs:{to:"/account/availability"}}),t._v(" "),t._m(5),t._v(" "),t._m(6),t._v(" "),l("div",{staticClass:"col-span-1 flex items-center justify-end"},[l("span",[t._v(t._s(t.progress.availability)+"%")]),t._v(" "),l("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[l("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"}})])])],1),t._v(" "),l("div",{staticClass:"relative bg-gray grid grid-cols-4 px-6 py-5 mb-1"},[l("NuxtLink",{staticClass:"absolute top-0 left-0 w-full h-full",attrs:{to:"/account/verification"}}),t._v(" "),t._m(7),t._v(" "),t._m(8),t._v(" "),l("div",{staticClass:"col-span-1 flex items-center justify-end"},[l("span",[t._v(t._s(t.progress.verification)+"%")]),t._v(" "),l("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[l("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"}})])])],1),t._v(" "),l("div",{staticClass:"relative bg-gray grid grid-cols-4 px-6 py-5 mb-1"},[l("NuxtLink",{staticClass:"absolute top-0 left-0 w-full h-full",attrs:{to:"/account/financial"}}),t._v(" "),t._m(9),t._v(" "),t._m(10),t._v(" "),l("div",{staticClass:"col-span-1 flex items-center justify-end"},[l("span",[t._v(t._s(t.progress.financial)+"%")]),t._v(" "),l("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[l("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"}})])])],1),t._v(" "),l("div",{staticClass:"relative bg-gray grid grid-cols-4 px-6 py-5 mb-1"},[l("NuxtLink",{staticClass:"absolute top-0 left-0 w-full h-full",attrs:{to:"/account/settings"}}),t._v(" "),t._m(11),t._v(" "),t._m(12),t._v(" "),l("div",{staticClass:"col-span-1 flex items-center justify-end"},[l("span",[t._v(t._s(t.progress.settings)+"%")]),t._v(" "),l("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[l("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"}})])])],1)]):t._e()]),t._v(" "),l("div",{staticClass:"md:col-span-1"},[0!==t.bookings.length||null==t.bookings.length?l("div",{staticClass:"bg-white h-full"},t._l(t.bookings,(function(e,n){return l("div",{key:n},[l("div",{staticClass:"bg-blue-light py-3 px-4 flex items-center justify-between"},[l("span",{staticClass:"text-xl font-bold"},[t._v(t._s(t.$moment(n).format("Do MMMM")))]),t._v(" "),l("span",{staticClass:"uppercase"},[t._v(t._s(t.$moment(n).format("dddd")))])]),t._v(" "),t._l(e,(function(e,n){return l("div",{key:n,staticClass:"relative p-6 mb-1 bg-gray grid grid-cols-4 gap-6"},[l("div",{staticClass:"relative col-span-1"},[l("div",{staticClass:"absolute top-0 left-0 w-full h-full border-4 border-yellow border-opacity-50"}),t._v(" "),l("img",{attrs:{src:e.user.photo_url}})]),t._v(" "),l("div",{staticClass:"col-span-3 grid grid-cols-6 py-2"},[l("div",{staticClass:"col-span-4 flex flex-col justify-start"},[l("div",[l("small",{staticClass:"uppercase text-sm text-black text-opacity-80"},[t._v(t._s(e.time))]),t._v(" "),l("h2",{staticClass:"text-xl font-bold"},[t._v(t._s(e.user.full_name))])])])])])}))],2)})),0):l("div",{staticClass:"bg-gray h-full p-6"},[l("span",{staticClass:"font-bold text-xl"},[t._v("You have no new bookings")])])])])])}),[function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("p",{staticClass:"text-white font-medium text-sm md:text-base"},[t._v("New Bookings"),l("br"),t._v("This week")])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("p",{staticClass:"text-white font-medium text-sm md:text-base"},[t._v("Clients"),l("br"),t._v("this week")])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("p",{staticClass:"text-white font-medium text-sm md:text-base"},[t._v("Average No. Of"),l("br"),t._v("Sessions per week")])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"col-span-1 flex items-center"},[l("span",{staticClass:"text-lg font-bold"},[t._v("Profile")])])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"col-span-2 flex items-center"},[l("p",{staticClass:"text-sm font-regular"},[t._v("Your Take a Seat therapist profile")])])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"col-span-1 flex items-center"},[l("span",{staticClass:"text-lg font-bold"},[t._v("Availability")])])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"col-span-2 flex items-center"},[l("p",{staticClass:"text-sm font-regular"},[t._v("Your availability and appointments")])])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"col-span-1 flex items-center"},[l("span",{staticClass:"text-lg font-bold"},[t._v("Verification")])])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"col-span-2 flex items-center"},[l("p",{staticClass:"text-sm font-regular"},[t._v("Qualifications, accreditations, memberships and insurance")])])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"col-span-1 flex items-center"},[l("span",{staticClass:"text-lg font-bold"},[t._v("Money")])])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"col-span-2 flex items-center"},[l("p",{staticClass:"text-sm font-regular"},[t._v("Your session rates and subscription details")])])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"col-span-1 flex items-center"},[l("span",{staticClass:"text-lg font-bold"},[t._v("Settings")])])},function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"col-span-2 flex items-center"},[l("p",{staticClass:"text-sm font-regular"},[t._v("Your session rates and subscription details")])])}],!1,null,null,null);e.default=component.exports;installComponents(component,{Header:l(101).default,Client:l(406).default})}}]);

Zerion Mini Shell 1.0