Se agrego paginador a ventas

This commit is contained in:
Guillermo Gutierrez
2023-08-18 09:50:11 -07:00
parent c74c21a34a
commit 4c3d7c0e69

View File

@@ -50,13 +50,15 @@
<th>{{ $venta->created_at }}</th>
</tr>
@empty
</tbody>
</table>
{{$ventas->links()}}
<div class="alert alert-info my-4 max-w-3xl mx-auto">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" class="stroke-current shrink-0 w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
<span>No hay ventas registradas en el sistema.</span>
</div>
@endforelse
</tbody>
</table>
{{$ventas->links()}}
</div>
</div>