From eb4b25f3270b2673b26c28c99fd0e8690c95e0f2 Mon Sep 17 00:00:00 2001 From: suryacp23 Date: Thu, 30 Jul 2026 16:36:00 +0530 Subject: [PATCH] made call details kpi less gap --- src/components/dv/CallDetail.tsx | 42 ++++++++++++++------------------ 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/src/components/dv/CallDetail.tsx b/src/components/dv/CallDetail.tsx index d6434bd..68c2620 100644 --- a/src/components/dv/CallDetail.tsx +++ b/src/components/dv/CallDetail.tsx @@ -405,22 +405,18 @@ export function CallDetail({ {/* Top Right KPI Grid */} -
-
-
TOTAL BAGS
-
{totalBags.toLocaleString()}
+
+
+
TOTAL BAGS
+
{totalBags.toLocaleString()}
-
-
TOTAL KGS
-
{totalKgs.toLocaleString()}
+
+
TOTAL KGS
+
{totalKgs.toLocaleString()}
-
-
LINE ITEMS
-
{lineItemsCount}
-
-
-
SALES OFFICER
-
{salesOfficer}
+
+
ORDER ITEMS
+
{lineItemsCount}
@@ -593,7 +589,7 @@ export function CallDetail({ {/* Call Potential Card (Below Orders) */} {callPotentialList.length > 0 && ( -
+
@@ -609,16 +605,14 @@ export function CallDetail({ const extraOrdered = callPotentialList.filter(item => item.actualPotential === 0); const renderTable = (items: any[]) => ( -
+
{items.map((item, idx) => ( -
-
-
- {item.name} -
+
+
+ {item.name}
-
+
Potential {item.actualPotential} @@ -647,11 +641,11 @@ export function CallDetail({ ); return ( -
+
{regularPotential.length > 0 && renderTable(regularPotential)} {extraOrdered.length > 0 && ( -
+

Ordered Outside Potential