%PDF- %PDF-
Direktori : /home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/client/ |
Current File : //home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/client/5f3637d.js |
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{406:function(t,e,l){"use strict";l.r(e);var n={props:{client:Object}},c=l(10),component=Object(c.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}}]);