mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Recalculate chore assignments when undoing an execution (fixes #2278)
This commit is contained in:
parent
78e4e918c6
commit
f6d6e933e3
@ -71,6 +71,7 @@
|
||||
- The green button now tracks an execution of the corresponding chore on the next scheduled time, rather than for now/today
|
||||
- New context-/more menu option "Track chore execution now" to track an execution for now/today (so the same what the green button did before)
|
||||
- Removed the limitation on the chore tracking page that the tracked time couldn't be in the future
|
||||
- Fixed that "assidgned to" was not recalculated when undoing chores
|
||||
|
||||
### Calendar
|
||||
|
||||
|
@ -243,6 +243,8 @@ class ChoresService extends BaseService
|
||||
'undone' => 1,
|
||||
'undone_timestamp' => date('Y-m-d H:i:s')
|
||||
]);
|
||||
|
||||
$this->CalculateNextExecutionAssignment($logRow->chore_id);
|
||||
}
|
||||
|
||||
public function MergeChores(int $choreIdToKeep, int $choreIdToRemove)
|
||||
|
Loading…
x
Reference in New Issue
Block a user