| {{ $headerTitle }} @if(str_starts_with($headerName, $sortBy)) @if($orderBy === 'asc') @else @endif @endif @if(isset(request()->filters[$headerName]) || isset(request()->filters[str_replace('_txt', '', $headerName) . '_from']) || isset(request()->filters[str_replace('_txt', '', $headerName) . '_to']) ) @endif | @endforeach
|---|
| {!! $product->$headerName !!} | @endforeach