From bdb7e490039aecb0e7c3b3555d40471e8e044c96 Mon Sep 17 00:00:00 2001 From: Thanakarn Klangkasame <77600906+Simulationable@users.noreply.github.com> Date: Thu, 9 Oct 2025 14:59:20 +0700 Subject: [PATCH] Redesign Table --- src/app/(protected)/orders/page.tsx | 42 ++++++++++++++++++----------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/src/app/(protected)/orders/page.tsx b/src/app/(protected)/orders/page.tsx index 9d92149..9116562 100644 --- a/src/app/(protected)/orders/page.tsx +++ b/src/app/(protected)/orders/page.tsx @@ -125,6 +125,9 @@ const pill = (t: Tone) => const U = (s: string) => s.toUpperCase(); +// เส้นคอลัมน์โทนอ่อน (ใช้กับทั้ง th/td) +const COL_BORDER = "border-r border-neutral-200/60 last:border-r-0"; + const IconLabel = ({ Icon, label, pillTone }: { Icon: LucideIcon; label: string; pillTone?: Tone }) => { const content = ( @@ -226,7 +229,7 @@ const renderWarehouse = (w: Order["warehouseCode"]) => { return ; }; -/* For selects (native