Mostrar alertas en inicio

This commit is contained in:
2023-10-19 18:20:37 -03:00
parent c2a3192b32
commit 02e1f3e091
25 changed files with 915 additions and 225 deletions

View File

@ -28,4 +28,10 @@ class Etapa extends Ideal\Repository
{
return $this->update($model, ['descripcion', 'orden'], $new_data);
}
public function fetchByDescripcion(string $descripcion): Model\Proyecto\Etapa
{
$query = "SELECT * FROM `{$this->getTable()}` WHERE `descripcion` = ?";
return $this->fetchOne($query, [$descripcion]);
}
}