mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 08:34:48 +00:00
Make it possible to disable chores/tasks/batteries due soon filters/highlighting (closes #1485)
This commit is contained in:
@@ -108,7 +108,7 @@ class ChoresController extends BaseController
|
||||
{
|
||||
$currentChore->due_type = 'duetoday';
|
||||
}
|
||||
elseif ($currentChore->next_estimated_execution_time <= date('Y-m-d H:i:s', strtotime('+' . $nextXDays . ' days')))
|
||||
elseif ($nextXDays > 0 && $currentChore->next_estimated_execution_time <= date('Y-m-d H:i:s', strtotime('+' . $nextXDays . ' days')))
|
||||
{
|
||||
$currentChore->due_type = 'duesoon';
|
||||
}
|
||||
|
Reference in New Issue
Block a user