Initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<div>
|
||||
<div class=" text-center">
|
||||
<div class="flex w-11/12 align-middle">
|
||||
<input type="text" placeholder="Buscar" wire:model="buscar" class="mx-auto text-center rounded my-4">
|
||||
<label for="aprobado" class="my-1 align-middle px-1">Aprobados</label>
|
||||
<input type="checkbox" id="aprobado" wire:model="aprobado" class="my-1 align-middle px-1">
|
||||
</div>
|
||||
|
||||
|
||||
<table class="text-center w-11/12 mx-auto">
|
||||
<tr class="border text-left">
|
||||
<th>Compra</th>
|
||||
<th>Usuario</th>
|
||||
<th>Email</th>
|
||||
<th>Valor pagado</th>
|
||||
<th>Estado</th>
|
||||
<th>Saldo</th>
|
||||
</tr>
|
||||
@foreach($historial_recargas as $item)
|
||||
|
||||
<tr class="border hover:bg-gray-200 hover:ring-gray-500 text-left text-sm" >
|
||||
<td>{{\Carbon\Carbon::parse($item->created_at)->format('y/m/d h:i a')}}</td>
|
||||
<td>{{$item->usuario->name}}</td>
|
||||
<td>{{$item->usuario->email}}</td>
|
||||
<td>{{$item->monto}}</td>
|
||||
<td>{{$item->status}}</td>
|
||||
<td>{{$item->valor_recarga}}</td>
|
||||
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</table>
|
||||
<div class="mx-10">
|
||||
{{ $historial_recargas->links( )}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user