From 8256af1ffdd530b1b011a8473d34a4dde49c9ff5 Mon Sep 17 00:00:00 2001 From: rocketdebris Date: Tue, 2 Dec 2025 14:01:36 -0500 Subject: [PATCH] Added color handling for Invoice status-buttons. --- frontend/src/components/common/DataTable.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/common/DataTable.vue b/frontend/src/components/common/DataTable.vue index 34cafd8..ff8340b 100644 --- a/frontend/src/components/common/DataTable.vue +++ b/frontend/src/components/common/DataTable.vue @@ -1072,10 +1072,12 @@ const handleStatusButtonClick = (column, rowData) => { const getBadgeColor = (status) => { switch (status?.toLowerCase()) { + case "paid": case "completed": case "open": case "active": return "success"; + case "draft": case "in progress": case "pending": return "warn";