@if(!empty($currencies) and count($currencies)) @php $userCurrency = currency(); $matchesCurrency = $currencies->first(); foreach($currencies as $currencyItem) { if($userCurrency == $currencyItem->currency) { $matchesCurrency = $currencyItem; } } @endphp
{{ csrf_field() }} @if(!empty($previousUrl)) @endif @if(!empty($matchesCurrency))
{{ $matchesCurrency->currency }} ({{ currencySign($matchesCurrency->currency) }})
@endif
@foreach($currencies as $currencyItem)
{{ currencySign($currencyItem->currency) }}
{{ currenciesLists($currencyItem->currency) }}
@endforeach
@endif