diff --git a/src/components/orders/OrderDetailPanel.jsx b/src/components/orders/OrderDetailPanel.jsx index 2696461..1e2d8b5 100644 --- a/src/components/orders/OrderDetailPanel.jsx +++ b/src/components/orders/OrderDetailPanel.jsx @@ -911,10 +911,7 @@ export const OrderDetailPanel = ({

Обновлена

{formatDateTime(order.updatedAt)}

-
-

{isPickupOrder ? "Статус самовывоза" : "Статус доставки"}

-

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

-
+ {(order.pickupCode || order.pickup_code) && (order.deliveryType === "pickup" || order.delivery_type === "pickup") ? (

Код выдачи

diff --git a/src/components/orders/SmsStatusCard.jsx b/src/components/orders/SmsStatusCard.jsx index d0da684..e93700c 100644 --- a/src/components/orders/SmsStatusCard.jsx +++ b/src/components/orders/SmsStatusCard.jsx @@ -177,11 +177,8 @@ export const SmsStatusCard = ({ order, userRole }) => { return ( -
+

📱 SMS-уведомления

- - {NOTIF_LABELS[notifStatus] || notifStatus} -
{/* Timeline */} diff --git a/src/components/orders/StatusActionPanel.jsx b/src/components/orders/StatusActionPanel.jsx index 38af211..862b671 100644 --- a/src/components/orders/StatusActionPanel.jsx +++ b/src/components/orders/StatusActionPanel.jsx @@ -95,10 +95,6 @@ const StatusActionPanel = ({ variant={isCurrent ? "primary" : (statusOption.mismatch ? "ghost" : "secondary")} onClick={() => { if (blockedBySchedule) { - onConfirmStatus?.({ - type: "hint", - hint: "⚠ Нельзя поставить «" + statusOption.label + "» без даты и времени доставки. Сначала согласуйте дату выше.", - }); return; } if (isCurrent && hint) {