Se reparo error del delete en vista cancelacion
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
<th>{{$cancelacion->motivo}}</th>
|
<th>{{$cancelacion->motivo}}</th>
|
||||||
<th>{{$cancelacion->user->name}}</th>
|
<th>{{$cancelacion->user->name}}</th>
|
||||||
<th>{{$cancelacion->created_at}}</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
|
@role('admin') <th><button wire:click="delete({{ $cancelacion->id }})" class="btn btn-sm btn-error">Eliminar</button></th> @endrole
|
||||||
</tr>
|
</tr>
|
||||||
@empty
|
@empty
|
||||||
<div class="alert alert-info my-4 max-w-3xl mx-auto">
|
<div class="alert alert-info my-4 max-w-3xl mx-auto">
|
||||||
|
|||||||
Reference in New Issue
Block a user