@extends('layouts.admin') @section('title', 'Chatbot - Conversas') @section('content')
| Nome | Telefone | Cidade | Status | Avaliação | Mensagens | Data | Ações |
|---|---|---|---|---|---|---|---|
| {{ $conv->visitor_name }} | @if($conv->visitor_phone) {{ $conv->visitor_phone }} @else — @endif | @if($conv->visitor_city) {{ $conv->visitor_city }} @else — @endif | @if($conv->status === 'active') Ativa @else Finalizada @endif |
@if($conv->rating)
{{ str_repeat('★', $conv->rating) }}{{ str_repeat('☆', 5 - $conv->rating) }}
@if($conv->rating_comment)
{{ Str::limit($conv->rating_comment, 40) }} @endif @else — @endif |
{{ $conv->messages->count() }} msgs | {{ $conv->created_at->format('d/m/Y H:i') }} | @if($conv->visitor_phone) @endif |
As conversas aparecerão aqui quando os visitantes iniciarem um chat.