@php $editPermission = user()->permission('edit_product'); $deletePermission = user()->permission('delete_product'); @endphp

@lang('app.productsDetails')

@if ( ($editPermission == 'all' || ($editPermission == 'added' && $product->added_by == user()->id)) || ($deletePermission == 'all' || ($deletePermission == 'added' && $product->added_by == user()->id)) ) @endif
@if (!in_array('client', user_roles())) @endif @if ($product->downloadable && !in_array('client', user_roles())) @endif @if ($product->files)

{{ __('modules.productImage') }}

@foreach ($product->files as $file) @endforeach

@endif {{-- Custom fields data --}}