@extends('layouts.panel') @section('content')
Clientes {{ $client->full_name }}
{{ strtoupper(substr($client->full_name, 0, 1)) }}

{{ $client->full_name }}

{{ $client->email }}{{ $client->phone ? ' · ' . $client->phone : '' }}

@if (!$ordenes->isEmpty())
@csrf
@endif ← Volver
@if ($ordenes->isEmpty())

Este cliente no tiene órdenes pagadas.

@else
Tickets y QR
@foreach ($ordenes as $orden) @foreach ($orden->tickets as $ticket)
@if ($ticket->qr_path && file_exists(public_path($ticket->qr_path))) QR {{ $ticket->code }} @else
@csrf
@endif
{{ $ticket->code }}
@if ($ticket->silla)
{{ $ticket->silla->seccion }} · Col. {{ $ticket->silla->fila }} · Silla {{ $ticket->silla->numero }}
@endif
@if ($ticket->isRedeemed()) Usado @else Disponible @endif
@endforeach @endforeach
@endif @endsection