fix: rétablir la création des portées
This commit is contained in:
parent
b8abaa8440
commit
2029849f18
14 changed files with 35 additions and 21 deletions
|
|
@ -104,7 +104,7 @@ final class SurgeriesController
|
|||
]);
|
||||
}
|
||||
$db->prepare(
|
||||
"INSERT INTO animal_history(animal_id,type,label,details,user_id) VALUES(?,'medical','Chirurgie enregistrée',?,?)",
|
||||
"INSERT INTO animal_history(animal_id,action,type,label,details,user_id) VALUES(?,'medical','medical','Chirurgie enregistrée',?,?)",
|
||||
)->execute([$animal, $name . ' — ' . $date, Auth::id()]);
|
||||
$db->commit();
|
||||
header('Location: /animal?id=' . $animal . '#tab-med');
|
||||
|
|
|
|||
Loading…
Reference in a new issue