mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 02:04:38 +00:00
Created API endpoints to undo battery charge cycles and chore executions (references #63)
This commit is contained in:
@@ -41,7 +41,7 @@ class ChoresController extends BaseController
|
||||
public function Analysis(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args)
|
||||
{
|
||||
return $this->AppContainer->view->render($response, 'choresanalysis', [
|
||||
'choresLog' => $this->Database->chores_log()->orderBy('tracked_time', 'DESC'),
|
||||
'choresLog' => $this->Database->chores_log()->where('undone', 0)->orderBy('tracked_time', 'DESC'),
|
||||
'chores' => $this->Database->chores()->orderBy('name'),
|
||||
'users' => $this->Database->users()->orderBy('username')
|
||||
]);
|
||||
|
Reference in New Issue
Block a user