HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.0.30
System: Linux multiplicar 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: root (0)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /var/www/html/xfacil.desafio.com.py/resources/views/livewire/solicitudesadmin.blade.php
<div>
    <div class="card">
        <div class="card-header">
            <div class="col-12">
                <div class="form-group">
                    <input wire:model="buscar" type="search" class="form-control" placeholder="Buscar" />
                </div>
            </div>
        </div>
        <div class="card-body">
            <table class="table table-bordered" id="example">
                <thead>
                    <tr>
                        <th>Solicitante</th>
                        <th>Producto</th>
                        <th>Monedas</th>
                        <th>Fecha de solicitud</th>
                        <th>Acciones</th>
                    </tr>
                </thead>
                <tbody>
                    @foreach($canjes as $value)
                    <tr>
                        <td>{{ $value->name }}</td>
                        <td>{{ $value->nombre }}</td>
                        <td>{{ $value->monedas }}</td>
                        <td>{{ $value->fecha }}</td>
                        <td>Aprobado</td>
                    </tr>
                    @endforeach
                </tbody>
            </table>
        </div>
    </div>
    <div class="col-12">
        @if($canjes->count())
                {{ $canjes->links() }}
        @else
                No hay resultados para la búsqueda "{{ $buscar }}"
        @endif
    </div>
</div>