This commit is contained in:
@@ -155,24 +155,36 @@ export default function ProjectDetailClient({
|
||||
</section>
|
||||
|
||||
<section className="grid gap-4 sm:grid-cols-2">
|
||||
<Card>
|
||||
<div className="p-4">
|
||||
<h3 className="font-semibold mb-1">Fasteners</h3>
|
||||
<p className="text-sm text-slate-500 mb-3">
|
||||
{project.fastenerCount} item{project.fastenerCount === 1 ? "" : "s"} tracked
|
||||
</p>
|
||||
<p className="text-xs text-slate-400">Fastener authoring lands in step 6.</p>
|
||||
<Link
|
||||
href={`/admin/projects/${project.id}/fasteners`}
|
||||
className="block rounded-xl bg-white border border-slate-200 shadow-sm p-4 hover:border-slate-900 transition"
|
||||
>
|
||||
<div className="flex items-center justify-between">
|
||||
<h3 className="font-semibold">Fasteners</h3>
|
||||
<span className="text-sm text-blue-600">Open →</span>
|
||||
</div>
|
||||
</Card>
|
||||
<Card>
|
||||
<div className="p-4">
|
||||
<h3 className="font-semibold mb-1">Purchase orders</h3>
|
||||
<p className="text-sm text-slate-500 mb-3">
|
||||
{project.poCount} PO{project.poCount === 1 ? "" : "s"}
|
||||
</p>
|
||||
<p className="text-xs text-slate-400">PO lifecycle and PDFs land in step 6.</p>
|
||||
<p className="text-sm text-slate-500 mt-1">
|
||||
{project.fastenerCount} item{project.fastenerCount === 1 ? "" : "s"} tracked
|
||||
</p>
|
||||
<p className="text-xs text-slate-400 mt-2">
|
||||
Add BOM items, suppliers, unit costs, and unresolved-need suggestions for POs.
|
||||
</p>
|
||||
</Link>
|
||||
<Link
|
||||
href={`/admin/projects/${project.id}/purchase-orders`}
|
||||
className="block rounded-xl bg-white border border-slate-200 shadow-sm p-4 hover:border-slate-900 transition"
|
||||
>
|
||||
<div className="flex items-center justify-between">
|
||||
<h3 className="font-semibold">Purchase orders</h3>
|
||||
<span className="text-sm text-blue-600">Open →</span>
|
||||
</div>
|
||||
</Card>
|
||||
<p className="text-sm text-slate-500 mt-1">
|
||||
{project.poCount} PO{project.poCount === 1 ? "" : "s"}
|
||||
</p>
|
||||
<p className="text-xs text-slate-400 mt-2">
|
||||
Draft → sent → partial → received. Download vendor PDFs, record receipts.
|
||||
</p>
|
||||
</Link>
|
||||
</section>
|
||||
|
||||
{editOpen && (
|
||||
|
||||
Reference in New Issue
Block a user