style(production): 補齊生產工單列表檢視按鈕 UI 與權限控制
This commit is contained in:
@@ -254,16 +254,18 @@ export default function ProductionIndex({ productionOrders, filters }: Props) {
|
|||||||
</Link>
|
</Link>
|
||||||
</Can>
|
</Can>
|
||||||
)}
|
)}
|
||||||
|
<Can permission="production_orders.view">
|
||||||
<Link href={route('production-orders.show', order.id)}>
|
<Link href={route('production-orders.show', order.id)}>
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
size="sm"
|
size="sm"
|
||||||
className="button-outlined-primary"
|
className="button-outlined-info"
|
||||||
title="檢視"
|
title="檢視"
|
||||||
>
|
>
|
||||||
<Eye className="h-4 w-4" />
|
<Eye className="h-4 w-4" />
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
|
</Can>
|
||||||
</div>
|
</div>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
|
|||||||
Reference in New Issue
Block a user