startSection('title', $__t('Recipes')); ?> startSection('activeNav', 'recipes'); ?> startSection('viewJsName', 'recipes'); ?> startSection('content'); ?>

yieldContent('title'); ?>

make('components.userfields_thead', array( 'userfields' => $userfields ), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> addLoop($__currentLoopData); foreach($__currentLoopData as $recipe): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> make('components.userfields_tbody', array( 'userfields' => $userfields, 'userfieldValues' => FindAllObjectsInArrayByPropertyValue($userfieldValues, 'object_id', $recipe->id) ), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
Hidden status for sorting of "Requirements fulfilled" column Hidden status for filtering by status Hidden recipe ingredient product names
name); ?> desired_servings); ?> id)->need_fulfilled == 1): ?>id)->need_fulfilled_with_shopping_list == 1): ?> id)->need_fulfilled == 1): ?>id)->need_fulfilled_with_shopping_list == 1): ?>id)->missing_products_count, 'Not enough in stock, %s ingredient missing but already on the shopping list', 'Not enough in stock, %s ingredients missing but already on the shopping list')); ?>id)->missing_products_count, 'Not enough in stock, %s ingredient missing', 'Not enough in stock, %s ingredients missing')); ?> id)->missing_products_count); ?> id)->need_fulfilled == 1): ?> enoughtinstock id)->need_fulfilled_with_shopping_list == 1): ?> enoughinstockwithshoppinglist notenoughinstock id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $recipePos): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> product_id)->name . ' '); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
name); ?>     
make('components.numberpicker', array( 'id' => 'servings-scale', 'label' => 'Servings', 'min' => 1, 'value' => $selectedRecipe->desired_servings, 'invalidFeedback' => $__t('This cannot be lower than %s', '1'), 'additionalAttributes' => 'data-recipe-id="' . $selectedRecipe->id . '"' ), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
0): ?>

addLoop($__currentLoopData); foreach($__currentLoopData as $selectedRecipeSubRecipe): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

name); ?>

picture_file_name)): ?>

id); ?> 0): ?>
    addLoop($__currentLoopData); foreach($__currentLoopData as $selectedRecipePosition): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> ingredient_group): ?>
    ingredient_group); ?>
  • product_id); $productQuConversions = FindAllObjectsInArrayByPropertyValue($quantityUnitConversionsResolved, 'product_id', $product->id); $productQuConversions = FindAllObjectsInArrayByPropertyValue($productQuConversions, 'from_qu_id', $product->qu_id_stock); $productQuConversion = FindObjectInArrayByPropertyValue($productQuConversions, 'to_qu_id', $selectedRecipePosition->qu_id); if ($productQuConversion) { $selectedRecipePosition->recipe_amount = $selectedRecipePosition->recipe_amount * $productQuConversion->factor; } ?> recipe_variable_amount)): ?> recipe_variable_amount); ?> recipe_amount == round($selectedRecipePosition->recipe_amount, 2)): ?>recipe_amount, 2)); ?>recipe_amount); ?> recipe_amount, FindObjectInArrayByPropertyValue($quantityUnits, 'id', $selectedRecipePosition->qu_id)->name, FindObjectInArrayByPropertyValue($quantityUnits, 'id', $selectedRecipePosition->qu_id)->name_plural)); ?> product_id)->name); ?> need_fulfilled == 1): ?>need_fulfilled_with_shopping_list == 1): ?> id)->need_fulfilled == 1): ?> id)->missing_amount, 2), round(FindObjectInArrayByPropertyValue($selectedRecipeSubRecipesPositions, 'recipe_pos_id', $selectedRecipePosition->id)->amount_on_shopping_list, 2))); ?> note)): ?>
    note); ?>
  • ingredient_group; ?> popLoop(); $loop = $__env->getLastLoop(); ?>
description)): ?>
description; ?>
popLoop(); $loop = $__env->getLastLoop(); ?> picture_file_name)): ?>

count() > 0): ?>
    addLoop($__currentLoopData); foreach($__currentLoopData as $selectedRecipePosition): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> ingredient_group): ?>
    ingredient_group); ?>
  • product_id); $productQuConversions = FindAllObjectsInArrayByPropertyValue($quantityUnitConversionsResolved, 'product_id', $product->id); $productQuConversions = FindAllObjectsInArrayByPropertyValue($productQuConversions, 'from_qu_id', $product->qu_id_stock); $productQuConversion = FindObjectInArrayByPropertyValue($productQuConversions, 'to_qu_id', $selectedRecipePosition->qu_id); if ($productQuConversion) { $selectedRecipePosition->recipe_amount = $selectedRecipePosition->recipe_amount * $productQuConversion->factor; } ?> recipe_variable_amount)): ?> recipe_variable_amount); ?> recipe_amount == round($selectedRecipePosition->recipe_amount, 2)): ?>recipe_amount, 2)); ?>recipe_amount); ?> recipe_amount, FindObjectInArrayByPropertyValue($quantityUnits, 'id', $selectedRecipePosition->qu_id)->name, FindObjectInArrayByPropertyValue($quantityUnits, 'id', $selectedRecipePosition->qu_id)->name_plural)); ?> product_id)->name); ?> need_fulfilled == 1): ?>need_fulfilled_with_shopping_list == 1): ?> id)->need_fulfilled == 1): ?> id)->missing_amount, 2), round(FindObjectInArrayByPropertyValue($recipePositionsResolved, 'recipe_pos_id', $selectedRecipePosition->id)->amount_on_shopping_list, 2))); ?> note)): ?>
    note); ?>
  • ingredient_group; ?> popLoop(); $loop = $__env->getLastLoop(); ?>
description)): ?>
description; ?>
addLoop($__currentLoopData); foreach($__currentLoopData as $recipePos): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> recipe_id, $includedRecipeIdsAbsolute) && $recipePos->missing_amount > 0): ?>
product_id)->name); ?>
popLoop(); $loop = $__env->getLastLoop(); ?>
stopSection(); ?> make('layout.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>