diff --git a/src/components/UI/Badge.jsx b/src/components/UI/Badge.jsx index c330c32..bc0bdec 100644 --- a/src/components/UI/Badge.jsx +++ b/src/components/UI/Badge.jsx @@ -5,7 +5,7 @@ export const Badge = ({ children, tone = "neutral", className }) => { return (
-
-
Группа / Клиент
-
Счета
-
Город
-
Статус
-
Дата доставки
-
Тип
-
Водитель
+
+
Группа / Клиент
+
Счета
+
Город
+
Статус
+
Дата доставки
+
Тип
+
Водитель
{orderGroups.map((group) => { const hasProblem = group.hasDeliveryProblem; @@ -207,42 +207,42 @@ export const OrdersTable = ({ className={rowClassName} onClick={() => onOpenOrder(group.id)} > -
-
{group.displayTitle || group.customerName || group.groupKey}
-
+
+
{group.displayTitle || group.customerName || group.groupKey}
+
{group.customerPhone || ""}
-
-
{primaryBill}
+
+
{primaryBill}
{totalBills > 1 && ( - + {totalBills} сч. )}
-
+
{group.city || "—"}
-
+
{getOrderGroupDisplayStatusLabel(group)}
-
+
{group.deliveryDate ? ( {fmtDate(group.deliveryDate)}{group.deliveryTime ? · {group.deliveryTime} : ""} ) : ( )}
-
+
{group.deliveryType === "pickup" ? "🏪" : "🚚"} {group.deliveryType === "pickup" ? "Самовывоз" : "Доставка"}
-
+
{group.assignedDriverName || }