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
|
|
@ -295,7 +295,7 @@ final class CareRoundsController
|
|||
$roundDate = $roundInfo ? date('d/m/Y', strtotime((string) $roundInfo['round_date'])) : date('d/m/Y');
|
||||
$roundPeriod = t('care.' . self::period($roundInfo['period'] ?? 'morning'));
|
||||
$history = $db->prepare(
|
||||
"INSERT INTO animal_history(animal_id,type,label,details,user_id) VALUES(:animal,'care_round',:label,:details,:user)",
|
||||
"INSERT INTO animal_history(animal_id,action,type,label,details,user_id) VALUES(:animal,'care_round','care_round',:label,:details,:user)",
|
||||
);
|
||||
$history->execute([
|
||||
':animal' => $animalId,
|
||||
|
|
|
|||
Loading…
Reference in a new issue