<div class="card shadow">
    <div class="card-header">
        <span class="h6 title-decorative">Filter pracoviska</span>
    </div>
    <div class="card-body">
        <select wire:ignore class="custom-select" wire:model="kod">
            <option @if(empty($this->kod)) selected="selected" @endif value="">Všetky</option>
            @foreach($this->pracoviska() as $pracovisko)
                <option value="{{ $pracovisko->kod }}" @if($pracovisko->kod == $kod) selected="selected" @endif>{{ $pracovisko->kod }} - {{ $pracovisko->nazov }}</option>
            @endforeach
        </select>
    </div>
</div>
