@forelse ($currencies as $key => $currency)
| {{ $key + 1 }} |
{{ $currency->name }}
@if (config('zakirsoft.currency') == $currency->code)
{{ __('default') }}
@endif
|
{{ $currency->code }} |
{{ $currency->symbol }} |
@if ($currency->code == 'BTC' || $currency->code == 'ETH' || $currency->code == 'LTC')
@php
$c_price = currencyConversion(1, 'USD', $currency->code, 8);
@endphp
{{ $currency->symbol }}{{ $c_price != 'NaN' ? $c_price : '0.00' }}
@else
{{ $currency->symbol }}{{ currencyConversion(1, 'USD', $currency->code) }}
@endif
|
{{ ucfirst($currency->symbol_position) }} |
@if ($currency->code == 'USD')
@endif
@if ($currency->code != 'USD')
@endif
|
@empty
|
|
@endforelse