recipes can create products (#501)

This commit is contained in:
kriddles
2020-01-21 13:20:26 -06:00
committed by Bernd Bestel
parent c22496ca7c
commit 3a36bdaf45
5 changed files with 56 additions and 2 deletions

View File

@@ -63,6 +63,12 @@
'hint' => $__t('The ingredients listed here result in this amount of servings')
))
@include('components.productpicker', array(
'products' => $products,
'isRequired' => false,
'label' => 'Creates Product'
))
<div class="form-group">
<div class="form-check">
<input type="hidden" name="not_check_shoppinglist" value="0">
@@ -216,7 +222,13 @@
@endif
</div>
</div>
<div class="row mt-5">
<div class="col">
@include('components.productcard')
</div>
</div>
</div>
</div>
<div class="modal fade" id="recipe-include-editform-modal" tabindex="-1">