@if(Auth::user()->role == 'reseller') @php $settings = \App\Models\Setting::first(); if(!$settings){ $settings = []; } $symbol = "$"; if(!empty($settings->currency)){ $currency = json_decode($settings->currency, true); $symbol = $currency['symbol']; } @endphp

Creditos Disponibles: {{$symbol}} {{number_format(Auth::user()->total_credits,2,',','.')}}

@endif