Devolviendo resource tras crear pedido

This commit is contained in:
Alejandro Tasistro 2025-05-22 21:45:22 -03:00
parent d4df72afe2
commit fd055cd7c6

View file

@ -35,7 +35,7 @@ class SubpedidoController extends Controller
$s->nombre = $validado["nombre"];
$s->grupo_de_compra_id = $validado["grupo_de_compra_id"];
$s->save();
return $s;
return $this->show($s);
}
protected function validateSubpedido(): array