@extends('layouts.app') @section('content')
Showing all File @can('file-archive-create') @endcan {{-- --}}
@include('partials.search-files-form')
{{-- --}}
{{-- --}} @role('Admin') @endrole @foreach($filearchives as $filearchive) {{-- --}} @if($filearchive->file_mode == 1) @else @endif @role('Admin') @if($filearchive->status == 1) @else @endif @endrole {{-- --}} @endforeach
Total {{ $filearchives->count()}} Files found
Sl.IdMode Category TitleStatus Create DatePublish Date Action
{{$loop->iteration}}{{$filearchive->id}}PublicPrivate{{$filearchive->category->category_name}} {{$filearchive->title}}PublishedUnpublished{{date_format(date_create($filearchive->created_at), 'd M, y h:i A')}}{{date_format(date_create($filearchive->publish_date), 'd M, Y')}} {!! trans('clienttype.buttons.show') !!} @can('file-archive-list') {{-- --}} {{-- --}} Show {{-- File --}} @endcan @can('file-archive-edit') {{-- --}} Edit {{-- File --}} @endcan @can('file-archive-delete')
{{-- {!! Form::open(array('url' => 'categories/' . $category->id, 'class' => '', 'title' => 'Delete')) !!} {!! Form::hidden('_method', 'DELETE') !!} {!! Form::button(' Delete Category', array('class' => 'btn btn-danger btn-sm','type' => 'button', 'data-bs-toggle' => 'modal', 'data-bs-target' => '#confirmDelete', 'data-bs-title' => 'Delete Category', 'data-bs-message' => 'Are you sure to delete this category ?')) !!} {!! Form::close() !!} --}}
@csrf @method('DELETE')
@endcan
{{-- @if(config('users.enablePagination')) {{ $categories->links() }} @endif --}}
@include('modals.modal-delete')
{!! $filearchives->withQueryString()->links('pagination::bootstrap-5') !!} @endsection @section('footer_scripts') @include('scripts.delete-modal-script') {{-- @include('scripts.change-modal-link-script') --}} @endsection