Se reparo error del delete en vista cancelacion

This commit is contained in:
Guillermo Gutierrez
2023-08-21 15:56:07 -07:00
parent c686c9c4e4
commit f0341c3a61

View File

@@ -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">