Fix scan button placement: remove from detail panel docs tab, make compact in booking modal

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 14:55:24 +03:00
parent fa5b3c7fc9
commit 84c90bcab1
2 changed files with 12 additions and 18 deletions

View File

@@ -463,12 +463,6 @@ export function BookingDetailPanel({ booking, room, onClose, onUpdate }: Booking
</div>
))
}
<button
onClick={() => showToast('Для сканирования подключите RFID/OCR сканер')}
className="w-full flex items-center justify-center gap-2 py-2.5 rounded-xl border-2 border-dashed border-slate-300 dark:border-slate-600 text-slate-500 dark:text-slate-400 text-sm font-medium hover:border-brand-400 hover:text-brand-600 dark:hover:text-brand-400 transition-colors mt-2"
>
<ScanLine size={16} /> Сканировать документ
</button>
<div className="pt-3 mt-1 border-t border-slate-100 dark:border-slate-700">
<button
onClick={() => showToast('🖨 Комплект документов отправлен на печать')}