@extends('admin.masterv2') @section('styleSheet') @endsection @section('content')
@include('admin.includesV2.adminHeader', [ 'pageRoute' => route('fileList'), 'pageName' => 'File List', 'pageHeader'=> 'File List', 'addItemRoute' => route('addFile', ['id' => 'new']), 'addItemName' => 'Upload File', ]) @php $publicPath = public_path('uploads/files/'); @endphp
File Info
@foreach($filesList as $fileList) @php $downloadUrl = '' ; @endphp @endforeach
File ID File Name File Path Download Url Action
{{$fileList->id}} {{$fileList->name}} {{$fileList->path}} @php $path = request()->getSchemeAndHttpHost().'/storage/uploads/files'; $downloadUrl = $fileList->path != '' ? $path.'/'.$fileList->path : '' ; @endphp {{$downloadUrl}}
@csrf @method('DELETE')
Edit
@endsection @section('customJs') @endsection @section('documentJquery') @endsection