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
@@ -39,7 +39,7 @@ new class extends Component
{{ \Carbon\Carbon::parse($consultation->booking_time)->format('g:i A') }}
</div>
<div class="flex items-center gap-2 text-sm text-zinc-500">
<span>{{ $consultation->user?->full_name ?? __('widgets.unknown_client') }}</span>
<span>{{ $consultation->getClientName() }}</span>
<flux:badge size="sm">{{ $consultation->consultation_type->label() }}</flux:badge>
</div>
</div>