@lang('modules.projects.fileName') @lang('app.date') @lang('app.action') @forelse($product->files as $file) @if($product->default_image == $file->hashname)
@lang('purchase::app.defaultImage') @else @endif @if($file->created_at == null ) {{ $product->created_at->diffForHumans() }} @else {{ carbon\carbon::parse($file->created_at)->diffForHumans() }} @endif @if ($viewPermission == 'all' || ($viewPermission == 'added' && $file->added_by == user()->id))
@lang('app.view')
@endif @empty @endforelse