@extends('projetos.projetos'); @section('content')

Tickets Externos

Aqui você pode visualizar os tickets recebidos pelos seus clientes.

{{-- GRID --}}
{{-- Código --}}
{{-- CNPJ --}}
{{-- Categoria --}}
{{-- Status --}}
{{-- Prioridade --}}
{{-- AÇÕES --}}
{{-- LIMPAR --}} Limpar {{-- BUSCAR --}}
{{-- HEADER --}} {{-- BODY --}} @foreach ($tickets as $item) {{-- ID --}} {{-- Nome --}} {{-- Abertura --}} {{-- Categoria --}} {{-- Assunto --}} {{-- Sistema --}} {{-- STATUS --}} {{-- Atualização --}} {{-- PRIORIDADE --}} {{-- AÇÃO --}} @endforeach
Ticket Nome Empresa Abertura Assunto Sistema Status Atualização Prioridade Ações
#{{$item->id}} {{$item->name}} {{$item->company ?? "N/D"}} {{$item->created_at->format('d/m/Y H:i')}} {{ucfirst($item->subject)}} {{ucfirst($item->type_system)}} @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}} {{$item->updated_at->format('d/m/Y H:i')}} @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}}
{{-- PAGINAÇÃO --}}
{{$tickets->links()}}
@vite(['resources/js/projetos/ticketsOut.js']); @endsection