@section('title', __('Order Chat') )
@foreach ($chatTypes ?? [] as $chatType) @php $chatTypeCode = ($chatType['code'] ?? ''); $selected = $selectedChatType == $chatTypeCode; $selectedClasses = $selected ? 'bg-primary-600 text-white font-semibold':''; @endphp
{{ __($chatType['name'] ?? $chatType ?? '') }}
@endforeach
{{ __('Chats') }}
@empty($chats)
@empty($selectedChatType)

{{ __('No chat listed here, please select a chat type on the side of this box') }}

@else

{{ __('No chat from the selected chat type.') }}
{{ __('When new chat are send, you can refresh this to see them list here') }}

@endempty
@endempty
@push('scripts') @endpush