From a8341a42eeb96b05b30050ef9c88697dbf0ab1ae Mon Sep 17 00:00:00 2001 From: dwindown Date: Sun, 28 Dec 2025 01:00:02 +0700 Subject: [PATCH] Fix badge color function name in Dashboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed getStatusColor to getPaymentStatusColor to match the imported helper function from statusHelpers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- src/pages/Dashboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Dashboard.tsx b/src/pages/Dashboard.tsx index 54d2b68..a87216d 100644 --- a/src/pages/Dashboard.tsx +++ b/src/pages/Dashboard.tsx @@ -177,7 +177,7 @@ export default function Dashboard() {

{formatDate(order.created_at)}

- + {getPaymentStatusLabel(order.payment_status || order.status)} {formatIDR(order.total_amount)}