Recipe edit page fixes

This commit is contained in:
Bernd Bestel
2020-11-13 15:46:44 +01:00
parent fa3a4ed688
commit ab68a51ba7
4 changed files with 4 additions and 4 deletions

View File

@@ -92,7 +92,8 @@
'isRequired' => false,
'label' => 'Produces product',
'prefillById' => $mode == 'edit' ? $recipe->product_id : '',
'hint' => $__t('When a product is selected, one unit (per serving in purchase quantity unit) will be added to stock on consuming this recipe')
'hint' => $__t('When a product is selected, one unit (per serving in stock quantity unit) will be added to stock on consuming this recipe'),
'disallowAllProductWorkflows' => true,
))
@include('components.userfieldsform', array(

View File

@@ -61,7 +61,7 @@
@include('components.productamountpicker', array(
'value' => $value,
'initialQuId' => $initialQuId,
'additionalGroupCssClasses' => 'mb-0'
'additionalGroupCssClasses' => 'mb-1'
))
<div class="form-group">