@php use App\Availability; $product_availability = Availability::find($product->availability); $alternative = (isset($alternative)) ? $alternative : false; $product_specifications = getProductSpecifications($product); @endphp
{!! getPriceDisplay($product) !!} @if($product_availability) {{toUpper($product_availability->getTranslation('name'))}} @endif {{toUpper($product->getTranslation('name'))}} @if($product_specifications['year'] || $product_specifications['km'] || $product_specifications['seats'] || $product_specifications['gearbox'] || $product_specifications['fuel'] || $product_specifications['engine']) @if($product_specifications['year']) {{$product_specifications['year']}} @endif @if($product_specifications['km']) {{$product_specifications['km']}} @endif @if($product_specifications['seats']) {{$product_specifications['seats']}} @endif @if($product_specifications['gearbox']) {{toUpper($product_specifications['gearbox'])}} @endif @if($product_specifications['fuel']) {{toUpper($product_specifications['fuel'])}} @endif @if($product_specifications['engine']) {{$product_specifications['engine']}} @endif @endif {{toUpper(translate('Book a Test Drive'))}} @if($product->warranty) {{toUpper(translate('Warranty Included'))}} @endif @if($product->financial_support) {{toUpper(translate('Financial Support'))}} @endif