{{--Intro page--}}

{{$partner->name}}

{{$recipes->first()->date->format('d. m. Y')}} @if ($recipes->first()->date != $recipes->last()->date) - {{$recipes->last()->date->format('d. m. Y')}} @endif

{{--Project detail page--}} @foreach($recipes as $recipe) @if ($recipe->type->id == 1)

{{\GetFitOnline\Configuration\ManagesTime::dayName($recipe->date->format('w'))}}, {{$recipe->date->format('d. m. Y')}}

@endif

{{ucfirst($recipe->type->name)}}: {{ $recipe->name }}

@php $thumb=public_path(imagePreview($recipe->photo)); @endphp @if(file_exists($thumb))
{{ $recipe->name }}
@endif

Suroviny

@foreach($recipe->ingredients as $ingredient) @endforeach
@if ($ingredient->hasMacronutrients() === true && !empty($ingredient->unit)) @ingredientAmount($ingredient) @endif {{ $ingredient->name }}

Informace o jídle

Energie {{ $recipe->macronutrients->energy }} Kcal
Bílkoviny {{ round($recipe->macronutrients->proteins) }} g {{ round($recipe->macronutrients->percents->proteins) }} %
Sacharidy {{ round($recipe->macronutrients->carbohydrates) }} g {{ round($recipe->macronutrients->percents->carbohydrates) }} %
Tuky {{ round($recipe->macronutrients->fats) }} g {{ round($recipe->macronutrients->percents->fats) }} %
{!! $recipe->description !!}

@endforeach