@extends('NewPDF.pdf_layout') @section('pdf_content') {{-- pdf main contents --}}
{{-- own topics & note --}} @if (!empty($cronsetup->note) || !empty($cronsetup->topic))
@if (!empty($cronsetup->topic))

{{__('action.topic_pdf')}}:

{{ $cronsetup->topic }}

@endif @if (!empty($cronsetup->note))

{{__('action.note_cron_view')}}:

{{ $cronsetup->note }}

@endif
@endif @if(count($allSubmenus)) {{-- normal pdf content start --}}
@foreach ($allSubmenus as $submenu) @if ($submenu['analyses'] && $submenu['analyses']->count())
{!! $submenu['submenu_name'] != "" ? "" : "" !!} @foreach ($submenu['analyses'] as $analyse) @if($analyse['type'] == 0 || $analyse['type'] == 1 || $analyse['type'] == 2 || $analyse['type'] == 3)
{{-- analysis name start --}} @if(isset($analyse['others']['allred']))

{{ $analyse['others']['allred'] }}/{{ $analyse['others']['allgreen'] }} - {{ $analyse['name'] }}

@else

{{ $analyse['cal'].'%' }} - {{ $analyse['name'] }}

@endif {{-- analysis name end --}} {{-- progressbar start --}}
@if(isset($analyse['others']['allgreen']) || isset($analyse['others']['allred'])) {{--
--}}
@else
@endif
{{-- progressbar end --}}
{{-- description start --}} @if(!empty($analyse['desc']))
{{ __('action.main_desc') }}:
{{--

Endorphins

--}}

{!! $analyse['desc'] !!}

@endif @if($analyse['male_val'] <= 30) @if (!empty($analyse['body']))
{{ __('action.body_desc') }}:
{{--

Endorphins

--}}

{!! $analyse['body'] !!}

@endif @endif @if($analyse['heart_val'] >= 50) @if (!empty($analyse['mental']))
{{ __('action.mental_desc') }}:
{{--

Endorphins

--}}

{!! $analyse['mental'] !!}

@endif @endif @if($analyse['male_val'] > 30 && $analyse['heart_val'] < 50) @if (!empty($analyse['body']))
{{ __('action.body_desc') }}:
{{--

Endorphins

--}}

{!! $analyse['body'] !!}

@endif @if (!empty($analyse['mental']))
{{ __('action.mental_desc') }}:
{{--

Endorphins

--}}

{!! $analyse['mental'] !!}

@endif @endif {{-- causes, mid, tip --}} @if($analyse['cau'] != null)

{{__('action.causes')}}:

{{ $analyse['cau']->title }} {!! $analyse['cau']->description !!}
@endif @if($analyse['mid'] != null)

{{ __('action.medium') }}:

{{ $analyse['mid']->title }} {!! $analyse['mid']->description !!}
@endif @if($analyse['tip'] != null)

{{__('action.tipp')}}:

{{ $analyse['tip']->title }} {!! $analyse['tip']->description !!}
@endif @if($analyse['ein'] != null)

{{__('action.einfluss')}}:

{{ $analyse['ein']->title }} {!! $analyse['ein']->description !!}
@endif @if($analyse['foc'] != null)

{{__('action.focus_pdf')}}:

{{ $analyse['foc']->title }} {!! $analyse['foc']->description !!}
@endif
@elseif($analyse['type'] == 4)
{{-- analysis name start --}}

{{ $analyse['cal'].'%' }} - {{ $analyse['name'] }}

{{-- analysis name end --}} {{-- progressbar start --}}
{{-- progressbar end --}}
@if($analyse['ein'] != null)

{{__('action.einfluss')}}:

{{ $analyse['ein']->title }} {!! $analyse['ein']->description !!}
@endif
@elseif($analyse['type'] == 5)
{{-- analysis name start --}}

{{ $analyse['cal'].'%' }} - {{ $analyse['name'] }}

{{-- analysis name end --}} {{-- progressbar start --}}
{{-- progressbar end --}}
@if($analyse['foc'] != null)

{{__('action.focus_pdf')}}:

{{ $analyse['foc']->title }} {!! $analyse['foc']->description !!}
@endif
@endif @endforeach
@endif @endforeach
{{-- normal pdf content end --}} @endif {{-- Topic --}} @if(!$topicnames->isEmpty())
@foreach($topicnames as $topic)

{{__('action.topic')}}:

{{ $topic['name'] }}

@endforeach
@endif
@endsection