style(production): 補齊生產工單列表檢視按鈕 UI 與權限控制

This commit is contained in:
2026-01-27 10:10:10 +08:00
parent 046e0a028b
commit f10c31abd0

View File

@@ -254,16 +254,18 @@ export default function ProductionIndex({ productionOrders, filters }: Props) {
</Link>
</Can>
)}
<Can permission="production_orders.view">
<Link href={route('production-orders.show', order.id)}>
<Button
variant="outline"
size="sm"
className="button-outlined-primary"
className="button-outlined-info"
title="檢視"
>
<Eye className="h-4 w-4" />
</Button>
</Link>
</Can>
</div>
</TableCell>
</TableRow>