Rental guest search: show phone number as subtitle in suggestions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -277,7 +277,10 @@ export function RentalBookingModal({
|
||||
<div className="min-w-0 flex-1">
|
||||
<p className="text-sm font-medium text-slate-800 dark:text-slate-200 truncate">{b.guestName}</p>
|
||||
<p className="text-[11px] text-slate-400 truncate">
|
||||
{isCheckedIn ? '🏠 Проживает' : '📅 Бронь'}{rLabel ? ` · ${rLabel}` : ''}{b.guestPhone ? ` · ${b.guestPhone}` : ''}
|
||||
{b.guestPhone
|
||||
? b.guestPhone
|
||||
: isCheckedIn ? '🏠 Проживает' : '📅 Бронь'
|
||||
}{rLabel ? ` · ${rLabel}` : ''}
|
||||
</p>
|
||||
</div>
|
||||
</button>
|
||||
@@ -302,7 +305,7 @@ export function RentalBookingModal({
|
||||
<div className="min-w-0 flex-1">
|
||||
<p className="text-sm font-medium text-slate-800 dark:text-slate-200 truncate">{g.lastName} {g.firstName}</p>
|
||||
<p className="text-[11px] text-slate-400 truncate">
|
||||
📋 База гостей{g.phone ? ` · ${g.phone}` : ''}
|
||||
{g.phone ?? 'нет телефона'}
|
||||
</p>
|
||||
</div>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user