@if ($recipe->ingredients()->count() === 0)
Tento recept nemá přidané suroviny nebo potraviny.
@else
@foreach($recipe->ingredients as $ingredient) @if ($ingredient->hasMacronutrients()) @else @endif @endforeach
Název Jednotka Energie (Kcal) Bílkoviny Sacharidy Tuky Pořadí
{{ $ingredient->name }} @if (is_null($ingredient->description) === false) ({{ $ingredient->description }}) @endif @if ($ingredient->hasValue() === true) {{ $ingredient->value }} {{ \GetFitOnline\Units\Unit::ALL[$ingredient->unit] }} (@ingredientAmount($ingredient)) @endif {{ $ingredient->macronutrients->energy }} {{ $ingredient->macronutrients->proteins }} {{ $ingredient->macronutrients->carbohydrates }} {{ $ingredient->macronutrients->fats }}-{{ $ingredient->order }}
{{ $recipe->macronutrients->energy }} {{ $recipe->macronutrients->proteins }} {{ $recipe->macronutrients->percents->formatted('proteins') }} {{ $recipe->macronutrients->carbohydrates }} {{ $recipe->macronutrients->percents->formatted('carbohydrates') }} {{ $recipe->macronutrients->fats }} {{ $recipe->macronutrients->percents->formatted('fats') }}
@endif