@php $vowels = array(" ", "–", "•","\r\n","“","”"); @endphp @foreach($products as $key=> $row) @endforeach
{{ __('products.key') }} {{ __('products.name') }} {{ __('products.description') }} {{ __('products.category') }} {{ __('products.writer') }} {{ __('products.model') }} {{ __('products.show') }} {{ __('products.visit_counts') }} {{ __('dashboard.created_at') }}
{{ $key+1 }} {{ productname($row->id) }} {{ str_replace($vowels, ' ', strip_tags(productdescription($row->id))) }} {{ categoryname($row->category_id) }} {{ $row->writer }} @if(is_null($row->model_id)){{ __('products.null') }} @else {{ modelname($row->model_id) }} @endif @if($row->show == 'yes'){{ __('products.yes') }} @else {{ __('products.no') }} @endif {{ $row->visit_counts }} {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }}