Se agrego boton de eliminar venta,venta especial y cancelacion

This commit is contained in:
Guillermo Gutierrez
2023-08-21 15:17:12 -07:00
parent 4c3d7c0e69
commit c686c9c4e4
6 changed files with 36 additions and 2 deletions

View File

@@ -36,6 +36,7 @@
<th>Total Venta</th>
<th>Registrado por</th>
<th>Fecha</th>
@role('admin')<th>Acciones</th>@endrole
</tr>
</thead>
<tbody>
@@ -48,6 +49,7 @@
<th>{{ $venta->precio_venta }}</th>
<th>{{ $venta->user->name }}</th>
<th>{{ $venta->created_at }}</th>
@role('admin') <th><button wire:click="delete({{ $venta->id }})" class="btn btn-sm btn-error">Eliminar</button></th> @endrole
</tr>
@empty
{{$ventas->links()}}