@extends('layouts.app') @section('content')
| Sl. | {{--Id | --}}Mode | Category | Title | @role('Admin')Status | Create Date | @endrolePublish Date | Action | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$loop->iteration}} | {{--{{$filearchive->id}} | --}} @if($filearchive->file_mode == 1)Public | @elsePrivate | @endif{{$filearchive->category->category_name}} | {{$filearchive->title}} | @role('Admin') @if($filearchive->status == 1)Published | @elseUnpublished | @endif{{date_format(date_create($filearchive->created_at), 'd M, y h:i A')}} | @endrole{{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() !!} --}}
@endcan
|