funcion/refactor-general #45
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class SubpedidoController extends Controller
|
|||
'aprobacion' => 'required | boolean'
|
||||
]);
|
||||
$subpedido->toggleAprobacion($valid['aprobacion']);
|
||||
return new SubpedidoResource($subpedido);
|
||||
return response()->noContent();
|
||||
}
|
||||
|
||||
public function syncDevoluciones(Subpedido $subpedido) {
|
||||
|
|
Loading…
Add table
Reference in a new issue