<div class="card shadow">
    <div class="card-header">
        <span class="h6 title-decorative">Filter pracoviska</span>
    </div>
    <div class="card-body">
        <select id="kod_pek"
                name="kod_pek"
                class="custom-select"
                wire:model.change="kod">
            <option value="">Všetky</option>
            @foreach($pracoviska as $pracovisko)
                <option value="{{ $pracovisko->kod }}"
                        wire:key="wk-{{ $pracovisko->kod }}"
                >{{ $pracovisko->kod }} - {{ $pracovisko->nazov }}</option>
            @endforeach
        </select>
    </div>
</div>
