mirror of
https://github.com/grocy/grocy.git
synced 2026-07-28 00:09:36 -07:00
Make it possible to disable chores/tasks/batteries due soon filters/highlighting (closes #1485)
This commit is contained in:
@@ -94,7 +94,7 @@ class BatteriesController extends BaseController
|
||||
{
|
||||
$currentBattery->due_type = 'duetoday';
|
||||
}
|
||||
elseif ($currentBattery->next_estimated_charge_time <= date('Y-m-d H:i:s', strtotime('+' . $nextXDays . ' days')))
|
||||
elseif ($nextXDays > 0 && $currentBattery->next_estimated_charge_time <= date('Y-m-d H:i:s', strtotime('+' . $nextXDays . ' days')))
|
||||
{
|
||||
$currentBattery->due_type = 'duesoon';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user