1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4964],{8564:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/booking",function(){return a(6682)}])},6682:function(e,n,a){"use strict";a.r(n),a.d(n,{default:function(){return g}});var s=a(5893),r=a(7294),t=a(1163),i=a(9008),o=a(1664),c=a(2853),l=a(8051),d=a(292),u=a(19),h=a(5745);function g(){var e=(0,r.useContext)(c.Z),n=e.userData,a=e.bookingData,g=e.loadingData,k=(0,t.useRouter)();return g||!n?(0,s.jsx)(l.Z,{selected:"Booking",children:(0,s.jsx)(h.Z,{})}):(0,s.jsxs)(r.Fragment,{children:[(0,s.jsxs)(i.default,{children:[(0,s.jsx)("title",{children:"Booking | POSH"}),(0,s.jsx)("link",{rel:"canonical",href:"https://poshcars.io/dashboard/booking"})]}),(0,s.jsx)(l.Z,{selected:"Booking",children:(0,s.jsx)("div",{className:"grid w-full gap-4",children:a?(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)(d.Z,{}),(0,s.jsxs)("div",{className:"grid gap-4 md:grid-cols-3",children:["active"!==a.status&&(0,s.jsx)("div",{onClick:function(){return k.push("/dashboard/booking/check-in")},className:"btn-primary",children:"Check In"}),"active"===a.status&&(0,s.jsx)("div",{onClick:function(){return k.push("/dashboard/booking/check-out")},className:"btn-primary",children:"Check Out"}),(null===a||void 0===a?void 0:a.regiseration)&&(0,s.jsx)(o.default,{href:a.registeration,children:(0,s.jsx)("a",{target:"_blank",className:"btn-secondary",children:"Download Registeration"})}),(null===a||void 0===a?void 0:a.agreement)&&(0,s.jsx)(o.default,{href:a.agreement,children:(0,s.jsx)("a",{target:"_blank",className:"btn-secondary",children:"Download Rental Agreement"})}),(null===a||void 0===a?void 0:a.insurance)&&(0,s.jsx)(o.default,{href:a.insurance,children:(0,s.jsx)("a",{target:"_blank",className:"btn-secondary",children:"Download Insurance Card"})})]}),(0,s.jsx)("hr",{className:"hr"}),(0,s.jsx)("p",{className:"text-sm dark:text-stone-400",children:"To make changes to your booking, please contact support."})]}):(0,s.jsx)(u.Z,{})})})]})}}},function(e){e.O(0,[3365,868,9774,2888,179],(function(){return n=8564,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.