fixed guest consultation shows as unknown to show the guest name

This commit is contained in:
Naser Mansour
2026-01-09 19:44:44 +02:00
parent 0aa1b7f675
commit c1cc24c78d
3 changed files with 4 additions and 4 deletions
@@ -28,7 +28,7 @@ new class extends Component
@forelse ($pendingBookings as $booking)
<div wire:key="pending-{{ $booking->id }}" class="border-b border-zinc-100 py-2 last:border-0">
<div class="font-medium text-zinc-900">{{ $booking->user?->full_name ?? __('widgets.unknown_client') }}</div>
<div class="font-medium text-zinc-900">{{ $booking->getClientName() }}</div>
<div class="flex items-center gap-2 text-sm text-zinc-500">
<span>{{ $booking->booking_date->translatedFormat('M j') }}</span>
<flux:badge size="sm">{{ $booking->consultation_type->label() }}</flux:badge>