@forelse ($printers as $printer)
    <tr>
        <td data-label="Печатач">{{ $printer->manufacturer }} {{ $printer->model }}</td>
        <td data-label="Сериски број">{{ $printer->serial_number }}</td>
        <td data-label="Клиент">{{ $printer->client?->name ?? '—' }}</td>
        <td data-label="Статус">
            @if ($printer->status === \App\Enums\PrinterStatus::Active)
                <span class="badge text-bg-success">{{ $printer->status->label() }}</span>
            @else
                <span class="badge text-bg-secondary">{{ $printer->status->label() }}</span>
            @endif
        </td>
        <td data-label="" class="text-end">
            <a href="{{ route('printers.show', $printer) }}" class="btn btn-sm btn-light border">Сервисна книга</a>
        </td>
    </tr>
@empty
    <tr><td colspan="5" class="text-center text-muted py-4">Нема резултати</td></tr>
@endforelse
