From f6bbfe1ba2fd88264c2780325b3c64e4a16291d9 Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 18 May 2026 23:56:02 +0300 Subject: [PATCH] fix: add explicit text color to OrderDetailPanel value fields for dark theme visibility --- src/components/orders/OrderDetailPanel.jsx | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/components/orders/OrderDetailPanel.jsx b/src/components/orders/OrderDetailPanel.jsx index a498d8f..53c1fa5 100644 --- a/src/components/orders/OrderDetailPanel.jsx +++ b/src/components/orders/OrderDetailPanel.jsx @@ -331,19 +331,19 @@ export const OrderDetailPanel = ({

Дата доставки

-

{formatDeliveryDateDisplay(order.deliveryDate)}

+

{formatDeliveryDateDisplay(order.deliveryDate)}

Время доставки

-

{renderValue(order.deliveryTime || order.deliveryHalfDay)}

+

{renderValue(order.deliveryTime || order.deliveryHalfDay)}

Водитель

-

{order.assignedDriverId ? renderValue(order.assignedDriverName) : "Не назначен"}

+

{order.assignedDriverId ? renderValue(order.assignedDriverName) : "Не назначен"}

@@ -360,42 +360,42 @@ export const OrderDetailPanel = ({

Адрес доставки

-

{renderValue(order.deliveryAddress)}

+

{renderValue(order.deliveryAddress)}

Номер счёта

-

{renderValue(order.orderNumberSummary)}

+

{renderValue(order.orderNumberSummary)}

Клиент

-

{renderValue(order.customerName)}

+

{renderValue(order.customerName)}

Дата счёта

-

{renderValue(order.customerDate)}

+

{renderValue(order.customerDate)}

Всего заказов

-

{order.ordersCount ?? 0}

+

{order.ordersCount ?? 0}

Готово

-

{order.readyCount ?? 0}

+

{order.readyCount ?? 0}

Не готово

-

{order.notReadyCount ?? 0}

+

{order.notReadyCount ?? 0}

Обновлена

-

{formatDateTime(order.updatedAt)}

+

{formatDateTime(order.updatedAt)}

Статус доставки

-

{getOrderGroupDeliveryStatusLabel(order.deliveryStatus || order.delivery_status)}

+

{getOrderGroupDeliveryStatusLabel(order.deliveryStatus || order.delivery_status)}

@@ -661,29 +661,29 @@ export const OrderDetailPanel = ({ {order.firstSmsSentAt ? (

1-е SMS отправлено

-

{formatDateTime(order.firstSmsSentAt)}

+

{formatDateTime(order.firstSmsSentAt)}

) : null} {order.secondSmsSentAt ? (

2-е SMS отправлено

-

{formatDateTime(order.secondSmsSentAt)}

+

{formatDateTime(order.secondSmsSentAt)}

) : null} {!order.firstSmsSentAt && !order.secondSmsSentAt ? (

SMS отправлено

-

Нет

+

Нет

) : null}

Ручное согласование выполнено

-

{order.manualConfirmationAt ? formatDateTime(order.manualConfirmationAt) : "Нет"}

+

{order.manualConfirmationAt ? formatDateTime(order.manualConfirmationAt) : "Нет"}

{order.createdFromExchangeAt ? (

Создано из обмена

-

{formatDateTime(order.createdFromExchangeAt)}

+

{formatDateTime(order.createdFromExchangeAt)}

) : null}