@extends('layouts.default') @section('content') {{ __('common.heading') }} {{ __('common.search') }} {{ __('common.clear') }} @foreach ($products as $product) @php $genericName = $product->getLocalizedValue('generic_name'); $brandNames = $product->getLocalizedValue('brand_names'); $therapeuticClass = $product->getLocalizedValue('therapeutic_class'); $categoryName = $product->category ? $product->category->getLocalizedValue('name') : ''; $json = json_encode( array_merge($product->toArray(), [ 'dmf_cep' => $product->dmf_number, 'generic_name' => $genericName, 'brand_names' => $brandNames, 'therapeutic_class' => $therapeuticClass, 'form' => $product->getLocalizedValue('form'), 'product_type' => $product->getLocalizedValue('product_type'), ]), JSON_UNESCAPED_UNICODE | JSON_HEX_APOS | JSON_HEX_QUOT ); $productUrl = url( '/product/' . $product->id . '/' . \Illuminate\Support\Str::slug($genericName) ); $search = mb_strtolower(implode(' ', array_filter([ $genericName, $brandNames, $therapeuticClass, $categoryName, ]))); @endphp index >= 16) style="display:none;" @endif> @if ($product->image) @else No image @endif {{ $product->generic_name }} Request for Quote @endforeach No products found. Load More ↑ @stop
No products found.