import y from"./Details-69856d23.js";import{A as g}from"./AdminLayout-e87dd638.js";import{T as b}from"./SectionTitle-8b846035.js";import{_ as v,r as s,o as a,d as i,e as r,a as t,g as o,h as c,t as l,b as u}from"./app-32ed258c.js";import"./JsBarcode-8e05172a.js";import"./TrashedMessage-f5197437.js";import"./ApplicationLogo-67ce1691.js";import"./ApplicationMark-984b256c.js";import"./Modal-291f355a.js";import"./DropdownLink-b7a93580.js";const w={props:{transfer:Object},components:{AdminLayout:g,TransferDetails:y,TecSectionTitle:b},methods:{print(){window.print()}}},k={class:"px-4 md:px-0"},T={class:"flex items-start justify-between print:hidden"},j={class:"flex items-center"},C=t("span",{class:"text-blue-600 font-medium mx-2"},"/",-1),N={class:"flex"};function V(e,f,n,$,B,p){const m=s("Link"),_=s("tec-section-title"),d=s("icons"),h=s("transfer-details"),x=s("admin-layout");return a(),i(x,{title:e.$t("Transfer Details")},{default:r(()=>[t("div",k,[t("div",T,[o(_,{class:"-mx-4 md:mx-0 mb-6"},{title:r(()=>[t("div",j,[o(m,{class:"text-blue-600 hover:text-blue-700",href:e.route("transfers.index")},{default:r(()=>[c(l(e.$t("Transfers")),1)]),_:1},8,["href"]),C,c(" "+l(n.transfer.reference),1)])]),description:r(()=>[c(l(e.$t("Please review the transfer details below")),1)]),_:1}),t("div",N,[t("button",{onClick:f[0]||(f[0]=D=>p.print()),class:"flex items-center justify-center mr-2 h-8 w-8 rounded-full text-gray-600 hover:text-gray-800 bg-gray-200 hover:bg-gray-300 focus:outline-none"},[o(d,{name:"printer",class:"h-5 w-5"})]),e.$can("update-transfers")?(a(),i(m,{key:0,href:e.route("transfers.edit",n.transfer.id),class:"flex items-center justify-center mr-2 h-8 w-8 rounded-full text-gray-600 hover:text-gray-800 bg-gray-200 hover:bg-gray-300 focus:outline-none"},{default:r(()=>[o(d,{name:"edit",class:"h-5 w-5"})]),_:1},8,["href"])):u("",!0)])]),n.transfer?(a(),i(h,{key:0,transfer:n.transfer,class:"mt-0 pt-0"},null,8,["transfer"])):u("",!0)])]),_:1},8,["title"])}const H=v(w,[["render",V]]);export{H as default};
