feat(orders): add n8n shortcut icon to Supplier POs card

This commit is contained in:
SJCoetz 2026-07-09 22:34:04 +02:00
parent 5d222ff281
commit 44db71e6d7

View file

@ -652,6 +652,25 @@ export default function OrderDetailPage({ params }: { params: Promise<{ id: stri
({purchaseOrders.length})
</span>
)}
{/* n8n shortcut — opens the order-send workflow execution
in a new tab. Sized to match the other small icons in
the card; muted by default, full colour on hover. */}
<a
href="http://n8n-n65e89ippimn77mwlaijnl05.169.239.180.130.sslip.io/workflow/3cuS6I7mXCUY7BCr/executions/1099"
target="_blank"
rel="noopener noreferrer"
title="View this order's send workflow in n8n"
aria-label="View this order's send workflow in n8n"
className="ml-auto inline-flex items-center justify-center rounded-md p-1 text-muted-foreground hover:text-foreground transition-colors"
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src="/icons/n8n-color.svg"
alt=""
aria-hidden="true"
className="h-4 w-4"
/>
</a>
</CardTitle>
<CardDescription>
Purchase orders sent to suppliers for this order.