@php list($currency_code,$curr_symbol, $exchange_rate,$name)= getData(); @endphp {{$price_now=(round($advertisment['discount_price']/$exchange_rate,2) ?? round($advertisment['price']/$exchange_rate,2)) }} {{$curr_symbol}} @if($advertisment['discount_price']) {{round($advertisment['price']/$exchange_rate,2) }} {{$curr_symbol}} @endif