{{-- Analysis product show section --}} @php $cartData = getCartData(); @endphp
@if(!empty($analyses)) @foreach($analyses as $key => $print) @php if($bodyimages) $bodyimg = array_search($print['anaid'],$bodyimages,true); if($mentalimages) $mentalimg = array_search($print['anaid'],$mentalimages,true); @endphp {{-- single analysis product --}}
{{-- analysis sample header --}}
{{-- analysis sample header left --}}

{!! $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

{{-- analysis sample header right --}}
@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
{{-- analysis sample body --}}
{{--
--}} {{--
--}}

@if($print['anaVal'] < $print['beergod']) @endif @if($print['anaVal'] == $print['beergod']) @endif @if($print['anaVal'] > $print['beergod']) @endif
{{-- analysis sample footer --}} @if(!empty($print['causes']) or !empty($print['medium']) or !empty($print['tipp'])) @endif {{-- analysis sample list description --}}

{{$print['causes']->title}} {{-- --}} {{-- --}} @php $result = 0; foreach ($cartData as $_cart) if($_cart->options->causes_id == $print['causes']->id && $_cart->options->type == 'Causes') $result = true; @endphp @if ($result == true) @else @endif

{{ $print['causes']->description }}

{{ $print['medium']->title }} @php $result = 0; foreach ($cartData as $_cart) if($_cart->options->medium_id == $print['medium']->id && $_cart->options->type == 'Medium') $result = true; @endphp @if ($result == true) @else @endif

{{ $print['medium']->description }}

{{ $print['tipp']->title }} @php $result = 0; foreach ($cartData as $_cart) if($_cart->options->tipp_id == $print['tipp']->id && $_cart->options->type == 'Tipp') $result = true; @endphp @if ($result == true) @else @endif

{{ $print['tipp']->description }}

{{-- /single analysis product --}} @endforeach @endif