diff --git a/src/pages/EquipmentPage.tsx b/src/pages/EquipmentPage.tsx index addda60..4eb58d4 100644 --- a/src/pages/EquipmentPage.tsx +++ b/src/pages/EquipmentPage.tsx @@ -685,16 +685,33 @@ function WorkstationCard({ - {testResults[device.id] !== undefined && testResults[device.id] !== null && ( -
- {testResults[device.id]!.ok ? : } - {testResults[device.id]!.msg || (testResults[device.id]!.ok ? 'Успешно' : 'Ошибка')} -
+ {testResults[device.id] !== undefined && testResults[device.id] !== null && (() => { + const res = testResults[device.id]! + const isDtoError = !res.ok && res.msg.includes('ДТО') + return ( +
+ + {res.ok ? : } + {res.msg || (res.ok ? 'Успешно' : 'Ошибка')} + + {isDtoError && ( +
+

Для работы кассы нужно установить и запустить АТОЛ ДТО 10:

+
    +
  1. Скачайте бесплатно с atol.ru → Поддержка → ДТО 10
  2. +
  3. Установите и запустите службу ATOL DTO Service
  4. +
  5. Порт по умолчанию: 16732
  6. +
+
+ )} +
+ ) + })()} )} )} @@ -818,7 +835,7 @@ export function EquipmentPage() { {updatingAll ? 'Отправка...' : 'Обновить все'} )} - {latestRelease && ( + {latestRelease ? ( Скачать агент v{latestRelease.version} + ) : ( + + + Агент недоступен + )}