Se agrego paginador a ventas
This commit is contained in:
@@ -49,14 +49,16 @@
|
||||
<th>{{ $venta->user->name }}</th>
|
||||
<th>{{ $venta->created_at }}</th>
|
||||
</tr>
|
||||
@empty
|
||||
</tbody>
|
||||
</table>
|
||||
@empty
|
||||
{{$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
|
||||
@endforelse
|
||||
</tbody>
|
||||
</table>
|
||||
{{$ventas->links()}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user