From 467c1507d091bcd43b80ec6e30d9f5dc2e36e6df Mon Sep 17 00:00:00 2001
From: michaelschal <35957947-michaelschal@users.noreply.replit.com>
Date: Thu, 11 Sep 2025 11:25:11 +0000
Subject: [PATCH] Update phone icon styling for customer order notifications
Adjusted button styling for customer order notification phone icons in `CustomerOrders.tsx` to conditionally apply `bg-green-100` class when `customerNotified` is true, and changed the PhoneCall icon className to inherit default color.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 95e8aab4-f39f-4b48-aa57-a759ec15ba3d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/95e8aab4-f39f-4b48-aa57-a759ec15ba3d/TckvSqR
---
.replit | 4 ----
client/src/pages/CustomerOrders.tsx | 5 ++---
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/.replit b/.replit
index 2122ba9..f9b73f0 100644
--- a/.replit
+++ b/.replit
@@ -15,10 +15,6 @@ run = ["npm", "run", "start"]
localPort = 5000
externalPort = 80
-[[ports]]
-localPort = 35077
-externalPort = 3003
-
[[ports]]
localPort = 38451
externalPort = 3002
diff --git a/client/src/pages/CustomerOrders.tsx b/client/src/pages/CustomerOrders.tsx
index 1f3e141..bdd9512 100644
--- a/client/src/pages/CustomerOrders.tsx
+++ b/client/src/pages/CustomerOrders.tsx
@@ -890,11 +890,10 @@ export default function CustomerOrders() {
variant="outline"
size="sm"
onClick={() => handleNotificationToggle(order)}
- className={order.customerNotified ? "bg-green-600 hover:bg-green-700 text-white border-green-600" : "hover:bg-gray-50"}
- title={order.customerNotified ? "Client contacté ✓" : "Cliquer pour marquer comme contacté"}
+ className={order.customerNotified ? "bg-green-100" : ""}
>
{order.customerNotified ? (
-
+
) : (
)}