Search Here
@foreach($countries as $country)
{{$country->title}}
@php
$countryDocs = $country->documents()->get();
@endphp
@foreach($countryDocs as $doc)
@php
$path = $doc->collection_name . '/' . $doc->file_path;
$full_path = Storage::disk('public')->url($path)
@endphp
{{$loop->index + 1}} |
{{$doc->title}} |
|
@endforeach
@endforeach
@foreach($tests as $test)
{{$test->title}}
@php
$testDocs = $test->documents()->get();
@endphp
@foreach($testDocs as $docs)
@php
$paths = $docs->collection_name . '/' . $docs->file_path;
$full_paths = Storage::disk('public')->url($paths)
@endphp
{{$loop->index + 1}} |
{{$docs->title}} |
|
@endforeach
@endforeach
@foreach($services as $service)
{{$service->title}}
@php
$serviceDocs = $service->documents()->get();
@endphp
@foreach($serviceDocs as $docss)
@php
$pathss = $docss->collection_name . '/' . $docss->file_path;
$full_pathss = Storage::disk('public')->url($pathss)
@endphp
{{$docss->index + 1}} |
{{$docss->title}} |
|
@endforeach
@endforeach