修正bug
All checks were successful
Koori-ERP-Sync-Only / sync-update (push) Successful in 1m5s

This commit is contained in:
2025-12-31 17:48:36 +08:00
parent c152dc6d81
commit 8cbf73681e
5 changed files with 62 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
import { Edit, Eye, Trash2 } from "lucide-react";
import { Pencil, Eye, Trash2 } from "lucide-react";
import { Button } from "@/Components/ui/button";
import { Link, useForm } from "@inertiajs/react";
import type { PurchaseOrder } from "@/types/purchase-order";
@@ -38,13 +38,13 @@ export function PurchaseOrderActions({
className="button-outlined-primary h-8 w-8 p-0"
title="編輯採購單"
>
<Edit className="h-4 w-4" />
<Pencil className="h-4 w-4" />
</Button>
</Link>
<Button
variant="outline"
size="sm"
className="hover:bg-red-50 hover:text-red-600 hover:border-red-200 text-gray-500 h-8 w-8 p-0 transition-colors"
className="button-outlined-error h-8 w-8 p-0"
title="刪除採購單"
onClick={handleDelete}
disabled={processing}