module.exports=[703130,a=>{"use strict";var b=a.i(187924),c=a.i(497895);a.s(["Card",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card",className:(0,c.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",a),...d})},"CardContent",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-6",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-muted-foreground text-sm",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-title",className:(0,c.cn)("leading-none font-semibold",a),...d})}])},645597,a=>{"use strict";var b=a.i(187924),c=a.i(238246),d=a.i(703130),e=a.i(340695);a.s(["default",0,function(){return(0,b.jsxs)("div",{className:"flex-1 space-y-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h1",{className:"text-3xl font-bold text-foreground",children:"Purchase & Receiving"}),(0,b.jsx)("p",{className:"mt-2 text-muted-foreground",children:"Manage work orders, receiving, invoices, and supplier payments"})]}),(0,b.jsx)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2",children:[{title:"Purchase Work Orders",description:"Create supplier work orders, track receiving, and generate invoices",href:"/purchases/work-orders",code:"WO"},{title:"Purchase Invoices",description:"Create and manage purchase invoices from suppliers",href:"/purchases/invoices",code:"PI"},{title:"Supplier Payments",description:"Record and track payments to suppliers",href:"/purchases/payments",code:"SP"},{title:"Cost Allocation",description:"Allocate transport and other costs to purchases",href:"#",code:"CA",comingSoon:!0}].map(a=>(0,b.jsxs)(d.Card,{className:"border-border bg-card transition-colors hover:border-primary/50",children:[(0,b.jsx)(d.CardHeader,{children:(0,b.jsxs)("div",{className:"flex items-start justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)(d.CardTitle,{className:"text-foreground",children:a.title}),(0,b.jsx)(d.CardDescription,{className:"mt-1 text-muted-foreground",children:a.description})]}),(0,b.jsx)("span",{className:"font-mono text-sm text-muted-foreground",children:a.code})]})}),(0,b.jsx)(d.CardContent,{children:a.comingSoon?(0,b.jsx)(e.Button,{disabled:!0,className:"w-full opacity-50",children:"Coming Soon"}):(0,b.jsx)(c.default,{href:a.href,children:(0,b.jsxs)(e.Button,{className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:["Access",(0,b.jsx)("svg",{className:"ml-2 h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,b.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})})})]},a.title))})]})}])}];

//# sourceMappingURL=_10a~9x7._.js.map