@php $decimals = $account->accounts_number_decimal_digits; // $price = $price > 0 ? number_format((float) $price, $decimals, '.', ',') : $price; $price = str_replace(',', '', $price); if ($price > 0) { if (fmod($price, 1) == 0) { $price = number_format((float)$price, 0, '.', ','); } else { $price = number_format((float)$price, $decimals, '.', ','); } } @endphp @if($price != null) @if($account->accounts_country_code == '+966' || $account->accounts_timezone == 'Asia/Riyadh') {{ $price }} @else @if($settings_currency == '$') {{$settings_currency?$settings_currency:__('lang.currency')}}{{$price}} @else {{$price}} {{$settings_currency?$settings_currency:__('lang.currency')}} @endif @endif @endif