Fixed various smaller problems after some testing

This commit is contained in:
Bernd Bestel
2019-09-21 13:08:42 +02:00
parent 327c1f4fb3
commit b57fd83cb8
8 changed files with 17 additions and 3 deletions

View File

@@ -110,6 +110,7 @@ class RecipesController extends BaseController
return $this->AppContainer->view->render($response, 'recipeposform', [
'mode' => 'create',
'recipe' => $this->Database->recipes($args['recipeId']),
'recipePos' => new \stdClass(),
'products' => $this->Database->products()->orderBy('name'),
'quantityUnits' => $this->Database->quantity_units()->orderBy('name'),
'quantityUnitConversionsResolved' => $this->Database->quantity_unit_conversions_resolved()