@extends('layouts.master') @section('content')

Lieferantenanfrage - Vorschau

@foreach($supplierRequests as $supplierRequest) @endforeach
@foreach($supplierRequests as $supplierRequest)
Projekt: {{$supplierRequest->project->project_nr}}
Lieferant: {{$supplierRequest->supplier->company}}
Zusätzlich übermittelte Dateien @php $filesLoaded = false; @endphp
    @foreach($supplierRequest->project->customer->documents as $document) @php $filesLoaded = true; @endphp
  • {{ $document->title }}
  • @endforeach @foreach($supplierRequest->tools as $tool) @foreach($tool->variables as $toolVariable) @if ($toolVariable->variable != null && $toolVariable->variable->type == 'file') @php $filesLoaded = true; @endphp
  • {{ $toolVariable->value }}
  • @endif @endforeach @foreach($tool->articles as $article) @foreach($article->variables as $variable) @if ($variable->variable != null && $variable->variable->type == 'file') @php $filesLoaded = true; @endphp
  • {{ $variable->value }}
  • @endif @endforeach @endforeach @endforeach @if (!$filesLoaded)
  • Keine zusätzlichen Dateien
  • @endif
@endforeach
@endsection