@extends('layouts.app') @section('title','Suporte - GIGAX ARENA') @section('page_title','Suporte') @php $tickets=collect($tickets??[]); $open=$tickets->whereIn('status',['aberto','em_andamento','aguardando_usuario'])->count(); $resolved=$tickets->where('status','resolvido')->count(); $waiting=$tickets->where('status','aguardando_usuario')->count(); @endphp @push('styles') @endpush @section('content')
Central de Chamados

Abra, acompanhe e responda seus atendimentos.

TOTAL{{ $tickets->count() }}
ATIVOS{{ $open }}
AGUARDANDO VOCÊ{{ $waiting }}
RESOLVIDOS{{ $resolved }}
@if($tickets->isEmpty())
Nenhum chamado criado. Use + Novo chamado quando precisar.
@else @foreach($tickets as $t) @endforeach
ProtocoloAssuntoCategoriaStatusPrioridadeAtualizado
#GX-{{ str_pad((string)$t->id,5,'0',STR_PAD_LEFT) }} {{ $t->subject }} {{ $t->category }} {{ strtoupper(str_replace('_',' ',$t->status)) }} {{ strtoupper($t->priority) }} {{ \Carbon\Carbon::parse($t->updated_at)->format('d/m H:i') }} Abrir
@endif
Novo chamado
@csrf @if($errors->any())
{{ $errors->first() }}
@endif
@endsection