@extends('projetos.projetos'); @section('content')
Aqui você pode visualizar os tickets recebidos pelos seus clientes.
| Ticket | Nome | Empresa | Abertura | Assunto | Sistema | Status | Atualização | Prioridade | Ações |
|---|---|---|---|---|---|---|---|---|---|
| #{{$item->id}} | {{-- Nome --}}{{$item->name}} | {{$item->company ?? "N/D"}} | {{-- Abertura --}}{{$item->created_at->format('d/m/Y H:i')}} | {{-- Categoria --}} {{-- Assunto --}}{{ucfirst($item->subject)}} | {{-- Sistema --}}{{ucfirst($item->type_system)}} | {{-- STATUS --}}@php $statusColors = [ 'Pendente' => 'bg-[#E55133]/10 text-[#E55133]', 'Em andamento' => 'bg-yellow-100 text-yellow-700', 'Aguardando retorno' => 'bg-gray-100 text-gray-600', 'Finalizado' => 'bg-green-100 text-green-700', 'Cancelado' => 'bg-red-100 text-red-600', ]; @endphp {{$item->status->name}} | {{-- Atualização --}}{{$item->updated_at->format('d/m/Y H:i')}} | {{-- PRIORIDADE --}}@php $priorityColors = [ 'Baixa' => 'bg-blue-100 text-blue-700', 'Média' => 'bg-[#E55133]/10 text-[#E55133]', 'Alta' => 'bg-red-100 text-red-700', ]; @endphp {{$item->priority->name}} | {{-- AÇÃO --}}