@forelse($results as $result)
    <tr>
        <td class="text-center">{{ $result->code }}</td>
        <td class="text-left">
            <a href="#" class="btn-select-perception" data-id="{{$result->id}}" data-name="{{$result->name}}" data-description-select2="{{$result->description_select2}}" data-row-origin="{{$row_origin}}">
                {{$result->name}}
            </a>
        </td>
        @if(!empty($active_btn_select))
        <td class="text-center">
            <a href="#" class="btn btn-xs btn-primary btn-select-perception" data-id="{{$result->id}}" data-name="{{$result->name}}" data-description-select2="{{$result->description_select2}}" data-row-origin="{{$row_origin}}">
                @lang('general.button_select')
            </a>
        </td>
        @endif
    </tr>
@empty
    <tr>
        <td colspan="4" class="text-center">@lang('general.text_no_results')</td>
    </tr>
@endif
