@if(\App\Application::all()->count()>=1)
@php
$currency = (\App\Application::all()->first()->currency_symbol ?? '$');
$currency = (auth()->user()->currency_symbol ?? $currency);
@endphp
@if(\App\Application::all()->first()->currency_symbol_location == "right")
{{number_format((float) $amount, 2, '.', '') }} {{$currency }}
@else
{{$currency }} {{number_format((float) $amount, \App\Application::all()->first()->decimal_digits ?? 2 , '.', '') }}
@endif
@elseif($account_info)
@php
$currency = $account_info->currency_symbol ?? '$';
@endphp
{{$currency }} {{number_format((float) $amount,2) }}
@else
{{'$'}}{{$amount}}
@endif