Chats: show which order a provider writes about, or that there is no order
- Provider messages store the order that was current when they wrote: a started order first, otherwise the nearest assigned one within -4h..+12h; none — "no order". - Admin chat: order tag above each provider message, "now / next" order strip in the conversation header, order number (or "no order") in the thread list. - Telegram notification to the team gets an order line or "no current order". - Test for the order-picking rule; demo shows both cases. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
23ffb2bf1d
commit
2772837e29
14 files changed
+321
-13
No files matched your search
@@ -386,6 +386,14 @@ const ru = {
|
||||
'chat.notLinked': 'Рабочий бот не открыт',
|
||||
'chat.details': 'Подробнее',
|
||||
'chat.more': 'Ещё действия',
|
||||
'chat.order': 'Заказ №{n}',
|
||||
'chat.noOrder': 'Без заказа',
|
||||
'chat.noOrderNow': 'Сейчас без заказа',
|
||||
'chat.orderNow': 'Сейчас',
|
||||
'chat.orderNext': 'Ближайший',
|
||||
'chat.orderNoNext': 'Ближайших заказов нет',
|
||||
'chat.orderClient': 'клиент {name}',
|
||||
'chat.wroteNoOrder': 'писал(а) без заказа',
|
||||
'err.CONCIERGE_SUBSCRIBERS_ONLY': 'Консьерж — только для подписчиков. Сначала выдайте клиенту подписку.',
|
||||
'err.ASSIGNEE_NO_ACCESS': 'У этого сотрудника нет доступа к этому каналу.',
|
||||
'err.PROVIDER_NOT_LINKED': 'Исполнитель ещё не открыл рабочий бот — написать ему пока некуда.',
|
||||
@@ -784,6 +792,14 @@ const en: Dict = {
|
||||
'chat.notLinked': 'Work bot not opened',
|
||||
'chat.details': 'Details',
|
||||
'chat.more': 'More actions',
|
||||
'chat.order': 'Order #{n}',
|
||||
'chat.noOrder': 'No order',
|
||||
'chat.noOrderNow': 'No current order',
|
||||
'chat.orderNow': 'Now',
|
||||
'chat.orderNext': 'Next',
|
||||
'chat.orderNoNext': 'No upcoming orders',
|
||||
'chat.orderClient': 'client {name}',
|
||||
'chat.wroteNoOrder': 'wrote without an order',
|
||||
'err.CONCIERGE_SUBSCRIBERS_ONLY': 'The concierge is for members only. Give the client a subscription first.',
|
||||
'err.ASSIGNEE_NO_ACCESS': 'This team member has no access to this channel.',
|
||||
'err.PROVIDER_NOT_LINKED': 'The provider hasn’t opened the work bot yet.',
|
||||
@@ -1179,6 +1195,14 @@ const hy: Dict = {
|
||||
'chat.notLinked': 'Աշխատանքային բոտը բացված չէ',
|
||||
'chat.details': 'Մանրամասներ',
|
||||
'chat.more': 'Այլ գործողություններ',
|
||||
'chat.order': 'Պատվեր №{n}',
|
||||
'chat.noOrder': 'Առանց պատվերի',
|
||||
'chat.noOrderNow': 'Այժմ պատվեր չկա',
|
||||
'chat.orderNow': 'Այժմ',
|
||||
'chat.orderNext': 'Հաջորդը',
|
||||
'chat.orderNoNext': 'Մոտակա պատվերներ չկան',
|
||||
'chat.orderClient': 'հաճախորդ {name}',
|
||||
'chat.wroteNoOrder': 'գրել է առանց պատվերի',
|
||||
'err.CONCIERGE_SUBSCRIBERS_ONLY': 'Կոնսիերժը միայն բաժանորդների համար է։ Նախ տրամադրեք բաժանորդագրություն։',
|
||||
'err.ASSIGNEE_NO_ACCESS': 'Այս աշխատակիցը մուտք չունի այս ալիքին։',
|
||||
'err.PROVIDER_NOT_LINKED': 'Կատարողը դեռ չի բացել աշխատանքային բոտը։',
|
||||
|
||||
Reference in new issue
Block a user