mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 11:48:55 +00:00
Make it possible to hide locations/stores/QUs/product_groups/task_categories (closes #2222)
This commit is contained in:
@@ -7,7 +7,7 @@ class TasksService extends BaseService
|
||||
public function GetCurrent(): \LessQL\Result
|
||||
{
|
||||
$users = $this->getUsersService()->GetUsersAsDto();
|
||||
$categories = $this->getDatabase()->task_categories();
|
||||
$categories = $this->getDatabase()->task_categories()->where('active = 1');
|
||||
|
||||
$tasks = $this->getDatabase()->tasks_current();
|
||||
foreach ($tasks as $task)
|
||||
|
Reference in New Issue
Block a user