Se agrego boton de eliminar venta,venta especial y cancelacion
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user