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

@@ -33,6 +33,7 @@
<th>Motivo</th>
<th>Registrado por</th>
<th>Fecha</th>
@role('admin')<th>Acciones</th>@endrole
</tr>
</thead>
<tbody>
@@ -43,7 +44,7 @@
<th>{{$cancelacion->motivo}}</th>
<th>{{$cancelacion->user->name}}</th>
<th>{{$cancelacion->created_at}}</th>
@role('admin') <th><button wire:click="delete({{ $venta->id }})" class="btn btn-sm btn-error">Eliminar</button></th> @endrole
</tr>
@empty
<div class="alert alert-info my-4 max-w-3xl mx-auto">