From 28929f40e2e84aa2cbb86004d5767b6ab432098b Mon Sep 17 00:00:00 2001 From: weeihan Date: Tue, 28 Jul 2026 17:06:33 +0800 Subject: [PATCH] feat(ui): add Print Report button on closed incidents --- app/(protected)/hse/incidents/[id]/page.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app/(protected)/hse/incidents/[id]/page.tsx b/app/(protected)/hse/incidents/[id]/page.tsx index 0e89e84..99c00bd 100644 --- a/app/(protected)/hse/incidents/[id]/page.tsx +++ b/app/(protected)/hse/incidents/[id]/page.tsx @@ -188,6 +188,21 @@ export default async function HseIncidentDetailPage({ params }: Props) { )} + {status === 'closed' && ( +
+ + + + + Print Report + +
+ )}