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