@if ($canExport) Print / PDF Export CSV @endif {{-- Filters --}}
@if (in_array('from', $supported, true))
@endif @if ($organizations) @endif @if (in_array('vendor', $supported, true)) @endif @if ($sellers) @endif @if (in_array('package', $supported, true)) @endif @if (in_array('service', $supported, true)) @endif @if (in_array('play', $supported, true)) @endif @if (in_array('status', $supported, true)) @endif @if (in_array('customer_status', $supported, true)) @endif @if (in_array('deadline', $supported, true)) @endif @if (in_array('state', $supported, true)) @endif @if (in_array('zip', $supported, true)) @endif
@if ($customerName || $this->hasActiveFilters())
@if ($customerName) Customer: {{ $customerName }} @endif Reset filters
@endif
{{-- Summary --}} @if ($summary)
@foreach ($summary as $tile)

{{ $tile['label'] }}

($tile['tone'] ?? '') === 'danger', 'text-emerald-700' => ($tile['tone'] ?? '') === 'success', 'text-amber-700' => in_array($tile['tone'] ?? '', ['warning', 'warning-strong'], true), 'text-slate-900' => ! in_array($tile['tone'] ?? '', ['danger', 'success', 'warning', 'warning-strong'], true)])>{{ $tile['value'] }}

@endforeach
@endif {{-- Results --}}
@foreach ($columns as $column) @endforeach @forelse ($rows as $row) @foreach ($columns as $column) @php($value = $row[$column['key']] ?? null) @php($format = $column['format'] ?? null) @endforeach @empty @endforelse
{{ $definition->title() }} results
($column['align'] ?? null) === 'right'])>{{ $column['label'] }}
($column['align'] ?? null) === 'right'])> @if ($column['key'] === 'work_order_number' && ! empty($row['ulid'])) {{ $value }} @elseif ($column['key'] === 'customer_number' && ! empty($row['ulid'])) {{ $value }} @elseif ($format === 'status' && $value) @elseif ($format === 'play' && $value) @elseif ($format === 'deadline' && $value) @php($state = \App\Enums\DeadlineState::from($value)) {{ $state->label() }} @else {{ \App\Reports\Report::format($value, $format) }} @endif
{{ $rows->links() }}