1import{j as t}from"./framer-motion-46115193.js";import{s as i,P as d,g as n,h as l,i as c,T as r,d as h,j as x,L as m}from"./App-5a95c519.js";import{G as p}from"./GoogleSheet-c1ca197e.js";import{g}from"./index-19fa935d.js";import"./index-3ffe96a9.js";const u=i(d)(({theme:e})=>({display:"flex",flexDirection:"column-reverse",maxWidth:"1440px",[e.breakpoints.up("md")]:{flexDirection:"row"}})),v=()=>{const{data:e}=n(),{data:a,isLoading:s}=l(e==null?void 0:e.id,{skip:!(e!=null&&e.id)}),o=g(a,"sheetIds.Orders");return t.jsxs(u,{children:[t.jsxs(c,{sx:{flexDirection:"column",alignItems:"flex-start",gap:1,maxWidth:"80%"},children:[t.jsx(r,{variant:"h6",children:"Manage Orders"}),t.jsxs(r,{variant:"body1",color:"text.secondary",children:["All your orders are captured inside Google Sheets. Each order is stored as a row. Every order will have an order ID and details of items ordered, their quantity, date & time and total price."," "]}),t.jsx(h,{variant:"contained",color:"primary",startIcon:t.jsx(p,{}),sx:{mt:2},href:`https://docs.google.com/spreadsheets/d/${e==null?void 0:e.sheetId}#gid=${o}`,target:"_blank",loading:s,children:t.jsx("span",{children:"Open Order Sheet"})})]}),t.jsx(x,{sx:{display:"flex",alignItems:"center",marginX:"auto",flexShrink:0,pl:2},children:t.jsx(m,{image:{src:"/assets/manage-orders.png",alt:"Manage Products",width:"100%",height:300,style:{objectFit:"contain"}}})})]})};export{v as default};
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.