<div>
    <style>
        .container-list {

            position: absolute;
            width: 95%;
            z-index: 2;
        }
    </style>
    <div class="form-group m-0 p-0">
        <label for="select-tasa" class="m-0 p-0 text-dark"><small><strong>Tasa de cambio</strong></small></label>
        <input type="text"
            class="form-control bg-light form-control-sm rounded-0 border-1 shadow-sm text-dark shadow-sm "
            placeholder="Selecciones un tasa" name="tasa_seleccionado" id="tasa_seleccionado" 
            autocomplete="off" wire:model.defer="tasa_seleccionado" wire:click="montar_lista()" readonly>
         
            <input type="text"
            class="form-control bg-light form-control-sm rounded-0 border-1 shadow-sm text-dark shadow-sm d-none"
            placeholder="Selecciones un tasa" name="tasa_monto_seleccionado" id="tasa_monto_seleccionado" 
            autocomplete="off" wire:model.defer="tasa_monto_seleccionado" readonly >

    </div>
    <div class="container-list <?php echo e($display); ?>" id="container-list">
        
        <div class="list-group-item list-group-item list-group-item-action active py-1" id="list-home-list"
            data-bs-toggle="list" href="#list-home" role="tab" aria-controls="list-home">

            <div class="input-group input-group-sm  flex-grow-1">
                <input type="text" class="form-control border-end-0 " placeholder="Buscar tasa"
                    id='buscador_tasa' name='buscador_tasa' wire:model.debounce.1000ms="buscador_tasa"
                    autocomplete="off">
                <span class="input-group-text input-group-text-sm bg-white text-secondary border-start-0"><i
                        class="fa-solid fa-magnifying-glass"></i></span>
            </div>
            
        </div>
        <div class="list-group" id="list-tab" role="tablist">
            <?php if($count_tasas_busqueda != 0): ?>

                <?php $__currentLoopData = $tasas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tasa): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if($tasa->activo != 0): ?>
                        <div class="list-group-item list-group-item-action py-1 " aria-current="true"
                            wire:click="selecionar_tasa('<?php echo e($tasa->id); ?>')">
                            <small><?php echo e($tasa->monto_tasa . ' Bsf Fecha:' . $tasa->fecha_reg .' Hora: '.$tasa->hora_reg); ?></small>
                        </div>
                    <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php else: ?>
                
                <div class="list-group-item list-group-item-action " aria-current="true">
                    <small class="text-secondary">La busqueda de <strong><?php echo e($buscador_tasa); ?></strong> no arrojo
                        ningun
                        resultado.</small>
                </div>
            <?php endif; ?>
        </div>
        <div class="list-group-item list-group-item-action active py-1" id="list-home-list" data-bs-toggle="list"
            href="#list-home" role="tab" aria-controls="list-home"> <small class="my-0"><?php echo e($tasas->links()); ?>

            </small>
        </div>
    </div>
</div>
<?php /**PATH /home/sociprom/public_html/smv2/resources/views/livewire/tasa/select-tasa.blade.php ENDPATH**/ ?>