24 lines
580 B
PHP
24 lines
580 B
PHP
@extends('layouts.admin-layout')
|
|
@section('content')
|
|
@foreach($onlineDocuments as $onlineDocument)
|
|
<div>
|
|
{{ $onlineDocument->name }}
|
|
{{ $onlineDocument->id }}
|
|
{{ $onlineDocument->position }}
|
|
@foreach($onlineDocument->files as $file)
|
|
<div>
|
|
{{ $file->name }}
|
|
{{ $file->url }}
|
|
</div>
|
|
@endforeach
|
|
|
|
</div>
|
|
@endforeach
|
|
@php
|
|
$files = \App\Models\File::all();
|
|
foreach ($files as $file) {
|
|
echo ($file);
|
|
}
|
|
@endphp
|
|
@endsection
|