@extends('layouts.pdf') @section('pdf_content')

IHRE AUSWAHL

@if($product)

Oberfläche

{{ __('app.machine') }}

Größe

{{str_replace("ü", "ue", $surface->title)}} {{$product ? $product->title : __('app.no_machine_available')}} {{$sizeText}}


{{__('app.machine')}}

{{__('app.consumables')}}

{{$product->title}}

{{$product->title}}

{!! $product->description !!}
@php($count = 0) @php($rel = $related->filter(function ($value, $key) { return $value->is_product == false; })->values()) @if($rel) @if(count($rel) >= 3) @foreach($rel as $index => $relatedProductItem) @if(($index + 1) % 3 == 0 && $index <= 6) @else @if($count > 6) @break(true); @endif @endif @php($count++) @endforeach @endif @if(count($rel) < 3 && count($rel) > 0) @foreach($rel as $index => $relatedTopProductItem) @endforeach @foreach($rel as $index => $relatedTopProductItem) @endforeach @endif @endif
{{$rel[$index-2]->title}}
Artikel-Nr.: {{$rel[$index-2]->article_number}}
{{$rel[$index-1]->title}}
Artikel-Nr.: {{$rel[$index-1]->article_number}}
{{$rel[$index]->title}}
Artikel-Nr.: {{$rel[$index]->article_number}}
test test test
{{$rel[$index]->title}}
Artikel-Nr.: {{$rel[$index]->article_number}}
test
@endif @endsection