@php $cartData = getCartData(); @endphp @if(!empty($analyses)) @foreach($analyses as $key => $print) @php if($bodyimages) $bodyimg = array_search($print['anaid'],$bodyimages,true); else $bodyimg = ""; if($mentalimages) $mentalimg = array_search($print['anaid'],$mentalimages,true); else $mentalimg = ""; @endphp {{-- *************** Progressbar-Analysis name *************** --}}

{{ $print['anaName'] }}

@if(!empty($print['desc']) || !empty($print['url_link']) || !empty($print['bodyDesc']) || !empty($print['mentalDesc']) || !empty($bodyimg) || !empty($mentalimg) || !empty($print['desc_img'])) @endif @if($data['user']->useroption->pattern_switch == 1)
@endif @php $result = 0; foreach ($cartData as $_cart) if($_cart->options->analysisID == $print['anaid'] && $_cart->options->type == 'Analysis') $result = true; @endphp @if ($result == true)
@else
@endif
{{-- *************** Progressbar-Analysis progressbar *************** --}}
{{ $print['anaVal'] }}%
{{-- *************** Progressbar-Analysis crat up/down icon *************** --}}
@if($print['anaVal'] < $print['beergod']) @endif @if($print['anaVal'] == $print['beergod']) @endif @if($print['anaVal'] > $print['beergod']) @endif
{{-- *************** Progressbar-Analysis heart/male icon *************** --}}
@if(!empty($print['causes']) or !empty($print['medium']) or !empty($print['tipp'])) {{-- *************** Progressbar-Analysis icon *************** --}} @endif @endforeach @endif