stage 5-6
Build and Push Docker Image / build (push) Successful in 1m11s

This commit is contained in:
jason
2026-04-21 13:14:27 -05:00
parent fc5bce4868
commit 5847a175af
26 changed files with 3031 additions and 29 deletions
+28 -16
View File
@@ -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 && (