@extends("layout.main") @section("content")
@foreach ($product->get_tree() as $p) {{ $p->title }} @endforeach
refurl) ?>
@if (Auth::can_moderate()) {{ $product->overview }} @else @if ($product->overview != "")
{!! $product->overview_md() !!}
@endif @endif @if (Auth::can_moderate()) @endif @foreach ($product->meta() as $m) @endforeach @if ($product->parent != null) @if (Auth::can_moderate()) @else @endif @endif @foreach ($product->children as $child) @if (Auth::can_moderate()) @else @endif @endforeach @foreach ($product->documents_sorted_by_meta() as $doc) @foreach ($product->meta() as $m) @endforeach @endforeach
Title{{ MetaType::name($m) }}Order No
Parent Parent
@if ($child->title == "Trash") @else @endif {{$child->title}} {{$child->title}}
@if ($doc->attachments->count() > 0) @else @endif @if (Auth::can_moderate()) {{$doc->title}} {{$doc->subtitle}} {{$doc->subsubtitle}} @if ($doc->overview) @endif @else {{$doc->title}} {{$doc->subtitle}} {{$doc->subsubtitle}} @if ($doc->overview) @endif @endif {{ $doc->get_metadata_by_id($m) }} {{ $doc->internal_id }}
{{ count($product->documents) }} documents
@endsection