@forelse($results as $result)
    <tr>
        <td class="text-center">{{ $result->code }}</td>
        <td class="text-left">
            <a href="#" class="btn-select-product" data-id="{{$result->id}}" data-code="{{$result->code}}" data-name="{{$result->name}}" data-row-origin="{{$row_origin}}">
                {{$result->name}}
            </a>
        </td>
        <td class="text-center">
            {{ \App\Helpers\Helper::numberFormatMoney($result->price,\App\Helpers\Helper::companyProductPriceDecimalPlace()) }}
        </td>
        @if(!empty($active_btn_select))
        <td class="text-center">
            <a href="#" class="btn btn-xs btn-primary btn-select-product" data-id="{{$result->id}}" data-code="{{$result->code}}" data-name="{{$result->name}}" 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
