feat: show 🔍 проверка label in calendar for rooms awaiting inspection after cleaning
This commit is contained in:
@@ -537,6 +537,12 @@ export function BookingCalendar({ rooms, bookings, slug, onBookingCreate, onBook
|
|||||||
{room.housekeepingStatus === 'dirty' ? '🧹 грязный' : '🧹 убирается'}
|
{room.housekeepingStatus === 'dirty' ? '🧹 грязный' : '🧹 убирается'}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
{room.status !== 'maintenance' && room.status !== 'blocked' &&
|
||||||
|
room.housekeepingStatus === 'inspect' && (
|
||||||
|
<span className="text-[10px] text-amber-600 dark:text-amber-400 font-medium leading-none cursor-default" title="Ожидает проверки после уборки">
|
||||||
|
🔍 проверка
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user