fixes for things broken

This commit is contained in:
Aaron Moses 2019-12-22 23:29:22 +00:00
parent 146c7b6011
commit 8d4b8c91d7
2 changed files with 1 additions and 3 deletions

View File

@ -74,7 +74,7 @@ class StockController extends BaseController
{
return $this->renderPage($response, 'consume', [
'products' => $this->getDatabase()->products()->orderBy('name'),
'recipes' => $this->getDatabase()->recipes()->orderBy('name')
'recipes' => $this->getDatabase()->recipes()->orderBy('name'),
'locations' => $this->getDatabase()->locations()->orderBy('name')
]);
}

View File

@ -12,8 +12,6 @@ class DemoDataGeneratorService extends BaseService
$this->getLocalizationService() = new LocalizationService(GROCY_CULTURE);
}
protected $LocalizationService;
public function PopulateDemoData()
{
$rowCount = $this->getDatabaseService()->ExecuteDbQuery('SELECT COUNT(*) FROM migrations WHERE migration = -1')->fetchColumn();