feat:errores presupuesto

This commit is contained in:
amazuecos
2024-10-19 07:29:47 +00:00
parent f1df4559f7
commit f9b12cbcdd
4 changed files with 36 additions and 22 deletions

View File

@ -62,7 +62,7 @@ class ErrorPresupuesto extends Model
"presupuesto_id" => $presupuesto_id,
"presupuesto_user_id" => $presupuesto_user_id,
"error" => $error,
"datos" => json_encode($datos)
"datos_presupuesto" => json_encode($datos)
]);
}
public function updateComment(int $error_presupuesto_id, string $comment): bool
@ -81,7 +81,8 @@ class ErrorPresupuesto extends Model
"CONCAT(t1.first_name,' ',t1.last_name) as presupuestoUser",
"CONCAT(t2.first_name,' ',t2.last_name) as lastUser",
"presupuesto_errores.created_at",
"presupuesto_errores.datos",
"presupuesto_errores.datos_presupuesto",
"presupuesto_errores.error",
"presupuesto_errores.visto",
"presupuesto_errores.comment",