{{ $no++ }} |
{{ $data->filename }} |
{{ $data->extension }} |
{{ $data->file_type }} |
{{ $data->file->count() > 0 ? 'File Used' : 'File not Used' }}
|
{{ \Carbon\Carbon::parse($data->created_at)->toFormattedDateString() }} |
@if ($data->file->count() == 0)
{!! Form::open(['route' => [$status.'.destroy', $data->id], 'method' => 'delete']) !!}
{!! Form::button('Delete', ['type' => 'submit', 'class' => 'btn btn-danger', 'style'=>'width:100px;margin-top:7px;', 'onclick' => "return confirm('Are you sure?')"]) !!}
{!! Form::close() !!}
@else
@endif
|
@empty